/* Caption Styles & Buttons */
.tp-caption__title {
    color: white;
}

/* Background ONLY renders when JavaScript confirms readable text exists */
.tp-caption__title.has-title-text {
    background-color: rgba(0, 0, 0, 0.6) !important;
    padding: 15px 25px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    backdrop-filter: blur(4px) !important;
}

a.mt-button {
    padding: 20px;
    background-color: #184F90;
    border-radius: 20px;
    color: white;
    border-style: solid;
    border-color: darkblue;
    border-width: thin;
}

/* SHiNE Slideshow - Hide Bottom Tabs */
.tp-tabs.tp-span-wrapper.outer-bottom.nav-pos-hor-left.nav-pos-ver-bottom.nav-dir-horizontal,
.tp-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Hide Bottom Progress Line */
.tp-bannertimer {
    display: none !important;
}

/* Hide Title Text Inside Navigation Arrows */
.tp-leftarrow .tp-title-wrap,
.tp-rightarrow .tp-title-wrap,
.tp-arr-titleholder {
    display: none !important;
}

/* Maintain container dimensions strictly based on aspect ratio */
.main-slideshow-block.rev_slider_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vw / (16 / 5)) !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Expand inner Revolution Slider wrappers to fill the aspect box */
.main-slideshow-block .rev_slider,
.main-slideshow-block .tp-revslider-mainul,
.main-slideshow-block .tp-revslider-slidesli,
.main-slideshow-block .slotholder {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Fit full image within container boundaries without clipping */
.tp-bgimg,
.tp-bgimg.defaultimg {
    width: 100% !important;
    height: 100% !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.main-slideshow-block img,
.slotholder img,
.tp-bgimg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center !important;
}

/*Remove slide side margins so the slideshow spans edge to edge*/
.ept-slick-slider.basic-styles .slick-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
}