/* Flexible Page CSS (Redesign)
   Template: flexible-page.php
*/

/* main.css sets overflow:hidden on many semantic elements (including header/section) on desktop,
   which clips box-shadows and can create hard seams. Scope an override to this template. */
body.page-template-flexible-page header,
body.page-template-flexible-page section,
body.page-template-flexible-page main {
    overflow: visible;
}

/* Donate-like background treatment for the flexible page only. */
body.page-template-flexible-page {
    background:
        radial-gradient(1200px 520px at 50% -80px, rgba(37, 99, 235, 0.12), transparent 70%),
        linear-gradient(180deg, #ffffff, #f6f7fb 55%, #ffffff 100%);
}

/* Ensure header + wrapper main don’t introduce a hard seam. */
body.page-template-flexible-page #header {
    background: transparent;
}

body.page-template-flexible-page > main:not(.fp-wrap) {
    background: transparent;
    padding-bottom: 0;
}

/* Avoid inheriting the global `main { padding-bottom: 1rem; }` seam on the actual template content. */
body.page-template-flexible-page > main.fp-wrap {
    padding-top: clamp(0.75rem, 1.6vw, 1.35rem);
    padding-bottom: clamp(1.75rem, 3vw, 3.25rem);
}

.fp-wrap {
    --fp-surface: rgba(255, 255, 255, 0.92);
    --fp-border: rgba(16, 24, 40, 0.10);
    --fp-radius: 22px;

    /* Wider gutters prevent shadow clipping against overflow-hidden ancestors. */
    --fp-gutter: clamp(1.25rem, 4vw, 2.25rem);

    /* Subtle, nonprofit-friendly depth (kept tight to avoid harsh clipped edges). */
    --fp-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 14px 30px -26px rgba(2, 6, 23, 0.28);
    --fp-shadow-2: 0 1px 0 rgba(16, 24, 40, 0.06), 0 20px 44px -34px rgba(2, 6, 23, 0.30);
    --fp-shadow-hover: 0 1px 0 rgba(16, 24, 40, 0.06), 0 26px 60px -44px rgba(2, 6, 23, 0.34);

    --fp-accent: #2563eb;
    --fp-accent-2: #1d4ed8;
    --fp-text: rgba(2, 6, 23, 0.88);
    --fp-muted: rgba(2, 6, 23, 0.62);

    --gap: clamp(1rem, 1.8vw, 1.5rem);

    /* Extra space so shadows don’t butt into the footer boundary. */
    padding-bottom: clamp(1.75rem, 3vw, 3.25rem);
    background: transparent;
}

.fp-section {
    margin: clamp(1.75rem, 2.8vw, 2.75rem) 0;
}

/* Section width variants (wrapper-level)
   - "standard": panel/card feel (narrower max width)
   - "full": background spans viewport; content remains readable (wider max width)
*/
.fp-section--width-standard .inner {
    max-width: 1120px;
}

.fp-section--width-full .inner {
    max-width: 1320px;
    width: 100%;
}

/* FULL + BG STYLES
   For full-width sections, move the background treatment from the inner "panel" to the section itself.
   This makes the difference editor-visible without making text unreadably wide.
*/
.fp-section--width-full.fp-bg-surface,
.fp-section--width-full.fp-bg-muted,
.fp-section--width-full.fp-bg-accent {
    /* let the background stretch edge-to-edge */
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
}

.fp-section--width-full.fp-bg-surface {
    background: var(--fp-surface);
    border-top: 1px solid rgba(16, 24, 40, 0.06);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}

/* Full-width bands should feel like background sections, not boxed cards. */
.fp-section--width-full.fp-bg-muted {
    background:
        radial-gradient(1200px 520px at 50% -120px, rgba(37, 99, 235, 0.10), transparent 70%),
        linear-gradient(180deg, #f7f8fc, #f2f5fb 55%, #f7f8fc 100%);
    border-top: none;
    border-bottom: none;
}

.fp-section--width-full.fp-bg-accent {
    background:
        radial-gradient(1200px 520px at 50% -140px, rgba(37, 99, 235, 0.16), transparent 70%),
        radial-gradient(1200px 520px at 50% 120%, rgba(29, 78, 216, 0.10), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 251, 0.86));
    border-top: none;
    border-bottom: none;
}

