.tcg-slider-contain {
    position: relative;
    width: 100%;
    height: 100vh; /* Default full-screen height; can be overridden via inline styles */
    overflow: hidden;
}

/* Ensure Swiper fills the entire container */
.swiper-container {
    width: 100%;
    height: 100%;
}

/* Ensure each slide is properly positioned */
.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.tcg-slide-bg {
	position: absolute;
	background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide styling for full cover effect */
.tcg-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Video should cover the entire slide */
.tcg-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay effect */
.tcg-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1;
}

.tcg-slide-content-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start; /* Align left */
    align-items: flex-end; /*center;  */
    width: 100%;
    max-width: 100%;
    padding: 0 90px;
    margin: auto;
	
	height: 100vh;
    padding-bottom: 90px;
}

/* Content container */
.tcg-slide-content {
    text-align: left; 
    z-index: 2;
    width: 100%; 
    max-width: 100%;
}

.tcg-slide-content p {
	font-weight: 500;
	padding-bottom: 0;
}

.tcg-slide-content h2,
.tcg-slide-content h3,
.tcg-slide-content h4,
.tcg-slide-content h5,
.tcg-slide-content h6,
.tcg-slide-content p,
.swiper-button-prev,
.swiper-button-next,
.tcg-slide-cta,
.tcg-slide-nav-btn .progress-bar,
.tcg-slide-nav-btn {
 	transition: all 0.3s ease-in-out;
}

.dark .tcg-slide-content h2,
.dark .tcg-slide-content h3,
.dark .tcg-slide-content h4,
.dark .tcg-slide-content h5,
.dark .tcg-slide-content h6,
.dark .tcg-slide-content p,
.dark .tcg-slide-cta a,
.swiper-container.dark-slide .swiper-button-prev,
.swiper-container.dark-slide .swiper-button-next {
	color: #111 !important;
}

.swiper-container.dark-slide .tcg-slide-nav-btn .progress-bar {
	background-color: #111;
}

.swiper-container.dark-slide .tcg-slide-nav-btn {
	border-bottom: 3px solid rgba(17, 17, 17, 0.15);
}

.dark .tcg-slide-cta,
.dark .tcg-slide-cta a::after {
    border-color: #000;
}

/* CTA Button styling */

.tcg-slide-subhead-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px; 
}

.tcg-slide-subhead {
    margin: 0; /* remove default <p> margins */
}

.tcg-slide-ctas {
    margin-top: 15px;
}
.tcg-slide-cta {
	font-size: 18px;
    font-weight: 500;
    background: none;
    border-left: 1px solid #fff;
    font-family: proxima-nova, sans-serif;
    display: inline-block;
    padding-left: 15px;
    text-decoration: none;
    margin: 5px;
}

.tcg-slide-cta a {
    opacity: 1 !important;
    color: #fff !important;
}

.tcg-slide-cta a::after {
	display: block;
    content: '';
    border-bottom: 1px solid #fff;
	
    transition: transform .4s cubic-bezier(.23,.46,.4,1);
    animation: none;
    transform: scaleX(1);
    transform-origin: left;
}

.tcg-slide-cta a:hover:after {
	animation: none;
    transform: scaleX(0);
    transform-origin: right;
}

/* Navigation arrows */
.swiper-button-prev, .swiper-button-next {
    color: white;
    z-index: 10;
}

.swiper-button-prev {
	left: 20px;
}

.swiper-button-next {
	right: 20px;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
	font-size: 24px;
}

/* Custom slide navigation buttons  */
.tcg-slider-nav {
    position: absolute;
    bottom: 80px;
	right: 90px;
    /*left: 50%;
    transform: translateX(-50%);*/
    display: flex;
    gap: 2px;
    z-index: 10;
}
/*
.tcg-slider-nav {
    position: relative;
    z-index: 5;
}*/

/* .tcg-slide-nav-btn {
    background: rgba(255, 255, 255, 0.7);
    color: black;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
}*/
.tcg-slide-nav-btn {
	border-radius: 0! important;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: white;
    border: none;
    text-align: center;
    cursor: pointer;
    z-index: 2;
	border-bottom: 3px solid rgba(255, 255, 255, 0.45);
}

