.fun-facts-section {
  background: var(--white);
  padding-top: 44px;
}

.fun-facts-section > h3 {
  font-size: 44px;
  margin-bottom: 30px;
}

.fun-facts-section h4 {
  color: var(--ocean);
  font: 26px "Lilita One";
  margin: 34px 0 15px;
}

.fun-facts-section h4:first-of-type {
  margin-top: 0;
}

.fun-facts-section #history-facts .fact-card:nth-child(odd) {
  background: #ffd6b5;
}

.fun-facts-section #history-facts .fact-card:nth-child(even) {
  background: #bddff5;
}

@media (max-width: 600px) {
  .fun-facts-section > h3 { font-size: 36px; }
  .fun-facts-section h4 { font-size: 24px; margin-top: 30px; }
}

/* "View another country" — a way back to the browser/search list once
   you're reading a fact sheet, without hunting for the back button or
   scrolling all the way up by hand (see countries.js). */
.view-another-wrap {
  background: var(--white);
  padding: 0 42px 38px;
  text-align: center;
}

.view-another {
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: #e8dfcc;
  color: var(--ink);
  font: 900 13px "Nunito Sans", sans-serif;
  letter-spacing: .3px;
  padding: 13px 24px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
}

.view-another:hover { background: var(--mango); }
.view-another:active { transform: translateY(4px); box-shadow: none; }

@media (max-width: 600px) {
  .view-another-wrap { padding: 0 18px 28px; }
  .view-another { width: 100%; }
}

/* Captain Amara was capped at a fixed 220px regardless of how much of the
   navy hero panel was actually free — on the taller/narrower hero this
   left a lot of dead blue space beside her. Let her scale with the panel
   instead, cropped to run down close to the quick-facts row (population,
   capital, continent), with a small deliberate bleed over the bottom edge
   of the hero rather than stopping short of it. */
.country-hero-art {
  align-self: flex-end;
  overflow: visible;
}

.country-hero-art img {
  width: clamp(220px, 22vw, 340px);
  height: auto;
  margin-bottom: -18px;
}

@media (max-width: 900px) {
  .country-hero-art img { width: clamp(170px, 46vw, 260px); margin-bottom: -14px; }
}

@media (max-width: 600px) {
  .country-hero-art img { width: clamp(150px, 58vw, 220px); margin-bottom: -10px; }
}
