/* Main App Styles */

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-white);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Header Styles */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-hebrew-bar {
    padding: var(--spacing-xs) 0;
}

.top-hebrew-bar-content {
    display: flex;
    justify-content: center;
}

.top-hebrew-text {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--color-white);
}

/* Main Navigation */
.main-navigation {
    padding: var(--spacing-sm) var(--spacing-sm);
}

.navigation-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.main-navigation-centered .navigation-content {
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-sm);
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    /* background-color: var(--color-white); */
    /* padding: var(--spacing-xs); */
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-wrapper:hover {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.site-title {
    color: var(--color-white);
    font-size: var(--font-size-logo);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

.site-navigation {
    display: flex;
    align-items: center;
}

.main-navigation-centered .centered-branding .logo-link {
    justify-content: center;
}

.main-navigation-centered .centered-branding .logo-wrapper {
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xs);
}

.main-navigation-centered .centered-branding .custom-logo {
    margin-right: 0;
}

.main-navigation-centered .centered-header-actions {
    justify-content: center;
}

#primary-menu,
#primary-menu > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

#primary-menu > ul {
    gap: var(--spacing-xs);
}

#primary-menu li {
    margin: 0;
}

#primary-menu li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-large);
    font-weight: 600;
    padding: 6px 12px;
    transition: var(--transition-fast);
    border-radius: 8px;
}

#primary-menu li a:hover {
    background-color: var(--color-background-grey);
    color: var(--color-text-dark);
    border-radius: 8px;
}

.header-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    border: 1px solid var(--color-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--color-white);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-cta:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    position: relative;
    will-change: background-position;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section {
        will-change: auto;
    }
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Bottom vignette + light texture + uniform dim (first layer = top / closest to viewer) */
    background-image: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.35) 42%,
            transparent 72%
        ),
        url('../media/images/light.webp'),
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1900px;
    margin: 0 auto var(--spacing-2xl);
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 45%);
    gap: var(--spacing-lg);
    align-items: flex-end;
}

.hero-layout-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(32px, 8vw, 82px);
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.1;
}

.hero-divider {
    width: 300px;
    height: 8px;
    background-color: var(--color-text-dark);
    margin: 10px auto;
}

.hero-subtitle {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 400;
    color: var(--color-white);
    background: var(--color-background-black);
    display: inline-block;
    padding: 12px 60px;
    margin-top: 5px;
    letter-spacing: var(--letter-spacing-tight);
    max-width: 90%;
}

/* Hero Design 2 */
.hero-section.hero-design-2 {
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.hero-section.hero-design-2 .hero-content {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: var(--spacing-2xl);
}

.hero-design2-inner {
    width: 100%;
    max-width: 720px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-design2-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--font-size-base);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.hero-title.hero-title-2 {
    font-size: clamp(42px, 6.5vw, 92px);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.05;
    margin: 0;
}

.hero-description {
    margin: var(--spacing-sm) 0 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
}

.hero-design2-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.hero-layout-media {
    position: relative;
    width: 100%;
    height: clamp(350px, 50vh, 600px);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    touch-action: pan-y;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    transform: translateY(-100%);
    transition: transform 380ms ease;
    z-index: 1;
}

.hero-carousel-slide.is-active {
    transform: translateY(0);
    z-index: 2;
}

.hero-carousel-slide.is-leaving {
    transform: translateY(100%);
    z-index: 1;
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-dots {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.hero-carousel-dot.is-active {
    background: var(--color-white);
}

/* Hero CTA buttons */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 99px;
    background: transparent;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--font-size-large);
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-cta:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-text-dark);
}

.hero-cta-primary {
    background: var(--color-white);
    color: var(--color-text-dark);
    border-color: var(--color-white);
}

.hero-cta-primary:hover {
    opacity: 0.8;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .main-navigation {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }
    .hero-section.hero-design-2 .hero-content {
        padding-bottom: var(--spacing-md);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-layout-text {
        text-align: center;
    }

    .hero-design2-inner {
        align-items: center;
        margin: 0 auto;
    }

    .hero-design2-ctas {
        justify-content: center;
    }

    .hero-layout-media {
        height: 250px;
    }

    .hero-title.hero-title-2 {
        font-size: clamp(52px, 6.5vw, 92px);
    }

    .hero-design2-ctas {
        flex-direction: row;
        align-items: center;
    }
}

/* Responsive */

/* Hamburger icon — hidden on desktop, shown on mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1300;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 18px;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X when open */
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay — hidden until open */
.mobile-nav-overlay {
    display: none;
}

body.mobile-menu-scroll-lock {
    overflow: hidden;
    height: 100vh;
    overscroll-behavior: none;
}

@media (max-width: 1078px) {
    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: transparent;
    }

    .top-hebrew-bar,
    .main-navigation {
        transition: background-color 0.25s ease;
    }

    /* 3-column grid: logo | hamburger | CTA */
    .navigation-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        min-height: 64px;
        gap: 0;
        position: static;
    }

    .main-navigation-centered .navigation-content {
        grid-template-columns: 1fr auto 1fr;
    }

    /* Logo — left column */
    .site-branding {
        position: static;
        transform: none;
        z-index: auto;
        justify-self: start;
    }

    /* Hamburger — center column */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
    }

    /* Header actions — right column (CTA only, nav hidden) */
    .header-actions {
        width: auto;
        justify-self: end;
        justify-content: flex-end;
        gap: 0;
    }

    #site-navigation {
        display: none !important;
    }

    .custom-logo {
        width: 40px;
        height: 40px;
    }

    .main-navigation-centered .centered-branding .custom-logo {
        margin-right: 0;
    }

    .site-title {
        font-size: 16px;
        letter-spacing: 0.3px;
        display: none;
    }

    /* CTA in mobile header bar */
    .header-cta {
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: transparent;
        color: var(--color-white);
        font-size: var(--font-size-base);
        font-weight: 700;
        letter-spacing: 0.4px;
        padding: var(--spacing-xs) var(--spacing-sm);
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 99px;
        background: transparent;
        margin-left: 0;

    }

    /* Keep CTA icon visible in mobile */
    .header-cta::before {
        display: inline-block;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        filter: invert(1);
    }

    .header-cta:hover {
        background: transparent;
        color: var(--color-white);
    }

    /* ── Header inverts to white when mobile menu is open ── */

    /* Top-bar */
    .site-header.mobile-menu-open .top-hebrew-bar {
        background-color: var(--color-mobile-overlay);
    }

    .site-header.mobile-menu-open .top-hebrew-text {
        color: var(--color-text-dark);
    }

    /* Nav bar */
    .site-header.mobile-menu-open .main-navigation {
        background-color: var(--color-mobile-overlay);
    }

    .site-header.mobile-menu-open .hamburger-bar {
        background-color: var(--color-text-dark);
    }

    .site-header.mobile-menu-open .site-title {
        color: var(--color-text-dark);
    }

    .site-header.mobile-menu-open .header-cta {
        border-color: rgba(0, 0, 0, 0.2);
        color: var(--color-text-dark);
    }

    .site-header.mobile-menu-open .header-cta::before {
        filter: none;
    }

    /* ── Mobile nav overlay (full-page, from top: 0) ── */

    /* Top-bar and nav content must sit above the overlay */
    .top-hebrew-bar {
        position: relative;
        z-index: 10;
    }

    .main-navigation > .navigation-content {
        position: relative;
        z-index: 10;
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        background-color: var(--color-mobile-overlay);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 5;
    }

    .mobile-nav-overlay.is-open {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
    }

    .mobile-nav-overlay-inner {
        /* push content below the header (top-bar ~36px + nav ~96px) */
        padding: 130px var(--spacing-sm) var(--spacing-md);
        min-height: 100vh;
        min-height: 100dvh;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }


    .mobile-nav-label {
        display: block;
        font-size: var(--font-size-tiny);
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--color-light-black);
        margin-bottom: var(--spacing-xs);
    }

    /* Mobile overlay nav links */
    #mobile-primary-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mobile-primary-menu > ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mobile-primary-menu li {
        margin: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    #mobile-primary-menu li:last-child {
        border-bottom: none;
    }

    #mobile-primary-menu li a {
        display: block;
        color: var(--color-text-dark);
        text-decoration: none;
        font-size: clamp(24px, 6.5vw, 32px);
        font-weight: 600;
        line-height: 1.2;
        padding: 14px 0;
        letter-spacing: -0.02em;
        transition: opacity 0.15s ease;
    }

    #mobile-primary-menu li a:hover {
        opacity: 0.55;
        background: none;
        border-radius: 0;
        color: var(--color-text-dark);
    }

    .mobile-nav-social {
        margin-top: auto;
        display: flex;
        align-items: center;
        gap: 18px;
        padding-top: var(--spacing-lg);
        border-top: 1px solid #e0e0e0;
    }

    .mobile-nav-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-dark);
        text-decoration: none;
        font-size: var(--font-size-2xl);
        transition: opacity var(--transition-fast);
    }

    .mobile-nav-social-link:hover {
        opacity: 0.6;
    }

    /* Contact section in overlay */
    .mobile-nav-contact {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xs);
        padding-top: var(--spacing-xs);
        border-top: 1px solid #e0e0e0;
    }

    .mobile-nav-donate-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-text-dark);
        color: var(--color-white);
        text-decoration: none;
        font-size: var(--font-size-large);
        font-weight: 700;
        padding: 14px 24px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: opacity 0.2s ease;
        align-self: flex-start;
    }

    .mobile-nav-donate-btn:hover {
        opacity: 0.8;
    }

    /* Newsletter Section (2-col -> 1-col) */
    .newsletter-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-left {
        min-height: 260px;
    }

    .newsletter-right-inner {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }

    .newsletter-submit {
        width: 100%;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-xl) 0 var(--spacing-sm);
    max-width: var(--max-width);
    margin: var(--spacing-xl) auto var(--spacing-md);
    box-sizing: border-box;
    overflow-x: clip;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: var(--spacing-md);
    align-items: stretch;
}

.newsletter-grid > * {
    min-width: 0;
}

.newsletter-left {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 330px;
    background-color: var(--color-background-black);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.newsletter-left-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        transparent 72%
    );
    z-index: 1;
}

.newsletter-left-inner {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-md);
    width: 100%;
}

.newsletter-left-title {
    margin: 0;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.1;
    font-family: var(--font-body);
}

.newsletter-left-text {
    margin: var(--spacing-sm) 0 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
    max-width: 50ch;
}

.newsletter-left-cta {
    margin-top: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-fast);
    max-width: 100%;
    box-sizing: border-box;
}

.newsletter-left-cta:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-text-dark);
}

.newsletter-left-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-base);
}

