:root {
    --brand-green: #1e5a3a;
    --brand-green-dark: #113a27;
    --brand-navy: #0d2238;
    --accent-orange: #f07a1a;
    --sage: #e8f1ea;
    --page: #f6f7f8;
    --card: #ffffff;
    --ink: #222222;
    --muted: #5f6f68;
    --line: #dde5df;
    --shadow: 0 16px 34px rgba(13, 34, 56, 0.09);
}

body {
    background: var(--page);
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-link,
.nav-link-item,
.btn,
.category-card strong,
.footer-grid h2 {
    font-family: "Montserrat", Arial, sans-serif;
}

a {
    color: var(--brand-green);
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 16px rgba(13, 34, 56, 0.05);
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 92px;
}

.brand-link {
    align-items: center;
    color: var(--brand-navy);
    display: inline-flex;
    font-weight: 800;
    text-decoration: none;
}

.brand-link img {
    height: auto;
    max-height: 82px;
    object-fit: contain;
    width: 180px;
}

.nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: flex-end;
}

.nav-link-item,
.nav-search {
    color: #111;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-link-item {
    border-bottom: 3px solid transparent;
    padding: 34px 0 30px;
}

.nav-link-item:hover,
.nav-link-item.is-active {
    border-bottom-color: var(--brand-green);
    color: var(--brand-green);
}

.nav-search {
    font-size: 1.15rem;
}

