/*
Theme Name:   Athletes for Animals
Description:  A clean, contemporary, gender-neutral theme matching the brand logo.
Template:     generatepress
Version:      1.3.3
Text Domain:  athletes-for-animals
*/

/* ==========================================================================
   Global Brand Variables
   ========================================================================== */
/* --------------------------------------------------------------------------
   Design tokens — taken from the approved XD comp (A4A_Website-Redesign_v1).
   Values were read out of the comp's own artwork data, not sampled by eye.

   The variable NAMES are unchanged from the pre-comp build on purpose: ~70
   rules in this file already reference them, so remapping values here
   restyles the whole site without a find-and-replace that would be
   impossible to review.

   Two of the comp's colours fail WCAG 2.1 AA, which was a stated
   requirement, so each has an accessible sibling. The comp colour is kept
   for large display type and block fills where it passes; the -ink variant
   is used for small text on white. Nothing is silently substituted — both
   are available and the section CSS says which it is using and why.
   -------------------------------------------------------------------------- */
:root {
    /* Comp palette */
    --a4a-navy: #003162;            /* primary navy: headings, footer, pills */
    --a4a-navy-deep: #042353;       /* deepest navy: button ink, mission head */
    --a4a-sky: #58CCFF;             /* accent: CTA pills, stat numerals, band */
    --a4a-amber: #FFA700;           /* accent: eyebrows, header donate pill */
    --a4a-white: #ffffff;

    /* Hero radial gradient stops, from the comp's gradient resource */
    --a4a-hero-from: #005486;
    --a4a-hero-to:   #00295A;

    /* Accessible siblings.
       The comp's amber is 1.95:1 on white and 1.82:1 on the light-grey
       section background — it fails AA on every light ground. It passes
       comfortably on navy (6.67:1), so navy grounds keep the comp colour.

       --a4a-amber-ink is the same hue with the value reduced until it clears
       4.5:1 on BOTH light grounds: 4.87:1 on white, 4.56:1 on light grey.
       It was #A36B00, which cleared white at 4.51:1 but only reached 4.22:1
       on light grey — so it would still have failed on any light-grey
       section. Checked, not assumed. */
    --a4a-amber-ink: #9C6600;
    --a4a-sky-ink:   #0B6C99;

    /* #818386 on navy is 3.42:1 — fine for the large seal caption, short of
       AA for the footer legal line, which uses this instead at 4.78:1. */
    /* Quiet grey for secondary text on LIGHT grounds. Was #9B9D9F, which is
       2.72:1 on white and failed AA everywhere it was used. 4.99:1 on white,
       4.57:1 on the light-grey band — passes on both. Not for use on navy. */
    --a4a-grey-legal: #6B7076;

    /* Neutrals */
    --a4a-light-bg: #F4F8FB;
    --a4a-border: #DBE6EF;
    --a4a-slate: #3D5A7A;           /* body copy on white */
    --a4a-charcoal: #042353;

    /* Legacy aliases.
       "terracotta" was the accent colour of the pre-comp build. The comp has
       no terracotta; its accent in that role — eyebrows and small emphasis —
       is amber, so the alias points there and every existing rule follows.
       The two places where the old accent meant "primary button" or "stat
       numeral" are explicitly restyled to sky in assets/css/builder.css. */
    --a4a-terracotta: var(--a4a-amber);

    /* The close X, as a mask rather than a glyph. The old version used the
       character "✕", whose weight and vertical centring depend on whichever
       font happens to resolve — it sat visibly high against the burger it
       replaces. A mask takes its colour from currentColor, so the same rule
       still gives white on the navy overlay header and navy on the solid one. */
    --a4a-close-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E");
    --a4a-terracotta-hover: #E09400;
    --a4a-blue: var(--a4a-navy);
    --a4a-blue-hover: var(--a4a-navy-deep);
    --a4a-sage: #388E3C;

    /* Type — both are Google Fonts, enqueued in functions.php */
    --a4a-font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --a4a-font-serif: 'Quattrocento', Georgia, 'Times New Roman', serif;
}

