/*
Theme Name: Learts Child
Theme URI: https://learts.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0
Template: learts
*/

body a {
	color: #5c8ead;
}

body p {
	font-size: 18px;
}

body .site-footer {
	margin-top: 0 !important;
}

body .main-container {
	padding-top: 40px;
	background: #F5F5F5;
}

body .main-container .container .entry-content .wpb-content-wrapper .vc_row {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body .post .entry-content p {
	font-weight: initial;
}

body .wpb_wrapper p {
	font-size: 18px;
}

body #cmplz-cookiebanner-container .cmplz-buttons {
	flex-direction: row;
}

body #cmplz-cookiebanner-container .cmplz-buttons button {
	height: 40px;
    width: 120px;
}

.custom-bold-text {
  font-weight: bold;
}

.wp-block-list-item {
	margin: 30px 0;
}

.service-features-list.no-bullet-points {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
/* Homepage */
body .main-container .container .wpb-content-wrapper .woocommerce  .products {
	justify-content: center;
}

body .main-container .container .title-services--homepage {
	text-align: center;
	font-size: 34px;
 	color: #344b61;
	text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
	font-weight: bold;
	padding: 5px 0;
	text-decoration: underline;
}

body header.site-header {
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Safari & anciens navigateurs */
    -moz-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Anciennes versions de Firefox */
    position: relative;
    z-index: 1000; /* Assure que l’ombre ne soit pas cachée */
	background: #f5faff;
	/*color: #344b61;*/
}

body header.site-header a {
	/*color: #344b61;*/
    font-size: 18px;
}

body header.site-header a:hover {
	color: #4c6987!important;
}

body #page-container .site-header {
	background: #f5faff;
	color: #344b61;
}

body #page-container .site-header a:hover {
	color: #4c6987;
}

body footer {
	background: #2c3e50;
	color: #F5F5F5;
}

body #footer a {
	color: #F5F5F5;
}

body #footer a:hover {
	color: #99caff;
}

body #footer .container .footer-column {
	width: 100%;
  	max-width: 100%;
  	flex: 100%;
}

body #footer .wp-block-social-links .wp-block-social-link.wp-social-link {
	width: 30px;
  	height: 30px;
  	text-align: center;
  	padding: 2px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}
.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}
.loading {
    color: blue;
    font-style: italic;
    margin-top: 10px;
}

.demande-container p:nth-child(even) {
	color: #d1d1d1;
  	background: #575757;
  	padding: 40px;
  	font-size: 18px;
  	margin-bottom: 0;
}

.demande-container p:nth-child(odd) {
	color: #575757;
 	background: #d1d1d1;
 	padding: 40px;
  	margin-bottom: 0;
  	font-size: 18px;
}

/* Pagination "Mes demandes" */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a, .pagination span {
    padding: 2px 5px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
    border-radius: 4px;
    cursor: pointer;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.pagination .current-page {
    font-weight: bold;
    background-color: #0073aa;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
}

/* Display "Mes demandes" in user account */
#user-questions-container ul li {
	list-style: none;
	color: #575757;
 	background: #d1d1d1;
 	padding: 40px;
  	margin-bottom: 0;
  	font-size: 18px;
}

/* See product from forms */
/* Style général de la boutique */
.boutique-jetons {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de se réorganiser quand l'écran est petit */
    justify-content: space-between;
    gap: 20px; /* Espacement entre les éléments */
}

/* Style pour chaque produit */
.produit-jeton {
    flex: 1 1 calc(25% - 20px); /* 4 colonnes par défaut, ajuste selon la taille de l'écran */
    box-sizing: border-box; /* Permet de gérer correctement les marges et le padding */
    padding: 10px;
    border: 1px solid #ddd; /* Bordure autour de chaque produit */
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
}

/* Responsiveness pour les petits écrans */
@media (max-width: 1000px) {
	body form.woocommerce-ResetPassword {
		padding: 0px;
	}
	
	body form.woocommerce-ResetPassword p, body form.woocommerce-ResetPassword label {
		font-size: 16px;
	}
	
	body form.woocommerce-ResetPassword .woocommerce-form-row {
		padding: 0px;
	}
	
	body form.woocommerce-ResetPassword .woocommerce-form-row.form-row {
		width: 100%;
	}
	
	body form.woocommerce-ResetPassword .woocommerce-form-row.woocommerce-Button {
		padding: 5px;
  		font-size: 12px;
	}
}

@media (max-width: 1024px) {
	/* body .container h1 {
		font-size: 26px;
	} */
	
	/* Cart h1 size */
	body .wc-block-cart-item__product .wc-block-components-product-metadata h1 {
		font-size: 18px;
	}
	
    .produit-jeton {
        flex: 1 1 calc(33.33% - 20px); /* 3 colonnes pour les écrans moyens */
    }
	
	body .site-content .product-layout-basic .container:first-child {
		padding-top: 0;
	}
	
    body .site-content .product-layout-basic .container .row .summary {
        text-align: center;
    }
}

@media (max-width: 768px) {
	body .container h1 {
		font-size: 28px;
		text-align: center;
	}
    .produit-jeton {
        flex: 1 1 calc(50% - 20px); /* 2 colonnes pour les petits écrans */
    }
	/* Order */
	body .is-mobile .wc-block-components-form .wc-block-components-checkout-step {
		margin-bottom: 0;
	}
	
}

@media (max-width: 480px) {
    .produit-jeton {
        flex: 1 1 100%; /* 1 colonne pour les très petits écrans */
    }
	/* Order */
	body .is-mobile .wc-block-components-form .wc-block-components-checkout-step {
		margin-bottom: 0;
	}
	
	/* Checkout */
	body .woocommerce-checkout form h3 {
		font-size: 22px !important;
	}
}

/* Style pour les liens */
.produit-jeton h4 a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
}

/* Style pour le bouton */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
	transition: .4s;
}

.button:hover {
    background-color: #005bb5;
}

body #cmplz-manage-consent .cmplz-btn {
	display: none;
}

/* Hide search bar */
.site-mobile-menu #mobile-searchform {
    display: none!important;
}

/* Mobile menu position */
#site-mobile-menu {
	padding-top: 50px;
}

/* Custom subtitle airy */
.subtitleAiry {
	padding: 20px 0;
}

body .site-content .product-layout-basic .container .row .summary .product_title {
	font-size: 1.7em;
}
/* Custom pages */
/* --- Layouts (Flexbox & Grid) --- */

.ed-grid-cols-3 { /* Grille spécifique pour 3 colonnes sur desktop */
    display: grid;
    /* Par défaut, sur mobile et petits écrans, les cartes s'empilent en 1 colonne */
    grid-template-columns: 1fr;
    gap: 25px; /* Ajustez ce gap si nécessaire, comme pour ed-grid-cols-4 */
}

/* Pour les écrans de taille moyenne à grande (Desktop) */
@media (min-width: 769px) { /* Ajustez ce breakpoint si votre design a une autre coupure */
    .ed-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr); /* Force la grille à avoir EXACTEMENT 3 colonnes */
    }
}

/* Assurez-vous que les colonnes du constructeur (si utilisées comme items de grille) n'ont pas de marges/paddings parasites */
.ed-grid-cols-3 > .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
}

/* Conservez aussi la définition de ed-flex-col-mobile si vous l'utilisez sur le même conteneur pour le comportement mobile */
@media (max-width: 768px) {
    .ed-flex-col-mobile {
        flex-direction: column; /* Assure que les éléments s'empilent */
        gap: 20px; /* Ajuste l'espacement entre les éléments empilés */
    }
}
/* --- Styles Généraux et Réinitialisation pour la page du Dictionnaire --- */
/* ============================================== */
/* === Bloc Principal des Outils Gratuits === */
/* ============================================== */

/* Conteneur global du bloc des outils spirituels gratuits */
body .free-tools-block {
    background-color: #f8f9fa; /* Arrière-plan léger (presque blanc) */
    border-radius: 12px; /* Coins légèrement arrondis pour une touche de douceur */
    padding: 30px; /* Espace intérieur pour le contenu */
    margin-top: 40px; /* Marge au-dessus pour séparer du contenu précédent */
    margin-bottom: 40px; /* Marge en dessous pour une meilleure aération */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); /* Ombre portée douce pour donner du relief */
    line-height: 1.6; /* Hauteur de ligne pour une meilleure lisibilité du texte */
    color: #333; /* Couleur de texte sombre mais pas noir absolu */
    text-align: center; /* Centrage du texte pour le titre et l'introduction */
    overflow: hidden; /* Assure que les ombres et arrondis sont bien rendus */
}

