.timeline-slider-wrapper {
    max-width: 100%;
    
    /* padding: 20px; */
    /* background: #f9e8dc; */
    border-radius: 10px;
}

.timeline-content {
    /* margin-bottom: 40px; */
}

.timeline-images-container {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 400px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    position: relative; */
}

.timeline-slide {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.timeline-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-content-block {
    display: flex;
    flex-direction: column;
}

.timeline-content-block h2 {
    color: #d47c62;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.timeline-content-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.timeline-content-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-top: auto;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    /* border-top: 3px solid #d47c62; */
}

.timeline-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}
button:hover, button:focus {
    background-color: transparent !important;
}

.timeline-nav-btn:hover{
    background: #d47c62 !important;
}

.timeline-nav-btn:focus{
    border:2px solid #d47c62 !important;
    color: #d47c62 !important;
}

.timeline-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #d4a190;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex: 1;
}

.timeline-tab:hover {
    color: #d47c62;
    border-bottom-color: #d4a190;
}

.timeline-tab.active {
    color: #d47c62;
    border-bottom-color: #d47c62;
    font-weight: 700;
}

.timeline-nav-btn {
    background: #d47c62;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-nav-btn:hover {
    background: #c26952;
    transform: scale(1.1);
}

.timeline-nav-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
    transform: scale(1);
}

.timeline-nav-btn span {
    display: block;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-images-container,
    .timeline-slide.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-content-block h2 {
        font-size: 28px;
    }
    
    .timeline-content-text {
        font-size: 14px;
    }
    
    .timeline-navigation {
        flex-wrap: wrap;
    }
    
    .timeline-tabs {
        order: -1;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .timeline-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
}