header {
    border-bottom: 1px solid var(--black);
}

.main {
    margin-top: 0px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height) - 55px + 1px);
    background-color: rgb(235, 235, 225);
}

.filter-container {
    position: sticky;
    top: var(--header-height);
    margin-top: var(--header-height);
    background-color: var(--white);
    overflow-x: scroll;
    white-space: nowrap;
    z-index: 99;
}

.filter-container a {
    display: inline-block;
    margin: var(--spacer-l);
}

.introduction {
    padding: var(--spacer-l);
}

.introduction-title {
    margin-bottom: var(--spacer-l);
}

.container {
    grid-template-columns: repeat(1, 1fr);
}

.item-cover {
    display: block;
    overflow: hidden;
}

.item-cover img,
.item-cover .video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.item:hover a .item-cover img,
.item:hover a .item-cover .video {
    transform: scale(1.075);
}

.item-url {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.item-text {
    width: calc(100% - 2*var(--spacer-16));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: var(--spacer-16);
}

.item-text-top {
    display: flex;
    flex-direction: column;
}

.item-category {
    margin-top: var(--spacer-16);
    padding-top: var(--spacer-4);
    border-top: 1px solid var(--black);
}

/* -------------------- MD -------------------- */
@media screen and (min-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-container a {
        margin: var(--spacer-16) var(--spacer-l);
    }
}

/* -------------------- LG -------------------- */
@media screen and (min-width: 1024px) {
    .introduction-title {
        margin-bottom: var(--spacer-24);
    }

    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* -------------------- LG - XL -------------------- */
@media screen and (min-width: 1280px) {
    .filter-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        overflow-x: unset;
    }

    .filter-container a {
        display: inline-block;
    }
}

/* -------------------- XL -------------------- */
@media screen and (min-width: 1440px) {
    .introduction {
        width: 91.67%; /* 11 colonne */
    }

    .container {
        grid-template-columns: repeat(4, 1fr);
    }
}