/*
 * KMGMission Shared Website Design System
 * Version: 1.0.0
 */

:root {
    --kmgm-navy-950: #071426;
    --kmgm-navy-900: #0b1f3a;
    --kmgm-navy-800: #12345b;
    --kmgm-blue-600: #1d5ca8;
    --kmgm-blue-500: #2876d2;
    --kmgm-gold-600: #b98919;
    --kmgm-gold-500: #d5a72d;
    --kmgm-gold-300: #f0d787;
    --kmgm-white: #ffffff;
    --kmgm-cream: #fbf8f0;
    --kmgm-surface: #f5f7fa;
    --kmgm-border: #dce3eb;
    --kmgm-text: #172235;
    --kmgm-text-muted: #5e6b7c;
    --kmgm-container: 1200px;
    --kmgm-reading-width: 760px;
    --kmgm-radius-sm: 8px;
    --kmgm-radius-md: 16px;
    --kmgm-radius-lg: 28px;
    --kmgm-radius-pill: 999px;
    --kmgm-shadow-sm:
        0 8px 24px rgba(7, 20, 38, 0.08);
    --kmgm-shadow-md:
        0 18px 50px rgba(7, 20, 38, 0.14);
    --kmgm-transition: 180ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--kmgm-text);
    background: var(--kmgm-white);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--kmgm-navy-950);
    font-family:
        "Montserrat",
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

a {
    transition:
        color var(--kmgm-transition),
        background-color var(--kmgm-transition),
        border-color var(--kmgm-transition),
        transform var(--kmgm-transition),
        box-shadow var(--kmgm-transition);
}

.kmgm-container {
    width: min(
        calc(100% - 40px),
        var(--kmgm-container)
    );
    margin-inline: auto;
}

.kmgm-section {
    padding-block: clamp(72px, 9vw, 128px);
}

.kmgm-section--compact {
    padding-block: clamp(48px, 6vw, 80px);
}

.kmgm-section--navy {
    color: var(--kmgm-white);
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(213, 167, 45, 0.18),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--kmgm-navy-950),
            var(--kmgm-navy-800)
        );
}

.kmgm-section--navy h1,
.kmgm-section--navy h2,
.kmgm-section--navy h3,
.kmgm-section--navy h4 {
    color: var(--kmgm-white);
}

.kmgm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--kmgm-gold-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kmgm-eyebrow::before {
    width: 34px;
    height: 2px;
    background: currentColor;
    content: "";
}

.kmgm-display {
    max-width: 900px;
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 0.98;
}

.kmgm-heading {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.kmgm-lead {
    max-width: 760px;
    color: var(--kmgm-text-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.kmgm-section--navy .kmgm-lead {
    color: rgba(255, 255, 255, 0.78);
}

.kmgm-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: var(--kmgm-radius-pill);
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.kmgm-button:hover,
.kmgm-button:focus-visible {
    transform: translateY(-2px);
}

.kmgm-button--primary {
    color: var(--kmgm-navy-950);
    background: var(--kmgm-gold-500);
}

.kmgm-button--secondary {
    color: var(--kmgm-white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.kmgm-button--navy {
    color: var(--kmgm-white);
    background: var(--kmgm-navy-900);
}

.kmgm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.kmgm-grid {
    display: grid;
    gap: 24px;
}

.kmgm-grid--2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}

.kmgm-grid--3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.kmgm-grid--4 {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.kmgm-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--kmgm-border);
    border-radius: var(--kmgm-radius-md);
    background: var(--kmgm-white);
    box-shadow: var(--kmgm-shadow-sm);
}

.kmgm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--kmgm-shadow-md);
}

.kmgm-card__number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    color: var(--kmgm-navy-950);
    background: var(--kmgm-gold-300);
    font-weight: 850;
}

.kmgm-card__title {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.kmgm-card__text {
    margin-bottom: 0;
    color: var(--kmgm-text-muted);
}

.kmgm-card__link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--kmgm-blue-600);
    font-weight: 750;
    text-decoration: none;
}

