.search-hero {
    background-color: var(--wp--preset--color--dark-green);
    padding: calc(var(--wp--preset--spacing--80) * 1.5) 0 var(--wp--preset--spacing--60);
    background-image: url(../images/search-bg.svg);
    background-position: bottom right;
    background-repeat: no-repeat;

    h1 {
        color: #fff;
    }
}

section.search-results {
    padding: var(--wp--preset--spacing--60) 0;

    .results-title {
        
        span {
            color: var(--wp--preset--color--bnpp-green);
        }
    }

    .post-type-title {
        font-size: var(--wp--preset--font-size--heading-xs);
        margin-top: var(--wp--preset--spacing--60);

        span {
            background-color: var(--wp--preset--color--bnpp-green-tint-30);
            font-weight: 300;
            font-size: var(--wp--preset--font-size--heading-xs);
            display: inline-block;
            padding: 0.5rem 1rem 0.3rem;
            min-width: 60px;
            border-radius: 50px;
            text-align: center;
            line-height: 1;
            margin-left: 1rem;
        }
    }

    .pagination {
        font-family: BNPP Sans;
        font-weight: 300;
        font-size: 16px;
        line-height: 40px;
        letter-spacing: 0%;
        text-align: center;
        color: var(--wp--preset--color--bnpp-green);
        font-size: var(--wp--preset--font-size--medium);
        display: flex;
        justify-content: center;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        text-decoration: none;

        .page-numbers {
            width: 40px;
            height: 40px;
        }

        .current {
            background-color: #D9ECE5;
            color: #008252;
            font-family: BNPP Sans;
            font-weight: 700;
            font-size: 16px;
            line-height: 40px;
            letter-spacing: 0%;
            text-align: center;
            border: 1px solid #008252;
            border-radius: 3px;
            justify-content: center;
        }

        a {
            border: 1px solid #008252;
            border-radius: 3px;
        }

        .disabled {
            color: #BEBEBE;
            border-color: #BEBEBE;
            pointer-events: none;
            filter: invert(92%) sepia(0%) saturate(537%) hue-rotate(141deg) brightness(87%) contrast(83%);
        }
        
        a:not(.next) {
            color: #000000;
            font-family: BNPP Sans;
            font-weight: 300;
            font-size: 16px;
            letter-spacing: 0%;
            text-align: center;
            text-decoration: none;
        }

        a:is(.next, .prev) {

            display: flex;
            align-items: center;
            justify-content: center;
            
            .icon {
                background-image: url(../images/refined-arrow.svg);
                width: 7px;
                display: inline-block;
                height: 12px;
                background-size: contain;
                background-repeat: no-repeat;
            }
            
        }

        a.prev {
            .icon {
                transform: rotate(180deg);
            }
        }
    }
}