/* Larger navigation and compact hero layouts, November 2026. */
.navbar {
    max-width: 1440px;
    gap: 22px;
    min-height: 112px;
    padding-block: 14px;
}

.brand {
    flex: 0 0 235px;
}

.brand img {
    width: 235px;
}

.main-menu {
    gap: 20px;
}

.main-menu > a, .nav-group > summary {
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    padding-block: 14px;
    white-space: nowrap;
}

.nav-group {
    position: relative;
}

.nav-group > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    min-height: 48px;
}

.nav-group > summary::-webkit-details-marker {
    display: none;
}

.nav-group > summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.nav-group[open] > summary::after {
    transform: translateY(2px) rotate(225deg);
}

.nav-group.is-active > summary, .nav-group[open] > summary, .nav-dropdown a[aria-current='page'] {
    color: var(--blue);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 310px;
    padding: 10px;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.nav-dropdown a {
    display: block;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
}

.nav-dropdown a:hover, .nav-dropdown a:focus-visible {
    background: var(--mist);
}

.nav-dropdown .nav-subpage {
    padding-left: 30px;
    font-size: 13px;
}

.nav-donate {
    font-size: 14px;
}

.hero-inner {
    min-height: clamp(390px, 59svh, 480px);
    padding-block: 44px 65px;
}

.hero-copy h1 {
    font-size: clamp(36px, 3.5vw, 52px);
}

.hero-lead {
    font-size: 16px;
    margin-block: 22px 26px;
}

.hero-scenery {
    width: 58%;
}

.hero-scenery img {
    object-position: 55% 45%;
}

.hero-note {
    bottom: 20px;
    padding: 12px 18px;
}

.inner-page .page-hero {
    padding-bottom: 28px;
}

.breadcrumbs {
    padding-block: 18px 22px;
}

.page-hero-grid {
    min-height: 230px;
    gap: 40px;
}

.page-hero-media {
    height: 245px;
}

.inner-page h1 {
    font-size: clamp(30px, 2.8vw, 42px);
}

.page-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
}

.page-hero-text .page-hero-grid {
    min-height: 210px;
}

.support-photo {
    width: 100%;
    opacity: 1;
}

.support-photo img {
    object-position: center;
}

.support-photo::after {
    background: linear-gradient(90deg, var(--navy) 5%, rgba(22, 27, 140, .88) 28%, transparent 70%);
}

@media (max-width: 1199px) {
    .navbar {
        flex-wrap: wrap;
        gap: 16px;
        min-height: 100px;
    }

    .brand {
        flex-basis: 220px;
    }

    .brand img {
        width: 220px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        padding: 10px 15px;
        min-height: 44px;
        border: 1px solid var(--rule);
        border-radius: 99px;
        background: var(--paper);
        color: var(--navy);
        font-size: 15px;
    }

    .main-menu {
        order: 4;
        width: 100%;
        margin: 0;
        padding-block: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .js .main-menu {
        display: none;
    }

    .js .main-menu.is-open {
        display: flex;
    }

    .main-menu > a, .nav-group > summary {
        font-size: 16px;
        padding: 12px 0;
    }

    .nav-group > summary {
        justify-content: space-between;
    }

    .nav-dropdown {
        position: static;
        width: 100%;
        padding: 4px 8px;
        margin-bottom: 8px;
        border: 0;
        border-radius: 10px;
        background: var(--sky-light);
        box-shadow: none;
    }

    .hero-inner {
        min-height: 420px;
    }
}

@media (max-width: 639px) {
    .navbar {
        gap: 10px;
        min-height: 90px;
        padding-block: 12px;
    }

    .brand {
        flex-basis: 180px;
    }

    .brand img {
        width: 180px;
    }

    .menu-toggle {
        gap: 7px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .nav-donate {
        padding: 10px;
    }

    .hero-inner {
        min-height: 0;
        padding-block: 28px 185px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.65;
        margin-block: 16px 20px;
    }

    .hero-secondary {
        font-size: 12px;
        margin-top: 14px;
    }

    .hero-scenery {
        width: 100%;
        height: 165px;
        border-radius: 35px 0 0 0;
    }

    .hero-scenery img {
        object-position: center 48%;
    }

    .hero-note {
        right: 20px;
        bottom: 12px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .inner-page .page-hero {
        padding-bottom: 22px;
    }

    .breadcrumbs {
        padding-block: 14px 18px;
    }

    .page-hero-grid {
        min-height: 0;
        gap: 20px;
    }

    .inner-page h1 {
        font-size: 28px;
    }

    .page-lead {
        font-size: 14px;
        line-height: 1.65;
        margin-top: 14px;
    }

    .page-hero-media {
        height: 150px;
    }

    .page-hero-text .page-hero-grid {
        min-height: 0;
    }

    .support-photo {
        width: 100%;
        height: 260px;
    }

    .support-photo img {
        object-position: 70% center;
    }

    .support-photo::after {
        background: linear-gradient(180deg, var(--navy), transparent 65%);
    }
}

@media (max-width: 374px) {
    .brand {
        flex-basis: 160px;
    }

    .brand img {
        width: 160px;
    }
}

@media (min-width: 360px) and (max-width: 374px) {
    .navbar {
        gap: 6px;
    }

    .brand {
        flex-basis: 165px;
    }

    .brand img {
        width: 165px;
    }
}

@media (max-width: 374px) {
    .menu-toggle > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .menu-toggle {
        width: 44px;
        justify-content: center;
    }
}

.nav-heading {
    flex: 1;
    color: inherit;
}
