.tl-v4-wrap {
    --tl-card-peek: 15%;
    --tl-transition-speed: 600ms;
    --tl-nav-line-width: 2px;
    --tl-nav-line-normal: transparent;
    --tl-nav-line-hover: #d8d8d8;
    --tl-nav-line-active: #004a44;
    position: relative;
    overflow: hidden;
    font-family: sans-serif;
}

.tl-v4-wrap,
.tl-v4-wrap * {
    box-sizing: border-box;
}

.tl-v4-wrap.is-single .tl-arrow,
.tl-v4-wrap.is-single .tl-nav-bar {
    display: none;
}

.tl-viewport {
    overflow: visible;
    position: relative;
    padding: 50px 0;
}

.tl-track {
    display: flex;
    align-items: stretch;
    transform: translate3d(0, 0, 0);
    transition: transform var(--tl-transition-speed, 600ms) cubic-bezier(0.25, 1, 0.5, 1);
}

.tl-v4-wrap.is-moving .tl-track {
    will-change: transform;
}

.tl-slide {
    flex: 0 0 calc(100% - var(--tl-card-peek));
    padding: 0 15px;
    transition: opacity 0.4s ease;
}

.tl-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 50px;
    align-items: center;
    gap: 40px;
}

.tl-card.reverse {
    flex-direction: row-reverse;
}

.tl-col {
    flex: 1 1 0;
    min-width: 0;
}

.tl-col.image img,
.tl-col.image .tl-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.huge-year {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.8;
    opacity: 0.1;
    margin: 0 0 10px;
}

.event-title {
    font-size: 2.2rem;
    margin: 0 0 15px;
}

.event-desc {
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

.tl-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    border: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.tl-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.tl-arrow.prev {
    left: 20px;
}

.tl-arrow.next {
    right: 20px;
}

.tl-nav-bar {
    margin-top: 40px;
    border-top: 0 solid transparent;
    position: relative;
    overflow: visible;
}

.tl-nav-inner {
    display: flex;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.tl-nav-inner::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.nav-item {
    flex: 1 0 auto;
    position: relative;
    padding: 25px 0;
    text-align: center;
    cursor: pointer;
    border: 0;
    background: transparent !important;
    appearance: none;
    -webkit-appearance: none;
}

.nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--tl-nav-line-width, 2px);
    background: var(--tl-nav-line-normal, transparent);
    transition: background 0.25s ease, height 0.25s ease;
    pointer-events: none;
}

.nav-item:hover::before {
    background: var(--tl-nav-line-hover, #d8d8d8);
}

.nav-item.active::before {
    background: var(--tl-nav-line-active, #004a44);
}

.nav-label {
    font-weight: 700;
    color: #ccc;
    transition: color 0.25s ease;
}

.nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 0;
    height: var(--tl-nav-line-width, 2px);
    background: var(--tl-nav-line-active, #004a44);
    transform: translate3d(0, 0, 0);
    transition: transform var(--tl-transition-speed, 600ms) cubic-bezier(0.65, 0, 0.35, 1), width var(--tl-transition-speed, 600ms) cubic-bezier(0.65, 0, 0.35, 1), background 0.25s ease;
    pointer-events: none;
}

@media (max-width: 767px) {
    .tl-card:not(.reverse),
    .tl-card.reverse {
        flex-direction: column;
    }

    .tl-slide {
        flex-basis: calc(100% - var(--tl-card-peek));
    }

    .huge-year {
        font-size: 5rem;
    }

    .tl-col.image,
    .tl-col.text {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tl-track,
    .tl-slide,
    .tl-arrow,
    .nav-item,
    .nav-label,
    .nav-indicator {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