.kmgm-hero {
    position: relative;
    display: flex;
    min-height: min(860px, 92vh);
    align-items: center;
    overflow: hidden;
    padding-block: clamp(100px, 14vw, 180px);
    color: var(--kmgm-white);
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(213, 167, 45, 0.24),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            rgba(7, 20, 38, 0.98),
            rgba(18, 52, 91, 0.91)
        );
}

.kmgm-hero h1,
.kmgm-hero h2 {
    color: var(--kmgm-white);
}

.kmgm-hero__content {
    position: relative;
    z-index: 2;
}

.kmgm-callout {
    padding: clamp(34px, 6vw, 70px);
    border-radius: var(--kmgm-radius-lg);
    color: var(--kmgm-white);
    background:
        linear-gradient(
            135deg,
            var(--kmgm-navy-900),
            var(--kmgm-blue-600)
        );
    box-shadow: var(--kmgm-shadow-md);
}

.kmgm-callout h2,
.kmgm-callout h3 {
    color: var(--kmgm-white);
}

:focus-visible {
    outline: 3px solid var(--kmgm-gold-500);
    outline-offset: 4px;
}

@media (max-width: 1024px) {
    .kmgm-grid--4,
    .kmgm-grid--3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kmgm-container {
        width: min(
            calc(100% - 28px),
            var(--kmgm-container)
        );
    }

    .kmgm-grid--2,
    .kmgm-grid--3,
    .kmgm-grid--4 {
        grid-template-columns: 1fr;
    }

    .kmgm-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .kmgm-button {
        width: 100%;
    }

    .kmgm-hero {
        min-height: auto;
        padding-block: 100px 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Reduce excessive top spacing on the redesigned homepage */
.kmgm-home-2026 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.kmgm-home-2026 .kmgm-hero {
    min-height: 620px;
    padding-top: 56px;
    padding-bottom: 72px;
}

.kmgm-home-2026 .elementor-section,
.kmgm-home-2026 .elementor-container,
.kmgm-home-2026 .elementor-widget-wrap {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 767px) {
    .kmgm-home-2026 .kmgm-hero {
        min-height: auto;
        padding-top: 42px;
        padding-bottom: 58px;
    }
}

/*
 * Remove Elementor/Astra top gap from KMGMission Home 2026.
 * Page ID: 1779
 */

body.page-id-1779,
body.page-id-1779 #page,
body.page-id-1779 #content,
body.page-id-1779 .site-content,
body.page-id-1779 .ast-container,
body.page-id-1779 .elementor,
body.page-id-1779 .elementor-section-wrap,
body.page-id-1779 .elementor-element,
body.page-id-1779 .elementor-container,
body.page-id-1779 .elementor-column,
body.page-id-1779 .elementor-widget-wrap,
body.page-id-1779 .elementor-widget,
body.page-id-1779 .elementor-widget-container {
    margin-top: 0 !important;
}

body.page-id-1779 #content,
body.page-id-1779 .site-content,
body.page-id-1779 .ast-container,
body.page-id-1779 .elementor-section-wrap,
body.page-id-1779
    .elementor-element.elementor-element-kmgm-home-wrapper,
body.page-id-1779
    .elementor-section:first-child,
body.page-id-1779
    .elementor-top-section:first-child,
body.page-id-1779
    .elementor-widget-html:first-child,
body.page-id-1779
    .elementor-widget-html:first-child
    .elementor-widget-container {
    padding-top: 0 !important;
}

body.page-id-1779 .elementor-section:first-child,
body.page-id-1779 .elementor-top-section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1779 .kmgm-home-2026,
body.page-id-1779 .kmgm-home-2026 > .kmgm-hero {
    margin-top: 0 !important;
}

body.page-id-1779 .kmgm-home-2026 > .kmgm-hero {
    min-height: 560px;
    padding-top: 28px;
    padding-bottom: 64px;
}

@media (max-width: 767px) {
    body.page-id-1779 .kmgm-home-2026 > .kmgm-hero {
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 48px;
    }
}

/*
 * KMGMission Home 2026
 * Transparent Astra header over hero
 */

body.page-id-1779 #masthead {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

body.page-id-1779 .ast-primary-header-bar,
body.page-id-1779
    .ast-mobile-header-wrap
    .ast-primary-header-bar {
    min-height: 72px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-id-1779 #masthead .ast-container {
    max-width: 1240px;
    padding-right: 28px;
    padding-left: 28px;
}

body.page-id-1779 #content,
body.page-id-1779 .site-content,
body.page-id-1779 #primary,
body.page-id-1779 article,
body.page-id-1779 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1779 .kmgm-home-2026 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1779 .kmgm-home-2026 > .kmgm-hero {
    min-height: 620px;
    margin-top: 0 !important;
    padding-top: 132px !important;
    padding-bottom: 72px !important;
}

body.page-id-1779
    .main-header-menu
    > .menu-item
    > .menu-link,
body.page-id-1779
    .ast-header-html-1,
body.page-id-1779
    .ast-header-html-1 a {
    color: #ffffff !important;
}

body.page-id-1779
    .main-header-menu
    > .menu-item
    > .menu-link:hover,
body.page-id-1779
    .main-header-menu
    > .current-menu-item
    > .menu-link {
    color: var(--kmgm-gold-300) !important;
    background: transparent !important;
}

body.page-id-1779
    .ast-header-button-1
    .ast-custom-button {
    color: var(--kmgm-navy-950) !important;
    border-color: var(--kmgm-gold-500) !important;
    background: var(--kmgm-gold-500) !important;
}

body.page-id-1779
    .ast-header-button-1
    .ast-custom-button:hover {
    color: var(--kmgm-navy-950) !important;
    border-color: var(--kmgm-gold-300) !important;
    background: var(--kmgm-gold-300) !important;
}

@media (max-width: 921px) {
    body.page-id-1779 #masthead {
        position: absolute;
    }

    body.page-id-1779
        .ast-mobile-header-wrap
        .ast-primary-header-bar {
        min-height: 64px !important;
    }

    body.page-id-1779
        .kmgm-home-2026
        > .kmgm-hero {
        min-height: auto;
        padding-top: 104px !important;
        padding-bottom: 56px !important;
    }

    body.page-id-1779
        .ast-button-wrap
        .mobile-menu-toggle-icon,
    body.page-id-1779
        .ast-mobile-menu-trigger-minimal {
        color: #ffffff !important;
    }
}

/* Mission, vision and Ghana expansion */

.kmgm-mission-vision {
    background:
        linear-gradient(
            180deg,
            var(--kmgm-white),
            var(--kmgm-surface)
        );
}

.kmgm-mission-vision .kmgm-card {
    height: 100%;
}

.kmgm-region-stats {
    margin-top: 48px;
}

.kmgm-region-stat {
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--kmgm-radius-md);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.kmgm-region-stat strong {
    display: block;
    color: var(--kmgm-gold-300);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: 1;
}

.kmgm-region-stat span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 650;
}

