﻿
@media screen and (max-width: 1291px) {
    .resource_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* |<----------->|               */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 991px) {
    .resource_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .resources-header {
        flex-direction: column;
        gap: 0;
    }

    .resources-heading {
        font-size: 1.5rem;
    }

    .resource-listings .listing .listing-body h3 {
        font-size: 1.25rem;
    }

    .toolkit_home {
        width: calc(100% - 15%);
        padding: 1em 2em 8em;
    }
}

/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {
    .resources-header .resources-options .btn {
        display: block;
        white-space: pre-wrap;
    }

        .resources-header .resources-options .btn + .btn {
            margin: 5px 0 0;
        }

    .resource-filter {
        margin: 15px 0;
    }

        .resource-filter .resource-filter-search {
            flex-direction: column;
        }

            .resource-filter .resource-filter-search > .form-group,
            .resource-filter .resource-filter-search > .btn {
                width: 100%;
            }

        .resource-filter .resource-filter-group-options {
            flex-direction: column;
        }

    .resource-listings .listing {
        flex-direction: column;
    }

        .resource-listings .listing .listing-image {
            max-width: 100%;
        }

    .areas_homepage_slider .toolkit_area_slide p {
        display: none;
        font-size: 14px;
        line-height: 1em;
    }

    .areas_homepage_slider .toolkit_area_slide h4 {
        margin: 8px auto 5px;
        width: 90%;
        line-height: 1em;
        font-size: 1rem;
    }

    .toolkit_home h1 {
        font-size: 2.3em;
        font-weight: 700;
        line-height: 1em;
    }

    .toolkit_home .resource_search {
        width: fit-content;
        margin: 0 auto;
        background: rgba(0, 0, 0, .4);
        padding: 1em 1em;
        border-radius: 15px;
    }
}
