/* =============================================================================
   ULFUR HERO SLIDER - Custom Progress-Bar Pagination
   ============================================================================= */

/* Hide default Swiper pagination dots */
#hero .swiper-pagination {
    display: none !important;
}

/* -- Container - inside the slider, overlaying bottom ------------- */
.ulfur-hero-pagination {
    display: flex;
    gap: 5%;
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: calc(100% - 70px);
    transform: translateX(-50%);
    max-width: 1440px;
    z-index: 20;
    pointer-events: auto;
}

/* -- Single pagination item --------------------------------------- */
.ulfur-hero-pagination__item {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* -- Track (the line) --------------------------------------------- */
.ulfur-hero-pagination__track {
    position: relative;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    overflow: visible;
}

/* -- Progress fill ------------------------------------------------ */
.ulfur-hero-pagination__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 1px;
    transition: opacity 0.3s ease;
}

/* -- Dot (the ball) ----------------------------------------------- */
.ulfur-hero-pagination__dot {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

/* -- Label -------------------------------------------------------- */
.ulfur-hero-pagination__label {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Active label - only color change, no font-weight jump */
.ulfur-hero-pagination__item.is-active .ulfur-hero-pagination__label {
    color: #fff;
}

/* -- Hover -------------------------------------------------------- */
.ulfur-hero-pagination__item:hover .ulfur-hero-pagination__label {
    color: rgba(255, 255, 255, 0.9);
}

.ulfur-hero-pagination__item:hover .ulfur-hero-pagination__track {
    background: rgba(255, 255, 255, 0.45);
}

/* -- Mobile: keep labels inside the viewport, smaller, no edge clipping -- */
@media (max-width: 767px) {
    .ulfur-hero-pagination {
        gap: 10px;
        bottom: 16px;
    }
    .ulfur-hero-pagination__label {
        font-size: 11px;
    }
}

/* =============================================================================
   ZINTEGROWANE "SUPERIOR" CSS - hero / slider
   ============================================================================= */
.ulfur-hero-pagination {
    width: calc(100% - 70px) !important;
}
.ulfur-hero-pagination__label {
    white-space: pre-wrap !important;
}
.swiper-content {
    padding: 0 !important;
}