.newsletter-right {
    border-radius: 12px;
    background: var(--color-background-grey);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.newsletter-right-inner {
    padding: var(--spacing-md) var(--spacing-sm) 0;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
}

.newsletter-heading {
    margin: 0;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 0.8;
    font-family: var(--font-body);
}

.newsletter-subtext {
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    color: var(--color-light-black);
    font-size: var(--font-size-base);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.newsletter-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.newsletter-option {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.newsletter-option-icon {
    color: var(--color-primary);
    font-size: var(--font-size-xl);
    line-height: 1;
    width: var(--font-size-xl);
    display: inline-flex;
    justify-content: center;
}

.newsletter-option-title {
    display: block;
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: var(--font-size-large);
}

.newsletter-option-desc {
    display: block;
    color: var(--color-light-black);
    font-size: var(--font-size-small);
    overflow-wrap: anywhere;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: auto;
    padding-top: var(--spacing-md);
}

.newsletter-email {
    flex: 1;
    min-width: 0;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
}

.newsletter-email::placeholder {
    color: var(--color-light-black);
}

.newsletter-submit {
    padding: var(--spacing-xs) var(--spacing-md);
    border: none;
    border-radius: 99px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-submit:hover {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.newsletter-form-message {
    margin: var(--spacing-xs) 0 0 0;
    font-size: var(--font-size-base);
    color: var(--color-light-black);
    min-height: 18px;
}

/* Newsletter responsive overrides (placed after base styles) */
@media (max-width: 1078px) {
    .newsletter-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-left {
        min-height: 260px;
    }

    .newsletter-right-inner {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }

    .newsletter-submit {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-wrapper {
        margin-left: -6px;
    }

    .newsletter-section {
        padding: var(--spacing-lg) var(--spacing-xs);
    }

    .newsletter-left-title,
    .newsletter-heading {
        font-size: clamp(28px, 9vw, 40px);
        line-height: 1.05;
    }

    .newsletter-left-text {
        font-size: var(--font-size-small);
        line-height: 1.6;
    }

    .newsletter-left-cta {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .newsletter-right-inner {
        padding: var(--spacing-md) var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .newsletter-option {
        gap: 10px;
    }

    .newsletter-email,
    .newsletter-submit {
        padding: 10px 14px;
    }

    .newsletter-left-inner,
    .newsletter-right-inner {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

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

.site-footer {
    background-color: var(--color-background-grey);
    font-family: var(--font-body);
    border-top: 1px solid var(--color-border-light);
}

.footer-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: clip;
}

/* --- CTA Banner --- */
.footer-cta-banner {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.footer-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-white);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.footer-cta-banner:hover::before {
    transform: scaleX(1);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    text-decoration: none;
    color: inherit;
    min-width: 0;
    padding: 0 var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.footer-cta-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
    margin: 0;
    min-width: 0;
}

.footer-cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-cta-arrow svg {
    width: 80px;
    height: 80px;
    transition: transform var(--transition-fast);
}

.footer-cta-inner:hover .footer-cta-arrow svg {
    transform: translate(16px, 0);
}

/* --- Footer Main --- */
.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-bottom: 1px solid var(--color-border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Col 1: Contact */
.footer-col-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-item {
    display: block;
    font-size: var(--font-size-small);
    color: var(--color-text-dark);
    text-decoration: none;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-phone,
.footer-email {
    text-decoration: underline;
    text-underline-offset: 2px;
}

a.footer-contact-item:hover {
    text-decoration: underline;
}

.footer-address {
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.footer-branding {
    margin-top: var(--spacing-md);
}

.footer-logo-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
}

.footer-logo-img {
    height: 42px;
    width: auto;
}

.footer-site-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-site-meta-group {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-site-meta {
    display: block;
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.footer-site-meta-has-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-albania-flag {
    width: 18px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
}

/* Col 2: Nav */
.footer-col-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav-label {
    display: block;
    font-size: var(--font-size-tiny);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-black);
    margin-top: 10px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-nav ul li {
    width: fit-content;
}

.footer-nav ul li a {
    display: block;
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    text-decoration: none;
    padding: 2px 0;
    transition: color var(--transition-fast);
}

.footer-nav ul li a:hover {
    color: var(--color-light-black);
}

/* Col 3: Tagline */
.footer-col-tagline {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer-tagline {
    font-family: var(--font-primary);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: right;
    margin: 0;
    max-width: 480px;
}

/* --- Footer Bottom --- */
.footer-bottom {
    padding: var(--spacing-sm) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
}

.footer-copyright,
.footer-copyright-nav ul li a {
    font-size: var(--font-size-tiny);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    font-family: inherit;
    line-height: 1;
}

.footer-copyright {
    margin: 0;
    overflow-wrap: anywhere;
}

.footer-copyright-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-copyright-nav ul li {
    line-height: 0.7;
}

.footer-copyright-nav ul li a {
    text-decoration: none;
    transition: none;
}

.footer-copyright-nav ul li a:hover {
    color: var(--color-text-dark);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: auto;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: var(--font-size-xl);
    transition: color var(--transition-fast);
    width: 20px;
    height: 20px;
}

.footer-social-link:hover {
    color: var(--color-light-black);
}

/* --- Footer Responsive --- */
@media (max-width: 1078px) {
    .footer-inner {
        padding: 0 var(--spacing-md);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-col-tagline {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .footer-tagline {
        text-align: left;
        max-width: 100%;
    }

    .footer-cta-title {
        font-size: clamp(2rem, 7vw, 4rem);
    }

    .footer-cta-arrow {
        width: 64px;
        height: 64px;
    }

    .footer-cta-arrow svg {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 0 var(--spacing-sm);
    }

    .footer-cta-banner {
        padding: var(--spacing-md) 0;
    }

    .footer-cta-inner {
        gap: var(--spacing-sm);
        align-items: center;
    }

    .footer-cta-title {
        font-size: clamp(1.7rem, 9vw, 2.5rem);
        line-height: 1.05;
        flex: 1;
    }

    .footer-cta-arrow {
        width: 50px;
        height: 50px;
    }

    .footer-cta-arrow svg {
        width: 36px;
        height: 36px;
    }

    .footer-main {
        padding: var(--spacing-md) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-col-contact,
    .footer-col-nav,
    .footer-col-tagline {
        width: 100%;
    }

    .footer-col-tagline {
        justify-content: flex-start;
    }

    .footer-tagline {
        text-align: left;
        max-width: 100%;
        font-size: clamp(16px, 4.8vw, 22px);
        line-height: 1.35;
    }

    .footer-branding {
        margin-top: var(--spacing-sm);
    }

    .footer-nav ul li a {
        padding: 4px 0;
    }

    .footer-bottom {
        padding: var(--spacing-sm) 0 var(--spacing-md);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .footer-social {
        gap: 14px;
        margin-left: 0;
    }

    .footer-copyright-nav ul {
        gap: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .footer-cta-banner {
        padding: var(--spacing-lg) 0;
    }

    .footer-cta-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
        max-width: calc(100% - 64px);
    }

    .footer-cta-arrow {
        width: 52px;
        height: 52px;
    }

    .footer-cta-arrow svg {
        width: 36px;
        height: 36px;
    }

    .footer-contact-item,
    .footer-nav ul li a {
        font-size: 13px;
    }

    .footer-site-title {
        font-size: var(--font-size-xl);
    }

    .footer-copyright {
        font-size: 9px;
    }
}

/* ============================================================
   About Section
   ============================================================ */

.about-section {
    padding: var(--spacing-3xl) 0 var(--spacing-3xl);
}

.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-xl);
    align-items: stretch;
}

/* Left column */
.about-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.about-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-light-black);
    margin: 0 0 var(--spacing-xs);
}

.about-label-icon {
    color: var(--color-text-dark);
    font-size: 13px;
    line-height: 1;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.about-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 350px;
    background-color: var(--color-background-black);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.about-card-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.58) 54%,
        transparent 78%
    );
    z-index: 1;
}

.about-card-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-sm);
}

.about-card-title {
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-body);
    margin: 0;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.1;
}

.about-card-text {
    margin: var(--spacing-xs) 0 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--font-size-large);
    font-family: var(--font-body);
    line-height: 1.6;
    max-width: 52ch;
}

.about-card-cta {
    margin-top: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-fast);
}

.about-card-cta:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-text-dark);
}

.about-card-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-base);
}

/* Right column */
.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    height: auto;
    min-height: 100%;
    justify-content: space-between;
}

.about-heading {
    font-family: var(--font-body);
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.08;
    letter-spacing: var(--letter-spacing-tight);
    margin: 0;
    max-width: 17ch;
    margin-top: var(--spacing-sm);
}

.about-features {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.about-feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    border-left: 1px solid #cfcfcf;
    padding-left: var(--spacing-sm);
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 4px;
    background: #e7e9ec;
    color: var(--color-text-dark);
    font-size: 15px;
}

.about-feature-title {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-feature-text {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    color: var(--color-light-black);
    margin: 0;
    line-height: 1.35;
    max-width: 21ch;
}

/* About section responsive */
@media (max-width: 1078px) {
    .about-inner {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .about-left {
        flex: none;
        width: 100%;
    }

    .about-heading {
        font-size: clamp(22px, 5.5vw, 32px);
        max-width: none;
    }

    .about-card {
        min-height: 270px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--spacing-xl) 0;
    }

    .about-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .about-feature {
        width: 100%;
        min-height: auto;
        border-left: none;
        /*border-bottom: 1px solid #cfcfcf;*/
        padding-left: 0;
        padding-bottom: var(--spacing-sm);
    }

    .about-feature-title {
        font-size: clamp(26px, 6vw, 34px);
    }

    .about-feature-text {
        font-size: clamp(18px, 4.6vw, 24px);
        max-width: none;
    }
}

@media (max-width: 480px) {
    .about-card {
        min-height: 240px;
    }

    .about-card-inner {
        padding: var(--spacing-sm);
    }
}

/* ============================================================ */

/* ============================================================
   About Page Hero
   ============================================================ */

.about-page-main,
.get-involved-page-main,
.programs-page-main,
.single-program-page-main,
.location-page-main {
    overflow-x: clip;
}

/* Sticky descendants need a scrollport that isn’t clipped; overflow-x:clip on main breaks position:sticky in browsers */
.shabbat-page-main {
    overflow-x: visible;
}

.shabbat-mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .shabbat-mobile-sticky-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        padding-bottom: env(safe-area-inset-bottom, 0);
        background-color: var(--color-primary);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .shabbat-mobile-sticky-bar-link {
        display: block;
        padding: 14px var(--spacing-md);
        font-family: var(--font-body);
        font-size: var(--font-size-large);
        font-weight: 600;
        text-align: center;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-transform: uppercase;
        color: var(--color-text-dark);
    }

    .shabbat-mobile-sticky-bar-link:focus-visible {
        outline: 2px solid var(--color-primary-blue);
        outline-offset: -2px;
    }

    .shabbat-mobile-sticky-bar-link:active {
        opacity: 0.85;
    }

    body:is(.page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events) #page {
        padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
    }
}

.about-hero {
    width: 100%;
    padding-top: var(--spacing-2xl);
}

.about-hero-topbar {
    background-color: var(--color-background-grey);
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-sm);
}

