/**
 * GenPA Home Page
 */

/* ===================================
   Featured Collections
   =================================== */
.site-page-home .block-heading h3 {
    color: var(--gsp-evergreen);
    font-family: var(--gsp-font-heading);
    font-size: clamp(2.07rem, calc(1.891rem + 0.790vw), 2.59rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin: 0 auto 2.5rem;
    max-width: none;
    text-align: center;
    text-wrap: balance;
}

.site-page-home .block-itemSetShowcase {
    margin-top: 2rem;
    margin-bottom: clamp(4rem, 8vw, 8rem);
}

.site-page-home .block-links {
    margin-top: 2rem;
}

.site-page-home .item-set-showcase,
.site-page-home .links .list-links {
    display: grid;
    gap: clamp(1.5rem, 3vw, 3rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-page-home .links .list-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-page-home .item-set-showcase .item-set.resource,
.site-page-home .links .list-links > li {
    margin: 0;
}

.site-page-home .item-set-showcase .item-set.resource > a:first-of-type {
    display: none;
}

.site-page-home .item-set-showcase .item-set.resource > a:nth-of-type(2),
.site-page-home .links .list-links > li > a {
    align-items: center;
    aspect-ratio: 1 / 1.04;
    background-color: var(--gsp-commonwealth-clay);
    background-image: url('../img/clay-leaf-pattern.png');
    background-position: center;
    background-size: 720px auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: var(--gsp-font-heading);
    font-size: clamp(1.9rem, 3.1vw, 3.75rem);
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.08;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 3rem);
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    text-wrap: balance;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.site-page-home .item-set-showcase .item-set.resource > a:nth-of-type(2)::before,
.site-page-home .links .list-links > li > a::before {
    background: url('../img/GSP_Logomark_Leaf_Light_74x100.webp') center / contain no-repeat;
    content: '';
    display: block;
    flex: 0 0 auto;
    height: clamp(3rem, 7vw, 6.25rem);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    width: clamp(2.25rem, 5vw, 4.625rem);
}

.site-page-home .item-set-showcase .item-set.resource > a:nth-of-type(2):hover,
.site-page-home .links .list-links > li > a:hover {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
    color: #fff;
    filter: saturate(1.05);
    transform: translateY(-0.35rem);
}

.site-page-home .item-set-showcase .item-set.resource:nth-child(4n + 2) > a:nth-of-type(2),
.site-page-home .links .list-links > li:nth-child(4n) > a {
    background-color: var(--gsp-evergreen);
    background-image: url('../img/evergreen-leaf-pattern.png');
}

.site-page-home .item-set-showcase .item-set.resource:nth-child(4n + 3) > a:nth-of-type(2),
.site-page-home .links .list-links > li:nth-child(4n + 1) > a {
    background-color: var(--gsp-keystone-gold, #c49a3a);
    background-image: url('../img/gold-leaf-pattern.png');
}

.site-page-home .item-set-showcase .item-set.resource:nth-child(4n + 4) > a:nth-of-type(2),
.site-page-home .links .list-links > li:nth-child(4n + 2) > a {
    background-color: var(--gsp-pennsylvania-plum);
    background-image: url('../img/plum-leaf-pattern.png');
}

.site-page-home .links .list-links > li:nth-child(4n + 3) > a {
    background-color: var(--gsp-commonwealth-clay);
    background-image: url('../img/clay-leaf-pattern.png');
}

.site-page-home .item-set-showcase .caption,
.site-page-home .links .list-links > li > p {
    color: var(--gsp-text, #2b2b2b);
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.75;
    margin-top: 1.25rem;
}

.site-page-home .links .list-links > li > p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .site-page-home .item-set-showcase,
    .site-page-home .links .list-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .site-page-home .block-itemSetShowcase {
        margin-bottom: clamp(3rem, 14vw, 5rem);
    }

    .site-page-home .item-set-showcase,
    .site-page-home .links .list-links {
        grid-template-columns: 1fr;
    }

    .site-page-home .item-set-showcase .item-set.resource > a:nth-of-type(2),
    .site-page-home .links .list-links > li > a {
        aspect-ratio: auto;
        min-height: 0;
        padding-block: clamp(3rem, 16vw, 6rem);
    }
}