/* Titre principal du bloc d'outils gratuits (ex: "Explorez nos Outils Spirituels Gratuits") */
body .free-tools-block h2 {
    color: #5a4b40; /* Marron foncé, cohérent avec votre palette */
    margin-top: 0; /* Réinitialise la marge supérieure par défaut */
    margin-bottom: 25px; /* Marge inférieure pour espacer du paragraphe d'intro */
    font-size: 2.2em; /* Taille de police plus grande pour le titre principal */
    font-weight: 700; /* Gras pour l'importance visuelle */
    border-bottom: 2px solid #e0e0e0; /* Ligne de séparation douce en dessous */
    padding-bottom: 15px; /* Espace entre le texte et la ligne */
    display: inline-block; /* Permet à la bordure de s'adapter au texte */
    line-height: 1.2; /* Ajustement de la hauteur de ligne pour le titre */
}

/* Paragraphe d'introduction sous le titre */
body .free-tools-block p.introduction {
    font-size: 1.15em; /* Taille de police légèrement plus grande pour l'introduction */
    color: #666; /* Gris foncé pour le texte d'introduction */
    margin-top: 0; /* Réinitialise la marge supérieure par défaut */
    margin-bottom: 35px; /* Marge inférieure pour espacer de la grille d'outils */
    max-width: 800px; /* Limite la largeur du texte pour une meilleure lisibilité sur grands écrans */
    margin-left: auto; /* Centre le paragraphe */
    margin-right: auto; /* Centre le paragraphe */
}

/* ============================================== */
/* === Grille des Cartes d'Outils === */
/* ============================================== */

/* Conteneur de la grille qui organise les cartes d'outils */
body .tools-grid {
    display: grid; /* Active la disposition en grille */
    /* Colonnes adaptatives : au moins 280px par carte, et remplissent l'espace disponible */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; /* Espacement entre les cartes (gouttière) */
    padding: 0; /* Supprime le padding par défaut des listes si c'était un ul/li */
    margin: 0; /* Supprime la marge par défaut */
    list-style: none; /* Supprime les puces si des <ul> étaient utilisés */
}

/* ============================================== */
/* === Chaque Carte d'Outil Individuelle === */
/* ============================================== */

/* Style pour chaque carte d'outil (maintenant une DIV) */
body .tool-card {
    background-color: #ffffff; /* Fond blanc pour la carte */
    border: 1px solid #e9ecef; /* Bordure légère et douce */
    border-radius: 10px; /* Coins arrondis pour la carte */
    padding: 20px; /* Espace intérieur de la carte */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07); /* Ombre douce pour chaque carte */
    display: flex; /* Active Flexbox pour l'organisation interne */
    flex-direction: column; /* Les éléments de la carte s'empilent verticalement */
    align-items: center; /* Centre horizontalement les éléments de la carte */
    text-align: center; /* Centrage du texte à l'intérieur de la carte */
    /* Transition fluide pour les effets au survol */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%; /* Assure que toutes les cartes ont la même hauteur dans la grille */
    box-sizing: border-box; /* Inclut padding et border dans la hauteur/largeur */
}

/* Effet de survol sur la carte (appliqué à la DIV, car c'est elle qui se soulève visuellement) */
body .tool-card:hover {
    transform: translateY(-5px); /* La carte se soulève légèrement */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* L'ombre devient plus prononcée */
}

/* Icônes à l'intérieur de chaque carte d'outil */
body .tool-card .icon {
    font-size: 3em; /* Grande taille pour les icônes */
    color: #b5a484; /* Nuance de doré pour les icônes */
    margin-bottom: 10px; /* Espacement sous l'icône */
    line-height: 1; /* Empêche l'icône de créer un espace vertical excessif */
    display: block; /* Assure que l'icône est sur sa propre ligne */
}

/* Titre de chaque outil dans la carte (ex: "Calculateur d'Affinités Astrales") */
body .tool-card h3 {
    color: #8c7851; /* Marron doré pour les titres d'outils */
    font-size: 1.35em; /* Taille de police pour les titres de carte */
    margin-top: 0; /* Réinitialise la marge supérieure par défaut */
    margin-bottom: 10px; /* Espacement sous le titre */
    line-height: 1.3; /* Ajustement de la hauteur de ligne */
}

/* Description courte de l'outil dans la carte */
body .tool-card p {
    color: #555; /* Gris moyen pour le texte de description */
    font-size: 0.95em; /* Taille de police pour la description */
    margin-top: 0; /* Réinitialise la marge supérieure par défaut */
    margin-bottom: 20px; /* Espacement au-dessus du bouton */
    flex-grow: 1; /* Permet à la description de prendre l'espace disponible, poussant le bouton vers le bas */
    text-align: center; /* S'assure que le texte de description est centré */
}

/* Bouton d'accès à l'outil dans la carte (maintenant la balise <a> elle-même) */
body .tool-card .button-access {
    display: inline-block; /* Pour appliquer padding et marges correctement */
    background-color: #a08d6a; /* Un marron doré plus soutenu pour le bouton */
    color: #ffffff; /* Texte blanc sur le bouton */
    padding: 12px 25px; /* Espace intérieur du bouton */
    border-radius: 8px; /* Coins arrondis du bouton */
    text-decoration: none; /* Supprime le soulignement du lien du bouton */
    font-weight: 600; /* Gras pour le texte du bouton */
    font-size: 1em; /* Taille de police du bouton */
    transition: background-color 0.3s ease; /* Transition douce pour le survol */
    margin-top: auto; /* Colle le bouton en bas de la carte si la description est courte */
}

/* Effet de survol sur le bouton */
body .tool-card .button-access:hover {
    background-color: #8c7851; /* Assombrit légèrement au survol */
}

/* ============================================== */
/* === Media Queries pour la Responsivité === */
/* ============================================== */

@media (max-width: 768px) {
    /* Ajustements pour les tablettes et petits ordinateurs */
    body .free-tools-block {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    body .free-tools-block h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    body .free-tools-block p.introduction {
        font-size: 1em;
        margin-bottom: 25px;
    }

    body .tools-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
        gap: 20px; /* Réduction de l'espacement entre les cartes */
    }

    body .tool-card {
        padding: 18px;
    }

    body .tool-card h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    /* Ajustements supplémentaires pour les téléphones */
    body .free-tools-block {
        padding: 15px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    body .free-tools-block h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    body .free-tools-block p.introduction {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    body .tool-card .icon {
        font-size: 2.5em;
    }

    body .tool-card h3 {
        font-size: 1.15em;
    }

    body .tool-card p {
        font-size: 0.9em;
    }

    body .tool-card .button-access {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
/* Conteneur principal de la page du dictionnaire pour centrer le contenu */
.dream-dictionary-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- En-tête de Section --- */
.dream-dict-header {
    background-color: #f0ebe3; /* Beige clair */
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #8c7851; /* Marron doré */
    margin-bottom: 30px;
}

.dream-dict-header h1 {
    font-size: 2.6em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 10px;
}

.dream-dict-header p {
    font-size: 1.2em;
    color: #666; /* Gris doux */
    opacity: 0.9;
}

/* --- Section de Recherche --- */
.search-section {
    background-color: #fdfaf5; /* Crème douce */
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Ombre légère */
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#dreamSearch {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2em;
    border: 2px solid #d8c7ae; /* Beige-gris pour bordure */
    border-radius: 30px;
    background-color: #ffffff; /* Fond blanc */
    color: #333; /* Texte foncé */
    outline: none;
    box-shadow: 0 0 15px rgba(140, 120, 81, 0.1); /* Ombre douce avec accent marron */
    transition: all 0.3s ease;
}

#dreamSearch::placeholder {
    color: rgba(102, 102, 102, 0.7); /* Placeholder gris doux */
}

#dreamSearch:focus {
    border-color: #8c7851; /* Marron doré au focus */
    box-shadow: 0 0 20px rgba(140, 120, 81, 0.3);
}

.autocomplete-results {
    position: absolute;
    width: 100%;
    background-color: #fdfaf5; /* Crème douce */
    border: 1px solid #d8c7ae; /* Beige-gris */
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    top: calc(100% + 5px);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.autocomplete-results div {
    padding: 10px 20px;
    cursor: pointer;
    text-align: left;
    color: #5a4b40; /* Marron foncé */
    transition: background-color 0.2s ease;
}

.autocomplete-results div:hover {
    background-color: #e5e0d8; /* Beige plus clair au survol */
}

/* --- Index Alphabétique --- */
.alphabet-index {
    padding: 30px 0;
    text-align: center;
    background-color: #f0ebe3; /* Beige clair */
    border-bottom: 1px solid rgba(140, 120, 81, 0.2);
    margin-bottom: 30px;
}

.alphabet-index h2 {
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 20px;
    font-size: 2em;
}

.alphabet-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.alphabet-list a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #d8c7ae; /* Beige-gris */
    color: #5a4b40; /* Marron foncé */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.alphabet-list a:hover {
    background-color: #8c7851; /* Marron doré au survol */
    color: #fdfaf5; /* Crème douce */
    transform: translateY(-2px);
}

/* --- Résultats de Recherche / Contenu du Symbole --- */
.results-section {
    padding: 40px 20px;
    min-height: 500px;
}

@media (max-width: 768px) {
    .results-section {
        padding: 0px;
    }
}

#dreamContent {
    background-color: #fdfaf5; /* Crème douce */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Ombre douce */
    text-align: left;
    color: #333; /* Texte foncé */
}

#dreamContent h2 {
    color: #5a4b40; /* Marron foncé */
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
}