@media (max-width: 767px) {
    .kmgm-region-stats {
        margin-top: 32px;
    }
}

/* Programmes, impact, resources, partners and footer */

.kmgm-programmes {
    background: var(--kmgm-surface);
}

.kmgm-programme-grid {
    margin-top: 48px;
}

.kmgm-impact-section {
    background: var(--kmgm-white);
}

.kmgm-impact-panel {
    padding: clamp(36px, 7vw, 76px);
    border: 1px solid var(--kmgm-border);
    border-radius: var(--kmgm-radius-lg);
    background:
        linear-gradient(
            135deg,
            var(--kmgm-cream),
            var(--kmgm-white)
        );
    box-shadow: var(--kmgm-shadow-sm);
}

.kmgm-impact-grid {
    margin-top: 44px;
}

.kmgm-impact-stat {
    padding: 24px;
    border-left: 3px solid var(--kmgm-gold-500);
}

.kmgm-impact-stat strong {
    display: block;
    color: var(--kmgm-navy-950);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1;
}

.kmgm-impact-stat span {
    display: block;
    margin-top: 10px;
    color: var(--kmgm-text-muted);
    font-weight: 650;
}

.kmgm-resources-section {
    background:
        linear-gradient(
            180deg,
            var(--kmgm-white),
            var(--kmgm-surface)
        );
}

