/* ----------------------------------------------------------------------------------------
* Author        : Farmers for Forests
* Template Name :
* File          : CSS File
* Version       : 1.0
* ---------------------------------------------------------------------------------------- */

/* Site-wide button background override (replaces custom.css .btn-default accent) */
.btn-default {
    background: #86a34d !important;
}

.banner-video {
    background: #89ac45;
    height: calc(100vh - 90px);
    overflow: hidden;
}

@media (max-width: 992px) {
    .banner-video {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .banner-video {
        height: 100%;
    }
}

.navbar-logo {
    height: 50px;
    width: auto;
    max-width: 200px;       /* guard against overflow on very small screens */
    object-fit: contain;    /* preserve aspect ratio */
    display: block;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;    /* vertical alignment with the menu */
    padding: 0;
}

/* Active menu highlighting (set in layouts.header-menu) */
.main-menu .nav-item .nav-link.active {
    color: var(--accent-color, #2f5e3a);
    font-weight: 700;
}

/* Header dropdown submenu */
.main-menu ul ul {
    background: #09383A;
}

.main-menu ul ul li a {
    color: #fff;
}

.main-menu ul ul li a:hover,
.main-menu ul ul li a:focus {
    color: var(--accent-color, #89EA5F);
}

/* Highlight the submenu item matching the current page */
.main-menu ul ul li a.active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(137, 234, 95, .18), rgba(137, 234, 95, 0));
}

/* Parent item matches submenu when dropdown is open or active */
.main-menu ul li.submenu > a.nav-link.active {
    background: #09383A !important;
    color: #fff !important;
    border-radius: 0;
}

.main-menu ul li.submenu:hover > a {
    background: #09383A !important;
    color: #fff !important;
    border-radius: 0;
}

.main-menu ul li.submenu:hover > ul {
    border-radius: 0;
}

/* Support Us — USD donation cards: show images at natural aspect ratio */
.support-us-usd .team-item-image figure {
    border-radius: 14px;
    overflow: hidden;
}

.support-us-usd .team-item-image img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
}

.support-us-usd .team-item:hover .team-item-image img {
    transform: none;
}

/* Responsive logo scaling */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 44px;
        max-width: 170px;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        height: 38px;
        max-width: 150px;
    }
}



.about-footer-silver .about-footer-content-silver>h2 {
    font-size: 40px;
    color: #f4910f;
    line-height: 48.41px;
    font-weight: 700;
    margin-bottom: .5rem;
}

.about-footer-silver .about-footer-content-silver .header-btn {
    margin-top: 1rem;
}