.fp-section--width-full.fp-bg-surface .inner,
.fp-section--width-full.fp-bg-muted .inner,
.fp-section--width-full.fp-bg-accent .inner {
    /* remove contained-panel styling for full-bleed */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    /* keep spacing consistent */
    padding-top: clamp(1.25rem, 2.6vw, 2.25rem);
    padding-bottom: clamp(1.25rem, 2.6vw, 2.25rem);
    padding-left: var(--fp-gutter);
    padding-right: var(--fp-gutter);
}

/* Ensure full-width muted/accent never render as a contained card, even if other rules match. */
.fp-section--width-full.fp-bg-muted .inner,
.fp-section--width-full.fp-bg-accent .inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.fp-section--width-full.fp-bg-accent .inner::before {
    content: none !important;
} 

/* When sections can’t overflow (e.g. theme wrappers), keep shadows away from the edge anyway.
   For full-width sections, these paddings are overridden below. */
.fp-section.fp-bg-surface,
.fp-section.fp-bg-muted,
.fp-section.fp-bg-accent {
    padding-left: var(--fp-gutter);
    padding-right: var(--fp-gutter);
}

.fp-section.fp-space-tight {
    margin: clamp(1.1rem, 2vw, 1.6rem) 0;
}

.fp-section.fp-space-roomy {
    margin: clamp(2.5rem, 3.8vw, 4rem) 0;
}

.fp-section .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--fp-gutter);
    box-sizing: border-box;
}

.fp-inner-narrow {
    max-width: 920px;
}

.fp-section.fp-bg-surface .inner,
.fp-section.fp-bg-muted .inner,
.fp-section.fp-bg-accent .inner {
    /* Keep shadow off the viewport edge (even if an ancestor clips overflow). */
    width: min(1200px, 100%);
    margin-left: auto;
    margin-right: auto;

    padding: clamp(1.25rem, 2.6vw, 2.25rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--fp-radius);
    background-clip: padding-box;
}

.fp-section.fp-bg-surface .inner {
    background: var(--fp-surface);
    border: 1px solid var(--fp-border);
    box-shadow: var(--fp-shadow-2);
}

.fp-section.fp-bg-muted .inner {
    background: radial-gradient(900px 420px at 25% 0%, rgba(37, 99, 235, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 251, 0.9));
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: var(--fp-shadow-2);
}

.fp-section.fp-bg-accent .inner {
    /* Accent: near-white panel with a subtle brand glow (lighter than muted). */
    background:
        radial-gradient(900px 520px at 12% 0%, rgba(37, 99, 235, 0.16), transparent 62%),
        radial-gradient(900px 520px at 88% 100%, rgba(29, 78, 216, 0.10), transparent 64%),
        #ffffff;

    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 16px 34px -30px rgba(37, 99, 235, 0.22);
    position: relative;
}

.fp-section.fp-bg-accent .inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    /* Soft top accent + inner highlight to differentiate from surface/muted. */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 10px 24px -22px rgba(37, 99, 235, 0.55);

    opacity: 0.9;
}

.fp-sectionTitle {
    margin: 0 0 0.9rem;
    text-align: center;
    font-size: clamp(1.25rem, 0.75vw + 1.05rem, 1.6rem);
    letter-spacing: -0.02em;
    color: var(--fp-text);
}

/* HERO */
.fp-hero {
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
}

.fp-hero + .fp-section {
    margin-top: clamp(1rem, 1.8vw, 1.6rem);
}

.fp-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--gap);
    align-items: center;
    padding-top: clamp(1.25rem, 2.4vw, 2.25rem);
    padding-bottom: clamp(1.25rem, 2.4vw, 2.25rem);
}

.fp-hero__content h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 2.3vw + 1.1rem, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: rgba(2, 6, 23, 0.92);
}