.about-hero-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.about-hero-title-icon {
    color: var(--color-light-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.about-hero-media {
    width: 100%;
    overflow: hidden;
}

.about-hero-image {
    width: 100%;
    height: clamp(260px, 45vw, 560px);
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Single Program — ACF summary & meta (below hero) */
.program-single-info {
    background-color: var(--color-background-grey);
    padding: var(--spacing-xl) var(--spacing-sm);
}

.program-single-info-inner {
    margin: 0 auto;
    max-width: 720px;
}

.program-single-intro {
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    line-height: 1.55;
}

.program-single-intro p:last-child {
    margin-bottom: 0;
}

.program-single-meta {
    margin: var(--spacing-lg) 0 0;
    padding: 0;
}

.program-single-meta-row {
    display: grid;
    grid-template-columns: minmax(88px, 120px) 1fr;
    gap: var(--spacing-sm) var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.program-single-meta-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.program-single-meta-term {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-light-black);
}

.program-single-meta-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    line-height: 1.45;
}

.program-single-cta-wrap {
    margin: var(--spacing-lg) 0 0;
}

.program-single-cta {
    display: inline-flex;
}

@media (max-width: 480px) {
    .program-single-meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Location hero: Google Maps embed (same footprint as hero image) */
.location-hero-map-wrap {
    position: relative;
    background: #e8eaed;
}

.location-hero-map {
    width: 100%;
    height: clamp(260px, 45vw, 560px);
    border: 0;
    display: block;
}

.location-hero-bar {
    background-color: #f2f2f4;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--spacing-sm);
}

.location-hero-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm) var(--spacing-md);
}

.location-hero-bar-col {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em 0.65em;
    min-width: 0;
}

.location-hero-bar-col + .location-hero-bar-col {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: clamp(16px, 3vw, 36px);
    margin-left: clamp(4px, 1vw, 12px);
}

.location-hero-bar-label {
    margin: 0;
    flex-shrink: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: var(--line-height-base);
}

.location-hero-bar-address {
    margin: 0;
    font-style: normal;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.45;
    display: inline;
}

.location-hero-bar-address-line {
    display: inline;
}

.location-hero-bar-address-line:not(:last-child)::after {
    content: ', ';
}

.location-hero-bar-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em 1em;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.location-hero-bar-contact-list li {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25em;
}

.location-hero-bar-link {
    color: var(--color-text-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.location-hero-bar-link:hover {
    color: var(--color-hover);
}

@media (max-width: 640px) {
    .location-hero-bar-col + .location-hero-bar-col {
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
    }
}

/* ============================================================
   Shabbat Page Hero
   ============================================================ */

.shabbat-hero {
    background-color: var(--color-white);
    padding: var(--spacing-4xl) var(--spacing-sm) var(--spacing-xl);
}


.shabbat-hero-text {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto auto;
    column-gap: var(--spacing-sm);
    row-gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

/* One semantic h1; spans participate in parent grid (Hebrew full width, then EN | aside). */
.shabbat-hero-title {
    display: contents;
}

.shabbat-hero-title-he,
.shabbat-hero-title-en {
    margin: 0;
    color: #141414;
    font-family: var(--font-body);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    display: block;
    min-width: 0;
}

.shabbat-hero-title-he {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
}

.shabbat-hero-title-en {
    grid-column: 1;
    grid-row: 2;
    direction: ltr;
    unicode-bidi: isolate;
}

.shabbat-hero-aside {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding-top: 0.2em;
}

.shabbat-hero-lede {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.55;
}

.shabbat-hero-aside .shabbat-hero-lede:last-child {
    margin-bottom: 0;
}

/* Same pill button as homepage hero (.hero-cta-primary); edge definition on light background */
.shabbat-hero-aside .shabbat-hero-cta.hero-cta.hero-cta-primary {
    margin-top: var(--spacing-sm);
    align-self: flex-start;
    border-color: rgba(44, 44, 44, 0.2);
}

.shabbat-hero-aside .shabbat-hero-cta.hero-cta.hero-cta-primary:hover {
    opacity: 0.88;
    border-color: rgba(44, 44, 44, 0.35);
    color: var(--color-text-dark);
    background: var(--color-white);
}

.shabbat-hero-media {
    width: 100%;
    border-radius: var(--spacing-sm);
    overflow: hidden;
    background: var(--color-background-grey);
}

.shabbat-hero-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: center;
    min-height: 200px;
}

.shabbat-hero-placeholder {
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 200px;
    background: linear-gradient(145deg, #e8ede3 0%, #dde5d6 45%, #e2e8d8 100%);
}

.shabbat-page-entry,
.get-involved-page-entry {
    padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
    max-width: min(var(--max-width), 72ch);
    margin-inline: auto;
}

@media (max-width: 767px) {
    .shabbat-hero-text {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .shabbat-hero-title-he {
        grid-column: 1;
        grid-row: auto;
        text-align: right;
        font-size: var(--font-size-xl);
    }

    .shabbat-hero-title-en {
        grid-column: 1;
        grid-row: auto;
        font-size: var(--font-size-2xl);
    }

    .shabbat-hero-aside {
        grid-column: 1;
        grid-row: auto;
        padding-top: 0;
    }

    .shabbat-hero-lede {
        max-width: none;
    }

    .shabbat-hero-image,
    .shabbat-hero-placeholder {
        aspect-ratio: 16 / 10;
        min-height: 220px;
    }
}

/* ============================================================
   Shabbat Page — Experience
   ============================================================ */

.shabbat-experience {
    --shabbat-experience-sticky-top: clamp(72px, 10vw, 108px);
    padding: var(--spacing-xl) var(--spacing-sm);
}

.shabbat-experience-inner {

    margin-inline: auto;
}

.shabbat-experience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    /* stretch so the aside column is as tall as the text column — required for sticky to have room to “travel” */
    align-items: stretch;
}

.shabbat-experience-content {
    max-width: 1100px;
}

.shabbat-experience-aside {
    min-width: 0;
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

/* Stays pinned in view while the left column scrolls through the section */
.shabbat-experience-sticky {
    position: sticky;
    top: var(--shabbat-experience-sticky-top);
    align-self: flex-start;
    width: 100%;
    border-radius: var(--spacing-sm);
    overflow: hidden;
}

.shabbat-experience-image,
.shabbat-experience-placeholder {
    display: block;
    width: 100%;
}

.shabbat-experience-image {
    height: auto;
    max-height: min(55vh, 600px);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    background: var(--color-background-grey);
}

.shabbat-experience-placeholder {
    aspect-ratio: 3 / 4;
    min-height: 200px;
    max-height: min(78vh, 820px);
    background: linear-gradient(160deg, #e4ebe0 0%, #d8e2d2 50%, #cdd8c8 100%);
}

.shabbat-experience-heading {
    margin: 0 0 var(--spacing-md);
    color: #141414;
    font-family: var(--font-body);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.2;
}

.shabbat-experience-intro {
    margin: 0 0 var(--spacing-xl);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    max-width: 62ch;
}

.shabbat-experience-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.shabbat-experience-item {
    margin: 0;
    padding: 0 0 var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shabbat-experience-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.shabbat-experience-phase {
    margin: 0 0 0.35rem;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.35;
}

.shabbat-experience-item-title {
    margin: 0 0 var(--spacing-sm);
    color: #141414;
    font-family: var(--font-body);
    font-size: var(--font-size-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.shabbat-experience-body {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .shabbat-experience-layout {
        grid-template-columns: 1fr;
    }

    .shabbat-experience-sticky {
        position: static;
    }

    .shabbat-experience-image {
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    .shabbat-experience-placeholder {
        max-height: none;
        aspect-ratio: 16 / 9;
        min-height: 180px;
    }
}

/* ============================================================
   Shabbat Page — Quote
   ============================================================ */

.shabbat-quote {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--color-background-grey);
    margin: var(--spacing-4xl) 0 var(--spacing-2xl);
}

.shabbat-quote-inner {
    max-width: var(--max-width);
    margin-inline: auto;
}

.shabbat-quote-block {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.shabbat-quote-text {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
}

.shabbat-quote-cite {
    display: block;
    margin-top: var(--spacing-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(16px, 2.2vw, 24px);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================
   Shabbat Page — What you get
   ============================================================ */

.shabbat-what-you-get {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
    background-color: var(--color-white);
}

.shabbat-what-you-get-inner {
    max-width: 100%;
    margin-inline: auto;
}

.shabbat-what-you-get-heading {
    margin: 0 0 var(--spacing-md);
    color:  var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.2;
}

/* Four implicit columns: row 1 = 2+1+1, row 2 = 1+1+2 (same total width). */
.shabbat-what-you-get-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-sm);
    align-items: stretch;
}

.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(1) {
    grid-column: span 2;
}

.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(2),
.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(3) {
    grid-column: span 1;
}

.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(4),
.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(5) {
    grid-column: span 1;
}

.shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(6) {
    grid-column: span 2;
}

.shabbat-wyg-card {
    margin: 0;
    min-height: 700px;
    border-radius: 8px;
    overflow: hidden;
}

/* Full-bleed image card */
.shabbat-wyg-card--full .shabbat-wyg-card-media {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 700px;
    padding: var(--spacing-sm);
    background-color: #2a3d32;
    background-size: cover;
    background-position: center;
}

.shabbat-wyg-card-media--placeholder {
    background-image: none;
    background: linear-gradient(155deg, #3d5245 0%, #2a3a32 48%, #1e2b24 100%);
}

.shabbat-wyg-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.2) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.shabbat-wyg-card-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.shabbat-wyg-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.shabbat-wyg-title--bottom {
    max-width: min(42ch, 100%);
}

.shabbat-wyg-title--top {
    margin-bottom: 0;
}

.shabbat-wyg-body {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.65vw, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
}

.shabbat-wyg-body--full {
    max-width: min(52ch, 100%);
    font-size: clamp(1rem, 1.65vw, 1.125rem);
}

.shabbat-wyg-panel-text {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.shabbat-wyg-card--panel .shabbat-wyg-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.3;
}

/* Solid panels + inset */
.shabbat-wyg-card--panel {
    display: flex;
    flex-direction: column;
}

.shabbat-wyg-card--teal {
    background: #0f4146;
}

.shabbat-wyg-card--plum {
    background: #5a2a46;
}

.shabbat-wyg-card-panel-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
}

.shabbat-wyg-panel-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: var(--spacing-lg);
}

.shabbat-wyg-inset {
    flex-shrink: 0;
    width: min(60%, 350px);
    max-width: 100%;
    border-radius: 4px;
    overflow: hidden;
    align-self: flex-end;
}

.shabbat-wyg-inset-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    vertical-align: middle;
}

.shabbat-wyg-inset-placeholder {
    aspect-ratio: 4 / 3;
    min-height: 96px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

@media (max-width: 900px) {
    .shabbat-what-you-get-grid {
        grid-template-columns: 1fr;
    }

    .shabbat-what-you-get-grid .shabbat-wyg-card:nth-child(n) {
        grid-column: 1 / -1;
    }

    .shabbat-wyg-card {
        min-height: 450px;
    }

    .shabbat-wyg-card--full .shabbat-wyg-card-media {
        min-height: 450px;
    }

    .shabbat-wyg-title--top {
        padding-right: 0;
    }

    .shabbat-wyg-inset {
        width: min(44%, 200px);
    }
}

.get-involved-ways .get-involved-ways-cta {
    margin: var(--spacing-sm) 0 0;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

/* Get Involved — Rebbe’s Mitzvah Campaigns */
.get-involved-mitzvah-section {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
    background-color: var(--color-white);
}

.get-involved-mitzvah-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--spacing-lg), 4vw, var(--spacing-2xl));
    align-items: start;
    width: 100%;
}

.get-involved-mitzvah-content {
    min-width: 0;
}

.get-involved-mitzvah-media {
    position: relative;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.get-involved-mitzvah-media-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.get-involved-mitzvah-media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 280px;
    background: linear-gradient(155deg, rgba(15, 65, 70, 0.14) 0%, rgba(90, 42, 70, 0.1) 50%, rgba(15, 65, 70, 0.08) 100%);
}

.get-involved-mitzvah-heading {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.15;
}

.get-involved-mitzvah-intro {
    margin: 0 0 var(--spacing-lg);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 400;
    line-height: 1.6;
}

.get-involved-mitzvah-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.get-involved-mitzvah-card {
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 0;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.get-involved-mitzvah-card-title {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.get-involved-mitzvah-card-tagline {
    margin: 0;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    font-weight: 400;
    line-height: 1.45;
}

@media (min-width: 901px) {
    .get-involved-mitzvah-media {
        position: sticky;
        top: calc(var(--spacing-xl) + 1rem);
    }
}

@media (max-width: 900px) {
    .get-involved-mitzvah-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .get-involved-mitzvah-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 400px) {
    .get-involved-mitzvah-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Shabbat Page — Candle times (reuses .holidays-inner / .holidays-content)
   ============================================================ */

.shabbat-candle-section {
    padding: 0 var(--spacing-sm) var(--spacing-2xl);
    background-color: var(--color-white);
}

.shabbat-candle-inner {
    max-width: var(--max-width);
    margin-inline: auto;
}

.shabbat-candle-section .holidays-inner {
    min-height: 0;
    max-width: min(100%, 560px);
    margin-inline: auto;
}

.shabbat-candle-section .holidays-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
}

.shabbat-candle-footnote {
    margin: var(--spacing-md) 0 0;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.shabbat-candle-footnote a {
    color: #2067ab;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shabbat-candle-footnote a:hover {
    color: var(--color-text-dark);
}

/* About page: invert default (light header, dark text/icons) */
body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .top-hebrew-bar,
body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .main-navigation {
    background-color: var(--color-background-grey);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .top-hebrew-text,
body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .site-title,
body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) #primary-menu li a {
    color: var(--color-text-dark);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) #primary-menu li a:hover {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .hamburger-bar {
    background-color: var(--color-text-dark);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .header-cta {
    border-color: rgba(0, 0, 0, 0.22);
    background-color: transparent;
    color: var(--color-text-dark);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .header-cta:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--color-text-dark);
}

body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .header-cta::before {
    filter: none;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .about-hero-image {
        height: clamp(220px, 54vw, 360px);
    }

    .location-hero-map {
        height: clamp(220px, 54vw, 360px);
    }
}

@media (max-width: 1078px) {
    body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .site-header {
        background-color: transparent;
    }

    body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .header-cta {
        border-color: rgba(0, 0, 0, 0.3);
        background: transparent;
        color: var(--color-text-dark);
    }

    body:is(.page-template-page-about, .page-template-page-about-php, .page-about, .page-template-page-get-involved, .page-template-page-get-involved-php, .page-get-involved, .page-template-page-location, .page-template-page-location-php, .page-location, .page-template-page-shabbat, .page-template-page-shabbat-php, .page-shabbat, .page-template-page-reserve, .page-template-page-reserve-php, .page-reserve, .page-template-page-events, .page-template-page-events-php, .page-events, .page-template-page-programs, .page-template-page-programs-php, .page-programs, .page-template-page-single-program, .page-template-page-single-program-php) .header-cta:hover {
        background: transparent;
        color: var(--color-text-dark);
        opacity: 0.85;
    }
}

/* ============================================================
   Events Page
   ============================================================ */

.events-page-main {
    background-color: var(--color-mobile-overlay);
    overflow-x: clip;
}

.events-promo {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-sm);
}

.events-promo-inner {
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.events-promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.events-promo-text {
    margin: 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 500;
    line-height: 1.45;
}

.events-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55em 1.15em;
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.events-promo-cta:hover {
    opacity: 0.92;
}

.events-promo-cta:active {
    transform: scale(0.98);
}

.events-section {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
    background-color: var(--color-white);
}

.events-section-inner {
    margin: 0 auto;
    max-width: var(--max-width);
}

.events-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.events-filter-btn {
    appearance: none;
    margin: 0;
    padding: 0.55em 1.1em;
    border-radius: 999px;
    border: 1px solid rgba(44, 44, 44, 0.18);
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}

.events-filter-btn:hover {
    border-color: rgba(44, 44, 44, 0.35);
}

.events-filter-btn.is-active {
    background: var(--color-hover);
    border-color: var(--color-hover);
    color: var(--color-white);
}

.events-filter-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.events-count {
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.events-empty {
    margin: 0 0 var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    text-align: center;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.events-card {
    display: grid;
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition:
        border-color var(--transition-fast),
}

.events-card:hover,
.events-card:focus-within {
    border-color: var(--color-hover);
}

.events-card[hidden] {
    display: none !important;
}

.events-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15em;
    padding: var(--spacing-sm);
    text-align: center;
    background: var(--color-hover);
}

.events-card-month {
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
}

.events-card-day {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.events-card-weekday {
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--color-white);
}

.events-card-main {
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: 0;
}

.events-card-tag {
    display: inline-block;
    margin-bottom: var(--spacing-xs);
    padding: 0.25em 0.65em;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(26, 29, 46, 0.08);
    color: var(--color-text-dark);
}

.events-card-title {
    margin: 0 0 0.4em;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: var(--letter-spacing-tight);
}

.events-card-desc {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 400;
    line-height: 1.55;
}

.events-card-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm) var(--spacing-md);
    color: var(--color-light-black);
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
}

.events-card-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    text-transform: uppercase;
}

.events-card-meta i {
    color: var(--color-light-black);
    font-size: 0.95em;
}

.events-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    border-left: 1px solid rgba(0, 0, 0, 0.06);;
}

.events-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.65em 1.1em;
    border-radius: var(--spacing-xs);
    border: 1px solid rgba(44, 44, 44, 0.18);
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.events-card-cta:hover {
    border-color: rgba(44, 44, 44, 0.35);
    background: var(--color-mobile-overlay);
}

@media (max-width: 900px) {
    .events-card {
        grid-template-columns: minmax(72px, 88px) minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .events-card-date {
        grid-row: span 2;
    }

    .events-card-actions {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        justify-content: stretch;
    }

    .events-card-cta {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .events-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .events-count {
        align-self: flex-end;
    }

    .events-promo-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }

    .events-promo-text {
        font-size: var(--font-size-base);
    }
}

/* Events page — Jewish holiday calendar (Hebcal) */
.events-holiday-cal {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
    background-color: var(--color-white);
}

.events-holiday-cal-inner {
    margin: 0 auto;
    max-width: var(--max-width);
}

.events-holiday-cal-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.events-holiday-cal-label {
    margin: 0 0 var(--spacing-xs);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0a000;
}

.events-holiday-cal-title {
    margin: 0 0 var(--spacing-xs);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.events-holiday-cal-subtitle {
    margin: 0;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 400;
    line-height: 1.45;
}

.events-holiday-cal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.events-holiday-cal-card {
    margin: 0;
    min-width: 0;
}

.events-holiday-cal-card-surface {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    border-radius: var(--spacing-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    text-decoration: none;
    color: inherit;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

a.events-holiday-cal-card-surface:hover {
    border-color: var(--color-hover);
}

a.events-holiday-cal-card-surface:active {
    transform: scale(0.99);
}

.events-holiday-cal-card-surface:focus-visible {
    outline: 2px solid var(--color-hover);
    outline-offset: 2px;
}

.events-holiday-cal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--spacing-sm);
    border-radius: 50%;
    background: var(--color-background-grey);
    color: var(--color-text-dark);
    font-size: 1.35rem;
}

.events-holiday-cal-name {
    margin: 0 0 0.35em;
    font-family: var(--font-body);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.events-holiday-cal-gregorian {
    margin: 0 0 0.35em;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-light-black);
    line-height: 1.35;
}

.events-holiday-cal-hebrew {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--color-light-black);
    line-height: 1.35;
}

.events-holiday-cal-source {
    margin: var(--spacing-lg) 0 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    color: var(--color-light-black);
    line-height: 1.5;
}

.events-holiday-cal-source-link {
    color: var(--color-hover);
    font-weight: 600;
    text-decoration: none;
}

.events-holiday-cal-source-link:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .events-holiday-cal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .events-holiday-cal-grid {
        grid-template-columns: 1fr;
    }
}

/* About page entry (below hero) */
.about-entry-section {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.about-entry-inner {
    margin: 0 auto;
    max-width: var(--max-width);
}

.about-entry-heading {
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(46px, 5vw, 62px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.about-entry-text {
    margin: 0;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.28vw, 19px);
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .location-hero-bar-inner {
        justify-content: flex-start;
        gap: var(--spacing-sm) var(--spacing-sm);
    }

    .about-entry-heading {
        font-size: clamp(22px, 5.5vw, 32px);
    }
}

/* Get Involved page entry (same shell as About entry + Chabad faculties) */
.get-involved-entry-eyebrow {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.get-involved-entry-lede {
    margin-bottom: var(--spacing-xl);
}

.get-involved-entry-faculties {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
}

.get-involved-entry-faculty {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 3vw, 1.75rem);
}

.get-involved-entry-letter {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 12vw, 72px);
    height: clamp(52px, 12vw, 72px);
    border-radius: 12px;
    background-color: var(--color-background-grey);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 500;
    line-height: 1;
}

.get-involved-entry-faculty-body {
    min-width: 0;
}

.get-involved-entry-faculty-name {
    margin: 0 0 0.35rem;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.get-involved-entry-faculty-hebrew {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.45;
}

.get-involved-entry-faculty-text {
    margin: 0;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.28vw, 19px);
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .get-involved-entry-faculties {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .get-involved-entry-faculty {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .get-involved-entry-letter {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* Get Involved — Words of the Rebbe */
.get-involved-quotes-section {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-2xl);
}

.get-involved-quotes-inner {
    margin: 0 auto;
    max-width: 950px;
}

.get-involved-quotes-eyebrow {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.get-involved-quotes-title {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.12;
}

.get-involved-quotes-intro {
    margin: 0 0 var(--spacing-xl);
    max-width: min(62ch, 100%);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.28vw, 18px);
    font-weight: 400;
    line-height: 1.55;
}

.get-involved-quotes-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: 0 0 var(--spacing-xl);
}

.get-involved-quote {
    margin: 0;
    padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.15rem, 2.5vw, 1.75rem);
    background-color: var(--color-background-grey);
    border-radius: 8px;
}

.get-involved-quote-text {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
}

.get-involved-quote-footer {
    margin: 0;
}

.get-involved-quote-cite {
    display: block;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.45;
}

.get-involved-quotes-closing {
    margin: 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.28vw, 19px);
    font-weight: 400;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .get-involved-quotes-title {
        font-size: clamp(22px, 5.5vw, 32px);
    }
}

/* ============================================================
   Contact Page
   ============================================================ */

.contact-page-main,
.reserve-page-main {
    background-color: var(--color-white);
    overflow-x: clip;
}

/* Contact hero (full viewport under transparent header — same idea as .hero-section) */
.contact-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-background-grey);
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--color-background-grey);
    background-image: var(--contact-hero-bg);
    background-size: cover;
    background-position: center;
}

.contact-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 48%,
        transparent 76%
    );
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    display: flex;
    padding: var(--spacing-4xl) var(--spacing-sm) var(--spacing-md);
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-xl);
    min-height: 0;
    box-sizing: border-box;
}

