/* =========================================================
   PUBLIC RESOURCES
========================================================= */

.resources-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            #063d1a 0%,
            #087a2b 60%,
            #0b5c25 100%
        );
}

.resources-page-hero-inner {
    max-width: 720px;
    padding: 65px 0 70px;
}

.resources-page-hero .kicker {
    margin-bottom: 14px;
    color: #ffe58b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.resources-page-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
    font-weight: 800;
}

.resources-page-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SECTION
========================================================= */

.resources-section {
    background: #f7faf8;
}


/* =========================================================
   RESOURCE GRID
========================================================= */

.public-resource-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   RESOURCE CARD
========================================================= */

.public-resource-card {
    display: flex;
    gap: 15px;

    padding: 22px;

    background: #fff;

    border: 1px solid #e1e9e4;
    border-radius: 13px;

    box-shadow:
        0 7px 25px rgba(3,45,20,.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.public-resource-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(3,45,20,.12);
}


/* =========================================================
   ICON
========================================================= */

.public-resource-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #edf6ef;

    font-size: 23px;
}


/* =========================================================
   CONTENT
========================================================= */

.public-resource-content {
    min-width: 0;
    flex: 1;
}

.public-resource-category {
    margin-bottom: 6px;

    color: #ef7622;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.public-resource-content h3 {
    margin: 0 0 8px;

    color: #063d1a;

    font-size: 17px;
    line-height: 1.4;
}

.public-resource-content p {
    min-height: 42px;

    margin: 0 0 16px;

    color: #68786f;

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   FOOTER
========================================================= */

.public-resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 12px;

    border-top: 1px solid #edf1ee;
}

.public-resource-date {
    color: #89968f;
    font-size: 9px;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.resource-download-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 7px 11px;

    border-radius: 6px;

    background: #087a2b;
    color: #fff;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease;
}

.resource-download-button:hover {
    background: #063d1a;
    color: #fff;
}

.resource-download-button span {
    font-size: 13px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.resources-empty {
    max-width: 600px;

    margin: 20px auto 0;

    padding: 65px 25px;

    text-align: center;

    background: #fff;

    border: 1px solid #e1e9e4;
    border-radius: 14px;
}

.resources-empty-icon {
    margin-bottom: 12px;

    font-size: 45px;
}

.resources-empty h3 {
    margin: 0 0 8px;

    color: #063d1a;

    font-size: 20px;
}

.resources-empty p {
    margin: 0;

    color: #68786f;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .public-resource-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .resources-page-hero {
        min-height: 320px;
    }

    .resources-page-hero-inner {
        padding: 55px 0;
    }

    .resources-page-hero h1 {
        font-size: 44px;
    }

    .resources-page-hero p {
        font-size: 15px;
    }

    .public-resource-grid {
        grid-template-columns: 1fr;
    }

}