.fp-hero__content p {
    color: var(--fp-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.fp-hero__media img {
    width: 100%;
    height: auto;
    border-radius: var(--fp-radius);
    box-shadow: var(--fp-shadow-2);
}

.fp-hero.align-right .fp-hero__inner {
    grid-template-columns: 1fr 1.15fr;
}

.fp-hero.no-image .fp-hero__inner {
    grid-template-columns: 1fr;
}

.fp-hero.no-image .fp-hero__content {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .fp-hero__inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 720px) {
    /* Give the hero more breathing room below the nav on mobile. */
    body.page-template-flexible-page > main.fp-wrap {
        padding-top: clamp(1.1rem, 4vw, 1.6rem);
    }

    .fp-hero__inner {
        padding-top: clamp(1.6rem, 6vw, 2.2rem);
    }
}

/* CONTENT */
.fp-content {
    color: var(--fp-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.fp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.fp-content .columns {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), 1fr);
    gap: var(--gap);
    align-items: start;
}

.fp-content .fp-cols-1 { --cols: 1; }
.fp-content .fp-cols-2 { --cols: 2; }
.fp-content .fp-cols-3 { --cols: 3; }

@media (max-width: 900px) {
    .fp-content .columns {
        grid-template-columns: 1fr;
    }
}

/* PROSE */
.fp-prose {
    max-width: 72ch;
    margin: 0 auto;

    /* Use one consistent body-copy style across sections. */
    color: var(--fp-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.fp-prose > * {
    margin: 0.75rem 0 0;
}

.fp-prose > *:first-child {
    margin-top: 0;
}

.fp-prose > *:last-child {
    margin-bottom: 0;
}

.fp-prose a {
    color: var(--fp-accent-2);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
}

.fp-prose a:hover {
    color: var(--fp-accent);
}

.fp-lede {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

.fp-proseBody {
    color: inherit;
}

/* CONTENT GRID */
.fp-contentGrid {
    display: grid;
    gap: var(--gap);
    align-items: start;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "body media";
}

.fp-contentGrid__body {
    grid-area: body;
}

.fp-contentGrid__media {
    grid-area: media;
}

.fp-contentGrid--media-left {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-areas: "media body";
}

.fp-contentGrid__media img {
    width: 100%;
    height: auto;
}

.fp-contentGrid .fp-prose {
    margin: 0;
    max-width: 72ch;
}

@media (max-width: 900px) {
    .fp-contentGrid,
    .fp-contentGrid--media-left {
        grid-template-columns: 1fr;
        grid-template-areas: "body" "media";
    }

    .fp-contentGrid__media {
        margin-top: 0.75rem;
    }
}

/* BUTTONS / ACTIONS */
.fp-actions {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.fp-cta .fp-actions {
    justify-content: center;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-weight: 750;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: var(--fp-shadow);
}

.fp-btn--primary {
    background: rgba(37, 99, 235, 0.95);
    color: rgba(255, 255, 255, 0.98);
}

.fp-btn--primary:hover {
    background: rgba(29, 78, 216, 0.98);
}

.fp-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

/* HERO */
.fp-hero__actions {
    margin-top: 1.25rem;
}

.fp-hero__prose {
    margin: 0.85rem 0 0;
    max-width: 62ch;
}

/* HERO CONTINUATION (content-only section directly after hero) */
.fp-hero + .fp-contentSection--heroFollow {
    margin-top: clamp(0.6rem, 1.2vw, 1.1rem);
}

.fp-hero + .fp-contentSection--heroFollow .inner {
    padding-top: 0;
}

/* Don’t treat this like a “lede” — make it read like normal paragraph copy. */
.fp-hero + .fp-contentSection--heroFollow .fp-lede {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.fp-hero + .fp-contentSection--heroFollow.fp-bg-surface .inner,
.fp-hero + .fp-contentSection--heroFollow.fp-bg-muted .inner,
.fp-hero + .fp-contentSection--heroFollow.fp-bg-accent .inner {
    width: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 var(--fp-gutter);
}

.fp-hero + .fp-contentSection--heroFollow .fp-prose {
    max-width: none;
}

/* SECTION HEADER */
.fp-sectionHeader {
    max-width: 980px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.fp-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(2, 6, 23, 0.55);
    margin-bottom: 0.35rem;
}

.fp-intro {
    color: var(--fp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 0.35rem;
}

/* GALLERY */
.fp-gallery {
    --fp-tile-radius: 18px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--gap);
    scroll-padding: 1rem;

    /* Prevent hover/focus treatments from looking clipped at container edges. */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

@media (max-width: 720px) {
    .fp-gallery {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(75%, 320px);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        /* Extra breathing room so shadows/hover states never feel clipped. */
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        scroll-padding-left: 0.25rem;
        scroll-padding-right: 0.25rem;
    }

    /* On touch devices the hover lift can look like it clips; keep it steady. */
    .fp-galleryItem:hover {
        transform: none;
        box-shadow: var(--fp-shadow);
    }

    .fp-galleryItem {
        scroll-snap-align: start;
    }
}

.fp-galleryItem {
    display: block;
    overflow: hidden;
    border: 1px solid var(--fp-border);
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--fp-tile-radius);
    box-shadow: var(--fp-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
    outline: none;
}

.fp-gallery[data-fp-lightbox="1"] .fp-galleryItem {
    cursor: zoom-in;
}

.fp-galleryItem:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28), var(--fp-shadow-hover);
}

.fp-galleryItem:hover {
    transform: translateY(-2px);
    box-shadow: var(--fp-shadow-hover);
}

.fp-galleryItem img {
    display: block;
    width: 100%;
    height: auto;
}

.fp-gallery--ratio-4x3 .fp-galleryItem,
.fp-gallery--ratio-1x1 .fp-galleryItem,
.fp-gallery--ratio-16x9 .fp-galleryItem {
    position: relative;
}

.fp-gallery--ratio-4x3 .fp-galleryItem { aspect-ratio: 4 / 3; }
.fp-gallery--ratio-1x1 .fp-galleryItem { aspect-ratio: 1 / 1; }
.fp-gallery--ratio-16x9 .fp-galleryItem { aspect-ratio: 16 / 9; }

.fp-gallery--ratio-4x3 .fp-galleryItem img,
.fp-gallery--ratio-1x1 .fp-galleryItem img,
.fp-gallery--ratio-16x9 .fp-galleryItem img {
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .fp-galleryItem {
        transition: none;
    }
}

/* LIGHTBOX */
body.fp-lightboxOpen {
    overflow: hidden;
}

.fp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.fp-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(6px);
}

.fp-lightbox__dialog {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.fp-lightbox__figure {
    margin: 0;
    width: min(1100px, 94vw);
    max-height: 86vh;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.35);
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
}

.fp-lightbox__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(2, 6, 23, 0.04);
}

.fp-lightbox__caption {
    padding: 0.85rem 1rem;
    color: rgba(2, 6, 23, 0.70);
    font-size: 0.98rem;
    line-height: 1.5;
    border-top: 1px solid rgba(2, 6, 23, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.fp-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.96);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.fp-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.20);
}

.fp-lightbox__close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.40);
    outline-offset: 3px;
}

.fp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.96);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.fp-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.20);
}