.contact-hero-title {
    margin: 0;
    max-width: 28ch;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(64px, 6vw, 128px);
    font-weight: 600;
    line-height: var(--line-height-small);
    letter-spacing: var(--letter-spacing-tight);
}

.contact-hero-card-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.contact-hero-card {
    position: relative;
    width: 100%;
    max-width: min(100%, 800px);
    padding: var(--spacing-sm);
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-white);
}

.contact-hero-card-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-md);
}

.contact-hero-card-main--with-aside {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 12rem);
    align-items: start;
    gap: clamp(16px, 3vw, 28px);
}

.contact-hero-card-org {
    margin: 0 0 var(--spacing-lg);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    line-height: var(--line-height-small);
}

.contact-hero-card-address {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15em;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-small);
}

.contact-hero-card-aside {
    padding-left: var(--spacing-sm);
    border-left: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    min-width: 0;
}

.contact-hero-card-map-label {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.contact-hero-card-map {
    width: 100%;
    max-width: 140px;
}

.contact-hero-card-map img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.contact-hero-card-footer {
    position: relative;
    z-index: 1;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border-light);
}

.contact-hero-card-footer-text {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-xl);
    font-weight: 500;
    line-height: var(--line-height-base);
}

.contact-hero-card-footer-sep {
    margin: 0 0.35em;
}

