/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #ffffff;

    color: #24343d;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: #007c59;
}

a:hover {
    color: #005f45;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;

    background: #ffffff;

    border-top: 1px solid #d9d9d9;
    border-bottom: 0;

    position: relative;
    z-index: 1001;
}

.header-logo {
    width: 100%;

    margin: 0;
    padding: 0;

    line-height: 0;

    overflow: hidden;
}

.header-logo a {
    display: block;

    width: 100%;
}

.header-logo img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 190px;

    object-fit: contain;
    object-position: left center;
}

/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    position: relative;

    z-index: 10000;

    width: 100%;

    background: #007c59;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.12);
}


/*
 * Navigation wrapper.
 *
 * IMPORTANT:
 * Do NOT use overflow:auto or overflow:hidden here.
 *
 * Dropdown menus need to be able to extend outside
 * the navigation bar.
 */

.nav-scroll {
    width: 100%;

    overflow: visible;
}


/* =========================================================
   TOP LEVEL NAVIGATION
   ========================================================= */

.main-nav > .nav-scroll > ul {

    display: flex;

    flex-wrap: wrap;

    width: 100%;

    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* =========================================================
   TOP LEVEL NAV ITEMS
   ========================================================= */

.main-nav > .nav-scroll > ul > li {

    position: relative;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* =========================================================
   TOP LEVEL LINKS
   ========================================================= */

.main-nav > .nav-scroll > ul > li > a {

    display: block;

    height: 54px;

    padding: 15px 15px;

    color: #ffffff;

    background: transparent;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    line-height: 24px;

    white-space: nowrap;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.main-nav > .nav-scroll > ul > li:hover > a,
.main-nav > .nav-scroll > ul > li:focus-within > a {

    background: #006c4e;

    color: #ffffff;
}


/* =========================================================
   DROPDOWN ARROWS
   ========================================================= */

.main-nav > .nav-scroll > ul > li.has-dropdown > a:after {

    content: "▾";

    display: inline-block;

    margin-left: 7px;

    font-size: 10px;

    opacity: 0.9;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.main-nav .dropdown {

    position: absolute;

    top: 100%;
    left: 0;

    margin: 0;
    padding: 28px 30px;

    width: 760px;

    max-width: calc(100vw - 20px);

    background: #ffffff;

    border-top: 3px solid #007c59;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    z-index: 99999;

    transition:
        opacity 0.12s ease,
        visibility 0s linear 0.12s;
}


/*
 * Show dropdown when the parent menu item is hovered.
 *
 * Because the dropdown is inside the LI, there is no gap
 * between the main link and the dropdown.
 */

.main-nav > .nav-scroll > ul > li:hover > .dropdown,
.main-nav > .nav-scroll > ul > li:focus-within > .dropdown {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

    transition:
        opacity 0.12s ease,
        visibility 0s linear 0s;
}


/* =========================================================
   LEFT-ANCHORED DROPDOWNS
   ========================================================= */

.main-nav .dropdown-left {

    left: 0;

    right: auto;
}


/* =========================================================
   RIGHT-ANCHORED DROPDOWNS
   ========================================================= */

.main-nav .dropdown-right {

    left: auto;

    right: 0;
}


/* =========================================================
   WIDE DROPDOWNS
   ========================================================= */

.main-nav .dropdown-wide {

    width: 950px;

    max-width: calc(100vw - 20px);
}


/* =========================================================
   DROPDOWN INNER
   ========================================================= */

.main-nav .dropdown-inner {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px 40px;

    width: 100%;
}


.main-nav .dropdown-inner.columns-2 {

    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.main-nav .dropdown-inner.columns-3 {

    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}


.main-nav .dropdown-inner.columns-4 {

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


/* =========================================================
   DROPDOWN COLUMNS
   ========================================================= */

.main-nav .dropdown-column {

    min-width: 0;
}


.main-nav .dropdown-column h3 {

    margin: 0 0 10px 0;

    padding: 0 0 9px 0;

    color: #007c59;

    border-bottom: 1px solid #d9e4df;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 0.3px;
}


.main-nav .dropdown-column h3:empty {

    display: none;
}


.main-nav .dropdown-column ul {

    margin: 0;
    padding: 0;

    list-style: none;
}


.main-nav .dropdown-column li {

    margin: 0;
    padding: 0;

    list-style: none;
}


.main-nav .dropdown-column li a {

    display: block;

    padding: 5px 0;

    color: #24343d;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;
}


.main-nav .dropdown-column li a:hover {

    color: #007c59;

    text-decoration: underline;
}
/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 480px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #edf6f2 0%,
            #f8fbfa 55%,
            #ffffff 100%
        );
}


.hero-inner {
    display: flex;
    align-items: center;
}


.hero-content {
    max-width: 800px;

    padding-top: 55px;
    padding-bottom: 55px;
}


.eyebrow {
    margin: 0 0 10px 0;

    color: #007c59;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.hero h1 {
    margin: 0 0 25px 0;

    color: #173b35;

    font-size: 60px;
    line-height: 1.08;

    letter-spacing: -1px;
}


.hero-intro {
    max-width: 700px;

    margin: 0 0 30px 0;

    color: #40545d;

    font-size: 21px;
    line-height: 1.55;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;

    padding: 12px 22px;

    border: 2px solid transparent;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    text-decoration: none;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}


.button-primary {
    background: #007c59;

    border-color: #007c59;

    color: #ffffff;
}


.button-primary:hover {
    background: #005f45;

    border-color: #005f45;

    color: #ffffff;
}


.button-secondary {
    margin-left: 10px;

    background: transparent;

    border-color: #007c59;

    color: #007c59;
}


.button-secondary:hover {
    background: #007c59;

    color: #ffffff;
}


.button-light {
    background: #ffffff;

    border-color: #ffffff;

    color: #007c59;
}


.button-light:hover {
    background: transparent;

    color: #ffffff;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.content-section {
    padding-top: 75px;
    padding-bottom: 75px;
}


.pale-section {
    background: #edf6f2;
}


.section-heading {
    max-width: 800px;

    margin-bottom: 40px;
}


.section-heading h2 {
    margin: 0 0 15px 0;

    color: #173b35;

    font-size: 38px;
    line-height: 1.2;
}


.section-heading p {
    margin-top: 0;
}


.section-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   TWO COLUMN
   ========================================================= */

.two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 60px;

    align-items: start;
}


.two-column p {
    margin-top: 0;

    color: #40545d;

    font-size: 17px;
}


/* =========================================================
   STAT CARD
   ========================================================= */

.stat-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dce7e3;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);
}


.stat-card strong {
    display: block;

    margin-bottom: 3px;

    color: #007c59;

    font-size: 48px;

    line-height: 1;
}


.stat-card span {
    display: block;

    margin-bottom: 20px;

    color: #52636a;
}


.stat-card a {
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}


.category-card {
    display: block;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #dce7e3;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}


.category-card:hover {
    border-color: #007c59;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.08);

    transform: translateY(-2px);
}


.category-name {
    display: block;

    margin-bottom: 5px;

    color: #173b35;

    font-size: 16px;
    font-weight: 700;
}


.category-count {
    display: block;

    color: #66777d;

    font-size: 13px;
}


/* =========================================================
   DOCUMENT GRID
   ========================================================= */

.document-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.document-card {
    display: flex;

    flex-direction: column;

    min-height: 280px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dce7e3;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.04);
}


.document-category {
    margin-bottom: 10px;

    color: #007c59;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


.document-card h3 {
    margin: 0 0 12px 0;

    color: #173b35;

    font-size: 20px;
    line-height: 1.3;
}


.document-card p {
    margin: 0 0 20px 0;

    color: #56666d;

    font-size: 14px;
}


.document-link {
    margin-top: auto;

    color: #007c59;

    font-weight: 700;

    text-decoration: none;
}


.document-link:hover {
    text-decoration: underline;
}


.text-link {
    white-space: nowrap;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding-top: 70px;
    padding-bottom: 70px;

    background: #173b35;

    color: #ffffff;

    text-align: center;
}


.cta-section h2 {
    margin: 0 0 12px 0;

    font-size: 36px;
    line-height: 1.2;
}


.cta-section p {
    max-width: 650px;

    margin: 0 auto 25px auto;

    color: #dce9e5;

    font-size: 17px;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    padding-top: 55px;
    padding-bottom: 55px;

    background: #edf6f2;

    border-bottom: 1px solid #dce7e3;
}


.page-header h1 {
    margin: 0 0 10px 0;

    color: #173b35;

    font-size: 46px;

    line-height: 1.15;
}


.page-header p:last-child {
    max-width: 750px;

    margin-bottom: 0;

    color: #52636a;

    font-size: 18px;
}


/* =========================================================
   ARCHIVE LAYOUT
   ========================================================= */

.archive-layout {
    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr);

    gap: 45px;

    align-items: start;
}


/* =========================================================
   ARCHIVE SIDEBAR
   ========================================================= */

.sidebar-box {
    margin-bottom: 25px;

    padding: 22px;

    background: #edf6f2;

    border: 1px solid #dce7e3;
}


.sidebar-box h2 {
    margin: 0 0 15px 0;

    color: #173b35;

    font-size: 19px;
}


/* =========================================================
   ARCHIVE SEARCH
   ========================================================= */

.archive-search {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.archive-search input {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #cbd9d4;

    background: #ffffff;

    color: #24343d;

    font-family: inherit;

    font-size: 14px;
}


.archive-search input:focus {
    outline: none;

    border-color: #007c59;
}


.archive-search button {
    padding: 11px 15px;

    border: 0;

    background: #007c59;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}


.archive-search button:hover {
    background: #005f45;
}


/* =========================================================
   CATEGORY LIST
   ========================================================= */

.category-list {
    margin: 0;
    padding: 0;

    list-style: none;
}


.category-list li {
    margin: 0;

    border-bottom: 1px solid #dce7e3;
}


.category-list li:last-child {
    border-bottom: 0;
}


.category-list a {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 8px 0;

    color: #40545d;

    text-decoration: none;

    font-size: 14px;
}


.category-list a:hover,
.category-list a.active {
    color: #007c59;

    font-weight: 700;
}


.category-list small {
    flex: 0 0 auto;

    color: #829096;

    font-size: 12px;
}


/* =========================================================
   RESULTS HEADER
   ========================================================= */

.results-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 15px;

    border-bottom: 1px solid #dce7e3;
}


.results-header h2 {
    margin: 0;

    color: #173b35;

    font-size: 30px;
}


.clear-search {
    color: #007c59;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   ARCHIVE DOCUMENTS
   ========================================================= */

.archive-document-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.archive-document {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dce7e3;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.03);
}


.archive-document-content {
    min-width: 0;
}


.archive-document h3 {
    margin: 0 0 10px 0;

    color: #173b35;

    font-size: 21px;

    line-height: 1.35;
}


.archive-document p {
    margin: 0 0 10px 0;

    color: #596970;

    font-size: 14px;
}


.archive-document-meta {
    color: #8a979c;

    font-size: 12px;
}


.archive-document-action {
    flex: 0 0 auto;
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.no-results {
    padding: 45px;

    background: #edf6f2;

    border: 1px solid #dce7e3;

    text-align: center;
}


.no-results h2 {
    margin: 0 0 10px 0;

    color: #173b35;
}


.no-results p {
    max-width: 550px;

    margin: 0 auto 25px auto;

    color: #596970;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 40px;
    padding-bottom: 40px;

    background: #102d28;

    color: #dce9e5;
}


.footer-inner {
    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.footer-inner strong {
    color: #ffffff;

    font-size: 18px;
}


.footer-inner p {
    margin: 5px 0 0 0;

    color: #b7ccc6;

    font-size: 14px;
}


.footer-inner > div:last-child {
    display: flex;

    gap: 20px;

    align-items: flex-start;
}


.footer-inner a {
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
}


.footer-inner a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE - 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }


    .hero h1 {
        font-size: 50px;
    }


    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .document-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .archive-layout {
        grid-template-columns:
            230px
            minmax(0, 1fr);

        gap: 30px;
    }


    .main-nav .dropdown-wide {
        width: 850px;
    }


    .main-nav .dropdown-inner.columns-4 {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - 800px
   ========================================================= */

@media (max-width: 800px) {

    .header-logo img {
        max-height: none;
    }


    .hero {
        min-height: auto;
    }


    .hero h1 {
        font-size: 42px;
    }


    .hero-intro {
        font-size: 18px;
    }


    .two-column {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .archive-layout {
        grid-template-columns: 1fr;
    }


    .archive-sidebar {
        order: 2;
    }


    .archive-results {
        order: 1;
    }


    .main-nav .dropdown {
        width: 650px;
    }


    .main-nav .dropdown-inner.columns-4 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - 600px
   ========================================================= */

@media (max-width: 600px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }


    .hero-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }


    .hero h1 {
        font-size: 36px;
    }


    .hero-buttons {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .button-secondary {
        margin-left: 0;
    }


    .section-heading h2 {
        font-size: 30px;
    }


    .category-grid {
        grid-template-columns: 1fr;
    }


    .document-grid {
        grid-template-columns: 1fr;
    }


    .section-heading-row {
        display: block;
    }


    .section-heading-row .text-link {
        display: inline-block;

        margin-top: 10px;
    }


    .archive-document {
        display: block;
    }


    .archive-document-action {
        margin-top: 20px;
    }


    .archive-document-action .button {
        width: 100%;

        text-align: center;
    }


    .results-header {
        display: block;
    }


    .clear-search {
        display: inline-block;

        margin-top: 10px;
    }


    .footer-inner {
        display: block;
    }


    .footer-inner > div:last-child {
        margin-top: 20px;
    }


    /*
     * On small screens the mega menu becomes a normal
     * full-width dropdown.
     */
    .main-nav .dropdown,
    .main-nav .dropdown-wide,
    .main-nav .dropdown-left,
    .main-nav .dropdown-right {
        position: static;

        width: 100%;
        max-width: none;

        padding: 20px;

        border-top: 0;

        box-shadow: none;
    }


    .main-nav .dropdown-inner,
    .main-nav .dropdown-inner.columns-2,
    .main-nav .dropdown-inner.columns-3,
    .main-nav .dropdown-inner.columns-4 {
        grid-template-columns: 1fr;
    }

}