#dreamContent h3 {
    color: #6d5b3d; /* Marron plus clair */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(140, 120, 81, 0.3); /* Ligne marron doré */
    padding-bottom: 5px;
}

#dreamContent h4 {
    color: #666; /* Gris doux */
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

#dreamContent p {
    margin-bottom: 15px;
    color: #444; /* Gris plus foncé */
}

/* --- Boîte d'Appel à l'Action (CTA) --- */
.cta-box {
    background-color: #e0d8cc; /* Beige-gris */
    border: 2px solid #8c7851; /* Marron doré */
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-box p {
    font-size: 1.2em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fdfaf5; /* Crème douce */
    padding: 15px 30px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-3px);
	color: #FFF;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .dream-dict-header h1 {
        font-size: 2em;
    }
    .search-section {
        padding: 30px 15px;
    }
    #dreamSearch {
        font-size: 1em;
    }
    .alphabet-list a {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    #dreamContent h2 {
        font-size: 2em;
    }
    #dreamContent h3 {
        font-size: 1.5em;
    }
    .cta-box p {
        font-size: 1.2em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}


/* --- Variables de Design (à titre indicatif seulement, les valeurs sont directes ci-dessous) --- */
/* Main wrapper for the page content */
.ancestral-questions-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Page Header (H1 and intro text) */
.ancestral-q-header {
    background-color: #f0ebe3; /* Beige clair */
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #8c7851; /* Marron doré */
    margin-bottom: 40px;
}

.ancestral-q-header h1 {
    font-size: 2.6em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 10px;
}

.ancestral-q-header p {
    font-size: 1.2em;
    color: #666; /* Gris doux */
    opacity: 0.9;
}

/* Search Section */
.aq-search-section {
    background-color: #fdfaf5; /* Crème douce */
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Ombre légère */
}

.aq-search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#aqSearchInput {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2em;
    border: 2px solid #d8c7ae; /* Beige-gris */
    border-radius: 30px;
    background-color: #ffffff; /* Fond blanc */
    color: #333; /* Texte foncé */
    outline: none;
    box-shadow: 0 0 15px rgba(140, 120, 81, 0.1); /* Ombre douce avec accent marron */
    transition: all 0.3s ease;
}

#aqSearchInput::placeholder {
    color: rgba(102, 102, 102, 0.7); /* Placeholder gris doux */
}

#aqSearchInput:focus {
    border-color: #8c7851; /* Marron doré au focus */
    box-shadow: 0 0 20px rgba(140, 120, 81, 0.3);
}

.aq-autocomplete-results {
    position: absolute;
    width: 100%;
    background-color: #fdfaf5; /* Crème douce */
    border: 1px solid #d8c7ae; /* Beige-gris */
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    top: calc(100% + 5px);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.aq-autocomplete-results div {
    padding: 10px 20px;
    cursor: pointer;
    text-align: left;
    color: #5a4b40; /* Marron foncé */
    transition: background-color 0.2s ease;
}

.aq-autocomplete-results div:hover {
    background-color: #e5e0d8; /* Beige plus clair au survol */
}

/* Table of Contents (Anchor Links) */
.aq-table-of-contents {
    background-color: #f0ebe3; /* Beige clair */
    padding: 30px 20px;
    border-bottom: 1px solid rgba(140, 120, 81, 0.2);
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Ombre légère */
}

.aq-table-of-contents h2 {
    color: #5a4b40; /* Marron foncé */
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.aq-table-of-contents ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.aq-table-of-contents li {
    margin: 0;
}

.aq-table-of-contents a {
    display: block;
    background-color: #d8c7ae; /* Beige-gris */
    color: #5a4b40; /* Marron foncé */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.aq-table-of-contents a:hover {
    background-color: #8c7851; /* Marron doré au survol */
    color: #fdfaf5; /* Crème douce */
    transform: translateY(-2px);
}

/* Question Categories Container */
.aq-categories-container {
    padding: 20px;
}

.aq-category {
    background-color: #fdfaf5; /* Crème douce */
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Ombre douce */
    padding: 30px;
}

.aq-category h2 {
    color: #5a4b40; /* Marron foncé */
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(140, 120, 81, 0.3); /* Ligne marron doré */
}

/* Accordion Style */
.aq-accordion-item {
    border-bottom: 1px solid rgba(102, 102, 102, 0.1); /* Gris clair */
    margin-bottom: 15px;
}

.aq-accordion-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.aq-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 1.2em;
    color: #5a4b40; /* Marron foncé */
    font-weight: bold;
    transition: color 0.3s ease;
}

.aq-accordion-header:hover {
    color: #8c7851; /* Marron doré au survol */
}

.aq-accordion-header .icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: #8c7851; /* Marron doré */
}

.aq-accordion-header.active .icon {
    transform: rotate(90deg);
}

.aq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 15px;
    color: #444; /* Gris plus foncé */
    opacity: 0.9;
}

.aq-accordion-content p {
    margin-bottom: 1em;
}

/* CTA within content */
.aq-cta-in-content {
    background-color: #e0d8cc; /* Beige-gris */
    border: 1px solid #8c7851; /* Marron doré */
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    font-size: 0.95em;
}

.aq-cta-in-content p {
    margin-bottom: 10px;
    color: #5a4b40; /* Marron foncé */
}

.aq-cta-in-content a {
    display: inline-block;
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fdfaf5; /* Crème douce */
    padding: 8px 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.aq-cta-in-content a:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
	color: #FFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ancestral-q-header h1 {
        font-size: 2em;
    }
    .ancestral-q-header p {
        font-size: 1em;
    }
    .aq-search-section {
        padding: 30px 15px;
    }
    #aqSearchInput {
        font-size: 1em;
    }
    .aq-table-of-contents ul {
        flex-direction: column;
    }
    .aq-table-of-contents a {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .aq-category h2 {
        font-size: 1.8em;
    }
    .aq-accordion-header {
        font-size: 1em;
        padding: 12px 0;
    }
    .aq-accordion-content {
        padding: 0 10px;
    }
    .aq-cta-in-content {
        padding: 12px;
    }
    .aq-cta-in-content a {
        font-size: 0.9em;
        padding: 6px 12px;
    }
}

/* --- Astrological Affinity Calculator Styles --- */

/* Main wrapper for the calculator page */
.ed-astro-calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fdfaf5; /* Crème douce */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* Ombre douce */
    text-align: center;
    color: #333; /* Texte foncé */
}

/* Section header */
.ed-astro-calculator-wrapper h1 {
    font-size: 2.6em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 20px;
    text-align: center;
}

.ed-astro-calculator-wrapper p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #444; /* Gris plus foncé */
}

/* Input form */
.ed-affinity-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.ed-input-group {
    flex: 1 1 45%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ed-input-group label {
    font-size: 1.1em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 10px;
    font-weight: bold;
}

.ed-input-group select,
.ed-input-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: 2px solid #d8c7ae; /* Beige-gris */
    border-radius: 8px;
    background-color: #ffffff; /* Fond blanc */
    color: #333; /* Texte foncé */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ed-input-group select:focus,
.ed-input-group input[type="date"]:focus {
    border-color: #8c7851; /* Marron doré au focus */
    outline: none;
    box-shadow: 0 0 10px rgba(140, 120, 81, 0.2);
}

/* Custom arrow for select (for webkit browsers) */
.ed-input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238c7851'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.ed-calculate-button {
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fdfaf5; /* Crème douce */
    padding: 15px 30px;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    width: auto;
    display: inline-block;
}

.ed-calculate-button:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	color: #FFF;
}

/* --- Active state for Calculate Button --- */
.ed-calculate-button.ed-active-state {
    background-color: #5a4b40; /* Marron foncé */
    color: #fdfaf5; /* Crème douce */
    border: 2px solid #8c7851; /* Marron doré */
    box-shadow: 0 0 20px rgba(140, 120, 81, 0.4);
    transform: translateY(0);
}

/* Result display area */
#edAffinityResult {
    background-color: #f0ebe3; /* Beige clair */
    padding: 30px;
    border-radius: 10px;
    box-shadow: inset 0 0 15px rgba(140, 120, 81, 0.1); /* Ombre douce interne */
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    color: #333; /* Texte foncé */
}

#edAffinityResult.ed-show-result {
    opacity: 1;
    transform: translateY(0);
}

#edAffinityResult h2 {
    color: #5a4b40; /* Marron foncé */
    font-size: 2.2em;
    margin-bottom: 15px;
}

#edAffinityResult .ed-sign-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #5a4b40; /* Marron foncé */
}