.kmgm-resource-card {
    height: 100%;
    padding: 34px;
    border-radius: var(--kmgm-radius-md);
    background: var(--kmgm-navy-900);
    box-shadow: var(--kmgm-shadow-sm);
}

.kmgm-resource-card h3 {
    margin-top: 16px;
    color: var(--kmgm-white);
}

.kmgm-resource-card p {
    color: rgba(255, 255, 255, 0.74);
}

.kmgm-resource-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--kmgm-gold-300);
    font-weight: 750;
    text-decoration: none;
}

.kmgm-resource-card__label {
    color: var(--kmgm-gold-300);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kmgm-partners-section {
    background: var(--kmgm-white);
}

.kmgm-partners-layout {
    align-items: center;
}

.kmgm-partner-options {
    display: grid;
    gap: 16px;
}

.kmgm-partner-option {
    display: block;
    padding: 26px;
    border: 1px solid var(--kmgm-border);
    border-radius: var(--kmgm-radius-md);
    color: var(--kmgm-text);
    background: var(--kmgm-white);
    box-shadow: var(--kmgm-shadow-sm);
    text-decoration: none;
}

.kmgm-partner-option:hover,
.kmgm-partner-option:focus-visible {
    border-color: var(--kmgm-gold-500);
    transform: translateX(5px);
}

.kmgm-partner-option strong,
.kmgm-partner-option span {
    display: block;
}

.kmgm-partner-option strong {
    color: var(--kmgm-navy-950);
    font-size: 1.15rem;
}

.kmgm-partner-option span {
    margin-top: 7px;
    color: var(--kmgm-text-muted);
}

.kmgm-final-cta {
    background: var(--kmgm-surface);
}

.kmgm-final-cta__panel {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(260px, 0.5fr);
    align-items: center;
    gap: 40px;
}

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

.kmgm-site-footer li + li {
    margin-top: 10px;
}

.kmgm-footer-bottom {
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.kmgm-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .kmgm-final-cta__panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .kmgm-programme-grid,
    .kmgm-impact-grid {
        margin-top: 32px;
    }

    .kmgm-impact-panel {
        padding: 28px 22px;
    }

    .kmgm-resource-card {
        padding: 28px 24px;
    }
}

/*
 * Improve final call-to-action text contrast
 */

.kmgm-final-cta__panel .kmgm-eyebrow {
    color: var(--kmgm-gold-300) !important;
}

.kmgm-final-cta__panel .kmgm-heading {
    color: #ffffff !important;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.18);
}

.kmgm-final-cta__panel .kmgm-lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 500;
    line-height: 1.75;
}

.kmgm-final-cta__panel .kmgm-button--secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.kmgm-final-cta__panel .kmgm-button--secondary:hover,
.kmgm-final-cta__panel .kmgm-button--secondary:focus-visible {
    color: var(--kmgm-navy-950) !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
}

/* Improve footer text visibility */
.kmgm-site-footer {
    color: rgba(255, 255, 255, 0.86);
}

.kmgm-site-footer p {
    color: rgba(255, 255, 255, 0.82);
}

.kmgm-site-footer h2,
.kmgm-site-footer h3 {
    color: #ffffff !important;
}

.kmgm-site-footer a {
    color: rgba(255, 255, 255, 0.86) !important;
}

.kmgm-site-footer a:hover,
.kmgm-site-footer a:focus-visible {
    color: var(--kmgm-gold-300) !important;
}

