.ttv-standard-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
    --swiper-navigation-size: 44px;
    --swiper-navigation-sides-offset: 0;
}

.ttv-standard-swiper .swiper-slide {
    position: relative;
}

.ttv-standard-swiper .slide-caption {
    text-align: center;
}

.swiper.ttv-standard-swiper .swiper-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
}

.swiper.ttv-standard-swiper--hero .swiper-buttons,
.swiper.hero-slides-swiper .swiper-buttons {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 !important;
    pointer-events: none;
    z-index: 3;
}

.swiper.ttv-standard-swiper--hero .swiper-pagination,
.swiper.hero-slides-swiper .swiper-pagination {
    display: none !important;
}

.swiper.ttv-standard-swiper--hero .swiper-button-prev,
.swiper.ttv-standard-swiper--hero .swiper-button-next,
.swiper.hero-slides-swiper .swiper-button-prev,
.swiper.hero-slides-swiper .swiper-button-next,
.swiper.ttv-standard-swiper--hero .ttv-swiper-button,
.swiper.hero-slides-swiper .ttv-swiper-button {
    position: absolute !important;
    top: 50% !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-50%) !important;
    pointer-events: auto;
}

.swiper.ttv-standard-swiper--hero .swiper-button-prev,
.swiper.hero-slides-swiper .swiper-button-prev,
.swiper.ttv-standard-swiper--hero .ttv-swiper-prev,
.swiper.hero-slides-swiper .ttv-swiper-prev {
    left: 3px !important;
}

.swiper.ttv-standard-swiper--hero .swiper-button-next,
.swiper.hero-slides-swiper .swiper-button-next,
.swiper.ttv-standard-swiper--hero .ttv-swiper-next,
.swiper.hero-slides-swiper .ttv-swiper-next {
    right: 3px !important;
}

.ttv-hero-section {
    width: 100%;
    height: 400px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.ttv-hero-section .hero-slides-container,
.ttv-hero-section .hero-slides-swiper,
.ttv-hero-section .swiper-wrapper,
.ttv-hero-section .swiper-slide {
    width: 100%;
    height: 100%;
}

.ttv-hero-slide {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.ttv-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.ttv-hero-section .hero-slide-title {
    position: absolute;
    right: 24px;
    bottom: 68px;
    left: 24px;
    z-index: 2;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateX(-70px);
}

.ttv-hero-section .swiper-slide-active .hero-slide-title {
    animation: ttvHeroSlideTitleMotion 5s ease both;
}

@keyframes ttvHeroSlideTitleMotion {
    0% {
        opacity: 0;
        transform: translateX(-70px);
    }
    16% {
        opacity: 1;
        transform: translateX(0);
    }
    78% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ttv-hero-section .swiper-slide-active .hero-slide-title {
        animation: none;
        opacity: 1;
        transform: translateX(0);
    }
}

.ttv-hero-section .swiper-pagination {
    bottom: 18px !important;
}

@media (max-width: 767.98px) {
    .ttv-hero-section {
        height: 400px;
        min-height: 400px;
    }

    .ttv-hero-section .hero-slide-title {
        font-size: 1.1rem;
        right: 18px;
        bottom: 68px;
        left: 18px;
    }
}

#galleryThumbnails,
.gallery-thumbnails-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 8px !important;
}
