/* Wrapper */
.ds-raspored-carousel-wrapper {
    position: relative;
    padding: 30px 0px;
    margin: 40px 0;
}

/* Main carousel */
.ds-raspored-carousel {
    visibility: hidden;
}

.ds-raspored-carousel.slick-initialized {
    visibility: visible;
}

/* CRITICAL FIX - Force heights */
.ds-raspored-carousel .slick-list {
    height: 450px !important;
}

.ds-raspored-carousel .slick-track {
    height: 450px !important;
    display: flex !important;
    align-items: stretch !important;
}

.ds-raspored-carousel .slick-slide {
    height: auto !important;
}

.ds-raspored-carousel .slick-slide > div {
    height: 450px !important;
}

/* Carousel item - FIXED HEIGHT */
.ds-carousel-item {
    height: 450px !important;
    padding: 0 10px;

}




.ds-carousel-item-inner {
    position: relative;
    height: 450px !important; /* Explicit height instead of 100% */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.ds-carousel-item-inner:hover {
    transform: translateY(-5px);
}

/* Background image */
.ds-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay gradient */
.ds-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.1) 30%, 
        rgba(0,0,0,0.8) 70%, 
        rgba(0,0,0,0.95) 100%);
}

/* Content container */
.ds-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Categories */
.ds-carousel-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ds-carousel-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Title */
.ds-carousel-title {
    margin: 10px 0 0 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.ds-carousel-title a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
    font-weight: 600 !important;
}

.ds-carousel-title a:hover {
    opacity: 0.8;
}

/* Date & Time */
.ds-carousel-datetime {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.ds-carousel-date {
    font-weight: 600;
}

.ds-carousel-day {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-top: 2px;
    margin-bottom: -7px;
    color: rgba(255,255,255,0.9);
}

/* CTA Section */
.ds-carousel-cta {
    margin-top: 5px;
}

/* Badges */
.ds-carousel-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ds-carousel-badge.ds-cancelled {
    background: #dc3545;
    color: white;
}

.ds-carousel-badge.ds-sold {
    background: #ffc107;
    color: #333;
}

/* Button */
.ds-carousel-button {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ds-carousel-button:hover {
    background: #218838;
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Navigation arrows */
.ds-carousel-prev,
.ds-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00653e;
    border: 2px solid #00653e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ds-carousel-prev:hover,
.ds-carousel-next:hover {
    background: transparent;
    color: #00653e;
    transform: translateY(-50%) scale(1.1);
}

.ds-carousel-prev:active,
.ds-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

.ds-carousel-prev {
    left: 0;
}

.ds-carousel-next {
    right: 0;
}

.ds-carousel-prev svg,
.ds-carousel-next svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    pointer-events: none;
}

/* Slick dots */
.ds-raspored-carousel-wrapper .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.ds-raspored-carousel-wrapper .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.ds-raspored-carousel-wrapper .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ds-raspored-carousel-wrapper .slick-dots li button:before {
    display: none;
}

.ds-raspored-carousel-wrapper .slick-dots li.slick-active button {
    background: #00653e;
    width: 12px;
    height: 12px;
}

/* No shows */
.ds-raspored-no-shows {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Responsive */
@media (max-width: 1400px) {
    .ds-raspored-carousel-wrapper {
        padding: 30px 40px;
    }
}

@media (max-width: 992px) {
    .ds-carousel-title {
        font-size: 16px !important;
    }
    
    .ds-carousel-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .ds-raspored-carousel-wrapper {
        padding: 20px 0px;
    }
    
    /* Adjust heights for mobile */
    .ds-raspored-carousel .slick-list,
    .ds-razpored-carousel .slick-track,
    .ds-raspored-carousel .slick-slide > div,
    .ds-carousel-item,
    .ds-carousel-item-inner {
        height: 380px !important;
    }
    
    /* SHOW arrows on mobile with adjusted styling */
    .ds-carousel-prev,
    .ds-carousel-next {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        opacity: 0.9;
        background: rgba(0, 101, 62, 0.95) !important;
    }
    
    .ds-carousel-prev {
        left: 10px !important;
    }
    
    .ds-carousel-next {
        right: 10px !important;
    }
    
    .ds-carousel-prev svg,
    .ds-carousel-next svg {
        width: 16px;
        height: 16px;
    }
    
    .ds-raspored-carousel-wrapper .slick-dots li {
        margin: 0 8px;
    }
    
    .ds-raspored-carousel-wrapper .slick-dots li button {
        width: 12px;
        height: 12px;
    }
    
    .ds-raspored-carousel-wrapper .slick-dots li.slick-active button {
        width: 14px;
        height: 14px;
    }
}


/* --- Novi stilovi za strelice --- */
.ds-raspored-carousel-wrapper {
    position: relative; /* da apsolutno pozicionirane strelice budu unutar ovog kontejnera */
}

/* Zajedničke postavke */
.ds-carousel-prev,
.ds-carousel-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    border: 2px solid #00653e !important;
    background: #00653e !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

/* Pozicija - preko prvog i zadnjeg itema */
.ds-carousel-prev {
    left: 10px !important;
}

.ds-carousel-next {
    right: 10px !important;
}

/* Hover efekt */
.ds-carousel-prev:hover,
.ds-carousel-next:hover {
    background: #fff !important;
    color: #00653e !important;
}

/* Pobrinimo se da Slick ne prekrije veličinu */
.ds-raspored-carousel-wrapper .slick-arrow {
    width: 40px !important;
    height: 40px !important;
}


@media (max-width: 768px) {
.ds-carousel-prev {
    left: -5px !important;
}

.ds-carousel-next {
    right: -5px !important;
}
}


@media (max-width: 768px) {
    /* Proširujemo wrapper do rubova ekrana */
    .ds-raspored-carousel-wrapper {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
        padding: 20px 0;
    }
    
    /* Osiguravamo da carousel zauzima punu širinu */
    .ds-raspored-carousel {
        width: 100%;
    }
    
    /* Ostalo ostaje isto */
    .ds-raspored-carousel .slick-list,
    .ds-raspored-carousel .slick-track,
    .ds-raspored-carousel .slick-slide > div,
    .ds-carousel-item,
    .ds-carousel-item-inner {
        height: 380px !important;
    }
    
    .ds-carousel-prev,
    .ds-carousel-next {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        opacity: 0.9;
        background: rgba(0, 101, 62, 0.95) !important;
    }
    
    .ds-carousel-prev {
        left: 10px !important;
    }
    
    .ds-carousel-next {
        right: 10px !important;
    }}



@media (min-width: 769px) {
.ds-raspored-carousel {
      margin: 0 -15px; /* negativna margina jednaka padding-u item-a */
}
}