.timeline-slider {
    overflow: hidden;
}

.timeline-slider--container {
    max-width: 1216px;
    margin-inline: auto;
}

.timeline-slider--header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 32px;
}

@media screen and (min-width:992px) {
    .timeline-slider--header {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (min-width:1280px) {
    .timeline-slider--header {
        padding: 0;
    }
}

.timeline-slider--header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

@media screen and (min-width:992px) {
    .timeline-slider--header-title {
        flex: 0 1 592px;
        align-items: flex-start;
    }
}

.timeline-slider--header-title h2{
    text-align: center;
}

@media screen and (min-width:992px) {
    .timeline-slider--header-title h2{
        text-align: left;
    }
}

.timeline-slider--header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

@media screen and (min-width:992px) {
    .timeline-slider--header-content {
        flex: 0 1 592px;
        align-items: flex-start;
        text-align: left;
    }
}

.timeline-slider--header-content .btn-with-text{
    margin-top: 17px;
    margin-bottom: 17px;
}





.timeline-slider--slider {
    padding: 0 20px;
}

@media screen and (min-width: 1256px) {
    .timeline-slider--slider {
        padding: 0;
    }
}

.timeline-slider--card {
    height: 480px;
    position: relative;
}

.timeline-slider--card::before {
    content: '';
    background: linear-gradient(180deg, rgba(27, 27, 27, 0) 29.73%, #1B1B1B 81.91%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.timeline-slider--card img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.timeline-slider--card .content {
    position: absolute;
    left: 16px;
    bottom: 16px;
    color: #fff;
    z-index: 2;
}

@media screen and (min-width: 992px) {
    .timeline-slider--card .content {
        left: 32px;
        bottom: 32px;
    }
}

.timeline-slider--card .content span {
    font-family: "Roboto Slab", serif;
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 38px;
}

@media screen and (min-width: 992px) {
    .timeline-slider--card .content span {
        font-size: 40px;
        line-height: 48px;
    }
}

.timeline-slider--card .content h3 {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    padding-left: 16px;
    border-left: 1px solid #d8b465;
    margin: 8px 0 16px;
}

@media screen and (min-width: 992px) {
    .timeline-slider--card .content h3 {
        font-size: 24px;
        line-height: 32px;
        padding-left: 32px;
    }
}

.timeline-slider--card .content p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.timeline-slider--dates {
    display: none;
    justify-content: space-between;
    margin-top: 70px;
}

@media screen and (min-width: 992px) {
    .timeline-slider--dates {
        display: flex;
        gap: 16px;
    }
}

.timeline-slider--dates .date-item {
    flex: 1;
    max-width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.timeline-slider--dates .date-item .picto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #666;
    margin-bottom: 8px;
    padding: 6px;
    transition: all .4s .1s ease;
}

.timeline-slider--dates .date-item .picto span {
    height: 100%;
    width: 100%;
    display: block;
    -webkit-mask: var(--picto), no-repeat center;
    mask: var(--picto), no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: #666;
    transition: all .4s ease;
}

.timeline-slider--dates .date-item .date {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}

.timeline-slider--dates .date-item .desc {
    color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

.timeline-slider--dates .date-item.active .picto,
.timeline-slider--dates .date-item:hover .picto {
    border-color: #d8b465;
    background: #d8b465;
}

.timeline-slider--dates .date-item.active .picto span,
.timeline-slider--dates .date-item:hover .picto span {
    background: #fff;
}

.timeline-slider--navigation {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    position: relative;
}

.timeline-slider--navigation::before {
    content: '';
    height: 100%;
    width: 1px;
    background: #1b1b1b;
    position: absolute;
    left: 50%;
    top: 0;
}

.timeline-slider--navigation::after {
    content: '';
    width: 80px;
    height: 1px;
    background: #d8b465;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width: 992px) {
    .timeline-slider--navigation {
        display: none;
    }
}

.timeline-slider--navigation button {
    height: 32px;
    width: 32px;
    background: #1b1b1b;
    flex-shrink: 0;
}

.timeline-slider--navigation button.owl-prev {
    -webkit-mask: url("../images/long-arrow-prev.svg") no-repeat center;
    mask: url("../images/long-arrow-prev.svg") no-repeat center;
}

.timeline-slider--navigation button.owl-next {
    -webkit-mask: url("../images/long-arrow-next.svg") no-repeat center;
    mask: url("../images/long-arrow-next.svg") no-repeat center;
}

.timeline-slider .owl-carousel .owl-stage-outer {
    overflow: visible;
}

@media screen and (min-width: 992px) {
    .timeline-slider .owl-carousel .owl-stage-outer {
        margin-left: -104px;
    }
}

.date-in-card {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: max-content;
    margin: 16px auto 0;
}

@media screen and (min-width: 992px) {
    .date-in-card {
        display: none;
    }
}

.date-in-card .picto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #666;
    padding: 6px;
    transition: all .4s .1s ease;
}

.active .date-in-card .picto {
    background: #d8b465;
    border-color: #d8b465;
}

.date-in-card .picto span {
    height: 100%;
    width: 100%;
    display: block;
    -webkit-mask: var(--picto), no-repeat center;
    mask: var(--picto), no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: #666;
    transition: all .4s ease;
}

.active .date-in-card .picto span {
    background: #fff;
}

.date-in-card .date {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}

.date-in-card .desc {
    color: #666;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}