/* release-next-21nov · brand v3 fix round (loaded after brand.css on branded pages).
   Display leading for accented capitals: in Anton an accented capital (Á É Í Ó Ú Â Ê Ô Ã Õ Ñ …)
   reaches 1.10em above the baseline, while comma, Q and parentheses descend 0.11em. Any line-height
   below 1.21 lets an accent touch punctuation on the line above. 1.24 clears it with ~0.03em in
   every locale; it is static CSS in <head>, so it adds no layout shift. */
:root { --nq-display-lh: 1.24; }
.landing-v3 :is(h1, h2, h3) { line-height: 1.24 !important; }
body:not(.landing-v3) :is(h1, h2) { line-height: 1.24 !important; }

/* SEO pillar/diary headers: the brand header images are 16:9 (1280x720 / 780x439) but the frame
   kept the old photo's reserved geometry, leaving a tall empty frame with the pizarra at one edge.
   The frame takes the image's own ratio (CSS loads before first layout: no shift). */
body:not(.landing-v3) .hero-media [data-nq-cover] { aspect-ratio: 16 / 9 !important; height: auto; object-fit: contain; }

/* Header language select at phone width: the closed select sizes to the chosen language (short labels
   for the regional variants) instead of the longest option, so the label is not clipped and the
   header CTA keeps its width. Browsers without field-sizing keep the previous behaviour. */
@media (max-width: 480px) {
  .landing-v3 .header .language select { field-sizing: content; width: auto; max-width: none; padding-inline: 6px 4px; }
}