.ed-sign-display span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ed-sign-display .ed-icon {
    font-size: 1.2em;
    color: #8c7851; /* Marron doré */
}

#edAffinityResult p {
    font-size: 1.1em;
    color: #444; /* Gris plus foncé */
    margin-bottom: 20px;
}

/* CTA after result */
.ed-result-cta-box {
    background-color: #e0d8cc; /* Beige-gris */
    border: 2px solid #8c7851; /* Marron doré */
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ed-result-cta-box p {
    font-size: 1.1em;
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 15px;
}

.ed-result-cta-button {
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fdfaf5; /* Crème douce */
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ed-result-cta-button:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-2px);
	color: #FFF;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .ed-astro-calculator-wrapper {
        padding: 10px;
    }
    .ed-astro-calculator-wrapper h1 {
        font-size: 1.8em;
    }
    .ed-astro-calculator-wrapper p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .ed-affinity-form {
        flex-direction: column;
        gap: 15px;
    }
    .ed-input-group {
        min-width: auto;
        width: 100%;
    }
    .ed-input-group label {
        font-size: 1em;
        margin-bottom: 5px;
    }
    .ed-input-group select,
    .ed-input-group input[type="date"] {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .ed-result-cta-box {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
    }
    .ed-result-cta-box p {
        font-size: 0.9em;
    }
    .ed-calculate-button {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9em;
        line-height: 1.2;
        white-space: normal;
        box-sizing: border-box;
        text-align: center;
    }
    #edAffinityResult h2 {
        font-size: 1.6em;
    }
    #edAffinityResult .ed-sign-display {
        font-size: 1.1em;
        gap: 10px;
    }
    #edAffinityResult p {
        font-size: 0.9em;
    }
    .ed-result-cta-button {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9em;
        line-height: 1.2;
        white-space: normal;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Quizz archetype*/
/* Quizz archetype - Styles Généraux du Conteneur */
.quiz-archetype-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fdfaf5; /* Couleur crème douce */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

/* Styles des Sections (Intro, Questions, Résultat) */
.quiz-archetype-section {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quiz-archetype-hidden {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

.quiz-archetype-active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Titres Généraux du Quiz */
.quiz-archetype-title {
    font-size: 2.6em;
    color: #5a4b40; /* Marron foncé */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Descriptions Générales du Quiz (Intro) */
.quiz-archetype-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    color: #666; /* Gris doux */
}

/* --- Styles des Boutons (Combinés et Optimisés) --- */

/* Styles de base pour tous les boutons */
.quiz-archetype-button,
.quiz-archetype-button-next,
.quiz-archetype-button-share {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    display: inline-block;
    width: auto;
    box-sizing: border-box;
    text-align: center;
    margin: 10px;
}

/* Boutons primaires (Commencer, Soumettre, Refaire) */
.quiz-archetype-button-primary,
#start-quiz-btn,
#submit-quiz-btn,
#restart-quiz-btn {
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(140, 120, 81, 0.4);
    margin-top: 20px;
}

.quiz-archetype-button-primary:hover,
#start-quiz-btn:hover,
#submit-quiz-btn:hover,
#restart-quiz-btn:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 120, 81, 0.5);
}

/* Boutons secondaires (si utilisés, ex: annuler) */
.quiz-archetype-button-secondary {
    background-color: #d8c7ae; /* Beige-gris */
    color: #5a4b40; /* Marron foncé */
    border: 1px solid #c2b197; /* Bordure plus claire */
    box-shadow: none;
}

.quiz-archetype-button-secondary:hover {
    background-color: #c2b197; /* Beige-gris plus foncé au survol */
    transform: translateY(-2px);
}

/* Boutons "Suivant" (dans les questions) */
.quiz-archetype-button-next {
    background-color: #8c7851; /* Marron doré */
    color: white;
    border: none;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-weight: normal;
}

.quiz-archetype-button-next:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-2px);
	color: #FFF;
}

/* Boutons de Partage */
.quiz-archetype-button-share {
    background-color: #d8c7ae; /* Beige-gris pour les partages génériques */
    color: #5a4b40; /* Marron foncé */
    margin: 8px;
    font-size: 0.9em;
    letter-spacing: normal;
    text-transform: none;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quiz-archetype-button-share[data-share-platform="twitter"] {
    background-color: #1DA1F2; /* Couleur spécifique Twitter */
    color: white;
}
.quiz-archetype-button-share[data-share-platform="facebook"] {
    background-color: #3b5998; /* Couleur spécifique Facebook */
    color: white;
}

.quiz-archetype-button-share:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* --- Styles des Questions --- */
.quiz-archetype-question {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.quiz-archetype-hidden-question {
    display: none;
}

.quiz-archetype-active-question {
    display: flex;
}

.quiz-archetype-question-title {
    font-size: 1.8em;
    color: #5a4b40; /* Marron foncé */
    text-align: center;
    margin-bottom: 25px;
}

.quiz-archetype-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    max-width: 600px;
    margin-bottom: 25px;
}

.quiz-archetype-option {
    background-color: #f0ebe3; /* Beige clair */
    padding: 18px 25px;
    border-radius: 8px;
    border: 1px solid #e0d8cc; /* Beige-gris clair */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-size: 1.05em;
    text-align: left;
}

.quiz-archetype-option:hover {
    background-color: #e5e0d8; /* Beige plus clair au survol */
    border-color: #c2b197; /* Beige-gris plus foncé au survol */
}

.quiz-archetype-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.3);
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #8c7851; /* Marron doré */
    border-radius: 50%;
    outline: none;
    transition: background 0.2s ease;
    position: relative;
}

.quiz-archetype-option input[type="radio"]:checked {
    background-color: #8c7851; /* Marron doré */
    border-color: #8c7851;
}

.quiz-archetype-option input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Barre de Progression --- */
.quiz-archetype-progress-bar-wrapper {
    width: 90%;
    max-width: 600px;
    background-color: #e0d8cc; /* Beige-gris clair */
    border-radius: 5px;
    height: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.quiz-archetype-progress-bar {
    height: 100%;
    background-color: #8c7851; /* Marron doré */
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

/* --- Section des Résultats --- */
.quiz-archetype-result-title {
    font-size: 2.2em;
    color: #5a4b40; /* Marron foncé */
    text-align: center;
    margin-bottom: 15px;
}

.quiz-archetype-result-name {
    font-size: 2.6em;
    color: #8c7851; /* Marron doré */
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.quiz-archetype-result-image {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.quiz-archetype-result-description {
    font-size: 1.15em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 40px;
    color: #444; /* Gris plus foncé */
    max-width: 600px;
}

.quiz-archetype-share-buttons {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Nouvelle Section: Belle présentation dans archetype-details-container --- */
#archetype-details-container {
    background-color: #f8f9fa; /* Arrière-plan léger (presque blanc) */
    border-radius: 10px;
    padding: 25px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.6;
    color: #333;
    text-align: left;
}

#archetype-details-container h3 {
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 20px;
    font-size: 1.6em;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

#archetype-details-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#archetype-details-container ul li {
    background-color: #ffffff; /* Fond blanc */
    border: 1px solid #e9ecef; /* Bordure légère */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#archetype-details-container ul li strong {
    color: #8c7851; /* Marron doré */
    margin-bottom: 5px;
    font-size: 1.1em;
    display: block;
}

/* Pour des puces personnalisées */
#archetype-details-container ul li::before {
    content: '★';
    display: inline-block;
    margin-right: 10px;
    font-size: 1em;
    color: #8c7851; /* Marron doré pour l'étoile */
    line-height: 1;
}

#archetype-details-container ul li strong::before {
    content: none;
}

/* --- Styles Responsifs (Combinés et Optimisés) --- */
@media (max-width: 768px) {
    .quiz-archetype-container {
        margin: 20px auto;
        padding: 20px;
    }
    .quiz-archetype-title {
        font-size: 1.8em;
    }
    .quiz-archetype-question-title {
        font-size: 1.4em;
    }
    .quiz-archetype-options {
        width: 100%;
        padding: 0 10px;
    }
    .quiz-archetype-option {
        padding: 15px;
        font-size: 1em;
    }
    .quiz-archetype-option input[type="radio"] {
        margin-right: 10px;
    }
    .quiz-archetype-result-name {
        font-size: 2.2em;
    }
    .quiz-archetype-result-image {
        max-width: 180px;
    }
    .quiz-archetype-description,
    .quiz-archetype-result-description {
        font-size: 1em;
    }
    /* Boutons sur mobile */
    .quiz-archetype-button,
    .quiz-archetype-button-next,
    #start-quiz-btn,
    #submit-quiz-btn,
    #restart-quiz-btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 90%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .quiz-archetype-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .quiz-archetype-button-share {
        width: 80%;
        max-width: 250px;
        margin: 5px auto;
    }

    /* Détails de l'archétype sur mobile */
    #archetype-details-container {
        padding: 15px;
        margin-top: 20px;
    }
    #archetype-details-container h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    #archetype-details-container ul li {
        padding: 12px 15px;
        font-size: 0.95em;
        flex-direction: column;
    }
    #archetype-details-container ul li strong {
        text-align: left;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .quiz-archetype-container {
        padding: 15px;
        margin: 10px auto;
    }
    .quiz-archetype-title {
        font-size: 1.5em;
    }
    .quiz-archetype-question-title {
        font-size: 1.2em;
    }
    .quiz-archetype-option {
        font-size: 0.9em;
        padding: 12px 15px;
    }
    .quiz-archetype-result-name {
        font-size: 1.8em;
    }
    .quiz-archetype-result-image {
        max-width: 150px;
    }
    .quiz-archetype-button,
    .quiz-archetype-button-next,
    #start-quiz-btn,
    #submit-quiz-btn,
    #restart-quiz-btn {
        font-size: 0.95em;
        padding: 10px 15px;
    }
    #archetype-details-container h3 {
        font-size: 1.2em;
    }
}