.contact-hero-card-email,
.contact-hero-card-phone {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-hero-card-email:hover,
.contact-hero-card-phone:hover {
    color: var(--color-text-dark);
}

/* Contact actions (inquiries block + optional CF7 form) */
.contact-actions {
    padding: var(--spacing-4xl) var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-white);
    transition: background-color 0.65s ease;
}

.contact-actions.contact-actions--in-view {
    background-color: var(--color-background-black);
}

.contact-actions.contact-actions--in-view .contact-actions-eyebrow,
.contact-actions.contact-actions--in-view .contact-actions-headline,
.contact-actions.contact-actions--in-view .contact-actions-side-label,
.contact-actions.contact-actions--in-view .contact-actions-detail-heading,
.contact-actions.contact-actions--in-view .contact-actions-list li {
    color: var(--color-white);
}

.contact-actions.contact-actions--in-view .contact-actions-intro {
    color: rgba(255, 255, 255, 0.82);
}

.contact-actions.contact-actions--in-view .contact-actions-link {
    color: rgba(255, 255, 255, 0.95);
}

.contact-actions.contact-actions--in-view .contact-actions-link:hover {
    color: var(--color-hover);
}

.contact-actions.contact-actions--in-view .contact-actions-form-title,
.contact-actions.contact-actions--in-view .contact-actions-form .wpcf7,
.contact-actions.contact-actions--in-view .contact-actions-form .wpcf7-form label {
    color: var(--color-white);
}

.contact-actions.contact-actions--in-view .contact-actions-form .wpcf7-checkbox .wpcf7-list-item label,
.contact-actions.contact-actions--in-view .contact-actions-form .wpcf7-radio .wpcf7-list-item label {
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .contact-actions.contact-actions--in-view .contact-actions-form-aside {
        border-top-color: rgba(255, 255, 255, 0.2);
    }
}

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

.contact-actions-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-actions-inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-actions-main {
    min-width: 0;
}

.contact-actions-form-aside {
    min-width: 0;
}

.contact-actions-form-title {
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: var(--line-height-base);
}

/* Contact Form 7 — scoped to contact actions */
.contact-actions-form .wpcf7 {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.contact-actions-form .wpcf7-form > p {
    margin: 0 0 var(--spacing-sm);
}

.contact-actions-form .wpcf7-form label {
    display: block;
    margin-bottom: 0.35em;
    font-weight: 600;
    color: var(--color-text-dark);
}

/* Text-like controls only — CF7 also puts wpcf7-checkbox / wpcf7-radio on inputs & group spans */
.contact-actions-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio) {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.25em;
    padding: 0.65em 0.85em;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-actions-form textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-actions-form .wpcf7-form-control:focus:not(.wpcf7-checkbox):not(.wpcf7-radio) {
    outline: none;
    border-color: var(--color-hover);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-hover) 22%, transparent);
}

/* Checkbox / radio groups — button cards */
.contact-actions-form span.wpcf7-form-control.wpcf7-checkbox,
.contact-actions-form span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5em;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-actions-form .wpcf7-checkbox .wpcf7-list-item,
.contact-actions-form .wpcf7-radio .wpcf7-list-item {
    margin: 0;
    flex: 1 1 9.5rem;
    min-width: 0;
}

.contact-actions-form .wpcf7-checkbox .wpcf7-list-item label,
.contact-actions-form .wpcf7-radio .wpcf7-list-item label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    min-height: 5.25rem;
    margin: 0;
    padding: 1rem 0.75rem;
    border: 2px solid var(--color-border-light);
    border-radius: 12px;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: var(--font-size-small);
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.contact-actions-form .wpcf7-checkbox .wpcf7-list-item label:hover,
.contact-actions-form .wpcf7-radio .wpcf7-list-item label:hover {
    border-color: color-mix(in srgb, var(--color-hover) 50%, var(--color-border-light));
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.contact-actions-form .wpcf7-checkbox .wpcf7-list-item label:has(input:checked),
.contact-actions-form .wpcf7-radio .wpcf7-list-item label:has(input:checked) {
    border-color: var(--color-hover);
    background-color: color-mix(in srgb, var(--color-hover) 12%, var(--color-white));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-hover) 35%, transparent);
}

.contact-actions-form .wpcf7-checkbox .wpcf7-list-item label:has(input:focus-visible),
.contact-actions-form .wpcf7-radio .wpcf7-list-item label:has(input:focus-visible) {
    outline: 2px solid var(--color-hover);
    outline-offset: 3px;
}

.contact-actions-form .wpcf7-checkbox input[type="checkbox"],
.contact-actions-form .wpcf7-radio input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
}

.contact-actions-form .wpcf7-list-item-label {
    display: block;
    max-width: 100%;
}

.contact-actions-form input.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 8rem;
    margin-top: var(--spacing-xs);
    padding: 0.65em 1.35em;
    border: none;
    border-radius: 8px;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-fast), opacity var(--transition-fast);
}

.contact-actions-form input.wpcf7-submit:hover {
    opacity: 0.92;
}

.contact-actions-form .wpcf7-spinner {
    margin-left: 0.5em;
}

.contact-actions-form .wpcf7-not-valid-tip {
    margin-top: 0.35em;
    font-size: var(--font-size-small);
    color: #b42318;
}

.contact-actions-form .wpcf7-response-output {
    margin: var(--spacing-sm) 0 0;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    font-size: var(--font-size-small);
}

.contact-actions-form .wpcf7-mail-sent-ok {
    border-color: color-mix(in srgb, var(--color-hover) 50%, var(--color-border-light));
    background-color: color-mix(in srgb, var(--color-hover) 8%, var(--color-white));
}

.contact-actions-hero {
    margin-bottom: var(--spacing-lg);
}

.contact-actions-eyebrow {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: var(--line-height-base);
}

