:root,
*::before,
*::after {
    --clr-cell: #FFF;
    --clr-cell-active: #F5F5F5;
}

/* ThumbnailsView - Masonry */
.masonry-grid__sizer,
.masonry-grid__item {
    width: 200px;
}

.masonry-grid__gutter-sizer {
    width: 5%;
}

.masonry-grid__item--format1 {
    width: 60%;
    height: auto;
}

.masonry-grid__item--format2 {
    width: 20%;
    height: auto;
    padding: 50px 0;

}

.masonry-grid__item--format3 {
    width: 40%;
    height: auto;
    padding: 100px 0;
}

.masonry-grid__item--format4 {
    width: 100%;
    height: auto;
    padding: 0 100px;
}

.masonry-grid__item--format5 {
    width: 45%;
    height: auto;
    padding: 50px 0 50px 5%;
}

.masonry-grid__item figcaption h2 {
    margin-top: var(--spacer);
    font-family: "TWK_Everett";
    font-size: var(--font-size-xs);
    line-height: var(--line-height);
    font-weight: 400;
}

.sa-projects-list__filter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacer) * 2);
    margin-bottom: calc(var(--spacer) * 4);
}

.sa-projects-list__filter ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: calc(var(--spacer) * 2);
}

.sa-projects-list__filter p {
    margin-bottom: 0;
}

.sa-projects-list__filter button.is-active {
    background-color: var(--clr-neutral-max);
    color: var(--clr-neutral-min);
    cursor: not-allowed;
}

/* TableView - Container */
.sa-projects-list--table-view {
    width: 100%;
    overflow-x: auto;
}

/* TableView - Bouton */
.sa-projects-list__table-button {
    margin-bottom: 1rem;
}

/* TableView - Table */
.sa-projects-list__table {
    min-width: 100%;
    border-collapse: collapse;
}

.sa-projects-list__table th,
.sa-projects-list__table td {
    background-color: var(--clr-cell);
    border-bottom: var(--border-size) solid var(--clr-neutral-min);
}

.sa-projects-list__table th.is-active,
.sa-projects-list__table td.is-active {
    background-color: var(--clr-cell-active);
}

.sa-projects-list__header th {
    padding: var(--spacer);
    text-align: left;
}

.sa-projects-list__body td {
    padding: calc(var(--spacer) * 2) var(--spacer);
}

.sa-projects-list__header th span {
    font-family: "TWK_Everett_Bold";
    font-size: var(--font-size-standard);
    line-height: var(--line-height);
}

.sa-projects-list__body td span {
    font-family: "TWK_Everett";
    font-size: var(--font-size-standard);
    line-height: var(--line-height);
    font-weight: 400;
}

.sa-projects-list__body td a {
    text-decoration: underline;
}

.sa-projects-list__body td a:hover,
.sa-projects-list__body td a:focus {
    text-decoration: none;
}

.sa-projects-list__table span {
    white-space: nowrap;
}

.sa-projects-list__table .is-hidden {
    display: none;
}
