/* Text Slider Hero Block Styles */
.text-slider-hero-block {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.text-slider-hero-block__inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Main Slider */
.text-slider-hero-block__slider {
    margin-bottom: 40px;
}

.text-slider-hero-block__slide {
    width: 100%;
    padding: 40px 20px;
}

.text-slider-hero-block__slide-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-slider-hero-block__heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #252525;
}

.text-slider-hero-block__body {
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
}

.text-slider-hero-block__body p:last-child {
    margin-bottom: 0;
}

/* Navigation Container */
.text-slider-hero-block__nav-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Text Navigation */
.text-slider-hero-block__text-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.text-slider-hero-block__text-nav-item {
    background: transparent;
    border: 2px solid #252525;
    color: #252525;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.text-slider-hero-block__text-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #f9c300;
    transition: width 0.3s ease;
}

.text-slider-hero-block__text-nav-item:hover {
    background-color: rgba(249, 195, 0, 0.1);
}

.text-slider-hero-block__text-nav-item.is-active {
    background-color: #252525;
    color: #ffffff;
    border-color: #252525;
}

.text-slider-hero-block__text-nav-item.is-active::before {
    width: 100%;
}

/* Dot Navigation */
.text-slider-hero-block__dot-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.text-slider-hero-block__dot-nav-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(37, 37, 37, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.text-slider-hero-block__dot-nav-item:hover {
    background-color: rgba(37, 37, 37, 0.5);
    transform: scale(1.2);
}

.text-slider-hero-block__dot-nav-item.is-active {
    background-color: #f9c300;
    border-color: #252525;
    transform: scale(1.3);
}

/* Flickity styles override */
.text-slider-hero-block__slider.flickity-enabled {
    position: relative;
}

.text-slider-hero-block__slider .flickity-viewport {
    overflow: hidden;
    position: relative;
}

.text-slider-hero-block__slider .flickity-slider {
    display: flex;
    align-items: stretch;
}

/* Responsive */
@media (max-width: 768px) {
    .text-slider-hero-block {
        min-height: 400px;
    }

    .text-slider-hero-block__heading {
        font-size: 32px;
    }

    .text-slider-hero-block__body {
        font-size: 16px;
    }

    .text-slider-hero-block__text-nav {
        flex-direction: column;
        width: 100%;
    }

    .text-slider-hero-block__text-nav-item {
        width: 100%;
        text-align: center;
    }

    .text-slider-hero-block__nav-container {
        gap: 15px;
    }
}
