.post-link.central-story-carousel {
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 slides * 100% */
}

.carousel-slide {
    flex: 0 0 33.333%; /* Each slide takes 1/3 of the track width */
    width: 33.333%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Prevent initial animation on page load */
.carousel-slide:first-child {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide:first-child.active {
    transition: none; /* Remove transition for first slide on initial load */
}

/* Disable all transitions during initialization */
.central-story-carousel.carousel-initializing .carousel-slide {
    transition: none !important;
}

.central-story-carousel.carousel-initializing .carousel-track {
    transition: none !important;
}

.carousel-slide-content {
    position: relative;
    width: 100%;
}

.carousel-image-link {
    display: block;
    position: relative;
}

.carousel-image-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}


.carousel-slide img {
    width: 100%;
    display: block;
    height: auto;
}

/* Overlay content positioned on top of image */
.carousel-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 25px 25px;
    z-index: 2;
}

.carousel-overlay-content .post-category {
    display: block;
    margin-bottom: 10px;
}

.carousel-overlay-content .post-category a {
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.1s ease;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
}

.carousel-overlay-content .post-category a:hover {
    color: #E0E0E0;
}

.carousel-overlay-content .post-title {
    font-size: 34px;
    margin: 0;
    color: white;
    line-height: 1.2;
    transition: color 0.1s ease;
}

.carousel-overlay-content .post-title:hover {
    color: #E0E0E0;
}

.carousel-overlay-content a {
    text-decoration: none;
}

/* Navigation arrows - REMOVED COMPLETELY */

/* Dots indicator - normal document flow */
.carousel-dots {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin: 20px 10px 10px 10px;
    padding: 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #000000;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #000000;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-overlay-content {
        padding: 20px 15px 15px 15px;
    }
    
    .carousel-overlay-content .post-title {
        font-size: 28px;
    }
    
    .carousel-overlay-content .post-category a {
        font-size: 12px;
    }
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-slide.slide-in {
    animation: slideIn 0.5s ease-out;
} 