/* Inner pages: title, introduction, text column, photos at varied sizes. */

body .page-classique,
body .page-sobre {
  padding-bottom: 96px;
}

body .page-entete {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

body .page-entete h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body .page-intro p,
body p.page-intro {
  margin-top: 18px;
  color: #435a54;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}

body .page-contenu > * {
  width: min(680px, calc(100% - 40px));
  margin-inline: auto;
}

body .page-contenu > p,
body .page-contenu > .wp-block-arche-coordonnees {
  margin-top: 16px;
  color: #3f554f;
  font-size: 1.04rem;
}

body .page-contenu > h2 {
  margin-top: 64px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

body .page-contenu > h3 {
  margin-top: 36px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
}

body .page-contenu > p.is-style-lien {
  margin-top: 28px;
}

/* Photos */
body .page-contenu > .photo-large {
  width: min(1040px, 100%);
  margin-top: 8px;
}

body .page-contenu > .photo-large img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

body .page-contenu > .photo-pleine {
  width: min(880px, 100%);
  margin-top: 20px;
}

body .page-contenu > .photo-pleine img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body .page-contenu figcaption {
  width: min(680px, calc(100% - 40px));
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

body .page-contenu > .paire-photos {
  width: min(880px, 100%);
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

body .paire-photos img {
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Label / value lists (arche/infos) */
body .en-pratique {
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

body .en-pratique > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

body .en-pratique dt {
  color: var(--muted);
}

/* Contact list */
body .arche-coordonnees li + li {
  margin-top: 6px;
}

body .arche-coordonnees a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

/* Photo page */
body .page-contenu > .galerie-photos {
  width: min(1240px, calc(100% - 40px));
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

body .galerie-photos .wp-block-image {
  width: auto !important;
  margin: 0;
}

body .galerie-photos img {
  aspect-ratio: 1 / 1;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 760px) {
  body .page-entete {
    padding-top: 48px;
  }

  body .page-contenu > .galerie-photos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  body .en-pratique > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

body .wp-block-arche-reservation {
  width: min(880px, calc(100% - 40px));
  margin: 8px auto 0;
}

body .arche-reservation-cadre {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
}

body .arche-reservation-cadre iframe {
  display: block;
  width: 100%;
  height: 1000px; /* Abricode's recommended height; Qovio resizes the frame itself. */
  border: 0;
}

body .arche-reservation-secours,
body .arche-reservation-indisponible {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

body .arche-reservation-secours a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

body .wp-block-arche-reservation .arche-coordonnees {
  margin-top: 14px;
}

@media (max-width: 760px) {
  body .arche-reservation-cadre iframe {
    height: 800px;
  }
}

/* Guide */
body .page-guide {
  padding-bottom: 96px;
}

