* { box-sizing: border-box }
body { margin: 0; font: 1.1rem/1.55 system-ui, sans-serif; background: #faf9f5; color: #082c43 }
.wrap { max-width: 72rem; padding-inline: clamp(1.2rem,4vw,3.5rem); margin: auto }
header, footer { background: #082c43; color: white }
.mast { padding-block: 1rem }
.mast a { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit }
.mast strong { font-size: 1.55rem; line-height: 1.1 }
.mast span { font-size: .86rem; color: #a2efda }
main { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem,5vw,5rem); padding-block: clamp(2rem,5vw,4rem); align-items: start }
h1 { font-size: clamp(2.8rem,6vw,5rem); letter-spacing: -.055em; line-height: 1; margin: .4rem 0 1.8rem }
h2 { margin: 1.7rem 0 .4rem; font-size: 1.45rem; line-height: 1.25 }
p { margin: .5rem 0 1rem }
.date { color: #006959; font-weight: 750 }
.lead { font-size: 1.25rem }
a { color: #006959; text-underline-offset: .18em }
.updates { display: inline-block; padding-block: .6rem; font-weight: 700 }
figure { margin: 0 }
img { width: 100%; height: auto; display: block }
figcaption a { display: inline-block; padding-block: .65rem }
footer { padding-block: 1.5rem }
footer a { color: white }
a:focus-visible { outline: 3px solid #de7500; outline-offset: 3px }
.skip { position: absolute; left: -100vw; background: white; padding: 1rem }
.skip:focus { left: 0 }
@media (max-width: 46rem) {
 main { display: flex; flex-direction: column; gap: 0 }
 article { display: contents }
 article > * { order: 2 }
 article > :nth-child(-n+5) { order: 0 }
 figure { order: 1; margin-block: .8rem; width: 100% }
}
@media (prefers-color-scheme: dark) {
 body { background: #0a2331; color: #f5f6f1 }
 a, .date { color: #9cead3 }
 .skip { background: #082c43 }
}

/* Language switch beside the wordmark. */
.mast { display:flex; align-items:center; justify-content:space-between; gap:1rem }
.language-toggle { display:inline-flex; align-items:center; gap:3px; min-width:54px; min-height:44px; padding:6px; border:0; background:transparent; color:inherit; font:inherit; font-size:13px; cursor:pointer }
.language-toggle [data-lang-es], .language-toggle [data-lang-en] { opacity:.7 }
.language-toggle .is-current { opacity:1; font-weight:700; text-decoration:underline; text-underline-offset:4px }
.language-toggle:focus-visible { outline:2px solid #a2efda; outline-offset:2px }
