/* Header identity and navigation */
.navbar-brand {
    min-width: 0;
}

.navbar-brand img {
    width: var(--header-logo-size, 54px);
    height: var(--header-logo-size, 54px);
}

.navbar-brand.brand-align-center {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.navbar-brand.brand-align-right {
    flex-direction: row-reverse;
    text-align: right;
}

.navbar-brand.brand-layout-logo-only {
    justify-content: center;
}

.navbar-brand.brand-layout-logo-only img {
    margin: 0;
}

.nav-style-underline .navbar-nav .nav-link {
    position: relative;
}

.nav-style-underline .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 5px;
    left: 9px;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-accent, var(--gold));
    transform: scaleX(0);
    transition: transform .2s ease;
}

.nav-style-underline .navbar-nav .nav-link:hover::after,
.nav-style-underline .navbar-nav .nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-style-pills .navbar-nav .nav-link {
    padding: 9px 13px !important;
    border-radius: 999px;
}

.nav-style-pills .navbar-nav .nav-link:hover {
    background: color-mix(in srgb, var(--theme-primary, var(--green)) 12%, transparent);
}

.nav-style-minimal .navbar-nav {
    gap: 10px;
}

.nav-style-minimal .navbar-nav .nav-link {
    padding-right: 4px !important;
    padding-left: 4px !important;
    font-weight: 600;
}

.nav-style-classic .navbar-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 11px;
}

.navigation-static .site-header.scrolled {
    position: absolute;
    top: 36px;
    box-shadow: none;
}

.navigation-static:not(.home-page) .site-header.scrolled {
    position: relative;
    top: auto;
}

.header-important-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 6px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
}

.home-page .site-header:not(.scrolled) .header-important-link {
    color: #fff;
}

.topbar-custom-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    font-size: 11px;
    white-space: nowrap;
}

/* Hero style variants */
.hero-style-split-card .hero-copy {
    max-width: 720px;
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;
    background: rgba(8, 36, 26, .66);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

.hero-style-split-card .hero-copy h1 {
    margin-top: 14px;
    font-size: clamp(36px, 4vw, 60px);
}

.hero-style-editorial .min-vh-hero {
    align-items: flex-end !important;
}

.hero-style-editorial .hero-copy {
    max-width: 1040px;
    padding-bottom: 35px;
}

.hero-style-editorial .hero-copy h1 {
    max-width: 1040px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6.2vw, 88px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-style-editorial .hero-lead {
    max-width: 830px;
}

.hero-style-minimal {
    --hero-min-height: 620px !important;
}

.hero-style-minimal .hero-copy {
    max-width: 700px;
}

.hero-style-minimal .hero-copy h1 {
    font-size: clamp(36px, 4vw, 58px);
}

.hero-style-minimal .hero-trust {
    display: none;
}

/* Homepage announcement and agenda */
.home-notice-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background: #f6f8f7;
}

.home-notice-panel {
    height: 100%;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(18, 61, 46, .06);
}

.home-notice-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.home-notice-heading .eyebrow {
    margin-bottom: 5px;
}

.home-notice-heading h2 {
    margin: 0;
    color: var(--green-dark);
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
}

.home-notice-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.home-notice-list {
    display: grid;
}

.home-notice-list article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.home-notice-list article + article {
    border-top: 1px solid var(--border);
}

.home-notice-list h3 {
    margin: 4px 0 6px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.home-notice-list h3 a {
    color: var(--green-dark);
}

.home-notice-list p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-notice-list time,
.notice-category {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.notice-icon,
.agenda-date {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--green-light);
    color: var(--green);
}

.notice-icon {
    font-size: 22px;
}

.agenda-date {
    flex-direction: column;
    background: var(--green-dark);
    color: #fff;
    line-height: 1;
}

.agenda-date strong {
    font-family: var(--font-heading);
    font-size: 20px;
}

.agenda-date span {
    margin-top: 3px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Published rich text faithfully follows the editor */
.prose p {
    margin: 0 0 1.25em;
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 4px solid var(--theme-accent, var(--gold));
    border-radius: 0 10px 10px 0;
    background: var(--cream);
    color: var(--green-dark);
    font-size: 1.06em;
}

.prose ul,
.prose ol {
    margin-bottom: 1.35em;
    padding-left: 1.5em;
}

.prose li + li {
    margin-top: .4em;
}

.prose hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid var(--border);
    opacity: 1;
}

.prose pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: 10px;
    background: #10261c;
    color: #e2f3e8;
    white-space: pre-wrap;
}

.prose [style*="text-align:center"] {
    text-align: center !important;
}

.prose [style*="text-align:right"] {
    text-align: right !important;
}

.prose [style*="text-align:justify"] {
    text-align: justify !important;
}

@media (max-width: 1199.98px) {
    .navbar-brand.brand-align-center {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .hero-style-split-card .hero-copy {
        padding: 24px 20px;
        border-radius: 17px;
    }

    .hero-style-editorial .hero-copy h1 {
        font-size: 43px;
    }

    .home-notice-heading {
        align-items: flex-start;
    }

    .home-notice-heading h2 {
        font-size: 26px;
    }

    .home-notice-list article {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .notice-icon,
    .agenda-date {
        width: 48px;
        height: 48px;
    }
}