/* Prevent Horizontal Scrolling Globally
   --------------------------------------------------------------------------
   `overflow-x: hidden` on html/body was silently breaking the sticky header.
   Any overflow value other than `visible` turns the element into a scroll
   container, and a sticky descendant then sticks relative to THAT container
   rather than to the viewport — so the header scrolled away with the page and
   there was nothing wrong with the sticky rule itself to find.

   `overflow-x: clip` clips the same overflow without creating a scroll
   container, so sticky keeps working. `hidden` stays as the base value for
   browsers that predate `clip` (Safari < 16): they keep today's behaviour —
   no horizontal scroll, non-sticky header — rather than gaining a horizontal
   scrollbar. */
html, body { overflow-x: hidden; }

@supports (overflow-x: clip) {
    html, body { overflow-x: clip; }
}

/* Neither background-color nor color is stated here any more.

   `background-color: var(--a4a-white) !important` is the rule the client's
   "the colour picker doesn't work" report was actually about: GeneratePress
   writes `body { background-color: var(--base-2) }` inline with no !important,
   and this overruled it, so the Customizer's Body colour control set a value
   that never reached the page. The fix is not to win the fight lower down the
   cascade — it is to stop having the fight. Colour comes from the settings
   layer now; see inc/colors.php. */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

*, *::before, *::after { box-sizing: border-box; }

/* Canvas Overrides */
/* Layout only. The background-color that used to be here silenced the same
   Customizer control as the body rule above, one selector further in. */
body.home, body.home .site-content, body.home #page, body.home #content, body.home #primary, body.home main#main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.a4a-home-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--a4a-white);
    overflow: hidden;
}

/* Content column, taken from the comp: content runs x150–x1770 on the 1920
   artboard, so 1620px wide with 150px margins — 84.375% of the canvas.

   The previous 90%/1440px was both proportionally wider on mid-size screens
   and narrower at 1920, which is why the build read as more sprawling than
   the comp at every width. */
.a4a-container { width: 84.375%; max-width: 1620px; margin: 0 auto; }
.center { text-align: center; }

/* Small spacing/color utility & modifier classes (replaces one-off inline styles) */
.a4a-mt-15 { margin-top: 15px; }
.a4a-mt-50 { margin-top: 50px; }
.a4a-mb-50 { margin-bottom: 50px; }
.a4a-eyebrow-terracotta { color: var(--a4a-highlight-ink); }
.a4a-hiw-alt-lead { color: var(--a4a-slate); font-size: 1.15rem; max-width: 800px; margin: 0 auto; }
.a4a-donate-heart { margin-right: 6px; position: relative; top: -1px; }
.a4a-pre-footer-action { margin-top: 30px; }

/* ==========================================================================
   Sticky Header & Layout Ordering
   ========================================================================== */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    padding: 10px 0; 
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--a4a-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.inside-header {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center;
    width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header-donate-left { justify-self: flex-start; grid-column: 1; display: flex; align-items: center; }
.site-branding { justify-self: center; grid-column: 2; margin: 0; display: flex; align-items: center; }
#site-navigation { justify-self: flex-end; grid-column: 3; display: flex !important; align-items: center; }

.a4a-header-logo { max-height: 70px; width: auto; display: block; transition: transform 0.2s ease; }
.a4a-header-logo:hover { transform: scale(1.02); }

.mobile-menu-control-wrapper { display: none !important; }
.menu-bar-items { display: none !important; }

/* ==========================================================================
   Flyout Navigation Menu (Right Side Panel)
   ========================================================================== */
#site-navigation .menu-toggle { 
    display: flex !important; 
    align-items: center; 
    justify-content: center;
    background: transparent !important; 
    border: none !important; 
    padding: 4px !important; 
    transition: transform 0.2s ease; 
    position: relative;
    z-index: 100002 !important; 
    width: 44px;
    height: 44px;
}
#site-navigation .menu-toggle:hover { transform: scale(1.05); }
#site-navigation .menu-toggle .mobile-menu { display: none !important; }
#site-navigation .menu-toggle .gp-icon svg { width: 36px; height: 36px; fill: var(--a4a-charcoal) !important; }

/* The parent theme's menu list is not the panel any more — inc/flyout.php
   prints the theme's own. Hidden rather than deleted because GeneratePress
   still renders it and its header button, which is the flyout's opener.
   The panel styles live in assets/css/builder.css, section 15. */