/* --- Styles de l'Oracle des Affirmations --- */

.custom-oracle-section {
    background: #fdfaf5; /* Ex: var(--oracle-bg-main) */
    position: relative;
    overflow: hidden;
    color: #333; /* Ex: var(--oracle-text-dark) */
}

/* Éléments décoratifs en arrière-plan (adaptés à la thématique astrale mais subtils) */
.custom-oracle-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    /* Petits points discrets comme des étoiles, dans une couleur douce du quiz */
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="80" r="1" fill="%23c2b197" opacity="0.05"/><circle cx="80" cy="20" r="0.8" fill="%23c2b197" opacity="0.05"/><circle cx="50" cy="50" r="0.5" fill="%23c2b197" opacity="0.03"/><circle cx="10" cy="30" r="0.7" fill="%23c2b197" opacity="0.04"/><circle cx="90" cy="70" r="0.6" fill="%23c2b197" opacity="0.04"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.8; /* Légèrement plus visible pour une touche de texture */
    z-index: 0;
    pointer-events: none;
    animation: custom-star-flicker 20s infinite alternate; /* Animation plus douce */
}

@keyframes custom-star-flicker {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}


.custom-oracle-container {
    max-width: 800px;
    margin: 40px auto; /* Ex: var(--oracle-spacing-xlarge) */
    padding: 30px; /* Ex: var(--oracle-spacing-large) */
    background: #fdfaf5; /* Ex: var(--oracle-bg-main) */
    border-radius: 12px; /* Ex: var(--oracle-border-radius) */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Ex: var(--oracle-shadow-strong) */
    text-align: center;
    position: relative;
    z-index: 1;
    border: none;
}

.custom-oracle-container::before {
    display: none;
}

.custom-oracle-title {
    font-size: 2.6em;
    color: #5a4b40; /* Ex: var(--oracle-text-heading) */
    margin-bottom: 20px; /* Ex: var(--oracle-spacing-medium) */
    text-shadow: none;
    line-height: 1.2;
    font-weight: normal;
}

.custom-oracle-intro,
.custom-oracle-conclusion-text {
    font-size: 1.1em;
    color: #666; /* Ex: var(--oracle-text-medium) */
    margin-bottom: 30px; /* Ex: var(--oracle-spacing-large) */
    line-height: 1.6;
    padding: 0 20px; /* Ex: var(--oracle-spacing-medium) */
	margin: 30px 0;
}

.custom-affirmation-card {
    background: #f0ebe3; /* Ex: var(--oracle-bg-card) */
    border: 1px solid #c2b197; /* Ex: var(--oracle-button-secondary-border) */
    border-radius: 12px; /* Ex: var(--oracle-border-radius) */
    padding: 30px 20px; /* Ex: var(--oracle-spacing-large) var(--oracle-spacing-medium) */
    margin: 30px auto; /* Ex: var(--oracle-spacing-large) */
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ex: var(--oracle-shadow-soft) */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    filter: none;
}

.custom-affirmation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
}

.custom-affirmation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Ex: var(--oracle-shadow-medium) */
}


.custom-affirmation-text {
    font-size: 1.4em;
    color: #8c7851; /* Ex: var(--oracle-text-accent) */
    font-weight: normal;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

/* Animation pour la révélation de l'affirmation */
.custom-affirmation-text.fade-out {
    opacity: 0;
    transform: translateY(-30px);
}

.custom-affirmation-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.custom-oracle-button {
    background-color: #8c7851; /* Ex: var(--oracle-button-primary-bg) */
    color: #fff; /* Ex: var(--oracle-button-primary-text) */
    padding: 12px 25px;
    font-size: 1.05em;
    border: none;
    border-radius: 12px; /* Ex: var(--oracle-border-radius) */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(140, 120, 81, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px; /* Ex: var(--oracle-spacing-medium) */
}

.custom-oracle-button:hover {
    background-color: #6d5b3d; /* Ex: var(--oracle-button-primary-hover) */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 120, 81, 0.5);
	color: #FFF;
}

.custom-oracle-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Media Queries pour le Responsive Design */
@media (max-width: 768px) {
    .custom-oracle-title {
        font-size: 2em;
    }
    .custom-affirmation-text {
        font-size: 1.5em;
    }
    .custom-oracle-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .custom-oracle-container {
        margin: 20px auto; /* Ex: var(--oracle-spacing-medium) */
        padding: 20px; /* Ex: var(--oracle-spacing-medium) */
    }
    .custom-oracle-intro,
    .custom-oracle-conclusion-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .custom-oracle-title {
        font-size: 1.8em;
    }
    .custom-affirmation-text {
        font-size: 1.2em;
        min-height: 100px;
    }
    .custom-oracle-button {
        padding: 10px 18px;
        font-size: 0.95em;
    }
    .custom-oracle-container {
        padding: 15px; /* Ex: var(--oracle-spacing-small) */
        margin: 15px auto; /* Ex: var(--oracle-spacing-small) */
    }
    .custom-oracle-intro,
    .custom-oracle-conclusion-text {
        font-size: 0.9em;
        margin-bottom: 20px; /* Ex: var(--oracle-spacing-medium) */
    }
}

/* Styles pour le générateur de nom spirituel - Adapté du Quizz Archetype */

/* Styles Généraux du Conteneur */
.sng-container {
    max-width: 700px; /* Légèrement réduit pour ce module */
    margin: 40px auto;
    padding: 30px;
    background-color: #fdfaf5; /* Couleur crème douce */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center; /* Centrage général */
}

/* Titres */
.sng-title {
    font-size: 2.6em;
    color: #5a4b40; /* Marron foncé */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sng-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    color: #666; /* Gris doux */
}

/* Sections du formulaire et du résultat */
.sng-form-section {
    margin-bottom: 40px;
    text-align: left; /* Aligner les labels à gauche */
}

.sng-label {
    display: block;
    font-size: 1.05em; /* Légèrement plus grand */
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 8px;
    font-weight: 600;
}

.sng-input-field,
.sng-select-field {
    width: calc(100% - 24px); /* Ajustement pour le padding + bordure */
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e0d8cc; /* Beige-gris clair */
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #f0ebe3; /* Beige clair */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sng-input-field:focus,
.sng-select-field:focus {
    border-color: #8c7851; /* Marron doré au focus */
    box-shadow: 0 0 0 3px rgba(140, 120, 81, 0.2); /* Ombre cohérente */
    outline: none;
    background-color: #fdfaf5; /* Fond léger au focus */
}

/* Styles des Boutons */
.sng-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: bold; /* Mis en gras par défaut pour tous les boutons */
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    margin: 10px; /* Marge pour l'espacement entre les boutons */
}

.sng-button-primary {
    background-color: #8c7851; /* Marron doré pour CTA */
    color: #fff;
    box-shadow: 0 4px 15px rgba(140, 120, 81, 0.4);
    margin-top: 20px; /* Plus d'espace au-dessus du bouton principal */
}

.sng-button-primary:hover {
    background-color: #6d5b3d; /* Marron plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 120, 81, 0.5);
	color: #FFF;
}

.sng-button-secondary {
    background-color: #d8c7ae; /* Beige-gris */
    color: #5a4b40; /* Marron foncé */
    border: 1px solid #c2b197; /* Bordure plus claire */
    box-shadow: none;
    font-weight: normal; /* Moins gras que le primaire */
    margin-top: 15px; /* Ajustement de la marge */
}

.sng-button-secondary:hover {
    background-color: #c2b197; /* Beige-gris plus foncé au survol */
    transform: translateY(-2px);
}

/* Boutons de Partage spécifiques (Facebook et X) */
.sng-share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les boutons */
    margin-top: 25px;
    margin-bottom: 15px;
}

.sng-button-facebook {
    background-color: #3b5998; /* Couleur spécifique Facebook */
    color: white;
    text-transform: none; /* Pas d'uppercase */
    letter-spacing: normal;
    font-weight: normal;
    margin: 0; /* Réinitialiser les marges du sng-button */
}
.sng-button-facebook:hover {
    background-color: #2d4373;
	color: #FFF;
}

.sng-button-x { /* Ancien Twitter */
    background-color: #000000; /* Couleur spécifique X */
    color: white;
    text-transform: none; /* Pas d'uppercase */
    letter-spacing: normal;
    font-weight: normal;
    margin: 0; /* Réinitialiser les marges du sng-button */
}
.sng-button-x:hover {
    background-color: #333333;
	color: #FFF;
}

/* Bouton "Générer un autre nom" (qui est aussi un sng-button-secondary) */
.sng-button-regenerate {
    margin-top: 20px; /* Espacement plus grand après les boutons de partage */
    margin-left: auto;
    margin-right: auto;
    display: block; /* Pour le centrer si seul sur une ligne */
}

/* Section du Résultat */
.sng-result-section {
    padding: 30px;
    background-color: #f0ebe3; /* Beige clair comme fond pour le résultat */
    border-radius: 10px;
    border: 1px solid #e0d8cc; /* Bordure cohérente */
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Ombre subtile */
}

.sng-result-title {
    font-size: 1.8em; /* Légèrement réduit par rapport au titre H1 */
    color: #5a4b40; /* Marron foncé */
    margin-bottom: 15px;
    font-weight: 600;
}

.sng-generated-name {
    font-size: 2.6em; /* Grande taille pour le nom généré */
    color: #8c7851; /* Marron doré, couleur principale d'accent */
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15); /* Ombrage plus prononcé */
    word-break: break-word;
    line-height: 1.2;
}

