:root {
    --ink: #12122f;
    --forest: #08072b;
    --forest-2: #121047;
    --gold: #f0442f;
    --gold-light: #ff9a57;
    --cream: #f7f3f4;
    --paper: #fcfafb;
    --muted: #6f7182;
    --line: #e5e1e5;
    --brand-navy: #010118;
    --brand-indigo: #11104a;
    --brand-red: #ef1e2d;
    --brand-orange: #ff5a0a;
}

.portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portrait-placeholder {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-indigo));
}

body {
    background: var(--paper);
    color: var(--ink);
}

body.mobile-menu-open {
    overflow: hidden;
}

.nav-backdrop {
    display: none;
}

.site-header {
    height: 78px;
    background: rgba(1, 1, 24, .9);
    border-bottom-color: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
}

.site-header.scrolled {
    height: 72px;
    background: rgba(1, 1, 24, .98);
}

.brand-logo {
    display: block;
    width: 72px;
    height: 46px;
    object-fit: contain;
}

.footer-logo {
    width: 72px;
    height: 46px;
}

.nav-cta,
.button-gold {
    background: linear-gradient(105deg, var(--brand-red), var(--brand-orange));
    color: #fff;
}

.nav-cta:hover,
.button-gold:hover {
    background: linear-gradient(105deg, #ff3341, #ff7a27);
    color: #fff;
}

.main-nav > a::after,
.nav-group > button::after {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.dropdown a:hover {
    background: #fff1ed;
    color: #be2430;
}

.hero.hero-slider,
.dark-section,
.cta-band,
.site-footer {
    background: var(--brand-navy);
}

.hero-slide-overlay {
    background:
        linear-gradient(90deg, rgba(7, 7, 32, .98) 0%, rgba(8, 7, 36, .88) 34%, rgba(10, 8, 38, .46) 64%, rgba(7, 7, 32, .23) 100%),
        linear-gradient(0deg, rgba(7, 7, 32, .55), transparent 48%);
}

.hero-dots button span::after,
.hero-arrows button:hover,
.hero-arrows button:focus-visible {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.hero-arrows button:hover,
.hero-arrows button:focus-visible {
    color: #fff;
}

.eyebrow,
.line-icon,
.quote-mark,
.post-category,
.footer-top h3 {
    color: var(--brand-orange);
}

.eyebrow-light {
    color: #ffb17d;
}

.section-heading em,
.page-hero em,
.article-page em,
.live-page em,
.giving-page em {
    color: var(--brand-red);
}

.dark-section {
    background: linear-gradient(125deg, var(--brand-navy), var(--brand-indigo));
}

.giving-page {
    background:
        radial-gradient(circle at 14% 24%, rgba(239, 30, 45, .1), transparent 28%),
        linear-gradient(125deg, var(--brand-navy), var(--brand-indigo));
}

.giving-copy > p {
    color: #c5c6da;
}

.giving-copy blockquote {
    border-left-color: var(--brand-red);
}

.giving-copy blockquote small {
    color: #ffb17d;
}

.giving-card {
    border-top: 4px solid var(--brand-red);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.giving-tabs button.active {
    border-color: var(--brand-red);
}

.giving-card input:focus {
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(17, 16, 74, .1);
    outline: none;
}

.placeholder-note {
    color: #a72b38;
}

.page-hero {
    background: linear-gradient(125deg, var(--brand-navy), #171252);
}

.quote-band {
    background: #f8f0f0;
}

.cta-band {
    background: linear-gradient(115deg, #080725, #171047);
}

.button {
    background: var(--brand-navy);
}

.button:hover {
    background: var(--brand-indigo);
}

.button-gold {
    background: linear-gradient(105deg, var(--brand-red), var(--brand-orange));
}

.brand-mark,
.brand-copy {
    display: none;
}

.socials a:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.pastor-intro-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(239, 30, 45, .06), transparent 28%),
        #fff;
}

.pastor-intro-section::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -230px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(17, 16, 74, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(239, 30, 45, .025), 0 0 0 140px rgba(255, 90, 10, .02);
}

.pastor-intro-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(55px, 8vw, 105px);
}

.pastor-intro-media {
    position: relative;
    min-height: 550px;
}

.pastor-intro-media > img,
.pastor-intro-placeholder {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.pastor-intro-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(circle at 70% 24%, rgba(255, 90, 10, .25), transparent 23%),
        linear-gradient(145deg, #171252, var(--brand-navy) 68%);
}

.pastor-intro-placeholder::before {
    content: "";
    position: absolute;
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.pastor-intro-placeholder span {
    font: 600 190px/1 var(--serif);
    color: rgba(255, 255, 255, .15);
}

.pastor-intro-placeholder small {
    text-transform: uppercase;
    letter-spacing: .35em;
    color: #ff9a72;
}

.pastor-image-caption {
    position: absolute;
    right: -24px;
    bottom: 28px;
    min-width: 190px;
    padding: 18px 22px;
    color: #fff;
    background: linear-gradient(105deg, var(--brand-red), var(--brand-orange));
    box-shadow: 0 18px 35px rgba(31, 12, 29, .2);
}

.pastor-image-caption span,
.pastor-image-caption strong {
    display: block;
}

.pastor-image-caption span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .78;
}

.pastor-image-caption strong {
    margin-top: 3px;
    font: 600 18px var(--serif);
}

.pastor-intro-copy {
    max-width: 610px;
}

.pastor-role {
    margin: 25px 0 5px;
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.pastor-intro-copy h2 {
    margin: 0;
    font: 600 clamp(42px, 5vw, 65px)/1.1 var(--serif);
    letter-spacing: -.035em;
}

.pastor-rule {
    width: 90px;
    height: 3px;
    margin: 28px 0;
    background: #ece7e9;
}

.pastor-rule span {
    display: block;
    width: 36px;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.pastor-bio {
    color: #34344f;
    font-size: 18px;
    line-height: 1.75;
}

.pastor-intro-copy > p:not(.pastor-role, .pastor-bio) {
    color: var(--muted);
    font-size: 15px;
}

.pastor-read-more {
    margin-top: 20px;
    background: var(--brand-navy);
}

.set-man-intro-section {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 7% 88%, rgba(255, 90, 10, .06), transparent 27%),
        #fff;
}

.set-man-intro-section::after {
    right: auto;
    left: -180px;
}

.set-man-caption {
    right: auto;
    left: -24px;
}

.sermon-archive-section .message-card {
    min-width: 0;
}

.sermon-archive-section .series {
    max-width: calc(100% - 40px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.sermon-archive-section .message-card h3,
.sermon-archive-section .message-card p {
    overflow-wrap: anywhere;
}

@media (max-width: 960px) {
    .site-header,
    .site-header.scrolled {
        backdrop-filter: none;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        z-index: 100;
        inset: 0;
        width: 100%;
        height: 100dvh;
        min-height: 100vh;
        padding: 0;
        border: 0;
        background: rgba(1, 1, 24, .62);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
    }

    .site-header.menu-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
        z-index: 102;
        width: min(82vw, 380px);
        height: 100dvh;
        min-height: 100vh;
        padding: 105px 30px 45px;
        background: var(--brand-navy);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(100%, 0, 0);
        transition: transform .3s ease, opacity .25s ease, visibility .3s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }

    .nav-toggle {
        position: relative;
        z-index: 103;
    }

    .nav-toggle span {
        transition: transform .25s ease, opacity .2s ease;
    }

    .site-header.menu-open .nav-toggle span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .site-header.menu-open .nav-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .brand-logo {
        width: 68px;
        height: 43px;
    }

    .footer-logo {
        width: 68px;
        height: 43px;
    }

    .pastor-intro-grid {
        gap: 48px;
    }

    .pastor-intro-media,
    .pastor-intro-media > img,
    .pastor-intro-placeholder {
        height: 500px;
        min-height: 500px;
    }

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

@media (max-width: 700px) {
    .brand-logo {
        width: 62px;
        height: 40px;
    }

    .footer-logo {
        width: 62px;
        height: 40px;
    }

    .hero-slide-overlay {
        background:
            linear-gradient(90deg, rgba(7, 7, 32, .95), rgba(13, 9, 45, .7)),
            linear-gradient(0deg, rgba(7, 7, 32, .78), transparent 58%);
    }

    .pastor-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pastor-intro-media,
    .pastor-intro-media > img,
    .pastor-intro-placeholder {
        height: 430px;
        min-height: 430px;
    }

    .pastor-image-caption {
        right: 14px;
        bottom: -18px;
    }

    .set-man-caption {
        right: auto;
        left: 14px;
    }

    .pastor-intro-copy h2 {
        font-size: 43px;
    }

    .sermon-archive-section {
        padding-top: 55px;
    }

    .sermon-archive-section .filter-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 32px;
    }

    .sermon-archive-section .filter-bar input,
    .sermon-archive-section .filter-bar select {
        width: 100%;
        min-width: 0;
        padding: 13px 14px;
    }

    .sermon-archive-section .archive-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 45px;
    }

    .sermon-archive-section .message-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .sermon-archive-section .series {
        top: 16px;
        right: 16px;
        left: 16px;
        width: max-content;
        max-width: calc(100% - 32px);
        white-space: normal;
    }

    .sermon-archive-section .message-meta {
        flex-wrap: wrap;
        row-gap: 3px;
        line-height: 1.5;
    }

    .sermon-archive-section .message-card h3 {
        font-size: 22px;
    }
}

/* Pastoral team profiles */
.team-portrait-link {
    display: block;
    overflow: hidden;
}

.team-portrait-link .portrait img {
    transition: transform 420ms ease;
}

.team-portrait-link:hover .portrait img,
.team-portrait-link:focus-visible .portrait img {
    transform: scale(1.035);
}

.team-card h2 a {
    color: inherit;
}

.team-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.team-profile-link span {
    color: var(--brand-orange);
    transition: transform 180ms ease;
}

.team-profile-link:hover span {
    transform: translateX(4px);
}

.member-profile-hero {
    overflow: hidden;
    padding: 165px 0 95px;
    background:
        radial-gradient(circle at 82% 18%, rgba(239, 30, 45, .12), transparent 30%),
        linear-gradient(125deg, var(--brand-navy), var(--brand-indigo));
    color: #fff;
}

.member-profile-grid {
    display: grid;
    grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(55px, 8vw, 110px);
}

.member-profile-portrait {
    display: grid;
    min-height: 590px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-indigo));
    box-shadow: 30px 35px 80px rgba(0, 0, 0, .26);
}

.member-profile-portrait img {
    display: block;
    width: 100%;
    height: 590px;
    object-fit: cover;
    object-position: center;
}

.member-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 55px;
    color: #c5c6dd;
    font-size: 12px;
    font-weight: 600;
}

.member-back-link:hover {
    color: #fff;
}

.member-profile-heading h1 {
    max-width: 680px;
    margin: 23px 0 20px;
    font: 600 clamp(50px, 6vw, 82px)/1.06 var(--serif);
    letter-spacing: -.035em;
}

.member-role {
    max-width: 560px;
    margin: 0;
    color: var(--gold-light);
    font-size: clamp(16px, 2vw, 21px);
}

.member-biography-grid {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
    gap: clamp(55px, 9vw, 130px);
}

.member-biography-grid h2 {
    margin: 20px 0 0;
    font: 600 clamp(36px, 4vw, 52px)/1.18 var(--serif);
}

.member-biography p {
    margin: 0 0 38px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.member-rich-text h2,
.member-rich-text h3 {
    margin: 48px 0 15px;
    color: #23223b;
    font: 600 29px/1.3 var(--serif);
}

.member-rich-text h3:first-child {
    margin-top: 0;
}

.member-rich-text ul,
.member-rich-text ol {
    margin: -15px 0 38px;
    padding-left: 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.member-rich-text li {
    margin: 9px 0;
}

.member-rich-text strong {
    color: #34334b;
}

@media (max-width: 850px) {
    .member-profile-grid {
        grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr);
        gap: 42px;
    }

    .member-profile-portrait,
    .member-profile-portrait img {
        height: 470px;
        min-height: 470px;
    }

    .member-back-link {
        margin-bottom: 35px;
    }

    .member-biography-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 650px) {
    .member-profile-hero {
        padding: 135px 0 70px;
    }

    .member-profile-grid {
        grid-template-columns: 1fr;
    }

    .member-profile-portrait {
        order: 2;
    }

    .member-profile-heading {
        order: 1;
    }

    .member-profile-portrait,
    .member-profile-portrait img {
        height: 480px;
        min-height: 480px;
    }

    .member-back-link {
        margin-bottom: 28px;
    }
}

.prose img,
.member-rich-text img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

.member-rich-text h2,
.member-rich-text h3,
.member-rich-text h4 {
    margin: 32px 0 12px;
    font-family: var(--serif);
}

.member-rich-text {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.member-rich-text p,
.member-rich-text ul,
.member-rich-text ol,
.member-rich-text blockquote {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.member-rich-text blockquote {
    margin-left: 0;
    padding-left: 24px;
    border-left: 3px solid var(--brand-red);
}

.member-rich-text a,
.prose a {
    color: var(--brand-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.book-cover-link {
    display: block;
    width: 240px;
    margin: 0 auto 28px;
    color: inherit;
}

.book-cover-link .book-cover {
    margin: 0;
}

.book-cover.has-image {
    padding: 0;
    overflow: hidden;
    background: var(--brand-navy);
}

.book-cover.has-image img,
.book-detail-cover.has-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card h2 a {
    color: inherit;
}

.book-card h2 a:hover,
.book-details-link:hover {
    color: var(--brand-red);
}

.book-card .book-excerpt {
    min-height: 64px;
    margin-bottom: 9px;
}

.book-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}

.book-detail-hero {
    padding: 155px 0 100px;
    color: #fff;
    background:
        radial-gradient(circle at 83% 17%, rgba(240, 68, 47, .15), transparent 30%),
        linear-gradient(125deg, var(--brand-navy), #171252);
}

.book-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 52px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
}

.book-detail-grid {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 90px;
    align-items: center;
}

.book-detail-cover {
    width: 360px;
    height: 510px;
    padding: 42px 34px;
    overflow: hidden;
    color: #ffe0c1;
    background: linear-gradient(145deg, #211c62, var(--brand-navy) 58%, #090824);
    box-shadow: 24px 28px 55px rgba(0, 0, 0, .32);
    display: flex;
    flex-direction: column;
    position: relative;
}

.book-detail-cover::after {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(255, 224, 193, .3);
    pointer-events: none;
}

.book-detail-cover small,
.book-detail-cover strong,
.book-detail-cover span {
    position: relative;
    z-index: 1;
}

.book-detail-cover small {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 9px;
}

.book-detail-cover strong {
    margin: auto 0;
    font: 600 34px/1.22 var(--serif);
}

.book-detail-cover span {
    font-weight: 700;
    letter-spacing: .2em;
}

.book-detail-heading h1 {
    max-width: 760px;
    margin: 20px 0 15px;
    font: 600 clamp(46px, 6vw, 76px)/1.1 var(--serif);
    letter-spacing: -.035em;
}

.book-detail-author {
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
}

.book-detail-purchase {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 42px;
}

.book-detail-purchase > strong {
    font-size: 25px;
}

.book-stock-status {
    color: #ffb17d;
    font-size: 13px;
    font-weight: 700;
}

.book-description-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 760px);
    gap: 95px;
}

.book-description-grid h2 {
    margin: 15px 0 0;
    font: 600 38px/1.2 var(--serif);
}

.book-description > p:first-child {
    margin-top: 0;
}

@media (max-width: 850px) {
    .book-detail-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 48px;
    }

    .book-detail-cover {
        width: 300px;
        height: 425px;
    }

    .book-description-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 650px) {
    .book-detail-hero {
        padding: 130px 0 75px;
    }

    .book-back-link {
        margin-bottom: 35px;
    }

    .book-detail-grid {
        grid-template-columns: 1fr;
    }

    .book-detail-cover {
        width: min(300px, 100%);
        height: auto;
        aspect-ratio: 12 / 17;
        margin: 0 auto;
    }

    .book-detail-heading h1 {
        font-size: 45px;
    }

    .book-detail-purchase {
        align-items: flex-start;
        flex-direction: column;
    }
}

.book-profile-cover {
    background: linear-gradient(135deg, #171252, var(--brand-navy));
}

.member-profile-portrait.book-profile-cover img {
    object-fit: contain;
    background: #f8f3eb;
}

.book-profile-placeholder-content {
    width: 100%;
    min-height: 590px;
    padding: 48px 42px;
    color: #ffe0c1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.book-profile-placeholder-content::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(255, 224, 193, .3);
}

.book-profile-placeholder-content small,
.book-profile-placeholder-content strong,
.book-profile-placeholder-content span {
    position: relative;
    z-index: 1;
}

.book-profile-placeholder-content small {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 9px;
}

.book-profile-placeholder-content strong {
    margin: auto 0;
    font: 600 38px/1.2 var(--serif);
}

.book-profile-placeholder-content span {
    font-weight: 700;
    letter-spacing: .2em;
}

.book-profile-heading .book-detail-purchase {
    margin-top: 38px;
}

.book-profile-heading .book-detail-purchase > strong {
    color: #fff;
}

.book-description .member-rich-text {
    margin-bottom: 38px;
}

@media (max-width: 850px) {
    .book-profile-placeholder-content {
        min-height: 470px;
    }
}

@media (max-width: 650px) {
    .book-profile-placeholder-content {
        min-height: 480px;
    }
}

.humanitarian-list-section {
    background: var(--paper);
}

.humanitarian-list-section .section-head-row > p {
    max-width: 450px;
    color: var(--muted);
}

.humanitarian-list-section .section-head-row h2 {
    margin: 14px 0 0;
    font: 600 clamp(36px, 4vw, 52px)/1.18 var(--serif);
}

.humanitarian-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
}

.humanitarian-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}

.humanitarian-card-media {
    display: block;
    height: 360px;
    overflow: hidden;
    position: relative;
    background: var(--brand-navy);
}

.humanitarian-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.humanitarian-card:hover .humanitarian-card-media img {
    transform: scale(1.03);
}

.humanitarian-media-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 78% 20%, rgba(240, 68, 47, .2), transparent 31%),
        linear-gradient(135deg, var(--brand-navy), var(--brand-indigo));
}

.humanitarian-media-placeholder > span {
    color: rgba(255, 255, 255, .2);
    font: 700 50px/1.05 var(--serif);
    letter-spacing: -.04em;
    text-align: center;
}

.humanitarian-status {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 12px;
    color: #fff;
    background: var(--brand-red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.humanitarian-status.ongoing {
    background: #d97706;
}

.humanitarian-status.upcoming {
    background: var(--brand-indigo);
}

.humanitarian-card-content {
    padding: 32px;
}

.humanitarian-card-meta {
    margin: 0 0 12px;
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.humanitarian-card-content h2 {
    margin: 0 0 13px;
    font: 600 30px/1.25 var(--serif);
}

.humanitarian-card-content h2 a {
    color: inherit;
}

.humanitarian-card-content > p:not(.humanitarian-card-meta) {
    color: var(--muted);
}

.humanitarian-reach {
    display: block;
    margin-top: 18px;
    color: var(--forest);
    font-size: 13px;
}

.humanitarian-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
}

.humanitarian-read-more span {
    transition: transform .2s ease;
}

.humanitarian-read-more:hover span {
    transform: translateX(4px);
}

.humanitarian-empty {
    padding: 80px 30px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
}

.humanitarian-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-red);
    font-size: 20px;
}

.humanitarian-empty h2 {
    margin: 0 0 12px;
    font: 600 34px/1.2 var(--serif);
}

.humanitarian-empty p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
}