#site-navigation .main-nav { display: none !important; }

/* The burger does NOT become the X — the panel carries its own close button.
   .site-header is `position: sticky` with a z-index, which makes it a
   stacking context, so nothing inside it can paint above a panel that is a
   child of <body>. An X drawn here renders behind the open menu. */

/* Mobile-Only Donate Bar */
.a4a-mobile-donate-bar { display: none; }

/* ==========================================================================
   Typography & Square Buttons
   ========================================================================== */
h1, h2, h3, h4 { color: var(--a4a-primary-ink); font-weight: 800; line-height: 1.15; margin-top: 0; margin-bottom: 20px; }
h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(2.2rem, 3.5vw, 3rem); letter-spacing: -1px; }
h3 { font-size: 1.35rem; margin-bottom: 6px; color: var(--a4a-primary-ink); }
.a4a-eyebrow, .a4a-eyebrow-light { display: block; color: var(--a4a-primary-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; font-size: 0.85rem; }

/* Buttons */
.a4a-btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    padding: 14px 32px; 
    border-radius: 4px !important; 
    font-weight: 700; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    font-size: 1rem; 
    text-align: center; 
    border: 2px solid transparent; 
}
.a4a-btn-primary { background-color: var(--a4a-terracotta); color: #fff; border-color: var(--a4a-terracotta); box-shadow: 0 4px 14px rgba(217, 107, 67, 0.2); }
.a4a-btn-primary:hover { background-color: var(--a4a-terracotta-hover); border-color: var(--a4a-terracotta-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(217, 107, 67, 0.3); }

.a4a-btn-secondary { background-color: var(--a4a-navy); color: #fff; border-color: var(--a4a-navy); }
.a4a-btn-secondary:hover { background-color: #122544; border-color: #122544; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2); }

.a4a-btn-blue { background-color: var(--a4a-blue); color: #fff; border-color: var(--a4a-blue); box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2); }
.a4a-btn-blue:hover { background-color: var(--a4a-blue-hover); border-color: var(--a4a-blue-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3); }

.a4a-btn-outline { border-color: var(--a4a-navy); color: var(--a4a-primary-ink); background: transparent; }
.a4a-btn-outline:hover { background: var(--a4a-navy); color: #fff; }

/* Light/Frosted Card Outline Button (Navy Text + Navy Border) */
.a4a-btn-outline-light { 
    border-color: var(--a4a-navy); 
    color: var(--a4a-primary-ink); 
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
}
.a4a-btn-outline-light:hover { 
    background: var(--a4a-navy); 
    color: var(--a4a-white); 
    border-color: var(--a4a-navy); 
}

.a4a-btn-group { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }

/* Amber pill with navy ink, per the comp's header. Amber behind near-black
   type is 8.2:1, so this passes AA comfortably even though amber on white
   would not. */
.header-donate-btn {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    background-color: var(--a4a-amber);
    border-color: var(--a4a-amber);
    color: var(--a4a-primary-deep);
}
.header-donate-btn:hover {
    background-color: var(--a4a-highlight-hover);
    border-color: var(--a4a-highlight-hover);
    color: var(--a4a-primary-deep);
}

/* ==========================================================================
   Homepage Components
   ========================================================================== */

/* Hero Slider */
.a4a-hero-slider { width: 100%; height: 70vh; min-height: 500px; max-height: 700px; display: block; background: var(--a4a-light-bg); position: relative; }
.myHeroSwiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; width: 100%; height: 100%; display: flex; align-items: center; padding: 40px 0; }
.a4a-slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; z-index: 1; }
.a4a-slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to left, rgba(248, 250, 252, 0.7) 0%, rgba(248, 250, 252, 0) 60%); z-index: 2; }

/* Glassmorphism Hero Card */
.a4a-hero-content-box { 
    position: relative; 
    z-index: 3; 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 45px 50px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: 0; 
    border-radius: 0px; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); 
    border: 1px solid rgba(255,255,255,0.6);
    border-right: 8px solid var(--a4a-terracotta); 
}
.a4a-lead { font-size: 1.15rem; color: var(--a4a-charcoal); line-height: 1.6; margin-bottom: 25px; }

/* Mission Statement */
.a4a-mission-statement { padding: 100px 0; background: var(--a4a-white); }
.a4a-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.a4a-mission-image { width: 100%; height: 100%; min-height: 500px; position: relative; }
.a4a-mission-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0px; box-shadow: 15px 15px 0px var(--a4a-light-bg); }
.a4a-mission-text { padding: 20px 0; }
.a4a-wysiwyg-content p { font-size: 1.25rem; line-height: 1.8; color: var(--a4a-slate); margin-bottom: 20px; }
/* strong inside editor content means bold — nothing more.
   This used to render every <strong> as an amber block lead-in at 1.5rem,
   which was written for one homepage module and then applied to every piece
   of editor content on the site. It made bold text inside a sentence break
   the line, and on the amber grounds it painted amber on amber, so the text
   was there but invisible. Colour is inherited so bold always matches its
   ground automatically; a module that genuinely wants a block lead-in states
   that in its own rules. */