.kmgm-footer-bottom p {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* ==========================================================
   KMGMISSION DARK BACKGROUND CONTRAST SYSTEM
   Dark or blue backgrounds always use white text.
========================================================== */

.kmgm-hero,
.kmgm-section--navy,
.kmgm-callout,
.kmgm-final-cta__panel,
.kmgm-site-footer,
.kmgm-resource-card,
.kmgm-dark-section,
.kmgm-blue-section {
    color: #ffffff;
}

/* Headings */

.kmgm-hero h1,
.kmgm-hero h2,
.kmgm-hero h3,
.kmgm-hero h4,
.kmgm-section--navy h1,
.kmgm-section--navy h2,
.kmgm-section--navy h3,
.kmgm-section--navy h4,
.kmgm-callout h1,
.kmgm-callout h2,
.kmgm-callout h3,
.kmgm-callout h4,
.kmgm-final-cta__panel h1,
.kmgm-final-cta__panel h2,
.kmgm-final-cta__panel h3,
.kmgm-final-cta__panel h4,
.kmgm-site-footer h1,
.kmgm-site-footer h2,
.kmgm-site-footer h3,
.kmgm-site-footer h4,
.kmgm-resource-card h1,
.kmgm-resource-card h2,
.kmgm-resource-card h3,
.kmgm-resource-card h4,
.kmgm-dark-section h1,
.kmgm-dark-section h2,
.kmgm-dark-section h3,
.kmgm-dark-section h4,
.kmgm-blue-section h1,
.kmgm-blue-section h2,
.kmgm-blue-section h3,
.kmgm-blue-section h4 {
    color: #ffffff !important;
}

/* Paragraphs and supporting text */

.kmgm-hero p,
.kmgm-section--navy p,
.kmgm-callout p,
.kmgm-final-cta__panel p,
.kmgm-site-footer p,
.kmgm-resource-card p,
.kmgm-dark-section p,
.kmgm-blue-section p,
.kmgm-section--navy .kmgm-lead,
.kmgm-final-cta__panel .kmgm-lead {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Lists */

.kmgm-hero li,
.kmgm-section--navy li,
.kmgm-callout li,
.kmgm-final-cta__panel li,
.kmgm-site-footer li,
.kmgm-resource-card li,
.kmgm-dark-section li,
.kmgm-blue-section li {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Standard links */

.kmgm-hero a:not(.kmgm-button),
.kmgm-section--navy a:not(.kmgm-button),
.kmgm-callout a:not(.kmgm-button),
.kmgm-final-cta__panel a:not(.kmgm-button),
.kmgm-site-footer a,
.kmgm-resource-card a,
.kmgm-dark-section a:not(.kmgm-button),
.kmgm-blue-section a:not(.kmgm-button) {
    color: #ffffff !important;
}

.kmgm-hero a:not(.kmgm-button):hover,
.kmgm-hero a:not(.kmgm-button):focus-visible,
.kmgm-section--navy a:not(.kmgm-button):hover,
.kmgm-section--navy a:not(.kmgm-button):focus-visible,
.kmgm-callout a:not(.kmgm-button):hover,
.kmgm-callout a:not(.kmgm-button):focus-visible,
.kmgm-final-cta__panel a:not(.kmgm-button):hover,
.kmgm-final-cta__panel a:not(.kmgm-button):focus-visible,
.kmgm-site-footer a:hover,
.kmgm-site-footer a:focus-visible,
.kmgm-resource-card a:hover,
.kmgm-resource-card a:focus-visible,
.kmgm-dark-section a:not(.kmgm-button):hover,
.kmgm-dark-section a:not(.kmgm-button):focus-visible,
.kmgm-blue-section a:not(.kmgm-button):hover,
.kmgm-blue-section a:not(.kmgm-button):focus-visible {
    color: var(--kmgm-gold-300) !important;
}

/* Gold labels */

.kmgm-hero .kmgm-eyebrow,
.kmgm-section--navy .kmgm-eyebrow,
.kmgm-callout .kmgm-eyebrow,
.kmgm-final-cta__panel .kmgm-eyebrow,
.kmgm-site-footer .kmgm-eyebrow,
.kmgm-resource-card__label,
.kmgm-dark-section .kmgm-eyebrow,
.kmgm-blue-section .kmgm-eyebrow {
    color: var(--kmgm-gold-300) !important;
}

/* Secondary buttons remain readable */

.kmgm-hero .kmgm-button--secondary,
.kmgm-section--navy .kmgm-button--secondary,
.kmgm-callout .kmgm-button--secondary,
.kmgm-final-cta__panel .kmgm-button--secondary,
.kmgm-dark-section .kmgm-button--secondary,
.kmgm-blue-section .kmgm-button--secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.10) !important;
}

.kmgm-hero .kmgm-button--secondary:hover,
.kmgm-hero .kmgm-button--secondary:focus-visible,
.kmgm-section--navy .kmgm-button--secondary:hover,
.kmgm-section--navy .kmgm-button--secondary:focus-visible,
.kmgm-callout .kmgm-button--secondary:hover,
.kmgm-callout .kmgm-button--secondary:focus-visible,
.kmgm-final-cta__panel .kmgm-button--secondary:hover,
.kmgm-final-cta__panel .kmgm-button--secondary:focus-visible,
.kmgm-dark-section .kmgm-button--secondary:hover,
.kmgm-dark-section .kmgm-button--secondary:focus-visible,
.kmgm-blue-section .kmgm-button--secondary:hover,
.kmgm-blue-section .kmgm-button--secondary:focus-visible {
    color: var(--kmgm-navy-950) !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
}

/* Footer bottom text */

.kmgm-footer-bottom p {
    color: rgba(255, 255, 255, 0.74) !important;
}

/* ==========================================================
   KMGMISSION FOOTER
========================================================== */

.kmgm-site-footer {
    background: linear-gradient(
        135deg,
        #071426 0%,
        #0d2f55 100%
    ) !important;

    color: #ffffff !important;
}

.kmgm-site-footer h1,
.kmgm-site-footer h2,
.kmgm-site-footer h3,
.kmgm-site-footer h4,
.kmgm-site-footer strong {
    color: #ffffff !important;
}

.kmgm-site-footer p,
.kmgm-site-footer li {
    color: rgba(255,255,255,.92) !important;
}

.kmgm-site-footer a {
    color: #ffffff !important;
    text-decoration: none;
}

.kmgm-site-footer a:hover,
.kmgm-site-footer a:focus-visible {
    color: #d5a72d !important;
}

.kmgm-site-footer .kmgm-eyebrow {
    color: #d5a72d !important;
}

.kmgm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 40px;
    padding-top: 24px;
}