.home-hero,
.page-hero {
    background:
        linear-gradient(90deg, rgba(5, 20, 24, 0.9), rgba(5, 20, 24, 0.52), rgba(5, 20, 24, 0.12)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #fff;
    min-height: 430px;
}

.home-hero {
    align-items: center;
    display: flex;
    min-height: 560px;
}

.page-hero {
    align-items: center;
    display: flex;
    min-height: 360px;
}

.hero-content {
    max-width: 720px;
    padding-bottom: 64px;
    padding-top: 64px;
}

.eyebrow {
    color: var(--brand-green);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.home-hero .eyebrow,
.page-hero .eyebrow {
    color: #b9e37e;
}

.hero-content h1,
.topic-layout h1 {
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.03;
    margin-bottom: 20px;
}

.hero-highlight {
    color: #8bc34a;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-copy {
    font-size: 1.12rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 580px;
}

.btn {
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    padding: 13px 24px;
    text-transform: uppercase;
}

.btn-brand {
    --bs-btn-bg: var(--brand-green);
    --bs-btn-border-color: var(--brand-green);
    --bs-btn-hover-bg: var(--brand-green-dark);
    --bs-btn-hover-border-color: var(--brand-green-dark);
    --bs-btn-color: #fff;
}

.btn-accent {
    --bs-btn-bg: var(--accent-orange);
    --bs-btn-border-color: var(--accent-orange);
    --bs-btn-hover-bg: #d7630d;
    --bs-btn-hover-border-color: #d7630d;
    --bs-btn-color: #fff;
}

.quick-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(6, 1fr);
    margin-top: -58px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.quick-nav a {
    align-items: center;
    border-right: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    justify-content: center;
    padding: 18px;
    text-align: center;
    text-decoration: none;
}

.quick-nav a:last-child {
    border-right: 0;
}

.quick-nav strong {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-nav small {
    color: var(--muted);
}

.section-block {
    padding-bottom: 38px;
    padding-top: 52px;
}

.section-heading {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 800;
    margin: 0;
}

.section-heading a {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid.six-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(13, 34, 56, 0.04);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 250px;
    padding: 26px;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-card:hover {
    border-color: rgba(30, 90, 58, 0.45);
    box-shadow: var(--shadow);
    color: var(--ink);
    transform: translateY(-3px);
}

.category-card strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.category-card span:not(.category-icon) {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.category-card em {
    color: var(--brand-green);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    margin-top: auto;
    text-transform: uppercase;
}

.category-icon {
    align-items: center;
    align-self: center;
    background: var(--sage);
    border-radius: 999px;
    color: var(--brand-green);
    display: inline-flex;
    font-size: 2rem;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.featured-panel,
.newsletter-band,
.resource-layout,
.topic-status {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.featured-panel {
    align-items: center;
    background: linear-gradient(135deg, #fff, #eef5ec);
    border: 1px solid var(--line);
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 38px;
    padding: 34px;
}

.featured-panel h2,
.resource-layout h2,
.topic-status h2 {
    font-weight: 800;
}

.featured-panel p,
.resource-layout p,
.topic-status p {
    color: var(--muted);
    line-height: 1.65;
}

.featured-panel ul,
.resource-layout ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.featured-panel li,
.resource-layout li {
    align-items: center;
    display: flex;
    gap: 10px;
}

.featured-panel li i,
.resource-layout li i {
    color: var(--brand-green);
}

.resource-band {
    background: #fff;
    padding: 46px 0;
}

.resource-layout {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
        var(--sage);
    border: 1px solid var(--line);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
    padding: 36px;
}

.resource-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
}

.resource-card h3 {
    font-weight: 800;
}

.resource-card li {
    margin-bottom: 10px;
}

.newsletter-band {
    align-items: center;
    background: linear-gradient(135deg, var(--brand-green), #06381f);
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: auto minmax(0, 1fr) minmax(320px, 0.9fr);
    margin-bottom: 42px;
    margin-top: 28px;
    padding: 28px 34px;
}

.newsletter-icon {
    align-items: center;
    background: #79a936;
    border-radius: 999px;
    display: inline-flex;
    font-size: 2.3rem;
    height: 84px;
    justify-content: center;
    width: 84px;
}

.newsletter-band h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.newsletter-band p {
    margin: 0;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    border: 0;
    border-radius: 5px 0 0 5px;
    min-height: 54px;
    min-width: 0;
    padding: 0 18px;
    width: 100%;
}

.newsletter-form button {
    background: var(--accent-orange);
    border: 0;
    border-radius: 0 5px 5px 0;
    color: #fff;
    flex: 0 0 auto;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0 22px;
    text-transform: uppercase;
}

.topic-hero {
    background: linear-gradient(135deg, #fff, var(--sage));
    border-bottom: 1px solid var(--line);
    padding: 72px 0;
}

.topic-layout {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
}

.topic-layout p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.site-footer {
    background: var(--brand-navy);
    color: #d9e3df;
    padding-top: 38px;
}

.footer-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.5fr repeat(5, 1fr);
}

.footer-brand img {
    height: auto;
    margin-bottom: 12px;
    width: 170px;
}

.footer-brand p {
    color: #c8d5d0;
    line-height: 1.65;
    max-width: 260px;
}

.footer-grid h2 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.footer-grid a {
    color: #d9e3df;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 9px;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #c8d5d0;
    display: flex;
    font-size: 0.86rem;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 18px;
    padding-top: 18px;
}

.footer-bottom a {
    color: #c8d5d0;
    text-decoration: none;
}

.content-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 .2rem rgba(30, 90, 58, .15);
}

.hidden-field {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

@media (max-width: 1100px) {
    .quick-nav,
    .category-grid,
    .category-grid.six-up,
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 18px;
        padding-top: 18px;
    }

    .nav-link-item {
        padding: 0 0 8px;
    }
}

@media (max-width: 760px) {
    .home-hero,
    .page-hero {
        min-height: 460px;
    }

    .hero-content {
        padding-bottom: 48px;
        padding-top: 48px;
    }

    .quick-nav,
    .category-grid,
    .category-grid.six-up,
    .resource-layout,
    .newsletter-band,
    .topic-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-nav {
        margin-top: 0;
    }

    .quick-nav a {
        border-bottom: 1px solid var(--line);
        border-right: 0;
    }

    .featured-panel,
    .section-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 5px;
        min-height: 52px;
        width: 100%;
    }

    .nav-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
