/*
Theme Name:   Hello Elementor Child
Theme URI:    https://votresite.com
Description:  Thème enfant pour Hello Elementor
Author:       Votre Nom
Author URI:   https://votresite.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/
/* === TEST CHILD CSS === */



/* Sticky header (Hello / header du thème) */
.site-header, header.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Header toujours opaque
.site-header,
header.site-header {
  background-color: #F4F1EC; 
  opacity: 1;
}
*/

/* Sécurité : éviter toute transparence héritée */
.site-header * {
  background-color: transparent;
}

/* Optionnel : si tu as une ombre légère quand ça colle
.site-header {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
*/

/* Important si tu es connecté (barre admin WP en haut) */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px){
  body.admin-bar .site-header { top: 46px; }
}

/* --- Scroll offset pour header sticky --- */
.elementor-element {
  scroll-margin-top: 96px;
}

/* Sections standard – desktop */
.section-standard {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
}

/* Tablette */
@media (max-width: 1024px) {
  .section-standard {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-standard {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Espacement titres → texte 
.elementor-heading-title {
  margin-bottom: 1.3em;
}
*/

/* Espacement avant les titres (optionnel mais conseillé)
.elementor-heading-title {
  margin-top: 1.6em;
}

h3 {
  margin-top: 1.4em;
}

h4 {
  margin-top: 1.2em;
}
*/

/* Fix global pour tous les titres Elementor (H1/H2/H3… et même si le tag n'est pas h2) */
body .elementor-widget-heading .elementor-heading-title{
  line-height: 1.2em !important;
}

/* Sécurité : si un titre utilise la classe sans être dans le widget Heading */
body .elementor-heading-title{
  line-height: 1.2em !important;
}

body .elementor-widget-heading,
body .elementor-widget-heading .elementor-widget-container{
  height: auto !important;
  min-height: 0 !important;
}

body .elementor-heading-title{
  position: static !important;
}

li.current_page_item a {
	color: #0F52BA !important;
	text-decoration: underline;
}


