/* Work page presentation only. Identity: sources/spec/DESIGN.md and app/content/identite.json (variables of tokens.css). */
.ueah-oeuvre-entete h1 { margin-block: 0 1rem; overflow-wrap: anywhere; }
.ueah-oeuvre-faits { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; }
.ueah-oeuvre-faits > div { min-width: 0; }
.ueah-oeuvre-faits dt {
  font-size: var(--wp--preset--font-size--petit, .875rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ueah-oeuvre-faits dd {
  margin: 0;
  font-family: var(--ueah-police-titres);
  font-size: var(--wp--preset--font-size--moyen, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ueah-oeuvre-faits a, .ueah-oeuvre-parcours a, .ueah-oeuvre-carte h3 a { text-underline-offset: .15em; }
/* The figure keeps the inline maximum width of its widest file: the image is never enlarged. */
.ueah-oeuvre-image figure, .ueah-oeuvre-carte figure { margin: 0 auto; }
.ueah-oeuvre-image img, .ueah-oeuvre-carte img { display: block; width: 100%; height: auto; }
.ueah-oeuvre-image figcaption, .ueah-oeuvre-carte figcaption {
  padding-block: .5rem 0;
  color: var(--ueah-texte);
  font-size: var(--wp--preset--font-size--petit, .875rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
/* Above the layout's own block gap, which uses :root :where(.is-layout-constrained) > *. */
main > :is(.ueah-oeuvre-presentation, .ueah-oeuvre-pratique, .ueah-oeuvre-parcours, .ueah-oeuvre-liees) { margin-block-start: 2.5rem; }
:is(.ueah-oeuvre-presentation, .ueah-oeuvre-pratique, .ueah-oeuvre-parcours, .ueah-oeuvre-liees) > h2 { margin-block: 0 1rem; overflow-wrap: anywhere; }
.ueah-oeuvre-texte > * { max-width: 100%; }
.ueah-oeuvre-source, .ueah-oeuvre-releve, .ueah-oeuvre-note {
  font-size: var(--wp--preset--font-size--petit, .875rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ueah-oeuvre-source { margin-block: 1rem 0; padding-block-start: .75rem; border-block-start: 1px solid var(--ueah-bordure); }
/* Practical facts on the sand area used for visit information (dark text on sand, adapted in dark mode). */
.ueah-oeuvre-pratique { box-sizing: border-box; padding: 1.25rem; background: var(--ueah-sable); color: var(--ueah-texte); }
.ueah-oeuvre-pratique dl { display: grid; gap: 1rem; margin: 0 0 1rem; }
.ueah-oeuvre-pratique dl > div { min-width: 0; }
.ueah-oeuvre-pratique dt { font-weight: 700; }
.ueah-oeuvre-pratique dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.ueah-oeuvre-pratique dd ul { margin: 0; padding-inline-start: 1.25rem; }
.ueah-oeuvre-pratique p { margin-block: 0 1rem; overflow-wrap: anywhere; }
.ueah-oeuvre-localisation h3 { margin-block: 1.5rem .5rem; }
.ueah-oeuvre-localisation .ueah-iframe { margin: 0; }
.ueah-oeuvre-localisation .ueah-iframe__cadre { border-color: var(--ueah-texte); }
.ueah-oeuvre-parcours ul { margin: 0 0 .75rem; padding: 0; list-style: none; }
.ueah-oeuvre-parcours li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1rem;
  padding-block: .25rem;
  border-block-end: 1px solid var(--ueah-bordure);
}
.ueah-oeuvre-parcours li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.ueah-oeuvre-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ueah-oeuvre-carte { min-width: 0; }
.ueah-oeuvre-carte h3 { margin-block: .75rem .25rem; overflow-wrap: anywhere; }
.ueah-oeuvre-carte p { margin-block: 0; }
@media (min-width: 48em) {
  .ueah-oeuvre-pratique { padding: 1.5rem 2rem; }
  .ueah-oeuvre-pratique dl > div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 1rem; }
  .ueah-oeuvre-pratique dd { margin: 0; }
}
/* On a wide screen the location and its map sit beside the facts. */
@media (min-width: 64em) {
  .ueah-oeuvre-pratique { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .ueah-oeuvre-pratique > * { grid-column: 1; }
  .ueah-oeuvre-pratique > h2 { grid-column: 1 / -1; }
  .ueah-oeuvre-pratique > .ueah-oeuvre-localisation { grid-column: 2; grid-row: 2 / span 3; }
  .ueah-oeuvre-pratique dl > div { grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); }
  .ueah-oeuvre-localisation h3 { margin-block-start: 0; }
}