.kmgm-footer-bottom p {
    color: rgba(255,255,255,.74) !important;
}


/* ==========================================================
   HUMANITARIAN SITE ACCENT
========================================================== */

.kmgm-humanitarian-site {
    --kmgm-humanitarian-green: #1f6a4a;
    --kmgm-humanitarian-deep: #103f31;
    --kmgm-humanitarian-teal: #2b8b72;
    --kmgm-humanitarian-gold: #d5a72d;
    --kmgm-humanitarian-cream: #f5fbf7;
}

.kmgm-humanitarian-hero {
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(213, 167, 45, 0.22),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            #0b2a22 0%,
            #103f31 50%,
            #1f6a4a 100%
        );
}

.kmgm-humanitarian-section {
    background: var(--kmgm-humanitarian-cream);
}

.kmgm-humanitarian-card {
    border-top: 4px solid var(--kmgm-humanitarian-gold);
}

.kmgm-humanitarian-impact {
    background:
        linear-gradient(
            135deg,
            #0b2a22,
            #1f6a4a
        );
}

.kmgm-humanitarian-impact h1,
.kmgm-humanitarian-impact h2,
.kmgm-humanitarian-impact h3,
.kmgm-humanitarian-impact p,
.kmgm-humanitarian-impact li {
    color: #ffffff !important;
}

/* ==========================================================
   KMGM HUMANITARIAN — ENTERPRISE WEBSITE 2026
   Gateway-aligned public presentation
   ========================================================== */