.contact-actions-headline {
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 400;
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.contact-actions-intro {
    margin: 0;
    color: var(--color-light-black);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.65;
}

.contact-actions-grid {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-actions-side-label {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: var(--line-height-base);
}

.contact-actions-detail-heading {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    line-height: var(--line-height-base);
}

.contact-actions-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-actions-list li {
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.contact-actions-list-label {
    margin-right: 0.35em;
    font-weight: 500;
}

.contact-actions-link {
    color: var(--color-text-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.contact-actions-link:hover {
    color: var(--color-hover);
}

@media (max-width: 768px) {
    /* Group title + card at the bottom with a tight gap (avoid space-between gap on short viewports) */
    .contact-hero-inner {
        justify-content: flex-end;
        gap: var(--spacing-md);
    }

    .contact-hero-title {
        font-size: clamp(48px, 6vw, 96px);
        max-width: none;
    }

    .contact-hero-card-wrap {
        justify-content: stretch;
    }

    .contact-hero-card-org {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-sm);
    }

    .contact-hero-card-footer-sep,
    .contact-hero-card-footer-slash {
        display: none;
    }

    .contact-hero-card-footer-text {
        font-size: var(--font-size-large);
        display: flex;
        flex-direction: column;
    }

    .contact-hero-card-address {
        font-size: var(--font-size-base);
    }
    /* Keep address + aside on one row; narrow the map column on small screens */
    .contact-hero-card-main--with-aside {
        grid-template-columns: minmax(0, 1fr) minmax(4.75rem, 6.5rem);
        gap: var(--spacing-sm);
    }

    .contact-hero-card-aside {
        padding-left: var(--spacing-sm);
        align-items: center;
        padding-bottom: var(--spacing-sm);

    }

    .contact-hero-card-map-label {
        font-size: var(--font-size-tiny);
        text-align: center;
    }

    .contact-hero-card-map {
        max-width: 88px;
    }

    .contact-actions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-actions-inner--split {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-actions-form-aside {
        padding-top: var(--spacing-lg);
        border-top: 1px solid var(--color-border-light);
    }
}

/* Contact page: header uses default (transparent, light text) like the homepage — no overrides here */

/* ============================================================ */

/* ============================================================
   About Page History Section
   ============================================================ */

.about-history-section {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background-color: #f2f2f4;
}

.about-history-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.about-history-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
    align-items: flex-start;
}

.about-history-content {
    color: var(--color-text-dark);
    max-width: 62ch;
}

.about-history-heading {
    margin: 0 0 var(--spacing-sm);
    color: #2f3338;
    font-family: var(--font-body);
    font-size: clamp(30px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.about-history-text {
    margin: 0;
    color: #626262;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.28vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    white-space: pre-line;
}

.about-history-media {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    min-height: clamp(260px, 30vw, 430px);
}

.about-history-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 992px) {
    .about-history-section {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .about-history-row {
        grid-template-columns: 1fr;
    }

    .about-history-row-reverse .about-history-media {
        order: 1;
    }

    .about-history-row-reverse .about-history-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .about-history-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .about-history-inner {
        gap: var(--spacing-lg);
    }

    .about-history-heading {
        font-size: clamp(22px, 6.5vw, 32px);
    }

    .about-history-text {
        font-size: clamp(15px, 4.2vw, 18px);
        line-height: 1.55;
    }

    .about-history-row:nth-of-type(2) .about-history-media {
        display: none;
    }
}

/* ============================================================ */

/* ============================================================
   About Page Global Section
   ============================================================ */

.about-global-section {
    background: #030405;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0 0;
}

.about-global-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.about-global-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-sm) var(--spacing-sm) 0;
}

.about-global-eyebrow-mark {
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
}

.about-global-heading {
    margin: var(--spacing-sm) auto 0;
    max-width: 22ch;
    font-family: var(--font-body);
    font-size: clamp(32px, 5.2vw, 62px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.about-global-description {
    margin: var(--spacing-sm) auto 0;
    max-width: 72ch;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.about-global-globe-wrap {
    position: relative;
    width: 100%;
    height: clamp(320px, 52vw, 700px);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.about-global-globe-canvas {
    width: min(990px, 100%);
    height: min(990px, 100vw);
    max-height: 100%;
    cursor: move;
    display: block;
    margin: 0 auto;
}

.about-global-globe-canvas canvas {
    display: block;
}

@media (max-width: 768px) {
    .about-global-section {
        padding: var(--spacing-lg) 0 0;
    }

    .about-global-heading {
        max-width: 16ch;
        margin-bottom: var(--spacing-md);
    }

    .about-global-description {
        max-width: 100%;
        font-size: 16px;
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }
}

/* ============================================================ */

/* ============================================================
   About Page Timeline Section
   ============================================================ */

.about-timeline-section {
    background-color: #05080c;
    color: var(--color-white);
    padding: 0;
}

.about-timeline-stage {
    width: 100%;
    background-color: #05080c;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    isolation: isolate;
}

/* Blend timeline into the global (globe) section below — same target as .about-global-section bg */
.about-timeline-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(72px, 14vw, 160px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(3, 4, 5, 0) 0%,
        rgba(3, 4, 5, 0.45) 42%,
        #030405 100%
    );
}

.about-timeline-inner {
    position: relative;
    z-index: 2;
    max-width: min(980px, calc(100% - (var(--spacing-sm) * 2)));
    margin: 0 auto;
    padding: clamp(72px, 9vw, 110px) 0 clamp(84px, 12vw, 160px);
}

.about-timeline-intro {
    text-align: center;
    margin: 0 auto;
    max-width: 640px;
}

.about-timeline-eyebrow {
    margin: 0;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
}

.about-timeline-heading {
    margin: 16px auto 0;
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--color-white);
    max-width: 16ch;
}

.about-timeline-items {
    margin: var(--spacing-xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 760px;
}

.about-timeline-item {
    text-align: center;
    margin: 0 auto;
    max-width: 680px;
}

.about-timeline-year {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.15;
}

.about-timeline-text {
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-body);
    font-size: clamp(18px, 1.55vw, 24px);
    font-weight: 400;
    line-height: 1.45;
    max-width: 34ch;
}

@media (max-width: 992px) {
    .about-timeline-inner {
        max-width: min(860px, calc(100% - (var(--spacing-sm) * 2)));
    }
}

@media (max-width: 768px) {
    .about-timeline-inner {
        max-width: min(600px, calc(100% - (var(--spacing-sm-mobile) * 2)));
        padding: var(--spacing-xl) 0 var(--spacing-2xl);
    }

    .about-timeline-eyebrow {
        font-size: 16px;
        letter-spacing: 0.01em;
    }

    .about-timeline-heading {
        margin-top: 10px;
        font-size: clamp(32px, 9vw, 44px);
        max-width: 12ch;
    }

    .about-timeline-items {
        margin-top: var(--spacing-2xl);
        gap: var(--spacing-2xl);
    }

    .about-timeline-year {
        font-size: clamp(22px, 7vw, 30px);
    }

    .about-timeline-text {
        margin-top: 12px;
        font-size: clamp(16px, 4.8vw, 20px);
        line-height: 1.5;
    }
}

/* ============================================================ */

/* ============================================================
   About Offer Section
   ============================================================ */

.about-offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) minmax(0, 1fr);
    gap: 0;
    border: 1px solid #dcdcdc;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-offer-column {
    padding: 0;
    min-width: 0;
}

.about-offer-column .about-feature {
    border-left: none;
    gap: 0;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
}

.about-offer-column .about-feature {
    border-top: 1px solid #dcdcdc;
    padding: var(--spacing-md) var(--spacing-sm);
}

.about-offer-column .about-feature:first-child {
    border-top: none;
}

.about-offer-column .about-feature-title {
    font-size: clamp(20px, 1.75vw, 30px);
    overflow-wrap: anywhere;
}

.about-offer-column .about-feature-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
}

.about-offer-media {
    position: relative;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f4f4f6;
}

.about-offer-section .about-inner {
    box-sizing: border-box;
    padding: 0 var(--spacing-sm);
}

.about-offer-section .about-right {
    min-width: 0;
}

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

@media (max-width: 992px) {
    .about-offer-layout {
        grid-template-columns: 1fr;
    }

    .about-offer-media {
        border-left: none;
        border-right: none;
        border-top: 1px solid #dcdcdc;
        border-bottom: 1px solid #dcdcdc;
        min-height: 180px;
    }
}

/* ============================================================ */

/* ============================================================
   Programs Section
   ============================================================ */

.programs-section {
    padding: var(--spacing-2xl) var(--spacing-sm);
    --programs-sticky-offset: clamp(72px, 10vw, 108px);
}

.programs-inner {
    max-width: 100%;
    margin: 0 auto;
}

.programs-heading {
    position: sticky;
    top: 0;
    z-index: 4;
    background-color: var(--color-white);
    padding: var(--spacing-md) 0 var(--spacing-sm);
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
}

.programs-list {
    position: relative;
}

.programs-row {
    position: sticky;
    top: var(--programs-sticky-offset);
    /* min-height: clamp(400px, 72vh, 620px); */
    display: grid;
    grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(260px, 1.5fr);
    gap: var(--spacing-sm);
    align-items: start;
    background-color: var(--color-white);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.programs-number {
    color: var(--color-light-black);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.programs-title {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(22px, 2vw, 34px);
    font-weight: 500;
    line-height: 1.15;
}

.programs-text {
    margin: 0;
    color: var(--color-light-black);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    max-width: 52ch;
}

.programs-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.programs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 99px;
    background: var(--color-white);
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 700;
    transition: var(--transition-fast);
}

.programs-cta:hover {
    background: var(--color-text-dark);
    color: var(--color-white);
}

.programs-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

.programs-media {
    border-radius: 4px;
    overflow: hidden;
}

.programs-media img {
    display: block;
    width: 100%;
    min-height: 250px;
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 1078px) {
    .programs-inner {
        padding: 0 var(--spacing-sm);
    }

    .programs-row {
        grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.3fr);
        grid-template-areas:
            "number title title"
            ". text media";
        min-height: 480px;
    }

    .programs-number {
        grid-area: number;
    }

    .programs-title {
        grid-area: title;
    }

    .programs-copy {
        grid-area: text;
    }

    .programs-media {
        grid-area: media;
    }
}

@media (max-width: 768px) {
    .programs-section {
        padding: 0 0 var(--spacing-lg);
        --programs-sticky-offset: 56px;
    }

    .programs-heading {
        margin-bottom: var(--spacing-xs);
        padding: var(--spacing-md) 0;
    }

    .programs-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "number"
            "title"
            "text"
            "media";
        gap: 12px;
        min-height: auto;
        padding: var(--spacing-md) 0;
    }

    .programs-copy {
        gap: var(--spacing-xs);
    }

    .programs-cta {
        padding: 9px 14px;
        font-size: var(--font-size-small);
    }

    .programs-media,
    .programs-media img {
        min-height: 180px;
    }
}

/* ============================================================
   Gallery Section
   ============================================================ */

.gallery-section {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    background: var(--color-white);
}

.gallery-header {
    margin-bottom: var(--spacing-sm);
}

.gallery-heading {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-xs);
    width: 100%;
}

.gallery-item {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--transition-fast);
    border-radius: 4px;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.gallery-lightbox.is-open {
    display: block;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    width: min(1200px, calc(100% - 40px));
    height: min(86vh, 900px);
    margin: 7vh auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--spacing-sm);
}

.gallery-lightbox-media {
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.2);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    font-size: 30px;
    line-height: 1;
    z-index: 5;
}

.gallery-lightbox-nav {
    font-size: 24px;
    line-height: 1;
}

.gallery-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.56);
    color: var(--color-white);
    font-size: var(--font-size-small);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gallery-lightbox-dialog {
        width: calc(100% - 20px);
        height: min(86vh, 760px);
        gap: 8px;
        display: block;
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .gallery-lightbox-media {
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    .gallery-lightbox-media img {
        width: 100%;
        height: 100%;
        min-height: 300px;
        max-height: none;
        object-fit: cover;
    }

    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .gallery-lightbox-prev {
        left: 8px;
    }

    .gallery-lightbox-next {
        right: 8px;
    }

    .gallery-lightbox-nav {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(0, 0, 0, 0.95);
    }

    .gallery-lightbox-close {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(0, 0, 0, 0.95);
    }

    .gallery-lightbox-counter {
        bottom: 10px;
    }
}

/* ============================================================
   Donation modal (header CTA)
   ============================================================ */

body.donate-modal-open {
    overflow: hidden;
}

.donate-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(28px, var(--spacing-sm));
    box-sizing: border-box;
}

.donate-modal.is-open {
    display: flex;
}

.donate-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(10, 22, 48, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: default;
}

.donate-modal-hero-wrap {
    position: relative;
    width: 100%;
}

