.resources {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
}

@media (min-width: 768px) {
    .resources {
        margin-top: 64px;
        padding-top: 64px;
    }
}

.resources-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.resources-filter__button {
    padding: 10px 22px;
    border-radius: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.20);
    border: 0;
    color: var(--white);
    font-family: "Rajdhani", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;

    &.is-active {
        background: var(--white);
        color: var(--blue);

        &:before {
            content: "";
            display: inline-block;
            vertical-align: middle;
            margin-right: 12px;
            border-radius: 0;
            border: 2px solid var(--blue);
            border-left: 0;
            border-top: 0;
            width: 8px;
            height: 18px;
            transform:  rotate(45deg);
            background-color: transparent;
            position: relative;
            top: -4px;
            left: 0;
        }
    }
}

@media (min-width: 1200px) {
    .resources-filter__button:not(.is-active):hover {
        background: var(--blue);
        color: var(--white);
    }
}

.resources-list {
    margin-top: 32px;
}

.resources-list__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.resources-list__link {
    text-decoration: none;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 rgba(255, 255, 255, 0.20);
    transition: box-shadow 0.3s ease-in-out;

    h3,
    p {
        color: var(--white);
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        margin-bottom: 0;
        font-family: "Rajdhani", sans-serif;
    }

    h3 {
        flex: 1;
    }

    p {
        i {
            font-size: 16px;
            margin-right: 10px;
            display: inline-block;
            vertical-align: middle;
        }
    }
}

@media (min-width: 1200px) {
    .resources-list__link:hover {
        box-shadow: inset 0 -80px rgba(255, 255, 255, 0.20);
    }
}

.resources-pagination {
    text-align: center;
}

.resources-pagination__button {
    margin-top: 64px;
    background-color: var(--white);
    color: var(--blue);

    &:after {
        content: "\e906";
        transform: translateY(-50%) rotate(45deg);
        right: 20px;
    }
}

@media (min-width: 1200px) {
    .resources-pagination__button:hover {
        background-color: var(--blue);
        color: var(--white);
    }
}

.resources-list__no-results {
    text-align: center;
    color: var(--white);
    margin-top: 32px;

    p {
        font-size: 18px;
        font-family: "Rajdhani", sans-;
        font-weight: 600;
    }
}