@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #f6f3ea;
  --ink: #172026;
  --muted: #5f6b72;
  --panel: #fffdf7;
  --line: #d8d1bd;
  --button: #245c73;
  --button-ink: #ffffff;
  --accent: #f28f62;
  --soft: #e6f1ea;
  --font-ui: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #174f65;
  font-weight: 800;
}

.site-header,
.page-footer {
  max-width: 1060px;
  margin: 0 auto;
  padding: 18px 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  color: var(--ink);
  text-decoration: none;
}

.globe-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 92, 115, 0.18);
}

.country-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
  min-height: 66vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 10vw, 6.4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.intro {
  max-width: 62ch;
  font-size: 1.2rem;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.16);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.fact {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.fact dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.fact dd {
  margin: 3px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.section {
  margin-top: 56px;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.audio-box,
.cta {
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
}

.audio-box audio {
  width: 100%;
  max-width: 520px;
}

.page-footer {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .story,
  .facts,
  .topic-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}
