.ico-riproduci {
    color: #ffffff !important;
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 8px; /* optional spacing */
    vertical-align: middle;
}
.swiper-country-cards .swiper-slide {
    width: auto;
}

.swiper-country-cards .swiper-button-prev {color: #fff !important;right: 5;bottom: -60px;top: auto;z-index: 0 !important;left: calc(50% - 35px);}


.swiper-country-cards .swiper-button-next {
	color: #fff !important;
	right: calc(50% - 35px);
	bottom: -60px;
    z-index: 0 !important;
	top: auto;
}
/* Wrapper for each card */
.country-item-wrapper {
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Make sure modal is positioned correctly */
.custom-hover-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease-in-out;
}

/* Video wrapper should be responsive */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

/* Make iframe responsive */
.video-wrapper iframe {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* Responsive modal content */
.content-foreground {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: white;
}

/* Ensure the modal section doesn't overflow its parent */
.swiper-slide {
  overflow: visible;
}






.sound-toggle {
    z-index: 999999999999999999999999; /* ensure it's above iframe */
 z-index: 10; 
	position: absolute; 
	top: 76%; 
	right: 1rem; 
	background: transparent; 
	border: none; 
	pointer-events: auto;"
  
}

.swiper-slide {
  z-index: 1 !important;
  position: relative;
}

.swiper-slide:hover {
  z-index: 9999 !important;
}




.country-item-wrapper {
    position: relative;
}


.custom-hover-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 9999999999999999;
}

.country-item-wrapper:hover .custom-hover-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1.35);
}

@media (max-width: 787px) {
	.country-item-wrapper:hover .custom-hover-modal {
		transform: scale(1.06);
	}
}

.country-item {
    transition: transform 0.3s ease;
    will-change: transform;
}




.custom-hover-modal .country-content,
.custom-hover-modal .px-5 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.country-item-wrapper:hover .custom-hover-modal .country-content,
.country-item-wrapper:hover .custom-hover-modal .px-5 {
    opacity: 1;
    transform: translateY(0);
}

.swiper-country-cards {
  overflow: visible;
	
}

/* ===========================
   Modal Styles
=========================== */





/* ===========================
   Base Styles
=========================== */

.country-item {
    border: 1px solid #CE902C66;
    transition: all 0.3s ease;
     cursor: pointer;	
}

.country-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0rem 3rem;
    height: 100%;
}

.country-content {
	    position: relative;

    max-height: 358px;
    height: 358px;
}
.content-foreground {
	  position: absolute;

}
.country-content, .content-foreground {
    color: #f6f6f6;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
}

.country-item::before, .p-video::before {
    content: "";
    background: linear-gradient(0deg, #00152b, #fff0);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}


.country-title {
    font-size: 30px;
    font-family: 'Libre Caslon Display';
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    width: 100%;
}

.description-subtitle {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 20px;
    font-family: 'Karla';
    font-weight: 300;
}
.country-text {
	    font-size: 12px;
	font-weight: 300;

}
/* ===========================
   Hover Modal / Netflix-style Expansion
=========================== */



.swiper-slide:hover .country-item {
    transform: scale(1.05);
    z-index: 10;
}



/* ===========================
   Responsive
=========================== */

@media (min-width: 768px) and (max-width: 1199px) {
    .country-title {
        font-size: 30px;
        line-height: 30px;
    }

    .country-subtitle {
        font-size: 14px;
    }

    .country-description {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
  

.swiper-country-cards .modal-content {
	width: 100%;
}
    .country-title {
        font-size: 25px;
        line-height: 25px;
    }

    .country-subtitle {
        font-size: 13px;
    }

    .country-description {
        font-size: 12px;
    }

    .country-image {
        padding: 1rem 1rem;
    }
}