.a4a-wysiwyg-content strong,
.a4a-wysiwyg-content b { display: inline; font-size: inherit; font-weight: 700; color: inherit; margin: 0; }

/* Impact Stats */
.a4a-impact-numbers { position: relative; padding: 120px 0; background: #0f172a; color: #fff; }
.a4a-impact-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; z-index: 0; mix-blend-mode: luminosity; }
.a4a-impact-numbers .a4a-container { position: relative; z-index: 1; }
.a4a-impact-numbers h2 { color: #fff; }
.a4a-intro-text-light p { max-width: 750px; margin: 0 auto 45px; color: #cbd5e1; font-size: 1.15rem; }
.a4a-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.a4a-stat-item { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 50px 30px; border-radius: 0px; border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: transform 0.3s ease; }
.a4a-stat-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.a4a-stat-number { font-size: clamp(2.8rem, 3.5vw, 3.8rem); font-weight: 800; letter-spacing: -1px; color: var(--a4a-highlight-ink); display: block; margin-bottom: 10px; line-height: 1; white-space: nowrap; }
.a4a-stat-item p { color: #cbd5e1; font-size: 1.05rem; margin: 0; font-weight: 500; }

/* Option 1: Side Image Split */
.a4a-how-it-works-split { padding: 100px 0; background: var(--a4a-light-bg); }
.a4a-hiw-header { margin-bottom: 45px; max-width: 800px; }
.a4a-hiw-intro p { font-size: 1.15rem; color: var(--a4a-slate); margin: 0; }
.a4a-hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.a4a-steps { display: flex; flex-direction: column; gap: 12px; }
.a4a-step-interactive { display: flex; gap: 20px; padding: 24px 20px; border-radius: 0px; background: var(--a4a-white); border: 1px solid var(--a4a-border); transition: all 0.3s ease; margin-bottom: 0; }
.a4a-step-interactive:hover { border-color: var(--a4a-blue); box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08); transform: translateX(6px); }
.a4a-step-indicator { flex-shrink: 0; width: 42px; height: 42px; background: var(--a4a-blue); color: white; border-radius: 0px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; }
.a4a-step-content strong { color: var(--a4a-primary-ink); font-size: 1rem; display: block; margin-bottom: 6px; }
.a4a-step-content p { font-size: 1rem; line-height: 1.55; margin: 0; color: var(--a4a-slate); }
.a4a-hiw-image-wrapper { position: relative; width: 100%; height: 100%; }
.a4a-img-container { position: relative; width: 100%; height: 100%; }
.a4a-organic-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0px; box-shadow: -15px 15px 0px var(--a4a-white); }
.a4a-img-spec-badge { position: absolute; top: 15px; left: 15px; background: rgba(15, 23, 42, 0.85); color: #ffffff; font-size: 0.7rem; font-weight: 700; padding: 6px 12px; border-radius: 0px; z-index: 10; letter-spacing: 0.5px; text-transform: uppercase; }

/* Option 2: Full Bleed Visual Cards */
.a4a-hiw-alt-section { padding: 100px 0 0 0; background: var(--a4a-white); }
.a4a-hiw-alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 0; }
.a4a-hiw-alt-card { position: relative; padding: 80px 40px; min-height: 550px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--a4a-white); overflow: hidden; }
.a4a-hiw-alt-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.6s ease; }
.a4a-hiw-alt-card:hover .a4a-hiw-alt-bg { transform: scale(1.05); }
.a4a-hiw-alt-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(27, 54, 93, 0.65) 0%, rgba(15, 23, 42, 0.95) 100%); z-index: 2; }
.a4a-hiw-alt-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.a4a-hiw-alt-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; color: var(--a4a-white); margin-bottom: 25px; }
.a4a-hiw-alt-content h3 { color: var(--a4a-white); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.a4a-hiw-alt-content p { color: #cbd5e1; font-size: 1.1rem; line-height: 1.6; margin-bottom: 35px; max-width: 400px; }

/* Buttons inside dark option 2 cards */
.a4a-hiw-alt-content .a4a-btn-outline-light {
    border-color: var(--a4a-white);
    color: var(--a4a-white);
    background: transparent;
}
.a4a-hiw-alt-content .a4a-btn-outline-light:hover {
    background: var(--a4a-white);
    color: var(--a4a-primary-ink);
}

/* ==========================================================================
   2-Column Icon Pre-Footer (Light Version)
   ========================================================================== */
.a4a-pre-footer { 
    /* Was 100px. This band sits on EVERY page, so its height is a tax paid
       site-wide — Lance asked for 50-75% of what it was. Padding is only part
       of it; the square photograph below was the real driver.

       NOTE: builder.css carries the same rule at the same specificity and
       loads after this file, so ITS value is the one that applies. Both are
       kept in step; change them together or not at all. */
    padding: clamp(52px, 5.5vw, 68px) 0; 
    background: var(--a4a-light-bg); 
    border-top: none; 
}
.a4a-pre-footer-grid { 
    display: grid; 
    grid-template-columns: 280px 1fr; 
    gap: 70px; 
    align-items: center; 
}

.a4a-pre-footer-icon-col { display: flex; justify-content: center; }
.a4a-pre-footer-icon-circle {
    width: 240px; height: 240px;
    border: 12px solid var(--a4a-navy); 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--a4a-primary-ink); 
    position: relative;
}
.a4a-pre-footer-icon-circle > svg { width: 120px; height: 120px; fill: currentColor; }
.a4a-pre-footer-badge {
    position: absolute; bottom: -5px; right: -5px;
    width: 75px; height: 75px;
    background: var(--a4a-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 8px solid var(--a4a-light-bg); 
}
.a4a-pre-footer-badge svg { width: 36px; height: 36px; fill: var(--a4a-white); }

.a4a-pre-footer-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.a4a-pre-footer h2 { color: var(--a4a-primary-ink); font-size: 2.6rem; margin-bottom: 20px; } 
.a4a-pre-footer-text-wrap p { color: var(--a4a-slate); font-size: 1.15rem; margin: 0; line-height: 1.7; max-width: 700px; }

/* ==========================================================================
   4-Column Dynamic Footer (Clean & Balanced)
   ========================================================================== */
.a4a-custom-footer {
    background-color: var(--a4a-navy);
    color: #94a3b8;
    padding: 80px 0 0;
    border-top: 6px solid var(--a4a-blue);
    font-size: 0.95rem;
}
.a4a-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}
.a4a-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Brand Column */
.a4a-footer-logo {
    max-height: 70px !important; 
    width: auto !important;
    margin-bottom: 25px;
    display: block;
}
.a4a-social-icons { 
    display: flex; 
    gap: 15px; 
    justify-content: flex-start;
}
.a4a-social-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: rgba(255,255,255,0.1);
    color: var(--a4a-white); border-radius: 50%; transition: all 0.3s ease;
}
.a4a-social-icons svg { width: 20px; height: 20px; }
.a4a-social-icons a:hover { background: var(--a4a-blue); transform: translateY(-3px); }

