/* ===== Wide screens (16:9) ===== */
@media (min-width: 1400px) {
  html body { font-size: 16px; }

  /* page: from a fixed 1200px column to most of the screen */
  html body .a5-page { max-width: min(1720px, 94vw); grid-template-columns: 300px minmax(0, 1fr); }
  html body .a5-col { padding-left: 24px; }
  html body .a5-title h1 { font-size: 24px; }
  html body .a5-side a { font-size: 17px; }

  /* long text stays readable */
  html body .a5-main p, html body .a5-main li { max-width: 95ch; }
  html body .a5-main table p, html body .a5-main table li { max-width: none; }

  /* homepage image */
  html body .a5-home-single img { display: block; width: 100%; height: auto; }

  /* map: as tall as the screen allows */
  html body .a5-main .leaflet-container { height: 76vh !important; min-height: 560px; }

  /* ---- project pages ---- */
  html body .a5-pmenu .a5-pmenu__head { font-size: 17px; }
  html body .a5-pmenu .a5-pmenu__item { font-size: 13px; }
  html body .a5-ptitle h1 { font-size: 24px; }
  html body .a5-ptitle__proj { font-size: 15px; }
  html body .a5-pbody--sub { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
  html body .a5-psub__head { font-size: 13.5px; }
  html body .a5-psub__item { font-size: 12.5px; }

  /* project home: bigger cover */
  html body .a5-proj { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 36px; }
  html body .a5-proj__info { font-size: 15px; }

  /* section text */
  html body .a5-sec__text { font-size: 15px; }
  html body .a5-sec--slider .a5-sec__text,
  html body .a5-sec--images .a5-sec__text,
  html body .a5-sec--text .a5-sec__text { max-width: 110ch; }

  /* Δ slideshow: image as tall as the screen allows */
  html body .a5-slide img { max-height: calc(100vh - 230px); min-height: 0; }
  html body .a5-slider { padding: 14px 14px 6px; }
  html body .a5-slider__arrow { width: 44px; height: 44px; font-size: 24px; line-height: 44px; }

  /* Α: text | images — images column about 40% */
  html body .a5-sec__cols { grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 32px; }
  html body .a5-fig figcaption, html body .a5-slide figcaption { font-size: 13px; }

  /* Γ: full-width image */
  html body .a5-fig--wide img { max-height: calc(100vh - 200px); }
}

/* very large screens (2560px and up) */
@media (min-width: 2400px) {
  html body { font-size: 17px; }
  html body .a5-page { max-width: 2200px; }
}