.donate-modal-hero-wrap--empty {
    min-height: 52px;
}

.donate-modal-frame {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    flex-shrink: 0;
    outline: none;
}

.donate-modal-close-floating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 1);
    border-radius: 999px 0px 0px 999px;
    background: rgba(0, 0, 0, 1);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    font-size: 30px;
    line-height: 1;
}

.donate-modal-close-floating:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(0, 0, 0, 1);
}

.donate-modal-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(92vh, 880px);
    overflow: auto;
    outline: none;
}

.donate-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--spacing-sm);
    align-items: stretch;
}

.donate-modal-card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.donate-modal-card--form {
    padding: var(--spacing-md);
    font-family: var(--font-body);
}

.donate-modal-hero {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-background-grey);
}

.donate-modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.donate-modal-story-inner {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}

.donate-modal-brand-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.donate-modal-body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    line-height: 1.5;
    color: var(--color-text-dark);
}

.donate-modal-emphasis {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-text-dark);
}

.donate-modal-secure {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.donate-modal-secure-icon {
    display: inline-flex;
    color: #16a34a;
    font-size: 22px;
}

.donate-modal-secure-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-light-black);
}

.donate-modal-frequency {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.donate-modal-seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    background: var(--color-white);
    font: inherit;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.donate-modal-seg.is-active {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.donate-modal-seg-heart {
    font-size: 12px;
    color: #ec4899;
}

.donate-modal-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.donate-modal-amount-btn {
    padding: 12px 8px;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    background: var(--color-white);
    font: inherit;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.donate-modal-amount-btn:hover {
    border-color: #94a3b8;
}

.donate-modal-amount-btn.is-active {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
    color: #1d4ed8;
}

.donate-modal-custom-row {
    margin-bottom: var(--spacing-sm);
}

.donate-modal-custom-label {
    display: block;
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--color-light-black);
    margin-bottom: 6px;
}

.donate-modal-custom-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.donate-modal-custom-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    font: inherit;
    font-family: var(--font-body);
    font-size: var(--font-size-large);
}

.donate-modal-currency-select {
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    font: inherit;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    background: var(--color-white);
    cursor: pointer;
    max-width: 88px;
}

.donate-modal-submit {
    width: 100%;
    margin-top: 4px;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: var(--color-white);
    font: inherit;
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.donate-modal-submit:hover {
    background: #1d4ed8;
}

.donate-modal-footnote {
    margin: var(--spacing-sm) 0 0;
    font-size: var(--font-size-small);
    color: var(--color-light-black);
    line-height: 1.45;
}

@media (max-width: 900px) {
    .donate-modal {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .donate-modal-frame {
        width: 100%;
        max-width: 100%;
    }

    .donate-modal-shell {
        width: 100%;
        max-width: 100%;
        max-height: min(98vh, 900px);
        margin-top: 0;
        border-radius: 12px;
        background: var(--color-white);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .donate-modal-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: none;
    }

    .donate-modal-card {
        border-radius: 0;
        box-shadow: none;
    }

    .donate-modal-card--story {
        order: 1;
    }

    .donate-modal-card--form {
        order: 2;
        border-top: 1px solid #e5e7eb;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .donate-modal-story-inner {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .donate-modal-brand {
        text-align: center;
    }

    .donate-modal-brand-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .donate-modal-hero {
        aspect-ratio: 4 / 3;
    }

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

/* ============================================================
   Holidays Section
   ============================================================ */

.holidays-section {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    background: var(--color-white);
}

.holidays-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: stretch;
}

.holidays-inner {
    background: #eceef0;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    min-height: 500px;
    justify-self: center;
}

.holidays-content {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
}

.holidays-label {
    margin: 0 0 var(--spacing-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0a000;
}

.holidays-title {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(28px, 4.4vw, 42px);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.08;
}

.holidays-city {
    margin: 4px 0 var(--spacing-sm);
    color: var(--color-light-black);
    font-size: clamp(20px, 3vw, 34px);
    line-height: 1.2;
}

.holidays-time-block {
    margin-top: var(--spacing-sm);
}

.holidays-block-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-light-black);
}

.holidays-block-line {
    margin: 0;
    color: var(--color-text-dark);
}

.holidays-time {
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    color: #2067ab;
}

.holidays-date {
    font-size: clamp(16px, 2.2vw, 24px);
    line-height: 1.2;
    color: var(--color-text-dark);
}

.holidays-meta-block {
    margin-top: var(--spacing-md);
}

.holidays-meta-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

.holidays-meta-value {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.05;
    color: #2067ab;
}

.holidays-meta-value-dark {
    color: var(--color-text-dark);
}

.holidays-meta-date {
    margin: 8px 0 0;
    color: var(--color-text-dark);
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.2;
}

.holidays-facebook-card {
    border-radius: 6px;
    overflow: hidden;
    background: #eceef0;
    min-height: var(--holidays-fb-height, 560px);
    width: 100%;
    max-width: 500px;
    justify-self: center;
}

.holidays-facebook-embed {
    display: block;
    width: 100%;
    height: var(--holidays-fb-height, 560px);
}

.holidays-facebook-card.has-fallback .holidays-facebook-embed {
    display: none;
}

.holidays-facebook-fallback {
    margin: 0;
    height: 100%;
    min-height: var(--holidays-fb-height, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-black);
    font-size: var(--font-size-base);
    text-align: center;
    padding: var(--spacing-md);
}

.holidays-facebook-fallback.is-hidden {
    display: none;
}

.holidays-facebook-fallback a {
    color: var(--color-primary-blue);
    font-weight: 600;
}

@media (max-width: 768px) {

    .holidays-section {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    }

    .holidays-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .holidays-content {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    }

    .holidays-facebook-card,
    .holidays-facebook-fallback {
        min-height: min(var(--holidays-fb-height, 560px), 500px);
    }

    .holidays-facebook-embed {
        height: min(var(--holidays-fb-height, 560px), 500px);
    }
}

/* ============================================================
   Featured Videos Section
   ============================================================ */

.featured-videos-section {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    background: var(--color-white);
}

.featured-videos-inner {
    width: 100%;
}

.featured-videos-header {
    margin-bottom: var(--spacing-sm);
}

.featured-videos-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-black);
}

.featured-videos-title {
    margin: 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.08;
}

.featured-videos-player {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 1.3;
}

.featured-videos-poster,
.featured-videos-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-videos-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    padding: var(--spacing-md);
    cursor: pointer;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    position: relative;
}

.featured-videos-poster:hover {
    filter: brightness(1.1);
}

.featured-videos-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 55%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.featured-videos-play-icon,
.featured-videos-play-text {
    position: relative;
    z-index: 1;
}

.featured-videos-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-dark);
    font-size: 30px;
    padding-left: 0;
}

.featured-videos-play-text {
    font-size: var(--font-size-large);
    font-weight: 700;
}

.featured-videos-embed {
    display: none;
    width: 100%;
    height: 100%;
}

.featured-videos-player.is-playing .featured-videos-poster {
    display: none;
}

.featured-videos-player.is-playing .featured-videos-embed {
    display: block;
}

@media (max-width: 768px) {
    .featured-videos-player {
        aspect-ratio: 1 / 1;
    }
    .featured-videos-section {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    }

    .featured-videos-play-icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
}

/* ============================================================
   Accessibility section (facilities-style header + graph)
   ============================================================ */

.facilities-header-container {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--color-white);
    padding: var(--spacing-2xl) var(--spacing-sm);
}

.facilities-header-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-md);
}

@media (min-width: 769px) {
    .facilities-header-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
    }
}

.facilities-header-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
}


.facilities-title {
    font-family: var(--font-body);
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
    line-height: var(--line-height-tight);
}

.facilities-header-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.facilities-description {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: var(--line-height-base);
    margin: 0;
    max-width: 90%;
}

.accessibility-section {
    width: 100%;
    background-color: var(--color-white);
}

.accessibility-graph-container {
    width: 100%;
    padding: 0 var(--spacing-sm) var(--spacing-2xl);
}

.accessibility-graph {
    position: relative;
    width: 100%;
    max-width: 1300px;
}

.accessibility-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: auto;
    z-index: 1;
}

.accessibility-items {
    list-style: none;
    margin: 0;
    padding: var(--spacing-md) 0;
    width: 45%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.accessibility-item {
    position: relative;
}

.accessibility-item-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--font-size-2xl);
    font-weight: 400;
    color: var(--color-light-black);
    line-height: var(--line-height-tight);
    transition: color var(--transition-base);
}

.accessibility-item-label--no-desktop-br {
    display: none;
}

@media (min-width: 769px) {
    .accessibility-section[data-desktop-label-br="0"] .accessibility-item-label--with-br {
        display: none;
    }

    .accessibility-section[data-desktop-label-br="0"] .accessibility-item-label--no-desktop-br {
        display: inline;
    }
}

.accessibility-item:first-child .accessibility-item-button {
    color: var(--color-text-dark);
}

.accessibility-item-button:hover,
.accessibility-item-button:focus-visible {
    color: var(--color-text-dark);
    outline: none;
}

.accessibility-symbol {
    position: absolute;
    right: 140px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    z-index: 2;
}

.accessibility-symbol-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.accessibility-symbol-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 5px dashed var(--color-border-dark);
    opacity: 0.9;
}

.accessibility-tooltip {
    position: absolute;
    z-index: 5;
    background-color: var(--color-footer);
    color: var(--color-white);
    border-radius: var(--spacing-xs);
    padding: 10px 12px;
    min-width: 118px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.accessibility-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.accessibility-tooltip-inner {
    display: grid;
    gap: var(--spacing-xs);
}

.accessibility-tooltip-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-body);
    font-size: var(--font-size-large);
    font-weight: 400;
}

.accessibility-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.accessibility-tooltip-icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .facilities-header-container {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
        padding-inline-start: max(var(--spacing-sm), env(safe-area-inset-left, 0px));
        padding-inline-end: max(var(--spacing-sm), env(safe-area-inset-right, 0px));
    }

    .facilities-header-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .facilities-title {
        font-size: var(--font-size-2xl);
    }

    .accessibility-graph-container {
        padding: 0 var(--spacing-sm) var(--spacing-xl);
    }

    .accessibility-graph {
        min-height: fit-content;
    }

    .accessibility-items {
        width: 60%;
        max-width: 280px;
        padding: var(--spacing-md) 0;
        gap: 60px;
    }

    .accessibility-item-button {
        font-size: var(--font-size-xl);
    }

    .accessibility-lines {
        display: block;
    }

    .accessibility-symbol {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        margin: 0;
    }
}

/* ============================================================
   Visiting hours (Location)
   ============================================================ */

.visiting-hours-section {
    width: 100%;
    background-color: var(--color-white);
}

.visiting-hours-header.facilities-header-container {
    padding-block-end: var(--spacing-md);
}

