:root {
  color-scheme: light;
  font: 100%/1.65 system-ui, sans-serif;
  color: #262626;
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(72rem, 92%); margin-inline: auto; }
.masthead { border-bottom: 1px solid #ccc; padding-block: 1rem; }
.masthead .wrap, nav, [role="search"] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.masthead .wrap { justify-content: space-between; }
.site-name { font-weight: 700; font-size: 1.35rem; }
nav a[aria-current] { font-weight: 700; }
a { color: #20536c; text-underline-offset: .16em; }
:focus-visible { outline: 3px solid #935a00; outline-offset: 3px; }
button, input { font: inherit; padding: .3rem .55rem; max-width: 100%; }
main { padding-block: 2rem 4rem; overflow-wrap: anywhere; }
article { max-width: 75ch; margin-inline: auto; }
h1, h2, h3 { line-height: 1.2; }
img { max-width: 100%; height: auto; }
.topic-summary { display: flex; align-items: center; gap: 2rem; padding-block: 1.5rem; }
.topic-summary img { width: min(40%, 24rem); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 42rem) {
  .masthead .wrap, .topic-summary { align-items: start; flex-direction: column; }
  .topic-summary img { width: 100%; }
}

.masthead { background: #ad9e8f; color: #28211d; }
main.wrap:has(.intro) { width: 100%; max-width: none; padding-top: 0; }
.intro, .topic-summary { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 4rem); padding: clamp(3rem, 8vw, 8rem) 6%; color: white; }
.intro { background: linear-gradient(90deg,#405e60,#517853,#877a4b,#b07339,#ad4230); }
.intro > div, .topic-summary > div { width: min(32rem,45%); }
.intro img, .topic-summary img { width: min(27rem,40%); }
.topic-summary a { color: inherit; }
.topic-summary:nth-of-type(2) { background: #40364b; }
.topic-summary:nth-of-type(3) { background: #394f5c; }
.topic-summary:nth-of-type(4) { background: #466e51; }
.topic-summary:nth-of-type(5) { background: #736c40; }
.topic-summary:nth-of-type(6) { background: #965827; }
.topic-summary:nth-of-type(7) { background: #a83520; }
.topic-summary:nth-of-type(8) { background: #62171a; }
.topic-summary:nth-of-type(odd) { flex-direction: row-reverse; }
.topic-image { float: left; width: min(40%,19rem); margin: 0 1rem 1rem 0; }
main:has(.intro) article { padding: 2rem 4%; }
@media (max-width: 42rem) {
  .intro, .topic-summary, .topic-summary:nth-of-type(odd) { flex-direction: column; align-items: stretch; }
  .intro > div, .topic-summary > div, .intro img, .topic-summary img { width: 100%; }
  .topic-image { float: none; width: auto; max-width: 100%; }
}
