.list {
    padding-top: 76px;
    padding-bottom: 76px;
    position: relative;
}
@media screen and (min-width: 768px) {
    .list {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}
.list.presentation {
    padding-top: 64px;
}
@media screen and (min-width: 768px) {
    .list.presentation {
        padding-top: 96px;
    }
}
.list__title {
    text-align: center;
    margin-bottom: 35px;
}
@media screen and (min-width: 768px) {
    .list__title {
        margin-bottom: 76px;
    }
}
.list__title h2 {
    margin: 8px 0 24px 0;
    font-size: 24px;
    font-weight: 700;
}
@media screen and (min-width: 768px) {
    .list__title h2 {
        font-size: 56px;
        margin: 16px 0 40px 0;
    }
}
.list__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px 16px;
    position: relative;
    margin-bottom: 8px;
}
@media screen and (min-width:768px) {
    .list__items {
        gap: 16px 32px;
    }
}
.list__items a {
    position: relative;
}
.list__items a::after,
.list__items a::before {
    content: "";
    background: url(../../assets/images/border-white.svg);
    background-repeat: repeat-x;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    max-height: 24px;
    z-index: 1;
}
.list__items a::before {
    display: block;
    top: 0px;
    transform: rotate(180deg);
    max-width: initial;
}
.list__items a:hover img {
    transform: scale(1.2);
}
.list__items .card {
    gap: 0;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 400px;
}
.list__items .card::before {
    top: -10px;
    transform: rotate(180deg);
}
@media screen and (min-width: 1200px) {
    .list__items .card::before {
        display: none;
    }
}
.list__items .card .image {
    height: 100%;
}
.list__items .card .image::after {
    content: "";
    background: url(../images/noise.png), linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 38.08%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
}
.list__items .card .image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}
.list__items .card .card__title {
    position: absolute;
    bottom: 0;
    z-index: 2;
    padding: 40px 16px;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}
.list__items .card .card__title p {
    font-family: "Roboto Slab";
    font-weight: 200;
    font-size: 16px;
    line-height: 120%;
    color: #d8b465;
}
.list__items .card .card__title p span {
    font-family: "Roboto Slab";
    font-weight: 100;
    font-size: 32px;
    line-height: 120%;
    color: white;
    margin-right: 6px;
}
.list__items .card .card__title h3 {
    font-family: "Roboto Slab";
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    color: white;
    display: flex;
    margin: 16px 0 0 16px;
    position: relative;
    max-width: 368px;
    transition: margin 1s ease-in-out;
}
.list__items .card .card__title h3::before {
    content: "";
    width: 1px;
    height: 100%;
    background: #d8b465;
    position: absolute;
    left: -16px;
}