.kmgm-humanitarian-site {
    --humanitarian-accent: #1f6a4a;
    --humanitarian-accent-dark: #103f31;
    --humanitarian-accent-light: #eaf5ef;
    --humanitarian-gold: #d5a72d;

    color: #172235;
    background: #ffffff;
    font-family:
        "Instrument Sans",
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.kmgm-humanitarian-site .kmgm-humanitarian-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;

    padding:
        clamp(120px, 15vw, 175px)
        0
        clamp(90px, 11vw, 130px);

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(213, 167, 45, 0.24),
            transparent 28%
        ),
        radial-gradient(
            circle at 68% 90%,
            rgba(43, 139, 114, 0.26),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            #071426 0%,
            #0b2a22 48%,
            #1f6a4a 100%
        );
}

.kmgm-humanitarian-site
.kmgm-humanitarian-hero::after {
    position: absolute;
    right: -120px;
    bottom: -180px;

    width: 520px;
    height: 520px;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.025),
        0 0 0 140px rgba(255, 255, 255, 0.018);

    content: "";
}

.kmgm-humanitarian-site
.kmgm-humanitarian-hero
.kmgm-hero__content {
    width: min(
        calc(100% - 40px),
        1200px
    );

    margin-inline: auto;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-hero
.kmgm-eyebrow {
    color: #f0d787;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-hero
.kmgm-display {
    max-width: 820px;

    margin-bottom: 28px;

    color: #ffffff;

    font-size:
        clamp(3.2rem, 7vw, 6.5rem);

    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-hero
.kmgm-lead {
    max-width: 690px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        clamp(1.08rem, 1.8vw, 1.35rem);

    line-height: 1.65;
}

/* ----------------------------------------------------------
   SECTION SYSTEM
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-section {
    position: relative;

    padding:
        clamp(78px, 9vw, 120px)
        0;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-section {
    background:
        linear-gradient(
            180deg,
            #f8fbf9 0%,
            #ffffff 100%
        );
}

.kmgm-humanitarian-site
.kmgm-humanitarian-section
.kmgm-heading {
    max-width: 760px;
}

.kmgm-humanitarian-site
.kmgm-heading {
    font-size:
        clamp(2.2rem, 4vw, 4rem);

    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

/* ----------------------------------------------------------
   SERVICE CARDS
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-humanitarian-card {
    min-height: 280px;

    border:
        1px solid
        rgba(16, 63, 49, 0.11);

    border-top:
        4px solid
        var(--humanitarian-gold);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 14px 38px
        rgba(7, 20, 38, 0.07);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(31, 106, 74, 0.25);

    box-shadow:
        0 24px 60px
        rgba(7, 20, 38, 0.13);
}

.kmgm-humanitarian-site
.kmgm-humanitarian-card
.kmgm-card__number {
    color: #ffffff;

    background:
        var(--humanitarian-accent);

    box-shadow:
        0 8px 22px
        rgba(31, 106, 74, 0.20);
}

.kmgm-humanitarian-site
.kmgm-humanitarian-card
.kmgm-card__title {
    font-size: 1.28rem;
    font-weight: 800;
}

/* ----------------------------------------------------------
   NATIONAL IMPACT BAND
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-humanitarian-impact {
    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(213, 167, 45, 0.18),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #071426,
            #103f31 55%,
            #1f6a4a
        );
}

.kmgm-humanitarian-site
.kmgm-humanitarian-impact
.kmgm-eyebrow {
    color: #f0d787;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-impact
.kmgm-heading {
    max-width: 780px;
    color: #ffffff;
}

.kmgm-humanitarian-site
.kmgm-humanitarian-impact
.kmgm-lead {
    color:
        rgba(255, 255, 255, 0.78);
}

.kmgm-humanitarian-site
.kmgm-region-stats {
    margin-top: 58px;
}

.kmgm-humanitarian-site
.kmgm-region-stat {
    padding: 30px 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.065);

    backdrop-filter: blur(8px);
}

.kmgm-humanitarian-site
.kmgm-region-stat strong {
    display: block;

    margin-bottom: 8px;

    color: #f0d787;

    font-size:
        clamp(2.1rem, 4vw, 3.7rem);

    font-weight: 850;
    line-height: 1;
}

.kmgm-humanitarian-site
.kmgm-region-stat span {
    color:
        rgba(255, 255, 255, 0.80);

    font-size: 0.92rem;
    font-weight: 650;
}

/* ----------------------------------------------------------
   ACTION / RESOURCE CARDS
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-resource-card {
    position: relative;

    padding: 34px;

    border:
        1px solid
        #dce3eb;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 32px
        rgba(7, 20, 38, 0.06);
}

.kmgm-humanitarian-site
.kmgm-resource-card__label {
    display: inline-block;

    margin-bottom: 22px;

    color:
        var(--humanitarian-accent);

    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kmgm-humanitarian-site
.kmgm-resource-card h3 {
    margin-bottom: 14px;

    font-size: 1.45rem;
}

.kmgm-humanitarian-site
.kmgm-resource-card p {
    color: #5e6b7c;
}

.kmgm-humanitarian-site
.kmgm-resource-card a {
    display: inline-flex;

    margin-top: 18px;

    color:
        var(--humanitarian-accent);

    font-weight: 800;
    text-decoration: none;
}

/* ----------------------------------------------------------
   FINAL CTA
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-final-cta {
    background: #f5f7fa;
}

.kmgm-humanitarian-site
.kmgm-final-cta__panel {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(280px, 0.6fr);

    gap: 50px;

    align-items: center;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(213, 167, 45, 0.18),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #071426,
            #12345b
        );
}

.kmgm-humanitarian-site
.kmgm-final-cta__panel
.kmgm-actions {
    justify-content: flex-end;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.kmgm-humanitarian-site
.kmgm-site-footer {
    padding:
        72px 0 28px;

    color:
        rgba(255, 255, 255, 0.72);

    background: #071426;
}

.kmgm-humanitarian-site
.kmgm-site-footer h2,
.kmgm-humanitarian-site
.kmgm-site-footer h3 {
    color: #ffffff;
}

.kmgm-humanitarian-site
.kmgm-site-footer h2 {
    font-size: 1.5rem;
}

.kmgm-humanitarian-site
.kmgm-site-footer h3 {
    margin-bottom: 16px;

    font-size: 0.82rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.kmgm-humanitarian-site
.kmgm-site-footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.kmgm-humanitarian-site
.kmgm-site-footer li {
    margin-bottom: 9px;
}

.kmgm-humanitarian-site
.kmgm-site-footer a {
    color:
        rgba(255, 255, 255, 0.70);

    text-decoration: none;
}

.kmgm-humanitarian-site
.kmgm-site-footer a:hover {
    color: #f0d787;
}

.kmgm-humanitarian-site
.kmgm-footer-bottom {
    margin-top: 54px;
    padding-top: 24px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);

    font-size: 0.88rem;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .kmgm-humanitarian-site
    .kmgm-final-cta__panel {
        grid-template-columns: 1fr;
    }

    .kmgm-humanitarian-site
    .kmgm-final-cta__panel
    .kmgm-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {

    .kmgm-humanitarian-site
    .kmgm-humanitarian-hero {
        min-height: auto;

        padding:
            110px 0 78px;
    }

    .kmgm-humanitarian-site
    .kmgm-humanitarian-hero
    .kmgm-display {
        font-size:
            clamp(2.8rem, 14vw, 4.5rem);
    }

    .kmgm-humanitarian-site
    .kmgm-section {
        padding:
            68px 0;
    }

    .kmgm-humanitarian-site
    .kmgm-region-stat {
        padding: 24px 20px;
    }

    .kmgm-humanitarian-site
    .kmgm-resource-card {
        padding: 28px;
    }

    .kmgm-humanitarian-site
    .kmgm-site-footer {
        padding-top: 56px;
    }
}


/* ==========================================================
   KMGM HUMANITARIAN — QUIET GIVE / SUPPORT ACTION
   ========================================================== */

.kmgm-humanitarian-site
.kmgm-final-cta
a[href="/give-support/"] {
    padding: 10px 18px;
    min-height: auto;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
}

.kmgm-humanitarian-site
.kmgm-final-cta
a[href="/give-support/"]:hover {
    transform: translateY(-1px);
    box-shadow: none;
}

