/* ===== TIMELINE YEARS ===== */
.timeline-years {
    position: relative;
    margin-bottom: clamp(20px, 4vw, 40px);
}

.timeline-years:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #15052D1A;
    pointer-events: none;
}

/* ===== YEAR TEXT ===== */
.year-slide h3 {
    font-family: var(--e-global-typography-primary-font-family), serif;
    cursor: pointer;
    line-height: 1;
    margin-block-end: 0.5rem;
}

/* ITEM */
.year-slide .item {
    position: relative;
    display: inline-block;
}

.year-slide .item:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--e-global-color-secondary);
    z-index: 2;
    pointer-events: none;
    transition: 0.4s;
}

/* SMALL */
.year-small {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.5s;
}

/* BIG */
.year-big {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    opacity: 0;
    transform: scale(0);
    transform-origin: left bottom;
    transition: 0.5s;
}

/* ACTIVE / NEXT */
.year-slide:hover .year-small,
.year-slide.swiper-slide-thumb-next .year-small,
.year-slide.swiper-slide-next .year-small {
    opacity: 0;
}

.year-slide:hover .year-big,
.year-slide.swiper-slide-thumb-next .year-big,
.year-slide.swiper-slide-next .year-big {
    opacity: 1;
    transform: scale(1);
}

.year-slide:hover .item:before,
.year-slide.swiper-slide-thumb-next .item:before,
.year-slide.swiper-slide-next .item:before {
    width: 100%;
}

/* ===== CONTENT ===== */
.timeline-item {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 60px);
}

/* IMAGE */
.timeline-image.main-img {
    display: flex;
    padding: 10px;
    width: 60%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.timeline-text {
    width: 40%;
}

.timeline-text h3.title {
    font-size: clamp(20px, 3vw, 32px);
    margin-bottom: 10px;
}

/* ===== CONTENT CLAMP ===== */
.timeline-text .content {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column-reverse;
    }

    .timeline-image.main-img,
    .timeline-text {
        width: 100%;
    }
}