.timeline__year {
    min-width: 120px;
    height: 60px;
    font-family: 'IvyJournal Regular';
    font-style: italic;
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    letter-spacing: -0.025em;
    font-feature-settings: 'liga' off;
    color: #00392E;
    order: 0;
    flex: 1;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.timeline__year.active,
.timeline__year:hover {
    opacity: 1;
}

.timeline__footer {
    display: flex;
    gap: 10px;
    overflow: visible;
    padding-top: 20px;
}

.timeline__footer_box {
    width: 100%;
    overflow: hidden;
}

.timeline__content_box {
    width: 100%;
    overflow: hidden;
}

.timeline__content {
    display: flex;
    gap: 60px;
    overflow: visible;
}

.timeline__item {
    display: flex;
    flex: calc(66% - 30px) 0 0;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    gap: 40px;
    padding: 20px 0;
}

.timeline__item__content__date {
    font-family: 'IvyJournal Regular';
    font-style: italic;
    font-weight: 400;
    font-size: 72px;
    line-height: 90px;
    letter-spacing: -0.025em;
    font-feature-settings: 'liga' off;
    color: #00AD91;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

h3.timeline__item__content__title {
    font-family: 'IvyJournal Regular';
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    line-height: 45px;
    letter-spacing: -0.025em;
    font-feature-settings: 'liga' off;
    color: #00392E;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.timeline__item__content__desc {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    font-feature-settings: 'liga' off;
    color: #00392E;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.timeline__item__img {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 16px;
    background: #FFFFFF;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
    width: 50%;
}

.timeline__item__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline__control {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: flex-end;
    height: 150px;
    padding: 20px;
    border-bottom: 2px solid #00392E;
}

.timeline__control__item {
    background-color: #00392E;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.timeline__control__item.disabled {
    opacity: 0.4;
}

.timeline__item__blank {
    flex: calc(33% - 15px) 0 0;
}

/* Media Queries para Responsive Design */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .timeline__year {
        min-width: 100px;
        height: 50px;
        font-size: 36px;
        line-height: 50px;
    }
    
    .timeline__content {
        gap: 40px;
    }
    
    .timeline__item {
        gap: 30px;
        padding: 15px 0;
    }
    
    .timeline__item__content__date {
        font-size: 60px;
        line-height: 75px;
    }
    
    h3.timeline__item__content__title {
        font-size: 28px;
        line-height: 35px;
    }
    
    .timeline__item__content__desc {
        font-size: 16px;
        line-height: 24px;
    }
    
    .timeline__control {
        height: 120px;
        padding: 15px;
    }
    
    .timeline__control__item {
        width: 45px;
        height: 45px;
    }
}

/* Móviles grandes (481px - 767px) */
@media (max-width: 767px) {
    .timeline__year {
        min-width: 80px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        padding: 5px 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 173, 145, 0.2);
    }
    
    .timeline__year:active {
        transform: scale(0.95);
        background-color: rgba(0, 173, 145, 0.1);
        border-radius: 4px;
    }
    
    .timeline__footer {
        gap: 5px;
        padding-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timeline__content {
        gap: 30px;
    }
    
    .timeline__item {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        flex: calc(80% - 15px) 0 0;
    }
    
    .timeline__item__img {
        width: 100%;
        order: 2;
    }
    
    .timeline__item__content {
        width: 100%;
        order: 1;
    }
    
    .timeline__item__content__date {
        font-size: 48px;
        line-height: 60px;
    }
    
    h3.timeline__item__content__title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .timeline__item__content__desc {
        font-size: 14px;
        line-height: 22px;
    }
    
    .timeline__control {
        height: 100px;
        padding: 10px;
        justify-content: center;
    }
    
    .timeline__control__item {
        width: 40px;
        height: 40px;
    }
    
    .timeline__item__blank {
        flex: calc(20% - 15px) 0 0;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .timeline__year {
        min-width: 60px;
        height: 35px;
        font-size: 18px;
        line-height: 35px;
        padding: 3px 8px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 173, 145, 0.2);
    }
    
    .timeline__year:active {
        transform: scale(0.95);
        background-color: rgba(0, 173, 145, 0.1);
        border-radius: 4px;
    }
    
    .timeline__footer {
        gap: 3px;
        padding-top: 10px;
    }
    
    .timeline__content {
        gap: 20px;
    }
    
    .timeline__item {
        gap: 15px;
        padding: 10px;
        flex: calc(90% - 10px) 0 0;
    }
    
    .timeline__item__img {
        padding: 6px;
        gap: 12px;
    }
    
    .timeline__item__content__date {
        font-size: 36px;
        line-height: 45px;
    }
    
    h3.timeline__item__content__title {
        font-size: 20px;
        line-height: 25px;
    }
    
    .timeline__item__content__desc {
        font-size: 13px;
        line-height: 20px;
    }
    
    .timeline__control {
        height: 80px;
        padding: 8px;
        gap: 8px;
    }
    
    .timeline__control__item {
        width: 35px;
        height: 35px;
    }
    
    .timeline__control__item svg {
        width: 18px;
        height: 18px;
    }
    
    .timeline__item__blank {
        flex: calc(10% - 5px) 0 0;
    }
}