/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Bouton formulaire de contact */
div.wpcf7 .main-form button[type="submit"] {
	background-color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: white;
}

div.wpcf7 .main-form button[type="submit"]:hover {
	background-color: transparent;
	color: var(--e-global-color-primary);
}

/* Livraison 18/05/26 */
.card .text-card {
	max-height: 0;
  opacity: 0;
 	overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, max-width 0.4s ease;
	max-width: 0 !important;
}

.card.is-featured .text-card { 
	max-height: 200px;
  opacity: 1;
	max-width: 100% !important;
}

.card h3.elementor-heading-title{
	transition: font-size 0.3s ease;
}


@media(min-width: 768px){
	.card.is-featured h3.elementor-heading-title {
		font-size: 2.3rem !important;
}
	.card h3.elementor-heading-title {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}
	
	.card:not(.is-featured) {
      align-items: center;  
    }

}

@media(max-width: 767px){
	.card .text-card {
		max-height: 200px !important;
		opacity: 1 !important;
	}
	
	.card h3.elementor-heading-title {
		font-size: 1.6rem !important;
  }
}

.gradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: linear-gradient(
        to bottom, 
        #F8EFE4 0%,       
        rgba(245, 245, 220, 0) 25% 
    );
	background: 
        linear-gradient(to top, var(--e-global-color-644dc6e) 0%, transparent 30%),
        linear-gradient(to bottom, var(--e-global-color-644dc6e) 0%, transparent 30%);
    
    z-index: 1; 
    pointer-events: none;
}