/*
Theme Name: Tussock Jumper Wines
Description: Child theme for Avada theme 
Author: Florian Verrine
Author URI: https://www.net-concept.fr/
Template: Avada
Version: 1.0.0
Text Domain:  Avada 
*/
/*****************/

.collection,.collection .fusion-column-wrapper,.nospread {
	background-size:auto!important;
}
.awb-swiper-button-next, .awb-swiper-button-prev {
	border-radius:50px!important;
	opacity:1!important;
	color: #000!important;
}
.awb-swiper-button-next:hover, .awb-swiper-button-prev:hover {
		color: #fff!important;
}
.btdiscover a {    
	padding:12px 45px!important;
	border-radius:20px;
	background: var(--button_gradient_top_color);
    color: #e2b977!important;
    border:1px solid #e2b977!important;
}
/* Version ultra-spécifique pour forcer le remplacement */
.btdiscover p a {
    visibility: hidden;
    position: relative;
    display: inline-block !important;
}

.btdiscover p a::after {
    content: "Discover this range";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 600;
    white-space: nowrap;
}
.gform_wrapper {
	margin:0!important
}
#gform_1 input[type=email] {
	border-radius:6px 0 0 6px!important;
}
#gform_1 .gform_fields {
        column-gap:0!important;
}
#gform_2 .gform_fields {
        row-gap:10px!important;
}
#gform_2 input,#gform_2 select {
	border:0!important;
	border-radius:0!important;
}
.gform_wrapper .select-arrow,.gfield_required {
	display:none!important;
}
#gform_1 .gform-button {
    padding-left: 30px !important;
    background-color: #231f20 !important;
    height: 45px !important;
    border-radius: 0px 6px 6px 0 !important;
    font-family: 'Veneer' !important;
    font-size: 20px !important;
    padding-right: 30px !important;
}
#gform_submit_button_2{
    padding-left: 30px !important;
    background-color: #e43032 !important;
    height: 55px !important;
    border-radius: 0px !important;
    font-family: 'Veneer' !important;
    font-size: 20px !important;
    padding-right: 30px !important;
}
/* Conteneur parent en position relative */
.post-card .collection .fusion-column-wrapper {
  position: relative;
}

/* L'image garde sa place normale */
.post-card .collection .fusion-image-element {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Overlay vidéo - couvre tout le bloc */
.post-card .collection .video-hover-overlay {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.post-card .collection .video-hover-overlay .video-wrapper {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

.post-card .collection .video-hover-overlay video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain; /* ou "cover" si tu veux remplir sans conserver le ratio */
}

/* Au survol : affiche la vidéo, cache l'image */
.post-card .collection:hover .video-hover-overlay {
  opacity: 1;
}

.post-card .collection:hover .fusion-image-element {
  opacity: 0;
}