@font-face {
  font-family: Estedad;
  src: url("/fonts/Estedad-v85.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #142D4E;
  --blue: #3478C0;
  --mint: #2BBFA0;
  --paper: #F8FAFC;
  --line: #dce5ef;
  --muted: #435873;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 1rem/1.8 Estedad, Tahoma, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: #245c98; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: .5rem; background: white; padding: .5rem; z-index: 1; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top, .footer, .top nav, .brand { display: flex; align-items: center; gap: .6rem 1.4rem; flex-wrap: wrap; }
.top { justify-content: space-between; min-height: 76px; padding-block: .6rem; }
.top a { text-decoration: none; }
.top [aria-current] { border-bottom: 2px solid var(--mint); }
.brand { gap: .5rem; font-weight: 800; }
.brand img { object-fit: contain; }
.footer { border-top: 1px solid var(--line); margin-top: 3.5rem; padding-block: 1.3rem; }
.crumb { margin: .5rem 0 1rem; }
.hero { background: var(--navy); color: white; border-radius: 20px; overflow: hidden; }
.hero--photo { display: grid; grid-template-columns: 3fr 2fr; }
.hero-copy { align-self: center; padding: clamp(1.25rem, 4vw, 3.5rem); }
.hero h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 3.1rem); line-height: 1.35; }
.hero p { color: #e6edf7; margin: .8rem 0 0; max-width: 62ch; }
.hero-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.search { margin-top: 1.3rem; }
.search label { display: block; margin-bottom: .35rem; font-weight: 700; }
.search input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 9px; padding: .55rem .85rem; font: inherit; color: var(--navy); background: white; }
.search input:focus-visible { outline-color: var(--mint); }
main section + section, #browse, #search-results { margin-top: 2rem; }
h2 { font-size: 1.45rem; margin: 0 0 .75rem; }
.topics, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.topics { list-style: none; padding: 0; margin: 0; }
.topics a, .card { height: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.topics a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; text-decoration: none; }
.topics a:hover, .card:focus-within { border-color: var(--blue); }
.topics strong { font-size: 1.08rem; }
.topics span { grid-row: 2; color: var(--muted); font-size: .9rem; }
.topics b { grid-column: 2; grid-row: 1 / span 2; color: #26639e; }
.card { border-top: 3px solid var(--mint); }
.card h3 { margin: .25rem 0 .45rem; line-height: 1.55; font-size: 1.08rem; overflow-wrap: anywhere; }
.card p { font-size: .93rem; margin: 0 0 .45rem; }
.card p, time { color: var(--muted); }
.tag { display: inline-block; font-size: .82rem; color: #194f89; background: #eaf3fc; padding: .05rem .45rem; border-radius: 4px; }
time { font-size: .85rem; }
.related { display: flex; gap: .6rem 1.3rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 820px) {
  .topics, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .hero--photo, .topics, .cards { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { min-height: 0; height: auto; aspect-ratio: 2.4; }
}