/* Container */
.footer_img {
    width: 100%;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Image */
.footer_img img {
    width: 40%;
    max-width: 300px;
    position: absolute;
    right: 10px;
    bottom: 0;
}

/* Text block */
.subscribe_news {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* "Subscribe to" text */
.subscribe_news .sub {
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* General text */
.subscribe_news div {
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

/* Button */
.subscribe {
    background-color: #f4910f;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 25px;
}

@media (max-width: 768px) {
    .footer_img img {
        position: static;
        width: 100%;
        margin-top: 15px;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ----------------------------------------------------------------------------------------
* Our Technology — styles for the CMS-managed page body (Voyager Pages > Our Technology).
* Kept here (not in the Blade) so the HTML body stored in Voyager can use these classes.
* ---------------------------------------------------------------------------------------- */
.tech-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
}

.tech-card .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color, #2f5e3a);
    color: #fff;
    font-size: 26px;
    margin-bottom: 18px;
}

.tech-card h3 {
    margin-bottom: 12px;
}

.tech-tool-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .12);
}

.tech-tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.tech-tool-links .meta {
    font-weight: 600;
    opacity: .8;
}

.tech-contact-cta {
    background: var(--secondary-color, #EFF1ED);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
}

.tech-contact-cta h2 {
    margin-bottom: 12px;
}

.tech-contact-cta p {
    max-width: 600px;
    margin: 0 auto 24px;
    opacity: .85;
}

/* ----------------------------------------------------------------------------------------
* Agroforestry — "Our model, explained" step illustrations (scoped via .model-steps so
* it does NOT affect other pages that reuse .our-feature-gold for full photos, e.g.
* Forest Protection, Values, Urban Biodiversity).
* The base gold-feature layout stretches images to full-bleed (cover, 68% width,
* negative margins) which makes the step icons oversized next to their text.
* Constrain them to a uniform, contained size that sits neatly beside the copy.
* ---------------------------------------------------------------------------------------- */
.our-feature-gold.model-steps .row {
    align-items: center;          /* vertically centre image with the text */
}

.our-feature-gold.model-steps .feature-image-box-gold {
    justify-content: center;
    margin-right: 0 !important;
    height: auto !important;
}

.our-feature-gold.model-steps .feature-image-gold {
    width: 100% !important;
    height: auto !important;
}

.our-feature-gold.model-steps .feature-image-gold figure {
    height: auto !important;
    margin-right: 0 !important;
    text-align: center;
}

/* !important: beats the inline styles the scroll-triggered image reveal writes. */
.our-feature-gold.model-steps .feature-image-gold figure img {
    width: auto !important;
    height: auto !important;
    max-width: 110px !important;
    max-height: 110px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
    border-radius: 14px;
}

/* Centre the step title/description and tighten the vertical rhythm */
.our-feature-gold.model-steps .feature-content-gold,
.our-feature-gold.model-steps .feature-content-gold .section-title { text-align: center; }
.our-feature-gold.model-steps .feature-content-gold .section-title h2 { font-size: 26px; margin-bottom: 12px; }
.our-feature-gold.model-steps .feature-content-gold .section-title p { max-width: 620px; margin: 0 auto; }
/* Centre the "Our model, explained" heading at the top */
.our-feature-gold.model-steps .why-choose-content .section-title { text-align: center; }

/* "Why It Matters" — its own full-width band below the model steps,
   separated out of the repeating step rows. */
.why-it-matters-section {
    padding: 90px 0;
    text-align: center;
}

.why-it-matters-section .section-title h2 {
    color: #c17c5c;
    font-size: 42px;
    margin-bottom: 20px;
}

.why-it-matters-section .section-title p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

/* Narrow the image column, widen the text column for each step row */
@media (min-width: 1200px) {
    .our-feature-gold.model-steps .row > .col-xl-6:first-child {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .our-feature-gold.model-steps .row > .col-xl-6:last-child {
        flex: 0 0 65%;
        max-width: 65%;
    }
}

/* Agroforestry — "Status Quo" hero photo (forest-fire.JPG). The shared
   .approach-image-box styling used elsewhere renders it full-bleed width;
   target this specific image by src so other pages reusing the same
   classes (Values, Support Us, etc.) are unaffected. */
.our-approach-content img[src="/assets/img/forest-fire.JPG"] {
    width: 60%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

/* Forest Protection — first section right below the hero header. The shared
   .our-approach padding (120px top) leaves a big gap under the hero image;
   scoped via .fp-first-section so other pages using .our-approach are unaffected. */
.fp-first-section {
    padding-top: 40px;
}

/* ----------------------------------------------------------------------------------------
* Forest Protection — feature photos (Community Trainings, Cookstoves, Reforesting).
* The base gold-feature layout renders these full-bleed and edge-to-edge with no gap.
* Scoped via .feature-photos: shrink them, round the corners, and add vertical spacing
* between each image+text row.
* ---------------------------------------------------------------------------------------- */
.our-feature-gold.feature-photos .row {
    align-items: center;          /* centre image with the text beside it */
    margin-bottom: 50px;          /* gap between stacked feature rows */
}

.our-feature-gold.feature-photos .row:last-child {
    margin-bottom: 0;
}

.our-feature-gold.feature-photos .feature-image-box-gold {
    justify-content: center;
    margin-right: 0 !important;
    height: auto !important;
}

.our-feature-gold.feature-photos .feature-image-gold {
    width: 100% !important;
    height: auto !important;
}

/* !important: the theme's scroll-triggered "image-anime" reveal writes inline
   styles on the figure/img after they enter the viewport, which would otherwise
   override these caps and snap the photos back to full-bleed (eating the gap). */
.our-feature-gold.feature-photos .feature-image-gold figure {
    height: auto !important;
    margin-right: 0 !important;
}

.our-feature-gold.feature-photos .feature-image-gold figure img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border-radius: 14px;
}

/* ----------------------------------------------------------------------------------------
* Team page — department tabs.
* Dynamic pill tabs that show only the selected department's members. Responsive:
* centred/wrapped on desktop, horizontally scrollable on small screens.
* ---------------------------------------------------------------------------------------- */
.team-tabs-wrap {
    margin-bottom: 50px;
    overflow-x: auto;                 /* scrollable on mobile */
    -webkit-overflow-scrolling: touch;
}

.team-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.team-tab {
    display: inline-block;
    white-space: nowrap;
    padding: 11px 28px;
    border-radius: 30px;
    border: 1.5px solid currentColor;
    background: #fff;
    color: #4a7a3d;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transition: box-shadow .25s ease;
}

.team-tabs li:nth-child(1) .team-tab { color: #c8494f; }
.team-tabs li:nth-child(2) .team-tab { color: #d98a2b; }
.team-tabs li:nth-child(3) .team-tab { color: #6e8f3e; }
.team-tabs li:nth-child(4) .team-tab { color: #3c7cb8; }

.team-tab:hover {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.team-tab.active {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}

.team-tab-all {
    color: #8a7a68 !important;
    border-color: #c3d0f5 !important;
    box-shadow: 0 0 0 3px rgba(150, 175, 245, .3);
}

.team-tab-all:hover,
.team-tab-all.active {
    box-shadow: 0 0 0 3px rgba(150, 175, 245, .45);
}

/* Panels: only the active department is shown, with a soft fade-in. */
.team-panel {
    display: none;
}

.team-panel.active {
    display: block;
    animation: teamPanelFade .35s ease;
}

@keyframes teamPanelFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
    .team-tabs {
        flex-wrap: nowrap;            /* single scrollable row on phones */
        justify-content: flex-start;
    }

    .team-tab {
        padding: 9px 22px;
        font-size: 13px;
    }
}

/* ----------------------------------------------------------------------------------------
* Team page — "We're Hiring" CTA banner (below the team profiles → links to /careers).
* ---------------------------------------------------------------------------------------- */
.team-hiring {
    padding: 30px 0 110px;
}

.team-hiring-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    border-radius: 28px;
    padding: 72px 40px;
    background: linear-gradient(135deg, #2f5e3a 0%, #1c3d23 100%);
    box-shadow: 0 24px 60px rgba(28, 61, 35, .28);
}

/* Soft decorative blobs for depth. */
.team-hiring-cta::before,
.team-hiring-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.team-hiring-cta::before {
    width: 320px;
    height: 320px;
    top: -130px;
    right: -90px;
}

.team-hiring-cta::after {
    width: 240px;
    height: 240px;
    bottom: -120px;
    left: -70px;
}

.team-hiring-cta > * {
    position: relative;
    z-index: 1;
}

/* Keep the text above the corner illustration. */
.team-hiring-content {
    position: relative;
    z-index: 2;
}

/* Decorative illustration in the right corner of the banner. */
.team-hiring-illustration {
    position: absolute;
    right: 30px;
    bottom: 0;
    width: auto;
    max-width: 230px;
    max-height: 82%;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .team-hiring-illustration {
        display: none;   /* avoid overlapping the text on small screens */
    }
}

.team-hiring-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-hiring-badge i {
    margin-right: 6px;
}

.team-hiring-cta h2 {
    color: #fff;
    max-width: 760px;
    margin: 0 auto 16px;
}

.team-hiring-cta p {
    color: rgba(255, 255, 255, .9);
    max-width: 620px;
    margin: 0 auto 30px;
}

.team-hiring-cta .btn-default {
    background: #fff;
    color: #1c3d23;
}

.team-hiring-cta .btn-default:hover {
    background: var(--accent-color, #2f5e3a);
    color: #fff;
}

@media (max-width: 575.98px) {
    .team-hiring-cta {
        padding: 52px 24px;
        border-radius: 22px;
    }
}

/* ----------------------------------------------------------------------------------------
* Values page — value illustrations (planet, growth, transparency, …).
* The base gold-feature layout blows these illustrations up full-bleed; constrain them
* to a contained, uniform size that sits neatly beside the text. Scoped via
* .value-illustrations so it only affects the Values page.
* !important beats the inline styles the theme writes on scroll.
* ---------------------------------------------------------------------------------------- */
.our-feature-gold.value-illustrations .row {
    align-items: center;
    margin-bottom: 30px;
}

.our-feature-gold.value-illustrations .row:last-child {
    margin-bottom: 0;
}

.our-feature-gold.value-illustrations .feature-image-box-gold {
    justify-content: center;
    margin-right: 0 !important;
    height: auto !important;
}

@media (min-width: 1200px) {
    .our-feature-gold.value-illustrations .row > .col-xl-6:first-child {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .our-feature-gold.value-illustrations .row > .col-xl-6:last-child {
        flex: 0 0 65%;
        max-width: 65%;
    }
}

.our-feature-gold.value-illustrations .feature-content-gold .section-title {
    text-align: left;
}

.our-feature-gold.value-illustrations .feature-image-gold {
    width: 100% !important;
    height: auto !important;
}

.our-feature-gold.value-illustrations .feature-image-gold figure {
    height: auto !important;
    margin-right: 0 !important;
    text-align: center;
}

.our-feature-gold.value-illustrations .feature-image-gold figure img {
    width: auto !important;
    height: auto !important;
    max-width: 260px !important;
    max-height: 220px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
}

/* ----------------------------------------------------------------------------------------
* Values page — "Join our team" CTA card. Scoped via .join-team-cta (added to the
* .approach-item wrapper in the CMS body for this block only) so the shared
* .approach-item / .why-choose-image / .btn-default styles elsewhere are untouched.
* ---------------------------------------------------------------------------------------- */
.join-team-cta {
    background: #fbe8c6 !important;
    border-radius: 32px !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.join-team-cta > .row {
    margin: 0;
}

.join-team-cta > .row > .col-xl-6:first-child {
    padding: 60px 20px 60px 60px;
    position: relative;
    z-index: 1;
}

.join-team-cta > .row > .col-xl-6:last-child {
    padding: 0;
}

.join-team-cta .approach-item-content h3 {
    color: #3a2a1d;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.35em;
    max-width: 520px;
}

.join-team-cta .why-choose-btn {
    border-top: none;
    padding-top: 0;
    margin-top: 24px;
}

.join-team-cta .why-choose-btn .btn-default {
    background: #e2942e !important;
    color: #fff;
    padding: 17px 64px 17px 34px;
}

.join-team-cta .why-choose-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    max-width: 520px;
}

.join-team-cta .why-choose-image figure,
.join-team-cta .why-choose-image figure img {
    border-radius: 0;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ----------------------------------------------------------------------------------------
* Our Partners page — type tabs, uniform logo cards, improved pagination.
* ---------------------------------------------------------------------------------------- */

/* Hero header — show the full source image, no crop and no letterbox space.
   The source asset (pages/partners.jpg) is 1440x448; matching the box's own
   aspect-ratio to the image means cover/contain are equivalent, so the image
   always fills the box exactly with nothing cropped or left empty. Scoped via
   .page-header-partners (added only in pages/partners.blade.php) so the
   shared .page-header sizing used on every other page is untouched. */
.page-header-partners {
    aspect-ratio: 1440 / 448;
    height: auto !important;
    min-height: 340px;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .page-header-partners {
        aspect-ratio: auto;
        min-height: 300px;
    }
}

/* ----------------------------------------------------------------------------------------
* Urban Biodiversity page — same hero-image fit fix as Our Partners.
* Source asset (pages/bdhub.jpg) is also 1440x448. Applied via .page-header-fit,
* added conditionally in pages/page.blade.php only for the urban-biodiversity slug.
* ---------------------------------------------------------------------------------------- */
.page-header-fit {
    aspect-ratio: 1440 / 448;
    height: auto !important;
    min-height: 340px;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .page-header-fit {
        aspect-ratio: auto;
        min-height: 300px;
    }
}

/* First content section right below the hero — shrink the big default
   .our-approach top padding. Scoped via .ub-first-section (added only in
   the urban-biodiversity page body) so other .our-approach pages are unaffected. */
.ub-first-section {
    padding-top: 40px;
}

/* Urban Biodiversity — BD Hub photo inside the content. Scoped by exact src
   so the shared .approach-image-box classes elsewhere are unaffected. */
.our-approach-content img[src="/assets/img/BD-Hub-Image.jpg"] {
    width: 60%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

/* Human-Elephant Conflict Prevention — first section right below the hero
   header. Scoped via .hecp-first-section (added only in this page's body)
   so other .our-approach pages are unaffected. */
.hecp-first-section {
    padding-top: 40px;
}

/* Elephant raid photo inside the content. Scoped by exact src so the shared
   .approach-image-box classes elsewhere are unaffected. */
.our-approach-content img[src="/assets/img/Elephant-Raid.jpg"] {
    width: 60%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

/* Climate Change Education — first section right below the hero header.
   Scoped via .ccep-first-section (added only in this page's body) so other
   .our-approach pages are unaffected. */
.ccep-first-section {
    padding-top: 40px;
}

/* Climate Change Education — "Mobile Science Laboratory" / "Schools for
   Forests" program rows. Turn each image+text pair into a single card
   instead of a plain two-column row; the inner .approach-item card is
   flattened so the image and text share one surface. */
.ccep-program-row {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    padding: 40px;
    margin-bottom: 40px;
}

.ccep-program-row:last-child {
    margin-bottom: 0;
}

.ccep-program-row .approach-item {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Urban Biodiversity — closing "This is just the beginning" block */
.ub-closing-section .why-choose-content .section-title {
    text-align: center;
}

.ub-closing-section .why-choose-content .section-title p {
    max-width: 780px;
    margin: 0 auto 16px;
}

.ub-closing-section .why-choose-content .section-title h2 {
    font-size: 22px;
}

/* Tabs (All / Funder / Partners) */
.partner-tabs-wrap {
    margin-bottom: 45px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.partner-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.partner-tab {
    display: inline-block;
    white-space: nowrap;
    padding: 11px 30px;
    border-radius: 30px;
    border: 1.5px solid currentColor;
    background: #fff;
    color: #09383a;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.partner-tabs li:nth-child(2) .partner-tab { color: #c8494f; }
.partner-tabs li:nth-child(3) .partner-tab { color: #6e8f3e; }

.partner-tab:hover {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.partner-tab.active {
    background: #09383a !important;
    color: #fff !important;
    border-color: #09383a !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

/* Grid — gap-based spacing (immune to the card reveal transforms, so rows can
   never collapse/overlap during scroll). Equal-height cells by default. */
.partners-page .partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* 4 per row */
    gap: 26px;
    margin-bottom: 10px;
}

@media (max-width: 1199.98px) {
    .partners-page .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .partners-page .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 419.98px) {
    .partners-page .partner-grid { grid-template-columns: 1fr; }
}

/* Subtle, GPU-accelerated reveal (armed by JS adding .reveal-on). */
.partners-page .partner-grid.reveal-on .partner-card {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .55s ease, transform .55s ease;
    will-change: transform, opacity;
}

.partners-page .partner-grid.reveal-on .partner-card.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Partner card — uniform logo box; flex column for equal-height layout. */
.partners-page .partner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partners-page .partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .1);
    border-color: transparent;
}

.partners-page .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    margin-bottom: 16px;
}

.partners-page .partner-logo img {
    max-width: 100%;
    max-height: 90px;     /* keeps every logo a sensible, uniform size */
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.partners-page .partner-logo-fallback {
    font-weight: 700;
    color: var(--accent-color, #2f5e3a);
    font-size: 18px;
}

.partners-page .partner-name {
    font-size: 17px;
    margin: 0 0 8px;
}

.partners-page .partner-type-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(47, 94, 58, .1);
    color: var(--accent-color, #2f5e3a);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Improved pagination */
.partner-pagination {
    margin-top: 30px;
}

.partner-pagination nav > div:last-child,
.partner-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.partner-pagination .pagination .page-item .page-link,
.partner-pagination .pagination li > a,
.partner-pagination .pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 50px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: var(--accent-color, #2f5e3a);
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.partner-pagination .pagination li > a:hover {
    background: var(--accent-color, #2f5e3a);
    border-color: var(--accent-color, #2f5e3a);
    color: #fff;
}

.partner-pagination .pagination .active > a,
.partner-pagination .pagination .active > span {
    background: var(--accent-color, #2f5e3a);
    border-color: var(--accent-color, #2f5e3a);
    color: #fff;
    pointer-events: none;
}

.partner-pagination .pagination .disabled > span {
    opacity: .45;
}

@media (max-width: 575.98px) {
    .partner-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

/* ----------------------------------------------------------------------------------------
* Our Partners — "Become a Partner" + "Support Us" CTA section.
* ---------------------------------------------------------------------------------------- */
.partner-cta {
    padding: 20px 0 110px;
}

.partner-cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 80px 56px;
    background: linear-gradient(135deg, #eef5ec 0%, #e1efe0 60%, #dcecdd 100%);
    box-shadow: 0 24px 60px rgba(28, 61, 35, .12);
}

.partner-cta-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 20px;
    border-radius: 30px;
    background: rgba(47, 94, 58, .12);
    color: var(--accent-color, #2f5e3a);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.partner-cta-text h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #1c3d23;
}

.partner-cta-lead {
    font-size: 18px;
    font-weight: 600;
    color: #2c4a33;
    margin-bottom: 16px;
}

.partner-cta-text p {
    color: #4a5b4e;
    margin-bottom: 14px;
}

.partner-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* Buttons — primary filled green, secondary outlined; GPU-friendly hover lift. */
.btn-partner-primary,
.btn-partner-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-partner-primary {
    background: var(--accent-color, #2f5e3a);
    color: #fff;
    border: 2px solid var(--accent-color, #2f5e3a);
}

.btn-partner-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(28, 61, 35, .28);
    color: #fff;
}

.btn-partner-secondary {
    background: transparent;
    color: var(--accent-color, #2f5e3a);
    border: 2px solid var(--accent-color, #2f5e3a);
}

.btn-partner-secondary:hover {
    transform: translateY(-3px);
    background: var(--accent-color, #2f5e3a);
    color: #fff;
}

/* Hero image — rounded, soft shadow, consistent aspect ratio. */
.partner-cta-media {
    margin-top: 0;
}

.partner-cta-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
    aspect-ratio: 4 / 3;
}

/* Support Our Mission block */
.partner-support-block {
    margin-top: 50px;
    padding-top: 38px;
    border-top: 1px solid rgba(47, 94, 58, .18);
    text-align: center;
}

.partner-support-block h3 {
    color: #1c3d23;
    margin-bottom: 12px;
}

.partner-support-block p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: #4a5b4e;
}

/* Responsive: image stacks below the text on tablet/mobile. */
@media (max-width: 991.98px) {
    .partner-cta-inner {
        padding: 56px 32px;
    }

    .partner-cta-text h2 {
        font-size: 30px;
    }

    .partner-cta-media {
        margin-top: 34px;
    }

    .partner-cta-img {
        max-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .partner-cta-inner {
        padding: 44px 22px;
        border-radius: 22px;
    }

    .partner-cta-btns .btn-partner-primary,
    .partner-cta-btns .btn-partner-secondary {
        width: 100%;
    }
}

/* ----------------------------------------------------------------------------------------
* Blogs page — consistent card images + meta.
* ---------------------------------------------------------------------------------------- */
.blogs-page .post-featured-image figure {
    margin: 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blogs-page .post-featured-image figure img {
    width: 100%;
    height: 230px;            /* uniform image height across cards */
    object-fit: cover;
    transition: transform .4s ease;
}

.blogs-page .post-item:hover .post-featured-image figure img {
    transform: scale(1.05);
}

.blogs-page .blog-date {
    font-weight: 600;
    opacity: .7;
    margin-bottom: 8px;
}

.blogs-page .blog-excerpt {
    color: #5a6b5e;
    margin-top: 6px;
}

/* ----------------------------------------------------------------------------------------
* Fancy pagination — reusable rounded pill pagination (blogs + anywhere with
* .fancy-pagination wrapping a .pagination list).
* ---------------------------------------------------------------------------------------- */
.fancy-pagination {
    margin-top: 40px;
    text-align: center;
}

.fancy-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fancy-pagination .pagination li > a,
.fancy-pagination .pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: 50px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: var(--accent-color, #2f5e3a);
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.fancy-pagination .pagination li > a:hover {
    background: var(--accent-color, #2f5e3a);
    border-color: var(--accent-color, #2f5e3a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(28, 61, 35, .2);
}

.fancy-pagination .pagination .active > a,
.fancy-pagination .pagination .active > span {
    background: var(--accent-color, #2f5e3a);
    border-color: var(--accent-color, #2f5e3a);
    color: #fff;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(28, 61, 35, .25);
}

.fancy-pagination .pagination .disabled > span {
    opacity: .4;
    cursor: not-allowed;
}

/* ----------------------------------------------------------------------------------------
* Blog detail page — contextual hero, category badge, overlapping featured image,
* and readable article typography.
* ---------------------------------------------------------------------------------------- */
.blog-detail-cat {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-detail-hero .post-single-meta .breadcrumb {
    gap: 22px;
    flex-wrap: wrap;
}

.blog-detail-hero .post-single-meta .breadcrumb li {
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
}

.blog-detail-hero .post-single-meta .breadcrumb li i {
    margin-right: 6px;
}

/* Featured image — rounded, shadowed, lifted up to overlap the hero. */
.blog-detail-page .post-image {
    position: relative;
    z-index: 3;
    margin-top: -100px;
    margin-bottom: 44px;
}

.blog-detail-page .post-image figure {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .2);
}

.blog-detail-page .post-image figure img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Article typography */
.blog-detail-page .post-entry {
    font-size: 17px;
    line-height: 1.85;
    color: #45514a;
}

.blog-detail-page .post-entry p {
    margin-bottom: 22px;
}

.blog-detail-page .post-entry h2,
.blog-detail-page .post-entry h3,
.blog-detail-page .post-entry h4 {
    color: #1c3d23;
    margin: 36px 0 16px;
}

.blog-detail-page .post-entry a {
    color: var(--accent-color, #2f5e3a);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-detail-page .post-entry ul,
.blog-detail-page .post-entry ol {
    margin: 0 0 22px 1.1rem;
}

.blog-detail-page .post-entry li {
    margin-bottom: 8px;
}

.blog-detail-page .post-entry blockquote {
    margin: 28px 0;
    padding: 18px 26px;
    border-left: 4px solid var(--accent-color, #2f5e3a);
    background: #f3f7f2;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #2c4a33;
}

.blog-detail-page .post-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 10px 0 24px;
}

/* Tags / share / back button */
.blog-detail-page .post-tag-links {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #ececec;
}

.blog-detail-page .blog-detail-back {
    margin-top: 34px;
}

.blog-detail-page .blog-detail-back .btn-default i {
    margin-right: 8px;
}

@media (max-width: 767.98px) {
    .blog-detail-page .post-image {
        margin-top: -60px;
    }

    .blog-detail-page .post-image figure img {
        max-height: 320px;
    }

    .blog-detail-page .post-entry {
        font-size: 16px;
    }
}

/* ----------------------------------------------------------------------------------------
* Legal / content pages (Privacy Policy, Donation Policy, Terms, …) — readable typography.
* ---------------------------------------------------------------------------------------- */
.legal-content h2 {
    color: #1c3d23;
    margin-bottom: 18px;
}

.legal-content h3 {
    color: #1c3d23;
    font-size: 22px;
    margin: 34px 0 12px;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: #45514a;
}

.legal-content ul {
    margin: 0 0 20px 1.2rem;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #45514a;
}

.legal-content a {
    color: var(--accent-color, #2f5e3a);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----------------------------------------------------------------------------------------
* Site Footer — clean CTA band + 4-column grid (brand has the newsletter image box
* below the logo) + addresses + bottom bar. Keeps every original element/image.
* ---------------------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding: 80px 0 0;
    background: radial-gradient(120% 90% at 50% 0%, #1c4226 0%, #0e2414 55%, #091a0e 100%);
    color: rgba(255, 255, 255, .78);
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, .78);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: #fff;
}

/* Top grid: CTA (left) + nav/social/newsletter (right) */
.site-footer .footer-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 46px;
    margin-bottom: 40px;
}

.site-footer .footer-cta-text h2 {
    color: #f4910f;
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.site-footer .footer-cta-text p {
    max-width: 480px;
    margin: 0 0 28px;
}

/* CTA buttons — outlined pills (Support Us / Contact Us) */
.site-footer .footer-cta-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.site-footer .footer-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-width: 200px;
    padding: 6px 6px 6px 26px;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #f4910f;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.site-footer .footer-pill-btn:hover {
    border-color: #f4910f;
    background: rgba(244, 145, 15, .08);
    transform: translateY(-2px);
}
.site-footer .footer-pill-arrow {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4910f;
    color: #0c2114;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform .2s ease;
}
.site-footer .footer-pill-btn:hover .footer-pill-arrow { transform: translateX(3px); }

@media (max-width: 575.98px) {
    .site-footer .footer-pill-btn { min-width: 180px; }
}

/* Nav side: link columns + social row + newsletter box */
.site-footer .footer-nav-side { min-width: 0; }

.site-footer .footer-links-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: none;   /* theme's generic .footer-links caps width to 32% — this is a 2-column block, not that single column */
}

.site-footer .footer-links-cols .footer-links-col {
    min-width: 0;
}

.site-footer .footer-nav-side .footer-links-cols ul li a {
    white-space: normal;
    padding-left: 0;
}

.site-footer .footer-links-cols ul li a::before {
    display: none;
}

/* Newsletter box */
.site-footer .footer-newsletter-box {
    position: relative;
    overflow: hidden;
    max-width: 360px;
    margin: 24px 0 0 auto;
    padding: 26px 26px 22px;
    border-radius: 16px;
    background: #86A34D;
}

.site-footer .footer-newsletter-flower {
    position: absolute;
    bottom: 0;
    right: -14px;
    width: 130px;
    height: auto;
    opacity: .55;
    pointer-events: none;
}

.site-footer .footer-newsletter-box h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
}

.site-footer .footer-newsletter-form {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #d9695c;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
}

.site-footer .footer-newsletter-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}
.site-footer .footer-newsletter-form input::placeholder { color: rgba(255, 255, 255, .85); }
.site-footer .footer-newsletter-form input:focus { outline: none; }

.site-footer .footer-newsletter-submit {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #0c2114;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease;
}
.site-footer .footer-newsletter-submit:hover { transform: translateX(3px); }

@media (max-width: 991.98px) {
    .site-footer .footer-top-grid { grid-template-columns: 1fr; }
}

/* Link columns */
.site-footer .footer-col h3 {
    font-size: 18px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    white-space: nowrap;   /* keep "Quick Links" / "Legal Links" on one line */
}

.site-footer .footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: #86A34D;
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links ul li {
    margin-bottom: 12px;
    padding-left: 0 !important;   /* remove the theme's indent for its broken marker */
}

/* Hide the theme's marker (uses an unloaded "Font Awesome 7 Free" → shows a □).
   We provide our own chevron on the <a> below. */
.site-footer .footer-links ul li::before {
    display: none !important;
}

.site-footer .footer-links ul li a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    white-space: nowrap;          /* keep each page name on a single line */
    transition: color .2s ease, padding-left .2s ease;
}

.site-footer .footer-links ul li a::before {
    content: "\f105";   /* fa angle-right */
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: #86A34D;
    position: absolute;
    left: 0;
    top: 1px;
}

.site-footer .footer-links ul li a:hover {
    color: #fff;
    padding-left: 24px;
}

/* Legal menu: no chevron marker */
.site-footer .footer-addresses .footer-links ul li a {
    padding-left: 0;
}

.site-footer .footer-addresses .footer-links ul li a::before {
    display: none;
}

/* Addresses */
.site-footer .footer-addresses {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    padding: 40px 0;
    border-top: 2px solid rgba(255, 255, 255, .18);
}

.site-footer .footer-address h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.site-footer .footer-address p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Bottom bar */
.site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin: 22px 0 0;   /* sits below the nav link columns, above the newsletter box */
}

.site-footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.site-footer .footer-social a:hover {
    background: #86A34D;
    color: #0c2114;
    transform: translateY(-3px);
}

.site-footer .footer-copy,
.site-footer .footer-copy p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .site-footer .footer-addresses {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding-top: 60px;
    }

    .site-footer .footer-addresses {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer .footer-links-cols {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .site-footer .footer-cta-text h2 {
        font-size: 26px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer .footer-social {
        justify-content: center;
    }
}

/* ==========================================================================
   Contact page — Get in Touch + Offices (moved here from the footer)
   ========================================================================== */
.contact-details {
    padding: 70px 0 90px;
}

.contact-details-block + .contact-details-block {
    margin-top: 60px;
}

.contact-details .contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details .contact-detail-item {
    display: flex;
    gap: 14px;
    padding: 26px;
    background: #f4f8f2;
    border: 1px solid #e6ece2;
    border-radius: 14px;
}

.contact-details .contact-detail-item i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #86A34D;
    font-size: 20px;
}

.contact-details .contact-detail-item span {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1c3d23;
    margin-bottom: 3px;
}

.contact-details .contact-detail-item a {
    word-break: break-word;
    color: #4a5b4e;
}

.contact-details .contact-detail-item a:hover {
    color: #86A34D;
}

.contact-details .contact-address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-details .contact-address {
    padding: 28px;
    background: #fff;
    border: 1px solid #e6ece2;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.contact-details .contact-address h4 {
    font-size: 17px;
    color: #1c3d23;
    margin-bottom: 12px;
}

.contact-details .contact-address p {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5b4e;
    margin: 0;
}

@media (max-width: 991.98px) {
    .contact-details .contact-details-grid,
    .contact-details .contact-address-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Careers — job cards (/careers)
   Jobs reuse the theme's .post-item (built for blog posts with a featured
   image). These rules turn each one into a self-contained card and fix the
   tag that the theme positions absolutely over the (absent) image.
   ========================================================================== */
.careers-jobs-row > .col-md-6 {
    display: flex;              /* equal-height cards across the row */
    margin-bottom: 30px;
}

.post-item.job-card {
    height: auto;               /* override theme calc(100% - 30px) */
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6ece2;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-item.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    border-color: #86A34D;
}

.job-card .post-item-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.job-card .post-item-content { flex: 1 1 auto; }

/* Job type tag: theme makes it position:absolute for an image overlay — make
   it a normal inline pill inside the card instead. */
.job-card .post-item-tags {
    position: static;
    top: auto;
    left: auto;
    margin-bottom: 6px;
}
.job-card .post-item-tags a {
    color: #2f5e3a;
    background: #f0f5ec;
    border-color: #dfe8d5;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6px 14px;
    font-weight: 600;
}
.job-card .post-item-tags a:hover {
    background: #86A34D;
    color: #fff;
}

.job-card .post-item-content h2 { font-size: 20px; margin: 4px 0 0; }
.job-card .post-item-content h2 a { color: #1c3d23; transition: color .2s ease; }
.job-card .post-item-content h2 a:hover { color: #2f5e3a; }

.job-card .job-meta { margin: 14px 0 0; }
.job-card .job-meta li {
    font-size: 14px;
    color: #5a6b5e;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}
.job-card .job-meta li i { color: #86A34D; width: 16px; text-align: center; }

.job-card .post-item-content p { color: #4a5b4e; font-size: 15px; line-height: 1.7; margin-top: 12px; }

.job-card .post-item-btn { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef1ec; }
.job-card .readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2f5e3a;
    transition: gap .2s ease, color .2s ease;
}
.job-card .readmore-btn::after { content: "\f061"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: 12px; }
.job-card .readmore-btn:hover { color: #86A34D; gap: 12px; }

@media (max-width: 575.98px) {
    .post-item.job-card { padding: 20px; }
}

/* ==========================================================================
   Project detail — "The Challenge / Our Intervention" callout cards
   (used inside the rich-text project_description body)
   ========================================================================== */
.proj-callouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}
.proj-callout {
    border-radius: 18px;
    padding: 28px 30px;
    border-left: 5px solid transparent;
}
.proj-callout h3 {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
}
.proj-callout p {
    color: #48594b;
    line-height: 1.75;
    margin: 0;
    font-size: 15px;
}
.proj-callout--challenge {
    background: #eaeee6;
    border-left-color: #1a3d2b;
}
.proj-callout--challenge h3 { color: #1a3d2b; }
.proj-callout--intervention {
    background: #faf0e3;
    border-left-color: #e8831a;
}
.proj-callout--intervention h3 { color: #e8831a; }

@media (max-width: 767.98px) {
    .proj-callouts { grid-template-columns: 1fr; gap: 18px; }
}

/* Project detail — "How We Work" numbered steps */
.proj-steps { display: grid; gap: 24px; margin: 26px 0; }
.proj-step { display: flex; gap: 20px; align-items: flex-start; }
.proj-step-num {
    flex: 0 0 auto;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #1a3d2b;
    color: #e8831a;
    font-weight: 700;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: .02em;
}
.proj-step-body h4 { color: #1a3d2b; font-size: 21px; margin: 3px 0 8px; }
.proj-step-body p { color: #5f7064; line-height: 1.75; margin: 0; font-size: 15px; }
@media (max-width: 575.98px) {
    .proj-step { gap: 14px; }
    .proj-step-num { width: 44px; height: 44px; font-size: 14px; }
}

/* Project detail — "Community Voice" split card (quote + portrait) */
.proj-voice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    margin: 34px 0;
    background: #1a3d2b;
}
.proj-voice-quote {
    padding: 46px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.proj-voice-label {
    color: #e8831a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.proj-voice-quote blockquote {
    color: #fff;
    font-size: 24px;
    line-height: 1.42;
    font-weight: 700;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Playfair Display', Georgia, serif;
}
.proj-voice-name { color: #fff; font-weight: 700; font-size: 15px; margin: 0; }
.proj-voice-role { color: rgba(255, 255, 255, .5); font-size: 13px; margin: 3px 0 0; }
.proj-voice-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 767.98px) {
    .proj-voice { grid-template-columns: 1fr; }
    .proj-voice-quote { padding: 34px 28px; }
    .proj-voice-media { height: 320px; }
}

/* Project detail — "Key Species" pill tags */
.proj-species-title { font-weight: 700; color: #1a3d2b; font-size: 16px; margin: 0 0 4px; }
.proj-species { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 0; }
.proj-species span {
    background: #e7ece1;
    color: #1a3d2b;
    border: 1px solid rgba(26, 61, 43, .14);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.2;
}

/* Project detail — sticky "Project Metrics" sidebar card */
.proj-metrics-card {
    background: #fff;
    border: 1px solid rgba(26, 61, 43, .10);
    border-radius: 18px;
    padding: 26px 26px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    position: sticky;
    top: 100px;   /* stays in view while the rest of the page scrolls */
}
.proj-metrics-card h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #1a3d2b;
    margin: 0 0 20px;
}
.proj-metric {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(26, 61, 43, .08);
}
.proj-metric:last-child { border-bottom: 0; }
.proj-metric-icon {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: rgba(26, 61, 43, .07);
    color: #1a3d2b;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.proj-metric-label { color: rgba(26, 61, 43, .5); font-size: 13px; }
.proj-metric-value {
    color: #1a3d2b;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.15;
    font-family: 'Playfair Display', Georgia, serif;
    margin: 1px 0 3px;
}
.proj-metric-detail { color: rgba(26, 61, 43, .42); font-size: 13px; line-height: 1.5; }

@media (max-width: 991.98px) {
    .proj-metrics-card { position: static; margin-top: 30px; }
}

/* Page header — static background (no parallax fixed attachment) */
.page-header {
    background-attachment: scroll;
    background-position: center center;
}

/* Project detail — hero subtitle under the title */
.page-header .project-hero-subtitle {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    line-height: 1.55;
    max-width: 640px;
    margin: 14px 0 0;
}
/* Verification standard shown below the metrics rows */
.proj-metric-verification { padding-bottom: 14px; }
.proj-metric-verif-label { color: rgba(26, 61, 43, .5); font-size: 12px; margin-bottom: 4px; }
.proj-metric-verif-value { color: #1a3d2b; font-weight: 600; font-size: 14px; line-height: 1.5; }

/* Project detail — the 3 headline stats on the hero (below the subtitle) */
.page-header .project-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}
.page-header .project-hero-stat-value {
    color: #e8831a;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 6px;
}
.page-header .project-hero-stat-label { color: rgba(255, 255, 255, .6); font-size: 13px; }
@media (max-width: 575.98px) {
    .page-header .project-hero-stats { gap: 26px; }
    .page-header .project-hero-stat-value { font-size: 24px; }
}

/* Project detail hero — program badge above the title, everything centered */
.project-detail-header .page-header-box h1 { display: block; }
.project-detail-header .blog-detail-cat { display: inline-block; margin-bottom: 16px; }
.project-detail-header .project-hero-subtitle { margin-left: auto; margin-right: auto; text-align: center; }
.project-detail-header .project-hero-stats { justify-content: center; }
.project-detail-header .project-hero-stat { text-align: center; }

/* ==========================================================================
   "What We Do" — explore other program pages (image cards)
   ========================================================================== */
.wwd-more { padding: 10px 0 70px; }
.wwd-more-panel {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}
.wwd-more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.wwd-more-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}
.wwd-more-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.wwd-more-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wwd-more-card:hover img { transform: scale(1.06); }
.wwd-more-label {
    position: absolute;
    left: 14px;
    bottom: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    padding: 8px 14px;
    border-radius: 8px;
    max-width: calc(100% - 28px);
}
@media (max-width: 991.98px) {
    .wwd-more-panel { padding: 26px; }
    .wwd-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .wwd-more-grid { grid-template-columns: 1fr; }
    .wwd-more-label { font-size: 15px; }
}

/* ============================================================
   Our Journey page (slug: story) — video header + timeline
   ============================================================ */

/* Video header replacing the static header image */
.story-hero {
    background: #123524;
    padding: 90px 0 0;   /* top clears the fixed header; full-bleed otherwise */
    text-align: center;
}
.story-hero .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.story-video-wrap {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    max-height: 480px;   /* keeps the full-width band from getting too tall */
    overflow: hidden;
    background: #000;
}
.story-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Scoped utility classes carried over from the legacy F4F markup */
.story-page .tw-fs-28 { font-size: 28px; }
.story-page .tw-fs-18 { font-size: 18px; }
.story-page .tw-fs-16 { font-size: 16px; }
.story-page .tw-fs-14 { font-size: 14px; }
.story-page .tw-fw-600 { font-weight: 600; }
.story-page .tw-text-d-orange { color: #f4910f; }
.story-page .tw-text-d-green { color: #09383a; }
.story-page .tw-text-black { color: #000; }
.story-page .tw-py-20 { padding-top: 40px; padding-bottom: 40px; }
.story-page .tw-mt-30 { margin-top: 30px; }
.story-page .tw-px-40 { padding-left: 40px; padding-right: 40px; }

/* Milestones timeline cards */
.story-page .timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}
.story-page .timeline-card {
    display: flex;
    gap: 16px;
    background: #fff;
    align-items: flex-start;
}
.story-page .timeline-card .image {
    flex: 0 0 40%;
    max-width: 40%;
}
.story-page .timeline-card .image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}
.story-page .timeline-card .content { flex: 1; }
.story-page .timeline-card .content p {
    margin-top: 6px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

/* Carousel controls (text arrows, positioned at the sides) */
.story-page #carouselExampleControls .carousel-control-prev,
.story-page #carouselExampleControls .carousel-control-next {
    width: 40px;
    opacity: 1;
    color: #123524;
    font-size: 28px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .story-page .timeline-grid { grid-template-columns: 1fr; }
    .story-page .tw-px-40 { padding-left: 12px; padding-right: 12px; }
    .story-page .timeline-card .image { flex-basis: 35%; max-width: 35%; }
}

/* ============================================================
   Our Approach page (slug: approach) — Manus redesign
   ============================================================ */
.approach-page { --appr-green:#1a3d2b; --appr-orange:#e8831a; --appr-teal:#52b788; --appr-cream:#faf7f0; }

/* Hero (Manus-style: image + gradient + title + subtitle) */
.appr-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.appr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0d2318 0%, rgba(13,35,24,.6) 45%, transparent 100%);
}
.appr-hero .container { position: relative; z-index: 2; }
.appr-hero-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    max-width: 760px;
    margin: 0 0 24px;
}
.appr-hero-sub {
    color: rgba(255,255,255,.78);
    font-size: 20px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}
@media (max-width: 767.98px) {
    .appr-hero-title { font-size: 40px; }
    .appr-hero-sub { font-size: 17px; }
}

/* Map pins overlay */
.approach-page .appr-map-pins { position: absolute; inset: 0; pointer-events: none; }
.approach-page .appr-pin {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    transform: translate(-50%, -50%);
}
.approach-page .appr-pin-green { background: var(--appr-teal); }
.approach-page .appr-pin-orange { background: var(--appr-orange); }
.approach-page .appr-label {
    color: var(--appr-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Lead / conviction band */
.approach-page .appr-lead { background: var(--appr-green); padding: 48px 0; }
.approach-page .appr-lead p {
    color: rgba(255,255,255,.85);
    font-size: 20px;
    line-height: 1.6;
    max-width: 820px;
    margin: 0;
}

/* Mission & Vision */
.approach-page .appr-mv { background: var(--appr-cream); padding: 80px 0; }
.approach-page .appr-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.approach-page .appr-col-bordered { border-left: 1px solid rgba(26,61,43,.12); padding-left: 48px; }
.approach-page .appr-statement {
    font-family: 'Playfair Display', serif;
    color: var(--appr-green);
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* Our Model (dark) */
.approach-page .appr-model { background: var(--appr-green); padding: 80px 0; }
.approach-page .appr-model-head { max-width: 820px; margin-bottom: 48px; }
.approach-page .appr-model-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 20px;
}
.approach-page .appr-model-kicker {
    color: rgba(255,255,255,.5);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.approach-page .appr-model-body { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.7; margin: 0; }
.approach-page .appr-flow-title {
    color: var(--appr-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* PES flow: 4 columns + arrows */
.approach-page .appr-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    background: linear-gradient(135deg,#0a2318 0%,#112b1e 100%);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
}
.approach-page .appr-flow-col { padding: 24px; border-right: 1px solid rgba(255,255,255,.08); }
.approach-page .appr-flow-col:last-child { border-right: 0; }
.approach-page .appr-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232,131,26,.5);
    font-size: 18px;
    padding: 0 4px;
}
.approach-page .appr-flow-head {
    color: rgba(255,255,255,.35);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.approach-page .appr-flow-lead { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
.approach-page .appr-flow-list { display: flex; flex-direction: column; gap: 18px; }
.approach-page .appr-flow-item { border-left: 2px solid rgba(232,131,26,.3); padding-left: 12px; }
.approach-page .appr-flow-item-green { border-left-color: rgba(82,183,136,.38); }
.approach-page .appr-flow-item-orange { border-left-color: rgba(232,131,26,.38); }
.approach-page .appr-flow-item-title { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.approach-page .appr-flow-item-desc { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.5; margin: 0; }
.approach-page .appr-flow-note {
    color: rgba(255,255,255,.25);
    font-size: 12px;
    font-style: italic;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.approach-page .appr-flow-foot { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.6; margin: 0; }
.approach-page .appr-flow-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.approach-page .appr-tile { background: rgba(255,255,255,.05); border-radius: 8px; padding: 12px; }
.approach-page .appr-tile-title { color: #fff; font-size: 12px; font-weight: 600; margin: 0; }
.approach-page .appr-tile-desc { color: rgba(255,255,255,.35); font-size: 10px; margin: 2px 0 0; line-height: 1.4; }
.approach-page .appr-timeline { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.approach-page .appr-tl-row { display: flex; align-items: center; gap: 12px; }
.approach-page .appr-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.approach-page .appr-dot-green { background: var(--appr-teal); }
.approach-page .appr-dot-orange { background: var(--appr-orange); }
.approach-page .appr-tl-year { color: rgba(255,255,255,.35); font-size: 10px; width: 60px; flex: 0 0 auto; }
.approach-page .appr-tl-text { color: rgba(255,255,255,.7); font-size: 12px; }
.approach-page .appr-gate { background: rgba(232,131,26,.1); border: 1px solid rgba(232,131,26,.2); border-radius: 8px; padding: 10px 12px; }
.approach-page .appr-gate-title { color: var(--appr-orange); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 2px; }
.approach-page .appr-gate-desc { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; margin: 0; }

/* How We Work — cards */
.approach-page .appr-how { background: var(--appr-cream); padding: 80px 0; }
.approach-page .appr-how-head { max-width: 620px; margin-bottom: 48px; }
.approach-page .appr-how-title { font-family: 'Playfair Display', serif; color: var(--appr-green); font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0; }
.approach-page .appr-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.approach-page .appr-card {
    background: #fff;
    border: 1px solid rgba(26,61,43,.08);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease;
}
.approach-page .appr-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.approach-page .appr-card-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.approach-page .appr-card-icon svg { width: 48px; height: 48px; }
.approach-page .appr-card-title { font-family: 'Playfair Display', serif; color: var(--appr-green); font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 16px; }
.approach-page .appr-card-text { color: rgba(26,61,43,.65); font-size: 14px; line-height: 1.7; margin: 0 0 24px; flex: 1; }
.approach-page .appr-refs { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(26,61,43,.08); }
.approach-page .appr-ref { color: var(--appr-orange); font-size: 12px; font-weight: 600; text-decoration: none; }
.approach-page .appr-ref:hover { text-decoration: underline; }

/* Where We Work — map + initiatives */
.approach-page .appr-where { background: var(--appr-green); padding: 80px 0; }
.approach-page .appr-where-head { margin-bottom: 48px; }
.approach-page .appr-where-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 40px; line-height: 1.15; font-weight: 700; max-width: 560px; margin: 0 0 16px; }
.approach-page .appr-where-sub { color: rgba(255,255,255,.6); font-size: 18px; max-width: 520px; margin: 0; }
.approach-page .appr-where-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
.approach-page .appr-map { position: relative; height: 480px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.approach-page .appr-map iframe { width: 100%; height: 100%; border: 0; }
.approach-page .appr-inits-title { color: rgba(255,255,255,.5); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.approach-page .appr-states { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.approach-page .appr-state-group {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
}
.approach-page .appr-state {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease;
}
.approach-page .appr-state:hover { background: rgba(255,255,255,.05); }
.approach-page .appr-state-chev { color: rgba(255,255,255,.4); flex: 0 0 auto; transition: transform .25s ease; }
.approach-page .appr-state[aria-expanded="true"] .appr-state-chev { transform: rotate(180deg); }
.approach-page .appr-state-body { padding: 4px 12px 12px; }
.approach-page .appr-state-body .appr-init:last-child { margin-bottom: 0; }
.approach-page .appr-state-empty { color: rgba(255,255,255,.4); font-size: 13px; margin: 0; padding: 4px 6px 6px; }
/* District tags inside a state dropdown */
.approach-page .appr-tag-body { padding: 4px 20px 16px; background: rgba(255,255,255,.03); }
.approach-page .appr-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.approach-page .appr-tag {
    font-size: 12px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    border-radius: 9999px;
    padding: 4px 12px;
    line-height: 1.5;
}
/* Featured initiatives list below the dropdowns */
.approach-page .appr-init-list { margin-top: 20px; }
.approach-page .appr-init { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px; margin-bottom: 12px; transition: background .2s ease; }
.approach-page .appr-init:hover { background: rgba(255,255,255,.08); }
.approach-page .appr-init .appr-dot { margin-top: 5px; }
.approach-page .appr-init-body { flex: 1; min-width: 0; }
.approach-page .appr-init-tag { color: rgba(255,255,255,.4); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.approach-page .appr-init-name { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; margin: 0; }
.approach-page .appr-init-loc { color: rgba(255,255,255,.4); font-size: 12px; margin: 4px 0 0; }
.approach-page .appr-init-view { color: var(--appr-orange); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.approach-page .appr-init-view:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 991.98px) {
    .approach-page .appr-mv-grid { grid-template-columns: 1fr; gap: 32px; }
    .approach-page .appr-col-bordered { border-left: 0; padding-left: 0; }
    .approach-page .appr-flow { grid-template-columns: 1fr; }
    .approach-page .appr-flow-col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .approach-page .appr-flow-arrow { display: none; }
    .approach-page .appr-cards { grid-template-columns: 1fr; }
    .approach-page .appr-where-grid { grid-template-columns: 1fr; }
    .approach-page .appr-model-title,
    .approach-page .appr-how-title,
    .approach-page .appr-where-title { font-size: 32px; }
}
