.ressources-list {
    padding: 0 16px;
}

.ressources-list--container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 992px) {
    .ressources-list--container {
        gap: 56px;
    }
}

.ressources-list--header h2 {
    font-weight: 200;
    color: var(--blueDark);
}

@media screen and (min-width: 1024px) {
    .ressources-list--header h2 {
        font-size: 32px;
    }
}

.ressources-list--header p {
    color: var(--blueDark);
}

.ressources-list--header h2+p {
    margin-top: 24px;
}

.ressources-list--header h2+ul {
    margin-top: 24px;
}

.ressources-list--header p+a {
    margin-top: 16px;
}

.ressources-list--header ul+a {
    margin-top: 16px;
}

.ressources-list--header p+p {
    margin-top: 16px;
}

.ressources-list--header p+ul {
    margin-top: 16px;
}

.ressources-list--header ul+p {
    margin-top: 16px;
}

.ressources-list--filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 1280px) {
    .ressources-list--filter {
        flex-direction: row;
        gap: 32px;
    }
}

.ressources-list--filter h4 {
    color: var(--blueDark);
}

.ressources-list--filter .filter-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ressources-list--filter .filter-tag button {
    cursor: pointer;
    border: 1px solid var(--greenLight);
    padding: 6px 16px;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

.ressources-list--filter .filter-tag button.active {
    background-color: var(--greenLight);
}

.ressources-list--filter .filter-tag button.active::after {
    content: "";
    display: block;
    height: 16px;
    width: 16px;
    mask: url(../../../../../../themes/appo/resources/images/icon/close.svg) no-repeat center;
    mask-size: contain;
    background-color: var(--black);
}

@media (hover: hover) {
    .ressources-list--filter .filter-tag button:hover {
        color: var(--greenLight);
    }

    .ressources-list--filter .filter-tag button.active:hover {
        color: var(--black);
    }
}

.ressources-list--list-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 992px) {
    .ressources-list--list-container {
        gap: 56px;
    }
}

.ressources-list--list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(171px, 1fr));
    gap: 16px;
}

@media screen and (min-width: 768px) {
    .ressources-list--list {
        grid-template-columns: repeat(auto-fit, minmax(296px, 1fr));
        gap: 32px;
    }
}

.ressources-list--list .list-item {
    padding: 16px;
    border: 1px solid var(--beige);
}

.ressources-list--list .list-item h5 {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    letter-spacing: 0.32px;
    text-decoration: underline;
    text-transform: uppercase;
    color: var(--blueDark);
}

.ressources-list--list .list-item p {
    color: var(--blueDark);
}

.ressources-list--list .list-item .link {
    margin-top: 32px;
}

@media (hover: hover) {
    .ressources-list--list .list-item:hover .link::before {
        background: url(../../../../../../themes/appo/resources/images/icon/arrow-link-green.svg) no-repeat center;
    }
}