/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 * Theme URI:      http://Hello%20Elementor Child
 * Author URI:     https://digitcave.fr
 * Version:        1.0
 */

* {
	font-display: swap;
}

.p-0 {
	padding: 0;
}

@media screen and (min-width: 768px) {
	.h-100 {
		height: 100%;
	}
}

.align-self {
	width: auto;
	align-self: flex-start;
}

.elementor-icon-wrapper, .elementor-button-icon {
	display: flex;
}

.elementor-button-icon {
	align-items: center;
}

/* Sections */

section {
	padding: 32px 24px !important;
}

@media screen and (min-width:1024px) {
	section {
		padding: 96px 32px !important;
	}
}

/* Side illustrations on sections */

.gincko-l {
	background-image: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.8)), url("https://nathaliepayacharron.fr/wp-content/uploads/2024/11/Gincko-motif-left.svg");
    background-position: calc(0% - 50px) center;
    background-repeat: no-repeat;
    background-size: 150px auto;
}

.gincko-r {
	background-image: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.8)), url("https://nathaliepayacharron.fr/wp-content/uploads/2024/11/Gincko-motif-right.svg");
    background-position: calc(100% + 50px) center;
    background-repeat: no-repeat;
    background-size: 150px auto;
}

@media screen and (min-width:1440px) {
	
	.gincko-l {
		background-image: url("https://nathaliepayacharron.fr/wp-content/uploads/2024/11/Gincko-motif-left.svg");
	}
	
	.gincko-r {
		background-image: url("https://nathaliepayacharron.fr/wp-content/uploads/2024/11/Gincko-motif-right.svg");
	}	
}

@media screen and (min-width:1750px) {
	.gincko-l, .gincko-r {
		background-size: 200px auto;
	}
}

/* ===================================
   Header
   =================================== */

.customheader {
	width: 100%;
	padding: 20px 0;
	transition: all 0.7s ease, opacity 0.3s ease;
	background: white;
}

/* Container principal du header */
.customheader_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
	max-width: 1440px;
	margin: 0 16px;
}

/* Logo du site */
.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	display: block;
	width: auto;
	height: auto;
    max-width: 200px;
}

/* Styles pour les éléments du menu burger */
.customheader_burgermenu,
.customheader_btn-close {
    display: inline-block;
	line-height: 0;
}

.customheader_burgermenu svg,
.customheader_btn-close svg {
	height: 32px;
	width: 32px;
	fill: #E38E6C;
}

.customheader_burgermenu {
    margin-right: 12px;
}

/* Navigation principale */
.customheader_nav {
    display: none;
    list-style: none;
}

/* Liens de navigation */
.customheader_navLink {
    color: #235448 !important;
    font-size: 18px !important;
}

.customheader_navLink:hover {
    color: #E38E6C !important;
}

/* Styles pour les boutons Elementor */
.customheader .elementor-button {
    padding: 12px 20px;
}

.customheader .elementor-button .customheader_navLink {
    color: white !important;
    font-weight: 500;
}

/* Styles pour les éléments de menu */
.customheader_navItem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 16px;
}

/* Liens de menu avec icônes */
.customheader_navItem > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Chevron pour les éléments avec sous-menu */
.customheader_navItem > a .fa-chevron-down {
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s;
}

/* Style général pour le sous-menu */

.customheader_subGroup {
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 0;
	width: 16rem;
    background-color: #FFFFFF; /* Couleur de fond légèrement plus claire et contrastante */
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3); /* Ombre portée plus marquée pour plus de profondeur */
    z-index: 1000;
    padding: 1px;
    margin-top: 20px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.customheader_navItem:first-of-type .customheader_subGroup {
	width: 22rem;
}

.customheader_subGroup svg {
	width: 18px;
	height: auto;
}

/* End propal */

.customheader_subGroup > .customheader_navItem {
    flex-direction: row;
    align-items: center;
}

/* Liens dans les sous-menus */
.customheader_subGroup .customheader_navLink {
    padding: 0.3125rem 0;
    display: block;
    font-size: 16px !important;
    text-transform: none;
}

/* Mobile Menu (hidden by default) */
.customheader_nav.panel-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 42px 20px;
    overflow-y: auto;
}

.customheader_nav.panel-open .customheader_navLink {
    padding: 12px 8px;
}

.customheader_nav.panel-open .customheader_subGroup {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.customheader_nav.panel-open > .customheader_navItem {
    margin: 12px 0;
	width: max-content;
}

.customheader_nav.panel-open .customheader_navItem > a {
    justify-content: space-between;
}

.customheader_btn-close {
    position: absolute;
    top: 20px;
	right: 20px;
}


/* Style pour la rotation du chevron lorsqu'un sous-menu est ouvert */
.customheader_navItem.active > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* Tablet Styles (min-width: 768px) */
@media (min-width: 768px) {
    .customheader_inner {
        width: 90%;
		margin: 0 auto;
		padding: 1.3125rem 0;
    }
}

/* Desktop Styles (min-width: 1024px) */
@media (min-width: 1024px) { 
	.customheader_inner {
        width: 88%;
    }
	
	.customheader_nav.panel-open {
		width: 34%;
		left: auto;
		right: 0;
	}
}

/* Desktop Styles (min-width: 1300px) */
@media (min-width: 1300px) {
    .customheader_navItem {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem;
    }

    .customheader_burgermenu,
    .customheader_btn-close {
        display: none;
    }

    .customheader_nav {
        display: flex;
        position: relative;
        gap: 2.125rem;
        align-items: center;
    }

    .customheader_subGroup {
        padding: 1rem;
    }

    .customheader_navLink {
        justify-content: left;
    }

    /* Afficher le sous-menu lors du survol du menu parent ou du sous-menu */
    .customheader_navItem:hover .customheader_subGroup,
    .customheader_subGroup:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* Separator */

.elementor-divider-separator::after {
	content: " ";
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	display: inline-block;
	width: 28px;
	height: 20px;
	padding: 0 4px;
	background-image: url('https://nathaliepayacharron.fr/wp-content/uploads/2024/10/gincko-small-separator.svg');
    background-size: 20px 20px;
	background-color: var(--e-global-color-3a3e032);
	background-repeat: no-repeat;
    background-position: center;
}

.head-brown .elementor-divider-separator::after {
	background-image: url('https://nathaliepayacharron.fr/wp-content/uploads/2024/10/gincko-small-separator-w.svg');
	background-color: var(--e-global-color-e9c4c2c);
}

.head-green .elementor-divider-separator::after {
	background-image: url('https://nathaliepayacharron.fr/wp-content/uploads/2024/10/gincko-small-separator-w.svg');
	background-color: var(--e-global-color-73d5fd9);
}

.head-green-light .elementor-divider-separator::after {
	background-image: url('https://nathaliepayacharron.fr/wp-content/uploads/2024/10/gincko-small-separator-w.svg');
	background-color: var(--e-global-color-57a5e39);
}

/* Blog */

.post_header {
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

h2.wp-block-heading {
	margin: 4rem 0 2rem;
}

.blog_card {
	background-color: white;
}

.blog_card:hover {
	background-color: var(--e-global-color-9172936);	
}

.blog_card:hover div, .blog_card:hover h3, .blog_card:hover span, .blog_card:hover .elementor-icon i:before {
	color: white !important;
}