/* Indicateur de Chargement */
.sng-loading-indicator {
    margin-top: 30px;
    text-align: center;
}

.sng-spinner {
    border: 4px solid rgba(140, 120, 81, 0.2); /* Marron doré transparent */
    border-left-color: #8c7851; /* Marron doré solide pour l'animation */
    border-radius: 50%;
    width: 40px; /* Plus grand */
    height: 40px;
    animation: sng-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes sng-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sng-loading-text {
    color: #666; /* Gris doux */
    font-size: 1.05em;
}

/* Message d'erreur */
.sng-error-message {
    color: #cc4444; /* Rouge doux, moins agressif */
    margin-top: 20px;
    font-size: 1em;
    font-weight: 500;
}

.sng-hidden {
    display: none !important;
}

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .sng-container {
        margin: 20px;
        padding: 20px;
    }

    .sng-title {
        font-size: 2em;
    }

    .sng-description {
        font-size: 1em;
    }

    .sng-button {
        width: 100%;
        margin-left: 0;
        margin-right: 0; /* Suppression des marges latérales sur mobile */
        margin-top: 10px; /* Ajustement vertical */
    }

    .sng-share-buttons {
        flex-direction: column; /* Boutons de partage empilés sur mobile */
        gap: 8px;
    }

    .sng-generated-name {
        font-size: 2.2em;
    }

    .sng-result-title {
        font-size: 1.5em;
    }
}

/* --- Base Styles for Eternal Divinity Pages --- */
.ed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333; /* Main text color from quiz */
}

/* --- Section Styling --- */
.ed-section {
    padding: 50px 30px;
    margin-bottom: 30px;
    background-color: #fdfaf5; /* Soft cream color from quiz */
    border-radius: 12px; /* Border radius from quiz */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Pronounced shadow from quiz */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.ed-section:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.ed-hero {
    text-align: center;
    background-color: #fdfaf5; /* Consistent background */
    padding: 70px 30px;
    border-bottom: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Service Block Sections (Used for Services Page and now How It Works) */
.ed-service-block {
    display: flex; /* Make it a flex container */
    align-items: center; /* Vertically align items in the center */
    gap: 40px; /* Space between image and content */
    padding: 50px 30px; /* Maintain section padding */
    /* Base styles inherited from .ed-section */
    flex-direction: row; /* Default: image on left (content on right) */
}

.ed-service-block.ed-alternate {
    flex-direction: row-reverse; /* For alternate blocks: image on right (content on left) */
    background-color: #f5f0e9; /* Slightly different cream for visual rhythm */
	transition: .4s;
}

.ed-service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* More intense hover shadow */
}

/* Image styling for service blocks */
.ed-service-block-image {
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 45%; /* Adjust width of the image container */
    max-width: 400px; /* Max width for image to avoid excessive sizing */
    border-radius: 8px; /* Slightly rounded corners for images */
    overflow: hidden; /* Ensure image respects border-radius */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for image */
}

.ed-service-block-image img {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
}

/* Content wrapper for service blocks to manage text alignment */
.ed-content-wrapper {
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Default: align text to the left */
    gap: 15px; /* Space between content elements */
}

.ed-service-block.ed-alternate .ed-content-wrapper {
    align-items: flex-end; /* For alternate blocks: align text to the right */
    text-align: right; /* Text alignment for alternate blocks */
}

/* Adjustments for typography within service blocks */
.ed-service-block .ed-heading-2 {
    text-align: left; /* Default: left-align heading */
    margin-bottom: 15px; /* Adjust margin */
}

.ed-service-block.ed-alternate .ed-heading-2 {
    text-align: right; /* Alternate: right-align heading */
}

.ed-service-block .ed-paragraph {
    text-align: left; /* Default: left-align paragraphs */
    max-width: 100%; /* Allow paragraphs to take full width of content wrapper */
    margin-bottom: 15px; /* Add margin below paragraph */
}

.ed-service-block.ed-alternate .ed-paragraph {
    text-align: right; /* Alternate: right-align paragraphs */
}

.ed-service-block .ed-list {
    text-align: left; /* Default: left-align lists */
    margin-left: 0; /* Ensure no default list margin */
    margin-right: 0;
    max-width: 100%; /* Allow lists to take full width of content wrapper */
}

.ed-service-block.ed-alternate .ed-list {
    text-align: right; /* Alternate: right-align lists */
}

.ed-service-block .ed-list-item {
    justify-content: flex-start; /* Default: left-align list items */
}

.ed-service-block.ed-alternate .ed-list-item {
    justify-content: flex-end; /* Alternate: right-align list items */
}

.ed-service-block .ed-list-item::before {
    margin-right: 10px; /* Space for default */
}

.ed-service-block.ed-alternate .ed-list-item::before {
    margin-left: 10px; /* Space for alternate (icon on right of text) */
    margin-right: 0;
    order: 1; /* Place icon after text for right-aligned lists */
}

/* --- Media Query for Mobile responsiveness --- */
@media (max-width: 768px) { /* Adjust breakpoint as needed for your design, 768px is common for tablets/mobile */
    .ed-service-block {
        flex-direction: column; /* Stack items vertically on mobile */
        text-align: center; /* Center text for mobile view */
        padding: 30px 20px; /* Adjust padding for smaller screens */
    }

    .ed-service-block.ed-alternate {
        flex-direction: column; /* Ensure alternate blocks also stack vertically */
    }

    .ed-service-block-image {
        width: 100%; /* Make image full width on mobile */
        max-width: 300px; /* Optionally limit max width for very large images on mobile */
        margin-bottom: 20px; /* Add space below the image when it's on top */
        order: -1; /* Pushes the image to the top of the flex container */
    }

    /* Reset content alignment for all blocks on mobile */
    .ed-content-wrapper,
    .ed-service-block.ed-alternate .ed-content-wrapper {
        align-items: center; /* Center align content on mobile */
        text-align: center; /* Center align text on mobile */
    }

    .ed-service-block .ed-heading-2,
    .ed-service-block.ed-alternate .ed-heading-2,
    .ed-service-block .ed-paragraph,
    .ed-service-block.ed-alternate .ed-paragraph,
    .ed-service-block .ed-list,
    .ed-service-block.ed-alternate .ed-list {
        text-align: center; /* Ensure all text elements are centered on mobile */
    }

    .ed-service-block .ed-list-item,
    .ed-service-block.ed-alternate .ed-list-item {
        justify-content: center; /* Center align list items on mobile */
    }

    .ed-service-block.ed-alternate .ed-list-item::before {
        margin-right: 10px; /* Revert to default margin */
        margin-left: 0;
        order: 0; /* Revert icon order to be before text */
    }
}
/* Step Block Sections (New for How It Works Page - Icon Layout) */
.ed-step-block {
    display: flex;
    flex-direction: column; /* Stack icon above content */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text within the block */
    gap: 20px; /* Space between icon and content */
    padding: 60px 40px;
    /* Inherits background-color, border-radius, box-shadow from .ed-section */
}

.ed-step-block.ed-alternate {
    background-color: #f5f0e9;
}

.ed-step-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Icon Styling */
.ed-step-icon {
    font-size: 3.5em; /* Large size for the icon */
    color: #8c7851; /* Golden brown for the icon */
    margin-bottom: 15px; /* Space below the icon */
    width: 80px; /* Fixed width/height for consistent sizing */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #8c7851; /* Border around the icon */
    border-radius: 50%; /* Make it circular */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fdfaf5; /* Background for the icon circle */
    flex-shrink: 0; /* Prevent icon from shrinking on smaller screens */
}


/* Call to Action Section */
.ed-call-to-action {
    text-align: center;
    background-color: #fdfaf5;
    padding: 60px 30px;
    border-top: 2px dashed #e0d8cc; /* Soft dashed line */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

/* --- Typography --- */
.ed-heading-1 {
    font-size: 2.6em;
    color: #5a4b40; /* Dark brown from quiz */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.ed-heading-2 {
    font-size: 2.1em;
    color: #5a4b40; /* Dark brown from quiz */
    margin-bottom: 25px; /* Reduced margin for closer proximity to icon */
    text-align: center; /* Always centered for this layout */
    font-weight: 600;
    line-height: 1.3;
}

.ed-heading-3 { /* New heading for sub-sections if needed */
    font-size: 1.8em;
    color: #5a4b40;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.ed-intro {
    font-size: 1.25em;
    line-height: 1.7;
    color: #666; /* Soft grey from quiz */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ed-paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444; /* Darker grey from quiz */
    margin-bottom: 25px;
    text-align: center; /* Always centered for this layout */
}

.ed-paragraph.ed-note {
    font-style: italic;
    font-size: 0.95em;
    color: #777;
    margin-top: 20px;
    text-align: center; /* Always centered */
    border-left: none; /* No side borders for centered note */
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid #e0d8cc; /* Small line above/below for separation */
    border-bottom: 1px solid #e0d8cc;
    padding: 10px 0;
}

/* --- List Styles --- */
.ed-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    /* text-align: center; /* Removed this to allow flex-start on ed-list-item */
    max-width: 600px; /* Control width of centered list */
    margin-left: auto;
    margin-right: auto;
}

.ed-list-item {
    font-size: 1.05em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
    padding-left: 0;
    position: relative;
    display: flex; /* Use flex for icon and text alignment */
    align-items: flex-start; /* Align items to the top (useful for multi-line text) */
    text-align: left; /* Align text to the left */
    justify-content: flex-start; /* Ensure content starts from the left */
}

.ed-list-item::before {
    content: '\2713'; /* Checkmark symbol */
    color: #8c7851; /* Golden brown from quiz */
    position: static; /* Make it inline with text */
    margin-right: 15px; /* Slightly more space for better visual separation */
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 0.1em; /* Slight adjustment for vertical alignment with text */
}


/* --- Button Styles (Adapted from Quiz) --- */
.ed-button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    margin: 10px auto; /* Center buttons horizontally */
    font-weight: bold;
    background-color: #8c7851; /* Golden brown from quiz */
    color: #fff;
    box-shadow: 0 4px 15px rgba(140, 120, 81, 0.4);
}