.facilities-header-right .visiting-hours-description-image-wrap {
    margin-top: var(--spacing-md);
}

.visiting-hours-description-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.visiting-hours-section .facilities-header-left .visiting-hours-body {
    width: 100%;
    padding: 0;
    margin-top: var(--spacing-md);
}

.visiting-hours-inner {
    width: 100%;
}

.visiting-hours-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: var(--line-height-base);
}

.visiting-hours-table caption {
    padding: 0;
}

.visiting-hours-table th,
.visiting-hours-table td {
    padding: var(--spacing-sm) 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border-light);
}

.visiting-hours-table th {
    font-weight: 400;
    color: var(--color-light-black);
    width: 42%;
    padding-right: var(--spacing-md);
    font-size: var(--font-size-xl);
}

.visiting-hours-table td {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-light-black);
    line-height: var(--line-height-base);
}

.visiting-hours-table tr:last-child th,
.visiting-hours-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 768px) {
    .facilities-header-right .visiting-hours-description-image-wrap {
       display: none;
    }
    .visiting-hours-header.facilities-header-container {
        padding-block-end: var(--spacing-sm);
        padding-inline-start: max(var(--spacing-sm), env(safe-area-inset-left, 0px));
        padding-inline-end: max(var(--spacing-sm), env(safe-area-inset-right, 0px));
    }

    .visiting-hours-inner {
        max-width: none;
    }

    .visiting-hours-table tbody tr {
        display: block;
        width: 100%;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border-light);
    }

    .visiting-hours-table tbody tr:last-child {
        border-bottom: 0;
    }

    .visiting-hours-table th,
    .visiting-hours-table td {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: 0;
    }

    .visiting-hours-table th {
        padding-bottom: 0.2em;
    }

    .visiting-hours-table tr:last-child th,
    .visiting-hours-table tr:last-child td {
        border-bottom: 0;
    }
}

/* ============================================================
   Nearby section (Location — industries-style carousel)
   ============================================================ */

.nearby-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-white);
}

.nearby-container {
    margin: 0 auto;
    max-width: var(--max-width);
    padding: var(--spacing-xl) var(--spacing-sm);
    position: relative;
    overflow: visible;
}

.nearby-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.nearby-section-heading {
    font-family: var(--font-body);
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
    line-height: var(--line-height-tight);
    flex: 0 1 auto;
    max-width: 100%;
}

.nearby-header .nearby-nav-bottom {
    flex: 0 0 auto;
    margin: 0;
}

.nearby-nav {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nearby-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border-light);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    padding: 0;
    flex-shrink: 0;
}

.nearby-nav-btn:hover:not(:disabled) {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    border-color: var(--color-text-dark);
}

.nearby-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nearby-nav-btn svg {
    width: 24px;
    height: 24px;
}

.nearby-carousel-wrapper {
    position: relative;
    overflow-x: visible;
    overflow-y: visible;
    width: calc(100% + 25%);
    margin-right: -25%;
}

.nearby-carousel-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.nearby-carousel-track.dragging {
    user-select: none;
    -webkit-user-select: none;
}

.nearby-carousel-item {
    flex: 0 0 calc(25% - var(--spacing-lg) * 0.75);
    min-width: 0;
    transition: margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nearby-carousel-item.has-margin-top {
    margin-top: calc(-1 * (var(--spacing-2xl) + var(--spacing-md)));
}

.nearby-carousel-item a,
.nearby-carousel-item button {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.nearby-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-base);
    position: relative;
    height: 100%;
}

.nearby-item-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.3;
    overflow: hidden;
    transition: aspect-ratio 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nearby-carousel-item.has-margin-top .nearby-item-image-wrapper {
    aspect-ratio: 1 / 1.35;
}

.nearby-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.nearby-item-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-background-grey) 0%, var(--color-border-light) 100%);
    border-radius: 12px;
}

.nearby-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    flex: 1;
    margin-top: var(--spacing-md);
}

.nearby-item-subheading {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-light-black);
    margin: 0;
    line-height: var(--line-height-base);
}

.nearby-item-heading {
    font-family: var(--font-body);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    line-height: var(--line-height-tight);
}

@media (max-width: 1200px) {
    .nearby-carousel-wrapper {
        width: calc(100% + 33.333%);
        margin-right: -33.333%;
    }

    .nearby-carousel-item {
        flex: 0 0 calc(33.333% - var(--spacing-lg) * 0.667);
    }
}

@media (max-width: 968px) {
    .visiting-hours-section .facilities-header-left .visiting-hours-body {
        margin-top: 0;
    }
    .nearby-item-content {
        flex: none;
    }

    .nearby-item-image-wrapper {
        aspect-ratio: 1 / 1.7;
    }

    .nearby-section {
        padding: var(--spacing-xl) 0;
    }

    .nearby-carousel-wrapper {
        width: calc(100% + 50%);
        margin-right: -50%;
    }

    .nearby-carousel-item {
        flex: 0 0 calc(50% - var(--spacing-lg) * 0.5);
    }

    .nearby-nav-btn {
        width: 40px;
        height: 40px;
    }

    .nearby-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .nearby-section {
        padding: var(--spacing-lg) 0;
        overflow: hidden;
    }

    .nearby-container {
        padding: 0 var(--spacing-sm);
        overflow: hidden;
        padding-right: 0;
    }

    .nearby-section-heading {
        font-size: var(--font-size-2xl);
        padding-right: var(--spacing-sm);
    }

    .nearby-carousel-wrapper {
        width: 100%;
        margin-right: 0;
        overflow: visible;
    }

    .nearby-carousel-track {
        gap: var(--spacing-md);
    }

    .nearby-carousel-item {
        flex: 0 0 calc(80% - var(--spacing-md) * 0.5);
    }

    .nearby-carousel-item.has-margin-top {
        margin-top: 0;
    }

    .nearby-item-heading {
        font-size: var(--font-size-xl);
    }

    .nearby-item-subheading {
        font-size: var(--font-size-small);
    }

    .nearby-nav-btn {
        width: 36px;
        height: 36px;
    }

    .nearby-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================
   Instagram Section
   ============================================================ */

.instagram-section {
    background: var(--color-white);
}

.instagram-embed-card {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    min-height: var(--instagram-embed-height, 500px);
}

.instagram-embed-frame {
    display: block;
    width: 100%;
    height: var(--instagram-embed-height, 500px);
    border: 0;
}

.instagram-embed-fallback {
    min-height: var(--instagram-embed-height, 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--color-light-black);
    padding: var(--spacing-md);
}

.instagram-embed-fallback p {
    margin: 0;
}

.instagram-embed-fallback a {
    color: var(--color-primary-blue);
    font-weight: 600;
}

/* ============================================================
   Actions Section
   ============================================================ */

.actions-section {
    padding: 0;
    margin: var(--spacing-lg) 0 var(--spacing-lg);
}

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

.actions-card {
    position: relative;
    display: block;
    min-height: 95vh;
    background-color: var(--color-background-black);
    background-size: cover;
    background-position: center;
    border-right: 0;
    text-decoration: none;
    color: var(--color-white);
    transition: filter var(--transition-fast);
    overflow: visible;
}

.actions-card:last-child {
    border-right: 0;
}

.actions-card:hover {
    filter: brightness(1.06);
}

.actions-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.66) 48%,
        rgba(0, 0, 0, 0.52) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.actions-card-inner {
    position: sticky;
    top: 132px;
    z-index: 2;
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 42ch;
}

/* Stagger sticky start per column for sequential follow effect */
.actions-card:nth-child(2) .actions-card-inner {
    top: 92px;
}

.actions-card:nth-child(3) .actions-card-inner {
    top: 52px;
}

.actions-card:nth-child(4) .actions-card-inner {
    top: 12px;
}

.actions-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--font-size-3xl);
    height: var(--font-size-3xl);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-size: var(--font-size-2xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.actions-card-title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xs);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(26px, 2vw, 32px);
    color: var(--color-white);
    letter-spacing: var(--letter-spacing-tight);
    min-width: 0;
    overflow-wrap: anywhere;
}

.actions-card-title-arrow {
    opacity: 0;
    transform: translateX(-6px) translateY(6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    font-size: var(--font-size-2xl);
    line-height: 1;
}

.actions-card:hover .actions-card-title-arrow,
.actions-card:focus-visible .actions-card-title-arrow {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.actions-card-text {
    margin: var(--spacing-xs) 0 0;
    font-size: clamp(16px, 1.1vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.actions-card-hover-text {
    display: inline-block;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    font-size: var(--font-size-base);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateX(-6px) translateY(6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), max-height var(--transition-fast), margin-top var(--transition-fast);
}

@media (min-width: 769px) {
    .actions-card:hover .actions-card-hover-text,
    .actions-card:focus-visible .actions-card-hover-text {
        opacity: 1;
        transform: translateX(0) translateY(0);
        max-height: 32px;
        margin-top: var(--spacing-md);
    }
}

.actions-card-button {
    display: none;
}

.actions-card-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1078px) {
    .actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .actions-card {
        min-height: 75vh;
    }

    .actions-card:nth-child(2) .actions-card-inner {
        top: 96px;
    }

    .actions-card:nth-child(3) .actions-card-inner,
    .actions-card:nth-child(4) .actions-card-inner {
        top: 44px;
    }
}

@media (max-width: 768px) {
    .actions-section {
        margin: var(--spacing-lg) 0 var(--spacing-lg);
    }
    .actions-card-number {
        width: var(--font-size-2xl);
        height: var(--font-size-2xl);
        font-size: var(--font-size-xl);
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .actions-card {
        min-height: 62vh;
        border-right: 0;
        border-bottom: 0;
    }

    .actions-card:last-child {
        border-bottom: 0;
    }

    .actions-card-inner {
        top: 76px;
    }

    .actions-card:nth-child(2) .actions-card-inner,
    .actions-card:nth-child(3) .actions-card-inner,
    .actions-card:nth-child(4) .actions-card-inner {
        top: 76px;
    }

    .actions-card-hover-text {
        display: none;
    }

    .actions-card-button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin-top: var(--spacing-sm);
        margin-left: 0;
        margin-right: auto;
        padding: 10px 18px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 999px;
        font-size: var(--font-size-small);
        font-weight: 600;
        line-height: 1;
        color: var(--color-white);
        background-color: rgba(255, 255, 255, 0.08);
        width: fit-content;
    }

    .actions-card-title-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 0 12px;
    }

    .footer-cta-title {
        font-size: clamp(1.5rem, 10vw, 2.1rem);
        max-width: calc(100% - 58px);
    }

    .footer-cta-arrow {
        width: 46px;
        height: 46px;
    }

    .footer-cta-arrow svg {
        width: 32px;
        height: 32px;
    }

    .footer-main {
        padding: var(--spacing-lg) 0;
    }

    .footer-tagline {
        line-height: 1.3;
    }
}

