/*
 * 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;
    }
}


/* 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;
}


/* ==========================================================
   WORSHIP SITE ACCENT
========================================================== */

.kmgm-worship-site {
    --kmgm-worship-purple: #5b2a86;
    --kmgm-worship-deep: #241238;
    --kmgm-worship-violet: #7b42a8;
    --kmgm-worship-gold: #d5a72d;
    --kmgm-worship-cream: #fbf8ff;
}

.kmgm-worship-hero {
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(213, 167, 45, 0.28),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            #160a24 0%,
            #3c1a5c 48%,
            #6b3195 100%
        );
}

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

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

.kmgm-worship-experience {
    background:
        linear-gradient(
            135deg,
            #160a24,
            #5b2a86
        );
}

.kmgm-worship-experience h1,
.kmgm-worship-experience h2,
.kmgm-worship-experience h3,
.kmgm-worship-experience p,
.kmgm-worship-experience li {
    color: #ffffff !important;
}
/* WORSHIP HOME R1 HERO BEGIN */
.kmgm-worship-home{background:#fff;color:#172033;line-height:1.7}
.kmgm-worship-home *{box-sizing:border-box}
.kmgm-worship-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.kmgm-worship-narrow{width:min(820px,calc(100% - 48px));margin-inline:auto;text-align:center}
.kmgm-worship-hero{padding:110px 0;background:radial-gradient(circle at 82% 20%,rgba(213,167,45,.30),transparent 32%),linear-gradient(125deg,#25070a 0%,#7a1115 52%,#9f1d20 100%)!important;color:#fff!important;text-align:center}
.kmgm-worship-hero h1{max-width:900px;margin:0 auto 26px;color:#fff!important;font-size:clamp(3rem,7vw,5.8rem);line-height:1}
.kmgm-worship-hero-lead{max-width:760px;margin:0 auto 34px;color:#fff!important;font-size:clamp(1.05rem,2vw,1.3rem)}
.kmgm-worship-eyebrow{margin-bottom:18px;color:#f5d77d!important;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
/* WORSHIP HOME R1 HERO END */
/* WORSHIP HOME R2 INTRO BEGIN */
.kmgm-worship-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:32px}
.kmgm-worship-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border:2px solid transparent;border-radius:8px;font-weight:800;text-decoration:none!important;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease}
.kmgm-worship-button:hover{transform:translateY(-2px)}
.kmgm-worship-button-primary{background:#e4b94f!important;color:#17130a!important}
.kmgm-worship-button-primary:hover{background:#f5d77d!important;color:#17130a!important}
.kmgm-worship-button-secondary{background:rgba(255,255,255,.08)!important;border-color:#fff!important;color:#fff!important}
.kmgm-worship-button-secondary:hover{background:#fff!important;color:#7a1115!important}
.kmgm-worship-section{padding:clamp(72px,9vw,112px) 0}
.kmgm-worship-intro{background:#fff!important;text-align:center}
.kmgm-worship-intro h2{margin:0 0 22px;color:#172033!important;font-size:clamp(2.2rem,4.5vw,3.7rem);line-height:1.08}
.kmgm-worship-intro p{max-width:760px;margin:0 auto;color:#566176!important;font-size:clamp(1.05rem,1.8vw,1.22rem);line-height:1.8}
.kmgm-worship-eyebrow-dark{color:#805f0d!important}
.kmgm-worship-section-heading{max-width:760px;margin:0 auto 46px;text-align:center}
.kmgm-worship-section-heading h2{margin:0 0 16px;color:#172033!important;font-size:clamp(2rem,4vw,3.25rem);line-height:1.12}
.kmgm-worship-section-lead,.kmgm-worship-section-heading p{color:#566176!important;font-size:1.08rem}
.kmgm-worship-home a:focus-visible{outline:3px solid #e4b94f;outline-offset:4px}
/* WORSHIP HOME R2 INTRO END */
/* WORSHIP HOME R3 CARDS BEGIN */
.kmgm-worship-section-soft{background:#f5f7fa!important}
.kmgm-worship-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.kmgm-worship-card{display:flex;flex-direction:column;min-height:310px;padding:30px;border:1px solid #dfe4eb!important;border-top:4px solid #e4b94f!important;border-radius:14px;background:#fff!important;color:#172033!important;box-shadow:0 12px 30px rgba(16,27,53,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.kmgm-worship-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(16,27,53,.12);border-color:#d5c6e3!important}
.kmgm-worship-card-number{display:block;margin:0 0 26px;color:#805f0d!important;font-size:.82rem;font-weight:800;letter-spacing:.14em}
.kmgm-worship-card h3{margin:0 0 14px;color:#172033!important;font-size:1.35rem;line-height:1.25}
.kmgm-worship-card p{margin:0 0 20px;color:#566176!important;line-height:1.7}
.kmgm-worship-card-link{display:inline-flex;align-items:center;margin-top:auto;padding-top:18px;color:#5b2a86!important;font-weight:800;text-decoration:none!important}
.kmgm-worship-card-link:hover{color:#7a1115!important}
.kmgm-worship-card-link::after{content:" →";margin-left:6px;transition:transform .18s ease}
.kmgm-worship-card-link:hover::after{transform:translateX(4px)}
@media(max-width:900px){.kmgm-worship-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.kmgm-worship-grid{grid-template-columns:1fr}.kmgm-worship-card{min-height:0;padding:25px}}
/* WORSHIP HOME R3 CARDS END */
/* WORSHIP HOME R4 FEATURE BEGIN */
.kmgm-worship-feature{background:linear-gradient(135deg,#24113d 0%,#5b2a86 100%)!important;color:#fff!important}
.kmgm-worship-feature-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:60px;align-items:center}
.kmgm-worship-feature h2{margin:0 0 20px;color:#fff!important;font-size:clamp(2.2rem,4.5vw,3.8rem);line-height:1.08}
.kmgm-worship-feature p{color:#f0eaf5!important;font-size:1.1rem;line-height:1.8}
.kmgm-worship-feature .kmgm-worship-eyebrow{color:#f5d77d!important}
.kmgm-worship-feature-actions{display:grid;gap:14px}
.kmgm-worship-text-link{display:block;padding:17px 20px;border:1px solid rgba(255,255,255,.32);border-radius:8px;color:#fff!important;font-weight:800;text-decoration:none!important;transition:background .18s ease,border-color .18s ease,color .18s ease}
.kmgm-worship-text-link:hover{background:rgba(228,185,79,.12);border-color:#e4b94f;color:#f5d77d!important}
@media(max-width:900px){.kmgm-worship-feature-grid{grid-template-columns:1fr;gap:36px}}
/* WORSHIP HOME R4 FEATURE END */
/* WORSHIP HOME R5 PRAYER CTA BEGIN */
.kmgm-worship-prayer{background:#fbf8ff!important;text-align:center}
.kmgm-worship-prayer h2{margin:0 0 20px;color:#241238!important;font-size:clamp(2.2rem,4.5vw,3.7rem);line-height:1.08}
.kmgm-worship-prayer p{max-width:760px;margin:0 auto 28px;color:#566176!important;font-size:1.1rem;line-height:1.8}
.kmgm-worship-prayer .kmgm-worship-text-link{display:inline-flex;width:auto;border-color:#5b2a86;color:#5b2a86!important}
.kmgm-worship-prayer .kmgm-worship-text-link:hover{background:#5b2a86;color:#fff!important;border-color:#5b2a86}
.kmgm-worship-cta{padding:clamp(80px,10vw,125px) 0;background:radial-gradient(circle at 18% 20%,rgba(228,185,79,.20),transparent 30%),linear-gradient(125deg,#25070a 0%,#7a1115 55%,#9f1d20 100%)!important;color:#fff!important;text-align:center}
.kmgm-worship-cta h2{max-width:900px;margin:0 auto 22px;color:#fff!important;font-size:clamp(2.4rem,5vw,4.3rem);line-height:1.05}
.kmgm-worship-cta p{max-width:720px;margin:0 auto 30px;color:#fff!important;font-size:1.12rem;line-height:1.8}
.kmgm-worship-cta .kmgm-worship-button{background:#e4b94f!important;color:#17130a!important;border-color:#e4b94f!important}
.kmgm-worship-cta .kmgm-worship-button:hover{background:#f5d77d!important;border-color:#f5d77d!important;color:#17130a!important}
/* WORSHIP HOME R5 PRAYER CTA END */
/* WORSHIP HOME R6 RESPONSIVE BEGIN */
.kmgm-worship-home a,.kmgm-worship-home button{-webkit-tap-highlight-color:transparent}
.kmgm-worship-home a:focus-visible,.kmgm-worship-home button:focus-visible{outline:3px solid #e4b94f!important;outline-offset:4px}
@media(max-width:900px){.kmgm-worship-hero{padding:88px 0}.kmgm-worship-section{padding:78px 0}.kmgm-worship-cta{padding:88px 0}}
@media(max-width:620px){.kmgm-worship-container,.kmgm-worship-narrow{width:min(100% - 32px,1180px)}.kmgm-worship-hero{padding:72px 0}.kmgm-worship-section{padding:64px 0}.kmgm-worship-actions{flex-direction:column;align-items:stretch}.kmgm-worship-button{width:100%}.kmgm-worship-feature-actions{width:100%}.kmgm-worship-text-link{width:100%}.kmgm-worship-cta{padding:72px 0}}
@media(prefers-reduced-motion:reduce){.kmgm-worship-home *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.kmgm-worship-card:hover,.kmgm-worship-button:hover{transform:none!important}}
/* WORSHIP HOME R6 RESPONSIVE END */