.ed-button:hover {
    background-color: #6d5b3d; /* Darker brown on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 120, 81, 0.5);
    color: #FFF;
}

/* Primary Button (for main CTAs) */
.ed-button-primary {
    background-color: #8c7851;
    color: #fff;
    padding: 18px 40px;
    font-size: 1em;
    box-shadow: 0 6px 20px rgba(140, 120, 81, 0.6);
}

.ed-button-primary:hover {
    background-color: #6d5b3d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 120, 81, 0.7);
}

/* Secondary Button */
.ed-button-secondary {
    background-color: #d8c7ae; /* Beige-grey from quiz */
    color: #5a4b40; /* Dark brown from quiz */
    border: 1px solid #c2b199; /* Lighter border */
    box-shadow: none;
}

.ed-button-secondary:hover {
    background-color: #c2b197; /* Darker beige-grey on hover */
    transform: translateY(-2px);
}

/* Inline links within text */
.ed-inline-link {
    color: #8c7851; /* Golden brown for consistency */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.ed-inline-link:hover {
    color: #6d5b3d; /* Darker brown on hover */
    text-decoration: underline;
}

/* --- New styles for Guide Page Overview --- */
.ed-guide-overview {
    text-align: center;
    padding: 60px 30px;
    background-color: #fdfaf5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.ed-guide-overview .ed-heading-2 {
    margin-bottom: 20px;
}

.ed-guide-overview .ed-paragraph {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Specific adjustments for list items in guide overview to fix alignment */
.ed-guide-overview .ed-list-item {
    justify-content: flex-start; /* Align checkmark and text to the left */
    text-align: left; /* Ensure text alignment is left */
    max-width: 600px; /* Constrain width of list */
    margin-left: auto; /* Center the list block */
    margin-right: auto;
}

.ed-guide-overview .ed-list-item::before {
    margin-right: 15px; /* Slightly more space for better visual separation */
}

/* Articles Grid for Guides Page */
.ed-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ed-article-card {
    background-color: #fdfaf5;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: flex;
    flex-direction: column;
}

.ed-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.ed-article-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image display */
    overflow: hidden;
}

.ed-article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area, cropping if necessary */
    transition: transform 0.3s ease;
}

.ed-article-card:hover .ed-article-card-image img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.ed-article-card-content {
    padding: 20px;
    text-align: left; /* Align text within card to left */
    flex-grow: 1; /* Allow content to grow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ed-article-card-content h3 {
    font-size: 1.4em;
    color: #5a4b40;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ed-article-card-content p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left; /* Ensure paragraph in card is left-aligned */
}

/* --- New styles for Free Tools Page --- */
.ed-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ed-tool-card {
    background-color: #fdfaf5;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
    text-align: center; /* Center content within the card */
}

.ed-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.ed-tool-card-image { /* Can be used for icon or small image */
    width: 100%;
  	height: 300px
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f0e9; /* Slightly darker background for image/icon area */
    padding: 20px;
}

.ed-tool-card-image img {
	max-width: 100%;
  	max-height: 100%;
  	object-fit: contain;
}

.ed-tool-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center; /* Center text content */
}

.ed-tool-card-content h3 {
    font-size: 1.6em; /* Slightly larger heading for tools */
    color: #5a4b40;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: center; /* Center heading */
}

.ed-tool-card-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center; /* Center paragraph */
}

.ed-tool-card .ed-button {
	margin-top: 0;
  	margin-bottom: 20px;
  	width: 100%;
  	max-width: 275px;
	padding: 12px 5px;
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    /* Existing responsive styles... */
    .ed-heading-1 {
        font-size: 2.2em; /* Smaller on mobile */
    }

    .ed-heading-2 {
        font-size: 1.8em; /* Smaller on mobile */
    }

    .ed-article-card-content h3 {
        font-size: 1.2em;
    }

    .ed-tool-card-content h3 {
        font-size: 1.4em; /* Adjust tool heading for tablets */
    }
}

@media (max-width: 768px) {
    /* Existing responsive styles... */
    .ed-heading-1 {
        font-size: 2.2em;
    }

    .ed-heading-2 {
        font-size: 1.8em;
    }

    .ed-intro, .ed-paragraph, .ed-list-item {
        font-size: 1em;
    }

    .ed-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .ed-section {
        padding: 40px 20px;
    }

    .ed-articles-grid,
    .ed-tools-grid { /* Apply stacking to both article and tool grids */
        grid-template-columns: 1fr; /* Stack cards on very small screens */
    }
}

@media (max-width: 480px) {
    /* Existing responsive styles... */
    .ed-heading-1 {
        font-size: 1.8em;
    }

    .ed-heading-2 {
        font-size: 1.5em;
    }

    .ed-button {
        display: block;
        width: 90%;
        margin: 10px auto;
    }

    .ed-button-primary {
        padding: 15px 30px;
    }

    .ed-tool-card .ed-button {
        width: 90%; /* Adjust button width for smallest screens */
    }
}
/* End custom pages */

/* Custum product page */
/* body .site-content .product-layout-basic .container div:first-child {
	position: relative;
}

body .site-content .product-layout-basic .container .row .product-images {
	position: absolute;
	top: 0;
	left: 200px;
} */

.site-content .product-layout-basic .container:first-child {
	padding-top: 80px;
	border-bottom: 1px solid #eeeeee;
}

body .site-content .product-layout-basic .wc-tabs-panel-wrapper {
	padding-top: 0px !important;
}

body .site-content .product-layout-basic .wc-tabs-panel-wrapper .container:first-child {
	padding-top: 0px;
}

/* body .woocommerce.single-product .product-layout-basic .product-tabs-wrapper .wc-tabs-panel-wrapper, body .woocommerce .single-product .product-layout-basic .product-tabs-wrapper {
	padding-top: 0;
	margin-top: 0;
}*/

body .site-content .product-layout-basic .container .row .woocommerce-product-gallery .slick-dots {
	display: none;
}

body .site-content .product-layout-basic .container .row .woocommerce-product-gallery .wp-post-image {
	margin: 0 auto;
}

body .site-content .product-layout-basic .container .row .single-nav-wrapper {
	display: none;
}