.fp-lightbox__prev { left: 16px; }
.fp-lightbox__next { right: 16px; }

@media (max-width: 520px) {
    .fp-lightbox__nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-lightbox__overlay {
        backdrop-filter: none;
    }
}

/* CTA */
.fp-cta {
    background: var(--fp-surface);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    text-align: center;
    box-shadow: var(--fp-shadow-2);
    max-width: 980px;
    margin: 0 auto;
}

.fp-cta h3 {
    margin: 0 0 0.35rem;
    color: rgba(2, 6, 23, 0.92);
    letter-spacing: -0.02em;
}

.fp-cta p {
    margin: 0 0 1.1rem;
    color: var(--fp-muted);
}

.fp-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.95);
    color: rgba(255, 255, 255, 0.98);
    text-decoration: none;
    box-shadow: var(--fp-shadow);
}

.fp-cta .btn:hover {
    background: rgba(29, 78, 216, 0.98);
}

/* CARDS */
.fp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--gap);
}

.fp-card {
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fp-shadow);
    text-decoration: none;
    color: inherit;
}

.fp-card--link {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fp-card--link:hover {
    transform: translateY(-2px);
    box-shadow: var(--fp-shadow-hover);
    border-color: rgba(37, 99, 235, 0.22);
}

.fp-card--link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

.fp-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fp-card .body {
    padding: 1rem 1rem 1.25rem;
}

.fp-card .body h4,
.fp-card__title {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    color: rgba(2, 6, 23, 0.92);
}

.fp-card__text {
    color: var(--fp-muted);
    max-width: none;
    margin: 0;
}

.fp-card__text > * {
    margin: 0.6rem 0 0;
}

.fp-card__text > *:first-child {
    margin-top: 0;
}

.fp-card .body p {
    margin: 0;
    color: var(--fp-muted);
}

.fp-cardCta {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: rgba(29, 78, 216, 0.95);
}

.fp-cardCta__icon {
    transition: transform 160ms ease;
}

.fp-card--link:hover .fp-cardCta__icon {
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    .fp-card--link,
    .fp-cardCta__icon {
        transition: none;
    }
}

/* STATS */
.fp-statsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap);
}

.fp-stat {
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fp-shadow);
    padding: 1.15rem 1.2rem;
    text-align: center;
}

.fp-stat__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: rgba(29, 78, 216, 0.95);
    margin: 0 auto 0.75rem;
}

.fp-stat__value {
    font-weight: 850;
    letter-spacing: -0.03em;
    font-size: clamp(1.5rem, 1vw + 1.1rem, 2.1rem);
    color: rgba(2, 6, 23, 0.92);
}

.fp-stat__label {
    margin-top: 0.25rem;
    color: var(--fp-muted);
    line-height: 1.35;
}

