/* Embedded content. Identity: theme tokens (sources/spec/DESIGN.md, app/content/identite.json), with fallbacks.
 * The loaded frame keeps the ratio declared by the contributor; on a narrow screen the facsimile may grow taller
 * so that its text stays readable, and the change happens only after the visitor's click. */
.ueah-iframe__cadre {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: var(--ueah-iframe-ratio, 16 / 9);
  border: 1px solid var(--ueah-bordure, #c4b3a9);
  background: var(--ueah-brume, #dee7ed);
  color: var(--ueah-texte, #101010);
}
.ueah-iframe__fac-simile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  box-sizing: border-box;
  min-height: 100%;
  padding: clamp(1rem, 4vw, 2rem);
}
.ueah-iframe__fac-simile p { margin: 0; }
.ueah-iframe__source { font-size: var(--wp--preset--font-size--petit, .875rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ueah-iframe__titre { font-family: var(--ueah-police-titres, sans-serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.2; }
.ueah-iframe__info { max-width: 40rem; }
.ueah-iframe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.ueah-editorial .ueah-iframe__charger,
.ueah-iframe__charger {
  min-height: 44px;
  padding: .6rem 1rem;
  border: 2px solid var(--ueah-texte, #101010);
  background: var(--ueah-texte, #101010);
  color: var(--ueah-fond, #fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ueah-iframe__charger[hidden], .ueah-iframe__memoire[hidden] { display: none; }
.ueah-iframe__alternative { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: .16em; }
.ueah-iframe__memoire label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.ueah-iframe__memoire input { width: 1.25rem; height: 1.25rem; }
.ueah-iframe__contenu { display: block; width: 100%; height: 100%; border: 0; }
.ueah-iframe__apres { margin: .5rem 0 0; }
.ueah-iframe__retire { padding: 1rem; border: 1px dashed currentColor; }