.humanitarian-profile-image {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-indigo));
}

.humanitarian-profile-placeholder > span {
    color: rgba(255, 255, 255, .18);
    font-size: 110px;
}

.humanitarian-impact-panel h2 {
    margin: 20px 0 30px;
    font: 600 clamp(36px, 4vw, 52px)/1.18 var(--serif);
}

.humanitarian-impact-panel > div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.humanitarian-impact-panel small,
.humanitarian-impact-panel strong {
    display: block;
}

.humanitarian-impact-panel small {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.humanitarian-impact-panel strong {
    font-size: 15px;
}

.humanitarian-lead {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
    font: 600 24px/1.55 var(--serif) !important;
}

.humanitarian-story .member-rich-text {
    margin: 35px 0 40px;
}

.humanitarian-gallery-section {
    padding-top: 0;
    background: var(--paper);
}

.humanitarian-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 42px;
}

.humanitarian-gallery-heading h2 {
    margin: 15px 0 0;
    font: 600 clamp(36px, 4vw, 52px)/1.18 var(--serif);
}

.humanitarian-gallery-heading > p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
}

.humanitarian-gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.humanitarian-gallery-item {
    display: block;
    height: 310px;
    overflow: hidden;
    position: relative;
    background: var(--brand-navy);
}

.humanitarian-gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    height: 638px;
}

.humanitarian-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.humanitarian-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 1, 24, .58), transparent 45%);
    opacity: 0;
    transition: opacity .25s ease;
}

.humanitarian-gallery-item > span {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 18px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.humanitarian-gallery-item:hover img {
    transform: scale(1.035);
}

.humanitarian-gallery-item:hover::after,
.humanitarian-gallery-item:hover > span {
    opacity: 1;
}

.humanitarian-gallery-item:hover > span {
    transform: none;
}

@media (max-width: 850px) {
    .humanitarian-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 650px) {
    .humanitarian-card-media {
        height: 270px;
    }

    .humanitarian-card-content {
        padding: 25px;
    }

    .humanitarian-empty {
        padding: 55px 22px;
    }

    .humanitarian-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .humanitarian-gallery-grid {
        grid-template-columns: 1fr;
    }

    .humanitarian-gallery-item,
    .humanitarian-gallery-item.featured {
        grid-column: auto;
        grid-row: auto;
        height: 280px;
    }

    .humanitarian-gallery-item::after,
    .humanitarian-gallery-item > span {
        opacity: 1;
    }

    .humanitarian-gallery-item > span {
        transform: none;
    }
}
