.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color:#28260b;
    border-top: 10px solid #28260b;
    margin-bottom: 0;
}

.hero-slider-carousel {
    padding-left: 10px;
    padding-right: 10px;
}

.hero-slider-carousel .hero-slide {
    position: relative;
    min-height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-slide-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    cursor: pointer;
}

.hero-slide--clickable {
    cursor: pointer;
}

.hero-slide--clickable .hero-slide-btn {
    position: relative;
    z-index: 6;
    pointer-events: none;
}

/* Slajd typu Zegar odliczania – ten sam wymiar co slajdy z obrazkiem, treść jako overlay na dole */
.hero-slide--countdown {
    background: #080805; /* fallback gdy brak pola tła */
}
.hero-slide--countdown .hero-slide-images {
    display: none;
}
/* Zegar wyśrodkowany pionowo w slajdzie */
.hero-slide-countdown-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.hero-slide--countdown .hero-slide-content {
    z-index: 2;
}
/* .hero-slide-content – overlay na dole jak przy obrazkach */
.hero-slide--countdown .hero-slide-content .container {
    width: 100%;
}
/* W sliderze countdown-wrap dopasowany do overlay – bez min-height, mniejszy padding, tło jak pasek */
.hero-slide--countdown .countdown-wrap {
    width: 100%;
    min-height: 0;
    padding: 0.75rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}
@media (max-width: 991px) {
    .hero-slide--countdown .countdown-wrap {
        padding: 0.5rem 0 0.75rem;
    }
}
/* Kolor tekstu zegara w slajdzie – domyślnie biały; nadpisywany przez pole ACF (inline style) */
.hero-slide--countdown .countdown-title,
.hero-slide--countdown .countdown-units,
.hero-slide--countdown .countdown-expired {
    color: #fff;
}
.hero-slide--countdown .countdown[style*="color"] .countdown-title,
.hero-slide--countdown .countdown[style*="color"] .countdown-units,
.hero-slide--countdown .countdown[style*="color"] .countdown-expired {
    color: inherit;
}

.hero-slide-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-images picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-slide-content .container {
    background: #08080594;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.hero-slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
}

.hero-slide-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;

}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-700, #57501E);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.hero-slide-btn:hover {
    background: var(--primary-800, #3d3815);
    color: #fff;
}

.hero-slider-nav {
    position: relative;
    z-index: 10;
    padding: 8px;
}

.owl-custom-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.hero-slider-dots {
    display: none;
}

@media (min-width: 992px) {
    .hero-slider-dots {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    
    .hero-slider-dots .dot {
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        border: none;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
        padding: 0;
    }
    
    .hero-slider-dots .dot--large {
        width: 12px;
        height: 12px;
    }
    
    .hero-slider-dots .dot--small {
        width: 8px;
        height: 8px;
        cursor: default;
        pointer-events: none;
    }
    
    .hero-slider-dots .dot:hover {
        background: rgba(255, 255, 255, 0.7);
    }
    
    .hero-slider-dots .dot.active {
        background: #fff;
    }
}

.hero-slider-nav .container {
    display: flex;
    justify-content: center;
}

.hero-slider-prev,
.hero-slider-next {
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--primary-700, #57501E);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--primary-800, #3d3815);
}

.hero-slider-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
}

/* Video slide styles */
.hero-video-trigger {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.hero-video-trigger picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-video-trigger:hover .hero-video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.hero-video-play-btn svg {
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hero-video-play-btn circle {
    transition: fill 0.3s ease;
}

.hero-video-trigger:hover .hero-video-play-btn circle {
    fill: rgba(87, 80, 30, 0.8);
}

/* Centered text variant */
.hero-slide--centered .hero-slide-content .container {
    text-align: center;
}

.hero-slide--centered .hero-slide-title,
.hero-slide--centered .hero-slide-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}



@media (max-width: 991px) {
    .hero-slider-section
    {
        margin-top: 79px;
    }
    .hero-slider-carousel .hero-slide {
        min-height: 500px;
    }
    
    .hero-slide-title {
        font-size: 28px;
    }
    
    .hero-slide-text {
        font-size: 15px;
    }
    
    .hero-slide-content .container {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .hero-slider-carousel .hero-slide {
        min-height: 450px;
    }
    
    .hero-slide-title {
        font-size: 24px;
    }
    
    .hero-slide-content .container {
        padding: 15px;
    }
    
    .hero-slider-nav {
        position: absolute;
        background: none;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        margin-top: 0;
        pointer-events: none;
    }
    
    .hero-slider-nav .container {
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
    }
    
    .owl-custom-nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 40px;
        height: 40px;
        pointer-events: auto;
        background: rgba(87, 80, 30, 0.8);
    }
}
