.st-timeline-wrapper-7bd0c0b0 {
    position: relative;
    padding: 2rem 0;
}
.st-timeline-wrapper-7bd0c0b0 > .st-connector-line {
    position: absolute;
    background: #e2e8f0;
    z-index: 1;
}

.st-timeline-items {
    display: flex;
    position: relative;
    z-index: 2;
    gap: 20px;
}

/* Slider specifics overrides */
.st-swiper-container {
    padding-bottom: 3rem !important; /* space for dots */
}
.st-swiper-container .st-timeline-items {
    gap: 0; /* Handled by swiper spaceBetween */
}
.st-swiper-container .swiper-slide {
    height: auto;
}
.st-slider-eq-h-yes .st-swiper-container .swiper-slide {
    display: flex;
}
.st-slider-eq-h-yes .st-swiper-container .st-card {
    flex-grow: 1;
}

/* Slide Connector Line */
.st-slide-connector-line {
    position: absolute;
    background: #e2e8f0;
    z-index: 1;
    display: none;
}
.st-swiper-container .st-slide-connector-line {
    display: block;
}

.st-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.st-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
    z-index: 3;
    position: relative;
}
.st-icon-circle i { font-size: 20px; }
.st-icon-circle svg { width: 20px; fill: #fff; }

.st-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.st-year {
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}
.st-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}
.st-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Image Container & Alignment Fixes */
.st-item-image-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Default */
    margin-bottom: 1rem;
}
.st-item-image-wrapper {
    max-width: 100%;
    width: 100%; /* Default controlled by settings */
}
.st-item-image {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    position: relative;
}
.st-item-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.st-equal-images-yes .st-item-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Hover Zoom */
.st-item:hover .st-hover-zoom img {
    transform: scale(1.05);
}

/* Background Image Position */
.st-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.15;
}
.st-card-content {
    position: relative;
    z-index: 2;
}

/* Desktop Horizontal (Default) */
@media (min-width: 768px) {
    /* Standard Timeline */
    .st-timeline-wrapper-7bd0c0b0 > .st-connector-line {
        top: 45px;
        left: 0;
        right: 0;
        height: 2px;
    }
    .st-img-pos-above_icon > .st-connector-line,
    .st-img-pos-below_icon > .st-connector-line {
        top: 50%;
    }
    
    /* Slider Timeline */
    .st-swiper-container .st-slide-connector-line {
        top: 45px;
        left: -100%;
        right: -100%;
        height: 2px;
        width: 300%;
    }
    .st-img-pos-above_icon.st-swiper-container .st-slide-connector-line,
    .st-img-pos-below_icon.st-swiper-container .st-slide-connector-line {
        top: 50%;
    }
}

/* Mobile Vertical (Default) */
@media (max-width: 767px) {
    /* Only apply vertical stacking if SLIDER IS OFF */
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container) .st-timeline-items {
        flex-direction: column;
    }
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container) > .st-connector-line {
        left: 24px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container) .st-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
    }
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container) .st-icon-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container).st-img-pos-above_icon .st-item,
    .st-timeline-wrapper-7bd0c0b0:not(.st-swiper-container).st-img-pos-below_icon .st-item {
        flex-direction: column;
    }
    
    /* If Slider is ON for mobile */
    .st-swiper-container .st-slide-connector-line {
        top: 45px;
        left: -100%;
        right: -100%;
        height: 2px;
        width: 300%;
    }
}

/* Swiper Navigation Customization */
.st-swiper-container .swiper-button-next,
.st-swiper-container .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #101828;
}
.st-swiper-container .swiper-button-next:after,
.st-swiper-container .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}
.st-swiper-container .swiper-pagination-bullet-active {
    background: #2D136B;
}