body[data-button-style*="slightly_rounded"] button.tcg-slide-nav-btn {
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
}

/*.tcg-slide-nav-btn.active {
    background: white;
    color: black;
    font-weight: bold;
}*/

.tcg-slide-nav-btn.active {
    color: #ffcc00; /* Highlight active button */
}

.tcg-slide-nav-btn .progress-bar {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: width 0.1s linear;
}

.tcg-slider-nav .tcg-slide-nav-btn .progress-bar.active {
    width: 100%;
}

.audio-toggle {
    background: none;
    cursor: pointer;
    font-size: 28px;    
	border: 1px solid #f0efe7;
	color: #f0efe7;
    padding: 15px;
    width: 72px;
    height: 72px;
    border-radius: 50px !important;
	--nectar-border-radius: 50px !important;
}

.audio-toggle:focus {
    outline: none; /* Remove default focus outline */
}

.tcg-universal-audio-toggle {
   /* position: absolute;
    bottom: 20px;
    right: 20px;*/
	margin-bottom: -10px;
    margin-right: 5px;
	z-index: 1;
}

.tcg-universal-audio-toggle button {
    background: none;
    cursor: pointer;
    font-size: 28px;    
	border: 1px solid #f0efe7 !important;
	color: #f0efe7 !important;
    width: 44px;
    height: 44px;
    border-radius: 50px !important;
	--nectar-border-radius: 50px !important;
}

.tcg-universal-audio-toggle button i {
	top: -12px !important;
    left: -6px !important;
}

.tcg-universal-audio-toggle button.disabled {
    opacity: 0;
    pointer-events: none;
}

/*.tcg-universal-audio-toggle button.disabled {
	content: "";
	width: 100%;
	border-bottom: 1px solid #fff;	
}*/

	
@media (max-width: 1068px) {

	.tcg-slide-content {
		width: 100% !important;
	}
	
}

@media (max-width: 768px) {
	
    .tcg-universal-audio-toggle {
        display: none;
    }

    .tcg-slider-nav {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        position: absolute; /* Key change: Absolute positioning */
        z-index: 10; /* Ensure it's above other content */
        padding: 10px 0 40px;
        left: 0;
		right: 0;
        bottom: 0;
        gap: 5px;
    }
	
    .tcg-slider-nav .tcg-slide-nav-btn {
        /* Optional: Adjust button styles for better visibility on mobile */
        padding: 20px 20px 0;
        font-size: 14px;
    }

    /* Prevent overlap with content by adding padding to the slide content wrapper */
    .tcg-slide-content-wrapper {
        padding-bottom: 0; /* Adjust this value to match the height of your navigation + some buffer */
        box-sizing: border-box; /* Include padding in the element's total width and height */
		height: 80vh;
    }

    .tcg-slide {
        display: flex; /* Ensure flexbox is used */
        flex-direction: column; /* Stack content vertically */
        justify-content: flex-end; /* Align content to the bottom */
    }

    .tcg-slide-content-wrapper {
        margin-bottom: auto; /* Push content to the top */
    }
	
	.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
	.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
		font-size: 16px;
	}
	
	.swiper-button-prev {
		left: 10px;
	}
	
	.swiper-button-next {
		right: 10px;
	}
	
	
}

@media (max-width: 690px) {
    .tcg-slide-content-wrapper .tcg-slide-subhead-cta {
        flex-direction: column;  
        align-items: flex-start; 
        gap: 8px;               
    }
	.tcg-slide-cta {
		border-left: none;
		padding-left: 0;
	}
	
	.tcg-slide-content-wrapper {
		padding: 0 30px;
	}
	
	.tcg-slide-cta a::after {
		transform: scaleX(1);
	}

	.tcg-slide-cta a:hover:after {
		transform: scaleX(0);
	}
	
	.tcg-slide-content h2 {
		font-size: 28px !important;
	}
	
	.tcg-slide-content p,
	.tcg-slide-content a {
		font-size: 16px;
	}
	
}