/* FAQ / ACCORDION */
.fp-accordion {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.fp-accordionItem {
    width: 100%;
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fp-shadow);
}

.fp-accordionBtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    position: relative;
    padding: 0.95rem calc(1.25rem + 34px + 0.85rem) 0.95rem 1.25rem;

    /* Reset global theme button styles (main.css) that break accordion layout. */
    max-width: none;
    height: auto;
    line-height: normal;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
    box-shadow: none;

    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: rgba(2, 6, 23, 0.92);
    font-weight: 750;

    transition: background-color 0.15s ease, color 0.15s ease;
}

.fp-accordionBtn:hover,
.fp-accordionBtn:active {
    /* Override global `button:hover` styles that turn the whole row bright blue. */
    background-color: rgba(37, 99, 235, 0.06);
    color: rgba(2, 6, 23, 0.92);
    box-shadow: none;
}

.fp-accordionItem:focus-within {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18), var(--fp-shadow);
}

.fp-accordionBtn:focus {
    outline: none;
    box-shadow: none;
}

.fp-accordionBtn:-moz-focusring {
    outline: none;
}

.fp-accordionBtn:focus-visible {
    outline: none;
    background-color: rgba(37, 99, 235, 0.06);
    box-shadow: none;
}

.fp-accordionBtn:hover .fp-accordionBtn__icon,
.fp-accordionBtn:focus-visible .fp-accordionBtn__icon {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
}

.fp-accordionBtn__label {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fp-accordionBtn__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);

    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.fp-accordionBtn__icon::before,
.fp-accordionBtn__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: rgba(29, 78, 216, 0.95);
    transform: translate(-50%, -50%);
}

.fp-accordionBtn__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.fp-accordionBtn[aria-expanded="true"] .fp-accordionBtn__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.fp-accordionPanel {
    padding: 0.1rem 1.25rem 1rem;
    color: var(--fp-muted);
}

.fp-accordionPanel > :first-child {
    margin-top: 0;
}

.fp-accordionPanel > :last-child {
    margin-bottom: 0;
}

.fp-accordionPanel.fp-prose {
    max-width: none;
    margin: 0;
}

/* LOGO STRIP */

/* Prevent any theme-level list markers/pseudo bullets from leaking into the logo strip UI. */
.fp-logoStrip,
.fp-logoStrip li,
.fp-logo-strip,
.fp-logo-strip li,
.fp-logo-grid,
.fp-logo-grid li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.fp-logoStrip li::before,
.fp-logo-strip li::before,
.fp-logo-grid li::before {
    content: none !important;
}

.fp-logoStrip li::marker,
.fp-logo-strip li::marker,
.fp-logo-grid li::marker {
    content: "";
}

.fp-logoStrip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: clamp(0.85rem, 2vw, 1.25rem);
    align-items: stretch;
}

.fp-logo {
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fp-shadow);
    padding: 1rem;
    min-height: 96px;
    display: grid;
    place-items: center;
}

.fp-logo a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.fp-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

/* EMBED */
.fp-embedFrame {
    margin-left: auto;
    margin-right: auto;
}

.fp-embed--contained .fp-embedFrame { max-width: 600px; }
.fp-embed--medium .fp-embedFrame { max-width: 800px; }
.fp-embed--large .fp-embedFrame { max-width: 1000px; }
.fp-embed--full .fp-embedFrame { max-width: 100%; }

@media (max-width: 840px) {
    .fp-embed--contained .fp-embedFrame,
    .fp-embed--medium .fp-embedFrame,
    .fp-embed--large .fp-embedFrame {
        max-width: 100%;
    }
}

.fp-embedFrame {
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fp-shadow-2);
    overflow: hidden;
}

.fp-embedFrame iframe,
.fp-embedFrame video,
.fp-embedFrame embed,
.fp-embedFrame object {
    width: 100%;
    height: 100%;
}

.fp-embedFrame > * {
    display: block;
    max-width: 100%;
    height: 100%;
}

.fp-embedFrame > * > * {
    height: 100%;
}

.fp-embedFrame iframe {
    border: 0;
}

.fp-embedFrame {
    aspect-ratio: 16 / 9;
}

.fp-ratio-4x3 {
    aspect-ratio: 4 / 3;
}

.fp-ratio-1x1 {
    aspect-ratio: 1 / 1;
}

/* Spacer / Divider */
.fp-spacer { height: var(--size, 2rem); }
.fp-divider { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 2rem 0; }
