html, body {
    overflow-x: hidden;
}
.cta-button {
    position: absolute;
    bottom: 100px; /* Positions the button 100px above the bottom of the video */
    left: 50%; /* Center the button horizontally */
    transform: translateX(-50%); /* Adjust the button's position to be centered */
    padding: 12px 24px;
    background-color: white;
    color: #0d1c34;
    border: 2px solid #0d1c34;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 10; /* Ensure the button is on top of the video */
}

.cta-button:hover,
.cta-button:active,
.cta-button:focus {
    color: white;
    background-color: #0d1c34;
    border: 2px solid #0d1c34;
    text-decoration: none;
}

@media (max-width: 940px) {
    .cta-button {
        display: none; /* Hides the button when the screen width is less than 940px */
    }
}
.block-hero .block-swiper-hero {background-color: #000 !important;}
/* WordPress video styling */
.block-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero block base */
.block-hero {
    height: calc(100vh - 40px);
}

@media (max-width: 960px) {
    .block-hero {
        height: calc(100vh - 47px);
    }
}

/* Swiper hero styles */
.block-hero .swiper-hero .swiper-wrapper .swiper-slide {
    overflow: hidden;
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide .cover-image {
    transition: transform linear 10s;
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide:nth-child(1) .cover-image {
    transform: scale(1.05) !important;
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide.odd-box .cover-image {
    transform: scale(1.05);
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide.even-box .cover-image {
    transform: scale(1);
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide.swiper-slide-visible.odd-box .cover-image {
    transform: scale(1);
}

.block-hero .swiper-hero .swiper-wrapper .swiper-slide.swiper-slide-visible.even-box .cover-image {
    transform: scale(1.05);
}

.block-hero .swiper-hero .swiper-pagination {
    bottom: 85px;
}

.block-hero .swiper-hero .swiper-pagination .swiper-pagination-bullet {
    transition: all 0.3s;
    width: 5px;
    height: 2.5px;
    margin: 0 3px;
    border-radius: 0;
    background: #fff;
    opacity: 0.4;
}

.block-hero .swiper-hero .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 20px;
    opacity: 1;
}