/* Text & Links */
.a4a-footer-text {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #cbd5e1;
    font-style: normal;
}
.a4a-footer-link {
    /* Was var(--a4a-blue), which resolves to --a4a-navy — the footer's own
       background colour. 1.00:1: the contact address was rendered and
       invisible. Navy grounds keep the comp amber, which measures 6.67:1
       here, and the underline is there because AA asks that a link not be
       distinguished by colour alone. */
    color: var(--a4a-highlight-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.a4a-footer-link:hover,
.a4a-footer-link:focus-visible { color: var(--a4a-white); }

.a4a-footer-menu { list-style: none; padding: 0; margin: 0; }
.a4a-footer-menu li { margin-bottom: 12px; }
.a4a-footer-menu a { color: #cbd5e1; text-decoration: none; transition: color 0.3s ease; }
.a4a-footer-menu a:hover { color: var(--a4a-white); }

/* Transparency Seal */
.a4a-seal-badge-wrapper {
    margin-top: 0; 
    display: inline-block;
}
.a4a-candid-seal {
    max-width: 92px;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.a4a-seal-link { display: inline-block; }
.a4a-seal-link:hover .a4a-candid-seal {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Bottom Bar */
.a4a-footer-bottom-bar {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.a4a-tax-info {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.a4a-copyright-bar {
    /* Was #64748b — 2.73:1 on navy, short of AA for body text. #94a3b8 is
       5.07:1 and still reads as subordinate to the footer text above it,
       which sits at 8.75:1. */
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 900px) {
    .inside-header { grid-template-columns: 1fr auto 1fr !important; gap: 0; }
    .header-donate-left { display: none; }

    /* The phone header's search icon is hidden in assets/css/builder.css,
       not here — the rule that positions it lives there with !important at
       the same specificity, and builder.css loads after this file, so a rule
       here could never win. Two rules that used to sit at this spot were
       removed for the same reason: `.site-header { padding }` is beaten by
       `body.a4a-header-overlay .site-header` in builder.css, and
       `.a4a-header-logo` matched nothing at all — the wordmark is an inline
       <svg class="a4a-wordmark">, not an <img>. Both were measured as having
       no effect. */
    
    /* Matches the desktop donate pill: amber ground, navy ink. White on amber
       is 2.1:1 and would fail AA, which is why the ink is navy here.

       Kept deliberately compact — it spans the full width, so it reads as
       prominent at a much smaller type size than a standalone button would
       need, and every pixel here is pushing the hero further down the page. */
    .a4a-mobile-donate-bar {
        display: block; grid-column: 1 / -1;
        background: var(--a4a-amber); color: var(--a4a-navy-deep);
        text-align: center; padding: 8px 12px;
        font-size: 0.8125rem; font-weight: 800; text-transform: uppercase;
        letter-spacing: 0.6px;
        /* Full-bleed, exactly. The hard -24px this replaced was a guess at the
           header's horizontal padding and fell 6px short of each edge, which
           left a navy sliver down both sides — neither a full-width bar nor an
           inset button. calc(50% - 50vw) measures the distance from this
           element's own box to the viewport edge, so it stays flush whatever
           the header padding does later. */
        margin: 8px calc(50% - 50vw) -10px;
        text-decoration: none;
    }
    .a4a-mobile-donate-bar:hover { background-color: var(--a4a-terracotta-hover); color: var(--a4a-navy-deep); }

    #site-navigation .main-nav > ul { max-width: 100%; right: -100%; padding-top: 130px; border-left: none; }
    
    .a4a-mission-grid, .a4a-hiw-grid { grid-template-columns: 1fr; }
    .a4a-mission-image { min-height: 350px; }
    .a4a-img-container { min-height: 400px; }
    .a4a-organic-img { position: relative; } 
    .a4a-hero-content-box { padding: 35px 25px; margin: 0; max-width: 100%; border-right: none; border-left: 4px solid var(--a4a-terracotta); }
    
    .a4a-hiw-alt-grid { grid-template-columns: 1fr; }
    
    .a4a-pre-footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .a4a-pre-footer-content { align-items: center; text-align: center; }

    .a4a-footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .a4a-footer-col { align-items: center; }
    .a4a-footer-logo { margin: 0 auto 20px; }
    .a4a-social-icons { justify-content: center; }
    .a4a-tax-info { font-size: 0.85rem; }
}