/* Habillage À la santé globale - polices locales et mise en page */

@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("fonts/newsreader-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Newsreader";
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url("fonts/newsreader-latin-400-italic.woff2") format("woff2");
}
@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("fonts/newsreader-latin-600-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("fonts/newsreader-latin-700-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Public Sans";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("fonts/public-sans-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Public Sans";
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url("fonts/public-sans-latin-400-italic.woff2") format("woff2");
}
@font-face{
  font-family:"Public Sans";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("fonts/public-sans-latin-600-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Public Sans";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("fonts/public-sans-latin-700-normal.woff2") format("woff2");
}

:root{
  --asg-encre:#1c2438;
  --asg-texte:#2c3344;
  --asg-muet:#5c6578;
  --asg-fond:#f6f1e8;
  --asg-carte:#fffdf8;
  --asg-filet:#d8d0c4;
  --asg-accent:#9a3d2f;
  --asg-accent-sombre:#6e2a21;
  --asg-nuit:#1c2438;
  --asg-clair:#fffdf8;
  --asg-bandeau:#efe6d6;
}

html{
  scroll-behavior:auto;
}

body,
button,
input,
select,
textarea{
  font-family:"Public Sans", system-ui, sans-serif;
  color:var(--asg-texte);
}

body{
  background-color:var(--asg-fond);
  line-height:1.7;
}

h1,h2,h3,h4,h5,h6,
.main-title,
.site-title,
.entry-title,
.titre-principal,
.titre-rubrique,
.titre-section,
.gb-text-862ad1fa,
.gb-text-54be133d,
.gb-text-b4f2f1e6,
.gb-headline{
  font-family:"Newsreader", Georgia, serif;
  font-weight:600;
  color:var(--asg-encre);
  line-height:1.28;
  letter-spacing:0;
  text-transform:none;
  overflow-wrap:break-word;
  text-wrap:pretty;
}

a{
  color:var(--asg-accent);
  text-decoration-thickness:1px;
  text-underline-offset:0.18em;
}

a:hover,
a:focus{
  color:var(--asg-accent-sombre);
}

.site-header{
  background:var(--asg-carte);
  border-top:6px solid var(--asg-encre);
  box-shadow:inset 0 3px 0 0 var(--asg-accent);
  border-bottom:1px solid var(--asg-filet);
}

.inside-header{
  padding-top:0.85rem;
  padding-bottom:0.85rem;
}

.site-logo img,
.custom-logo-link img,
img.custom-logo,
.header-image.is-logo-image{
  max-height:72px;
  width:auto;
  height:auto;
}

.main-navigation,
.main-navigation a,
.main-navigation .main-nav ul li a{
  font-family:"Public Sans", system-ui, sans-serif;
  font-weight:600;
  text-transform:none;
  letter-spacing:0.01em;
  font-size:0.95rem;
  color:var(--asg-encre);
  background:transparent;
}

.main-navigation{
  border-bottom:1px solid var(--asg-filet);
  background:var(--asg-carte);
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li a:focus{
  color:var(--asg-accent);
  background:transparent;
  text-decoration:underline;
  text-underline-offset:0.28em;
}

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
button.menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus{
  color:var(--asg-encre);
  background:var(--asg-carte);
  border-color:var(--asg-filet);
}
.menu-toggle .mobile-menu,
.menu-toggle span{
  color:var(--asg-encre);
}

.gbp-button--primary,
a.gbp-button--primary{
  background:var(--asg-accent);
  color:var(--asg-clair);
  text-decoration:none;
  padding:0.45rem 0.9rem;
  border-radius:2px;
}
.gbp-button--primary:hover,
.gbp-button--primary:focus,
a.gbp-button--primary:hover,
a.gbp-button--primary:focus{
  background:var(--asg-accent-sombre);
  color:var(--asg-clair);
}

/* Bouton Contact : rester dans la barre, sans deborder sur le bandeau */
.main-navigation .inside-navigation{
  align-items:center;
}
.main-navigation .gb-element-04feb574{
  display:flex;
  align-items:center;
  margin-top:0.3rem;
  margin-bottom:0.55rem;
}
@media (max-width: 1080px){
  .main-navigation .inside-navigation{
    align-items:center;
    padding-top:0.55rem;
    padding-bottom:0.55rem;
  }
  .main-navigation .gb-element-04feb574{
    margin-top:0;
    margin-bottom:0;
    margin-left:0.75rem;
  }
}

.separate-containers .inside-article,
.one-container .inside-article{
  background:var(--asg-carte);
}

.home.page .site-main > article .entry-header,
.home.page .site-main > article .entry-content,
.home.page .site-main > article .entry-footer{
  display:none;
}

.home.page .site-main > article.page{
  background:transparent;
  padding:0;
  margin:0;
  box-shadow:none;
}

.home.page .site-main > article .inside-article{
  padding:0;
  background:transparent;
}

.home.page .gbp-section.gb-element-212c8daf,
.home .page-hero,
.home .gb-element-ed4bf7e6{
  display:none;
}

.page-accueil{
  margin:0 auto 3.2rem;
}

.bandeau-accueil{
  position:relative;
  overflow:hidden;
  margin:0 0 2.4rem;
  padding:2.4rem 6% 2.2rem;
  background:var(--asg-bandeau);
  color:var(--asg-encre);
  border-bottom:1px solid var(--asg-filet);
  border-left:8px solid var(--asg-accent);
}

.bandeau-accueil.avec-photo{
  display:grid;
  grid-template-columns:minmax(16rem, 1.05fr) minmax(18rem, 0.95fr);
  align-items:stretch;
  padding:0;
  border-left:0;
  min-height:18rem;
  background:var(--asg-bandeau);
}

.bandeau-accueil .bandeau-photo,
.bandeau-accueil img.bandeau-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  grid-column:1;
  grid-row:1;
  min-height:18rem;
}

.bandeau-accueil-inner{
  position:relative;
  z-index:1;
  max-width:40rem;
  padding:0;
}

.bandeau-accueil.avec-photo .bandeau-accueil-inner{
  grid-column:2;
  grid-row:1;
  padding:2.4rem 8% 2.2rem 7%;
  max-width:none;
  background:var(--asg-bandeau);
  border-left:8px solid var(--asg-accent);
}

.titre-principal{
  margin:0 0 0.75rem;
  color:var(--asg-encre);
  font-size:clamp(2rem, 4.2vw, 3.15rem);
  font-weight:700;
  line-height:1.18;
  max-width:22ch;
}

.bandeau-accueil .titre-principal{
  color:var(--asg-encre);
}

.chapo-accueil{
  margin:0;
  color:var(--asg-texte);
  font-size:1.08rem;
  line-height:1.55;
  max-width:36rem;
}

.section-accueil{
  padding:0 5%;
  margin:0 auto 2.6rem;
  max-width:70rem;
}

.titre-section{
  margin:0 0 1rem;
  font-size:1.45rem;
  font-weight:600;
  padding-bottom:0.35rem;
  border-bottom:1px solid var(--asg-encre);
}

.article-une{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap:0;
  background:var(--asg-carte);
  border:1px solid var(--asg-filet);
  text-decoration:none;
  color:inherit;
  overflow:hidden;
}

.article-une:hover,
.article-une:focus{
  color:inherit;
}

.corps-une{
  padding:1.5rem 1.6rem 1.6rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.libelle-une{
  margin:0 0 0.45rem;
  font-family:"Public Sans", system-ui, sans-serif;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--asg-accent);
}

.article-une h3{
  margin:0 0 0.45rem;
  font-size:clamp(1.45rem, 2.6vw, 2rem);
  line-height:1.22;
}

.meta-une,
.extrait-une{
  margin:0 0 0.55rem;
  color:var(--asg-muet);
  font-size:0.95rem;
}

.extrait-une{
  color:var(--asg-texte);
  line-height:1.55;
}

.article-une .visuel-une,
.article-une img.visuel-une,
.article-une .visuel-reserve{
  display:block;
  width:100%;
  height:100%;
  min-height:16rem;
  object-fit:cover;
  background:var(--asg-bandeau);
  grid-column:2;
  grid-row:1;
}

.corps-une{
  grid-column:1;
  grid-row:1;
}

.sommaire-rubriques{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:0.15rem 2.4rem;
}

.sommaire-rubriques li{
  margin:0;
}

.sommaire-rubriques a{
  display:flex;
  align-items:baseline;
  gap:0.55rem;
  padding:0.55rem 0;
  text-decoration:none;
  color:var(--asg-encre);
  border-bottom:1px dotted var(--asg-filet);
}

.sommaire-rubriques a:hover,
.sommaire-rubriques a:focus{
  color:var(--asg-accent);
}

.nom-rubrique{
  font-family:"Newsreader", Georgia, serif;
  font-weight:600;
  font-size:1.12rem;
}

.filet-sommaire{
  flex:1 1 auto;
  border-bottom:1px dotted var(--asg-filet);
  min-width:1.2rem;
  transform:translateY(-0.35em);
}

.compte-rubrique{
  font-size:0.88rem;
  color:var(--asg-muet);
  white-space:nowrap;
}

.liste-recents{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid var(--asg-filet);
}

.liste-recents li{
  margin:0;
  border-bottom:1px solid var(--asg-filet);
}

.liste-recents a{
  display:grid;
  grid-template-columns:9.2rem minmax(0, 1fr) auto;
  gap:0.9rem;
  align-items:baseline;
  padding:0.85rem 0.1rem;
  text-decoration:none;
  color:var(--asg-encre);
}

.liste-recents a:hover,
.liste-recents a:focus{
  color:var(--asg-accent);
}

.date-recent{
  font-size:0.88rem;
  color:var(--asg-muet);
  font-variant-numeric:tabular-nums;
}

.titre-recent{
  font-family:"Newsreader", Georgia, serif;
  font-weight:600;
  font-size:1.12rem;
  min-width:0;
}

.rubrique-recent{
  font-size:0.82rem;
  color:var(--asg-muet);
  letter-spacing:0.04em;
  text-transform:uppercase;
  font-weight:600;
}

.bloc-recherche-accueil{
  max-width:42rem;
}

.formulaire-recherche{
  display:flex;
  flex-wrap:wrap;
  gap:0.6rem;
  align-items:stretch;
}

.formulaire-recherche label{
  flex:1 1 14rem;
  margin:0;
}

.champ-recherche,
#champ-recherche-accueil,
#champ-recherche-404,
input.search-field{
  width:100%;
  min-height:2.6rem;
  padding:0.45rem 0.7rem;
  border:1px solid #6d6458;
  background:#fff;
  color:var(--asg-texte);
}

.bouton-recherche,
.formulaire-recherche button[type="submit"]{
  background:var(--asg-accent);
  color:var(--asg-clair);
  border:0;
  padding:0.55rem 1.1rem;
  font-weight:600;
  cursor:pointer;
}

.bouton-recherche:hover,
.bouton-recherche:focus{
  background:var(--asg-accent-sombre);
}

/* Archives : un seul H1 deja fourni par le gabarit, sans chevauchement */
html body .gbp-section.gb-element-212c8daf,
html body .gbp-section.gb-element-434f5a00,
html body .gbp-section.gb-element-e72b9581{
  background-image:none !important;
  background-color:var(--asg-bandeau) !important;
  padding:1.7rem 5% 1.6rem !important;
  overflow:visible !important;
  min-height:0 !important;
  height:auto !important;
  border-left:8px solid var(--asg-accent);
}

.gb-shape--divider{
  display:none;
}

/* Rubriques : photo a gauche, titre dans le panneau, sans chevauchement */
body.a-photo-entete .gbp-section.gb-element-212c8daf{
  display:grid;
  grid-template-columns:minmax(12rem,1fr) minmax(16rem,1.15fr);
  align-items:stretch;
  background-image:none !important;
  background-color:var(--asg-bandeau) !important;
  padding:0 !important;
  border-left:0;
  overflow:hidden !important;
  min-height:12rem !important;
  height:auto !important;
}
body.a-photo-entete .gbp-section.gb-element-212c8daf .photo-rubrique,
body.a-photo-entete .gbp-section.gb-element-212c8daf img.photo-rubrique{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  grid-column:1;
  grid-row:1;
  min-height:12rem;
}
body.a-photo-entete .gbp-section.gb-element-212c8daf .gbp-section__inner{
  position:relative;
  z-index:2;
  background:var(--asg-carte);
  padding:1.6rem 1.5rem 1.5rem;
  max-width:none;
  margin:0;
  border-left:8px solid var(--asg-accent);
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:center;
}
@media (max-width: 900px){
  body.a-photo-entete .gbp-section.gb-element-212c8daf{
    grid-template-columns:1fr;
  }
  body.a-photo-entete .gbp-section.gb-element-212c8daf .photo-rubrique,
  body.a-photo-entete .gbp-section.gb-element-212c8daf img.photo-rubrique{
    grid-column:1;
    grid-row:1;
    min-height:10rem;
    max-height:12rem;
  }
  body.a-photo-entete .gbp-section.gb-element-212c8daf .gbp-section__inner{
    grid-column:1;
    grid-row:2;
    border-left:0;
    border-top:8px solid var(--asg-accent);
  }
}


html body.category .gbp-section:not([class*="gb-element-"]),
html body.archive .gbp-section:not([class*="gb-element-"]),
html body.blog .gbp-section:not([class*="gb-element-"]),
html body.search .gbp-section:not([class*="gb-element-"]){
  padding-top:1.5rem !important;
  padding-bottom:2.2rem !important;
}


.gb-text-54be133d,
.gb-text-b4f2f1e6,
.gb-text-235801e6,
.gb-text-11c8f3d8,
h1.gb-text{
  display:block !important;
  max-width:100%;
  white-space:normal;
  overflow-wrap:break-word;
  text-wrap:pretty;
  line-height:1.25;
  padding:0;
  margin:0;
  border-bottom:none !important;
  position:relative;
  z-index:2;
  background:transparent;
  color:var(--asg-encre);
  font-size:clamp(1.8rem, 3.4vw, 2.6rem);
}

.search-results h1.gb-text-235801e6,
.search-results h1.gb-text-11c8f3d8{
  display:inline !important;
}

/* Articles : H1 du gabarit, jamais pose sur l'image */
.single-post .inside-article > .entry-header{
  display:none;
}

.single-post .gb-element-ed4bf7e6{
  background-image:none;
  background:var(--asg-bandeau);
  padding:2rem 5% 1.4rem;
  overflow:visible;
}

.single-post .gb-element-81a9aff8{
  max-width:46rem;
  margin-left:auto;
  margin-right:auto;
}

.single-post h1.gb-text-862ad1fa,
.single-post .entry-title{
  display:block;
  text-align:left;
  font-size:clamp(1.7rem, 3.1vw, 2.5rem);
  line-height:1.22;
  max-width:100%;
  margin:0 0 0.7rem;
  padding:0;
  color:var(--asg-encre);
  overflow-wrap:break-word;
  text-wrap:pretty;
  position:static;
  background:transparent;
}

.single-post .gb-element-95e001b3{
  justify-content:flex-start;
  text-align:left;
}

.single .entry-content,
.single-post .entry-content,
.page .entry-content{
  max-width:46rem;
  font-size:1.05rem;
}

.page-erreur{
  max-width:40rem;
  margin:2rem auto 3rem;
  padding:0 5%;
}

.page-erreur .titre-principal{
  color:var(--asg-encre);
  font-size:2.1rem;
  max-width:none;
}

.site-footer{
  background:var(--asg-nuit);
  color:#efe6d6;
  padding:0;
  margin-top:2rem;
}

.site-footer a{
  color:#f6f1e8;
  text-decoration:underline;
  text-underline-offset:0.16em;
}

.site-footer a:hover,
.site-footer a:focus{
  color:#fff;
}

.barre-pied{
  max-width:70rem;
  margin:0 auto;
  padding:2.2rem 5% 1.6rem;
}

.pied-identite{
  margin:0 0 0.35rem;
  font-family:"Newsreader", Georgia, serif;
  font-size:1.45rem;
  font-weight:600;
  color:#fff;
}

.pied-accroche{
  margin:0 0 1rem;
  color:#d8d0c4;
  font-size:0.95rem;
}

.pied-liens{
  list-style:none;
  margin:0 0 1.1rem;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:0.45rem 1.2rem;
}

.pied-liens li{
  margin:0;
}

.barre-droits{
  margin:0;
  padding-top:0.8rem;
  border-top:1px solid #3a4154;
  color:#d8d0c4;
  font-size:0.92rem;
}

.site-footer > .gb-container,
.site-footer > .gbp-section{
  display:none;
}

.inside-site-info,
.copyright-bar,
.site-info{
  background:transparent;
  color:inherit;
}

/* Bouton Connexion factice et champ email factice dans la colonne d'archive */
a.gb-text-426975fa[href="#"],
.gb-element-ea6073f0,
.gb-element-af6c3380{
  display:none !important;
}

.gb-text-c4fc3e7f,
.gb-text-28d1938a{
  text-transform:none;
  letter-spacing:0;
  font-family:"Newsreader", Georgia, serif;
}

@media (max-width: 900px){
  .bandeau-accueil.avec-photo{
    grid-template-columns:1fr;
  }
  .bandeau-accueil.avec-photo .bandeau-photo,
  .bandeau-accueil.avec-photo img.bandeau-photo{
    grid-column:1;
    grid-row:1;
    min-height:11rem;
    max-height:14rem;
  }
  .bandeau-accueil.avec-photo .bandeau-accueil-inner{
    grid-column:1;
    grid-row:2;
    padding:1.5rem 6% 1.7rem;
    border-left:0;
    border-top:8px solid var(--asg-accent);
  }
  .article-une{
    grid-template-columns:1fr;
  }
  .article-une .corps-une{
    grid-column:1;
    grid-row:2;
  }
  .article-une .visuel-une,
  .article-une img.visuel-une,
  .article-une .visuel-reserve{
    grid-column:1;
    grid-row:1;
    min-height:12rem;
    max-height:16rem;
  }
  .sommaire-rubriques{
    grid-template-columns:1fr;
  }
  .liste-recents a{
    grid-template-columns:1fr;
    gap:0.2rem;
    padding:0.8rem 0.1rem 0.9rem;
  }
}

@media (max-width: 600px){
  .bandeau-accueil{
    padding:1.7rem 5% 1.6rem;
  }
  .titre-principal,
  .single-post h1.gb-text-862ad1fa,
  .gb-text-54be133d,
  .gb-text-b4f2f1e6{
    font-size:1.7rem;
    max-width:100%;
  }
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
#author, #email, #url, #comment,
#champ-recherche-accueil,
#champ-recherche-404,
.wpcf7 input,
.wpcf7 textarea,
.gp-search-modal .search-field,
.gp-search-modal input[type="search"]{
  background:#fff;
  color:var(--asg-texte);
  border:1px solid #6d6458;
}

button.menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus,
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus,
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus{
  background-color:#fffdf8 !important;
  color:#1c2438 !important;
}
button.menu-toggle .mobile-menu,
.menu-toggle .mobile-menu,
.menu-toggle .gp-icon{
  color:#1c2438 !important;
}

#champ-recherche-accueil,
#champ-recherche-404,
#author, #email, #url, #comment,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
input.champ-recherche,
input.search-field{
  background-color:#fff !important;
  color:#2c3344;
}

#champ-recherche-accueil::-webkit-input-placeholder,
#champ-recherche-404::-webkit-input-placeholder,
#author::-webkit-input-placeholder,
#email::-webkit-input-placeholder,
#url::-webkit-input-placeholder,
#comment::-webkit-input-placeholder,
.champ-recherche::-webkit-input-placeholder,
.search-field::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
  color:#3d4454 !important;
  opacity:1 !important;
}
#champ-recherche-accueil::placeholder,
#champ-recherche-404::placeholder,
#author::placeholder,
#email::placeholder,
#url::placeholder,
#comment::placeholder,
.champ-recherche::placeholder,
.search-field::placeholder,
input::placeholder,
textarea::placeholder{
  color:#3d4454 !important;
  opacity:1 !important;
}

h1,h2,h3,h4,h5,h6,
.titre-principal,
.titre-rubrique,
.titre-section,
.gb-headline,
.gb-text,
.entry-title,
.main-title,
.site-title{
  text-transform:none;
}

.wp-custom-logo .main-title,
.wp-custom-logo .site-title{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
