/* Home presentation only. Identity: sources/spec/DESIGN.md and app/content/identite.json. */
.ueah-home {
  box-sizing: border-box;
  width: 100%;
  max-width: 81rem;
  margin: 0 auto;
  padding: 0 var(--ueah-marge) 2rem;
}
.ueah-home > * { margin-block: 0; }
.ueah-home .ueah-home-section {
  min-width: 0;
  padding-block: 1.75rem;
}
.ueah-home h1, .ueah-home h2, .ueah-home h3 {
  overflow-wrap: anywhere;
}
.ueah-home h1 { margin-block: 0 .75rem; }
.ueah-home h2 { margin-block: 0 1.25rem; }
.ueah-home h3 { margin-block: .75rem .5rem; }
.ueah-home p { max-width: var(--wp--style--global--content-size, 35rem); }
.ueah-home figure { margin: 0; }
.ueah-home img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}
.ueah-home figcaption {
  padding-block: .5rem;
  color: var(--ueah-texte);
  font-size: var(--wp--preset--font-size--petit, .875rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ueah-home .ueah-home-panorama {
  display: grid;
  gap: .75rem;
  padding-block: 1rem 1.5rem;
}
.ueah-home .ueah-home-intro { align-self: center; }
.ueah-home .ueah-home-intro h1 { font-size: 2.5rem; }
.ueah-home .ueah-home-eyebrow {
  margin-block: 0 .375rem;
  font-size: var(--wp--preset--font-size--petit, .875rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.ueah-home .ueah-home-intro p { margin-block: 0 1rem; }
.ueah-home .ueah-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin-block: .25rem;
  padding: .625rem 1rem;
  border: 1px solid currentColor;
  color: var(--ueah-texte);
  background: var(--ueah-fond);
  font-weight: 700;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.ueah-home .ueah-home-link:hover { background: var(--ueah-brume); }
.ueah-home [data-ueah-home-section="visite"] {
  padding: 1.25rem;
  background: var(--ueah-sable);
  color: var(--ueah-texte);
}
.ueah-home [data-ueah-home-section="visite"] h2 { margin-bottom: .75rem; }
.ueah-home .ueah-home-visit-links,
.ueah-home .ueah-home-grid,
.ueah-home .ueah-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ueah-home .ueah-home-visit-links { gap: .5rem 1.5rem; }
.ueah-home .ueah-home-visit-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: .25rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.ueah-home .ueah-home-grid > li,
.ueah-home .ueah-home-card,
.ueah-home .ueah-news-card { min-width: 0; }
.ueah-home .ueah-home-card h3 a,
.ueah-home .ueah-news-card h3 a { text-underline-offset: .15em; }
.ueah-home .ueah-home-card p,
.ueah-home .ueah-news-card p { margin-block: .5rem; }
.ueah-home .ueah-home-card time { display: block; }
.ueah-home .ueah-home-badge {
  display: inline-block;
  margin-block: .5rem;
  padding: .125rem .5rem;
  background: var(--ueah-brume);
  color: var(--ueah-texte);
  font-size: var(--wp--preset--font-size--petit, .875rem);
  font-weight: 700;
}
.ueah-home [data-ueah-home-section="agenda"],
.ueah-home [data-ueah-home-section="parcours"] {
  border-block-start: 1px solid var(--ueah-bordure);
}
.ueah-home .ueah-news-home { margin-block: 0; }
@media (min-width: 40em) {
  .ueah-home .ueah-home-grid,
  .ueah-home .ueah-news-grid,
  .ueah-home .ueah-home-visit-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .ueah-home .ueah-home-section { padding-block: 2.5rem; }
  .ueah-home .ueah-home-panorama {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
    padding-block: 1.5rem 2rem;
  }
  .ueah-home .ueah-home-intro h1 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
  .ueah-home .ueah-home-grid,
  .ueah-home .ueah-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ueah-home [data-ueah-home-section="parcours"] .ueah-home-grid,
  .ueah-home .ueah-home-visit-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ueah-home [data-ueah-home-section="visite"] { padding: 1.5rem; }
}

/* Translated home: the reviewed presentation of the site, in reading width, under the panorama. */
.ueah-home-texte { max-width: 40rem; margin: 1.5rem auto 0; padding-inline: var(--ueah-marge, 1rem); }
.ueah-home-texte p { margin-block: 0 1rem; }
.ueah-home-texte .ueah-source { font-size: var(--wp--preset--font-size--petit, .875rem); }
