/* Placement Slider CSS */
.placement-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    margin: 40px auto 20px;
}

.placement-slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.placement-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

/* Navigation buttons */
.placement-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(91, 94, 247, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.placement-slider-nav:hover {
    background: rgba(91, 94, 247, 0.5);
}

.placement-slider-nav.prev {
    left: 10px;
}

.placement-slider-nav.next {
    right: 10px;
}

/* Pagination dots */
.placement-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Card animation */
.story-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* View more button */
.view-more-placements {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .placement-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .placement-slide {
        grid-template-columns: 1fr;
    }
    
    .placement-slider-nav {
        width: 35px;
        height: 35px;
    }
}