body .site-content .product-layout-basic .container .row  .product_meta {
	display: none;
}

body .site-content .product-layout-basic .product-tabs-wrapper .woocommerce-tabs .wc-tabs {
	display: none;
}

/* body .site-content .product-layout-basic .container .summary .single-nav-wrapper {
  	position: absolute;
	max-height: 50px;
  	bottom: 0;
  	left: 0;
  	max-width: 80px;
} */

/* Cart h1 size */
body .wc-block-cart-item__product .wc-block-components-product-metadata h1 {
	font-size: 20px;
}

/* Cart order button */
.wc-block-cart__submit {
	border: 1px solid #282828;
}

/* Add to cart button */
body .produit-jeton .add_to_cart_button {
	padding: 10px 25px;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Order */
.woocommerce_chekout_cutom .wc-block-components-order-summary-item__total-price {
	display: none;
}

.woocommerce_chekout_cutom .wc-block-components-order-summary .wc-block-components-order-summary-item:last-child > div {
	padding: 0px;
  	margin: 5px;
}

.woocommerce_chekout_cutom, .woocommerce_chekout_cutom .wc-block-checkout__terms--with-separator {
	margin-bottom: 0;
}

.woocommerce_chekout_cutom h1 {
	font-size: 26px !important;
}

.woocommerce_chekout_cutom h3 {
	font-size: 22px !important;
	margin: 0 !important;
}

.woocommerce_chekout_cutom .wp-block-woocommerce-checkout-terms-block {
	padding: 48px 0 50px 0;
}

.woocommerce_chekout_cutom .wc-block-components-checkout-step__description {
	padding-top: 0px !important;
}

/* Restor cursor and do not enlarge the image */
.woocommerce div.product div.images a {
    pointer-events: none;
    cursor: default !important;
}

.woocommerce div.product div.images a img {
    cursor: default !important;
}

.woocommerce-product-gallery__wrapper {
    pointer-events: none;
}

.woocommerce div.product div.images figure a {
    cursor: default !important;
}

/* Custom display products */
.product-price .woocommerce-Price-amount {
    font-weight: bold;
    font-size: 16px;
}

.product-price .woocommerce-Price-amount.original-price {
    text-decoration: line-through;
    color: #999;
}

.product-price .woocommerce-Price-amount.sale-price {
    color: #d9534f;
    font-size: 18px;
}

/* Social login */
body .nsl-container .nsl-container-buttons {
	display: flex !important;
    flex-flow: row wrap;
}

body .nsl-container .nsl-container-buttons a {
	width: auto !important;
    margin: 7px 10px !important;
}

/* Link above other elements */
.link-above a {
	position: absolute;
    z-index: 99999;
    height: 100%;
    width: 100%;
}

/* Ofer services area */
/* Section des services */
.services-section {
    text-align: center;
    margin-bottom: 30px;
}

.services-section h3 {
	font-size: 34px;
	color: #344b61;
	text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
	font-weight: bold;
}

/* Conteneur des services */
.boutique-services {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Carte de service */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Image */
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 2px solid #d4af37;
}

/* Texte */
.service-card span {
    display: block;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(90deg, #4b0082, #800080);
    width: 100%;
    border-radius: 0 0 10px 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .boutique-services {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 80%;
    }
}

/* Login / Subscription / My account */
#customer_login div:nth-of-type(odd) {
    background-color: #d7d7d7; /* Couleur pour les div impaires */
}

#customer_login div:nth-of-type(odd) p {
    background-color: #d7d7d7; /* Couleur pour les div impaires */
}

#customer_login div:nth-of-type(even) {
    background-color: #e9ecef; /* Couleur pour les div paires */
}

#customer_login div:nth-of-type(even) p {
    background-color: #e9ecef; /* Couleur pour les div paires */
}

body .woocommerce-MyAccount-content input {
	background: #FFF !important;
	padding-left: 10px;
}

body .woocommerce-EditAccountForm em {
	color: #7792b8;
}

body .show-password-input {
    content: attr(aria-label);
    display: block;
    color: #282828;
    font-size: 10px;
	background: none;
  	border: none;
  	padding: 0;
  	margin-top: 10px;
	font-style: italic;
}

body .show-password-input::after {
    content: attr(aria-label);
    display: block;
    color: #282828;
    font-size: 10px;
	background: none;
  	border: none;
  	padding: 0;
  	margin-top: 10px;
}

#customer_login input {
	background: #fff !important;
  	padding: 10px 12px;
}

#customer_login .woocommerce-LostPassword {
	margin: 40px 0 -20px 0;
}

body form.woocommerce-ResetPassword .woocommerce-form-row--last {
	width: 100% !important;
}

body form.woocommerce-ResetPassword .woocommerce-form-row:nth-child(even) {
	background: #edf7ff;
	padding: 10px;
}

body form.woocommerce-ResetPassword .woocommerce-form-row:nth-child(odd) {
	background: #FFF;
	padding: 10px;
	margin-bottom: 10px;
}

/* Services pages */
body .howDoesItWork {
	color: #FFF;
	font-size: 30px;
	margin-bottom: 40px;
}

body .howDoesItWork p {
	font-size: 30px;
}

body .howDoesItWork h2 {
	color: #FFF;
	font-size: 44px;
}

body .howDoesItWork .vc_column-inner:first-child {
	background-color: rgba(128, 128, 128, 0.3);
 	text-shadow: 1px 1px 3px rgba(128, 128, 128, 0.5);
}

/* FAQ page */
body .faq-banner img {
	max-height: 400px;
	width: auto;
}

/* Articles */
body .main-container .container article.post .entry-thumbnail {
	max-width: 500px;
	height: auto;
  	margin: 0 auto 10px auto;
}

body .main-container .container .entry-content article .entry-header .single-nav-wrapper  {
	bottom: 0;
	top: initial;
}

body .main-container .container .entry-content article .entry-header .single-nav-wrapper .single-nav__prev-item {
	margin-right: 10px;
}

body .main-container .container .entry-content article .entry-header .single-nav-wrapper .single-nav__next-item {
	margin-left: 10px;
}

/* Hide date and view number and style */
body .main-container .container .entry-heading .entry-meta .post-view, body .main-container .container .entry-heading .entry-meta .meta-date {
	display: none;
}

body .main-container .container .entry-heading .entry-header h1 {
	background-color: #f5f0e9;
  	padding: 40px;
  	border-radius: 20px;
}

body .main-container .container .entry-body .entry-meta .post-view, body .main-container .container .entry-body .entry-meta .meta-date {
	display: none;
}

body .main-container .container .entry-header a {
	font-weight: bold;
}

/* Blog style */
.blog-container {
    max-width: 1200px;
	min-height: 700px;
    margin: 0 auto;
    padding: 20px;
	padding-bottom: 80px;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
	padding: 10px;
}

body .blog-post h2 {
	font-size: 26px;
	text-align: center
}

.blog-post p {
	padding: 4px 10px;
}

.blog-post:hover {
    transform: scale(1.05);
}

.blog-thumbnail img {
    width: 100%;
    height: auto;
}

body .blog-container .featured-article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

body .blog-container .featured-image {
	width: 400px;
  	height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
	overflow: hidden;
	position: relative;
}

body .blog-container .featured-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
}

body .blog-container .featured-excerpt {
    font-size: 16px;
    color: #666;
}

body .blog-container .articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Bandeau "À la une" */
body .blog-container .featured-banner {
    position: absolute;
	top: 92px;
  	left: -40px;
    background: rgba(230, 116, 34, 0.9); /* Couleur avec opacité */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 50px;
    border-radius: 5px;
    text-transform: uppercase;
    transform: rotate(-45deg);
    transform-origin: top left;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contenu en dessous de l’image */
body .blog-container .featured-content {
    margin-top: 15px;
    text-align: center;
}

body .blog-container .featured-title a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

body .blog-container .featured-excerpt {
    font-size: 16px;
    color: #666;
}

/* Barre de recherche sous l'article à la une */
body .blog-container .blog-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
	margin-bottom: 50px;
}

body .blog-container .blog-search-form .search-field {
    width: 60%;
    padding: 10px;
    border: 2px solid #e67422;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

body .blog-container .blog-search-form .search-submit {
    background: #e67422;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

body .blog-container .blog-search-form .search-submit:hover {
    background: #c85e1a;
}

/* Social network */
.fa-facebook {
    background-image: url('https://eternaldivinity.com/wp-content/uploads/2025/03/FB-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
}
.fa-twitter {
    background-image: url('https://eternaldivinity.com/wp-content/uploads/2025/03/X-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
}
.fa-pinterest {
    background-image: url('https://eternaldivinity.com/wp-content/uploads/2025/03/Pinterest-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
}
.fa-google-plus {
    background-image: url('https://eternaldivinity.com/wp-content/uploads/2025/03/Google-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
}

.fa-facebook::before, .fa-twitter::before, .fa-pinterest::before, .fa-google-plus::before {
	content: none;
}