/* Free State home page refresh — Sotho-inspired and fully page-scoped */
body.freestate {
  background:
    radial-gradient(circle at 10% 8%, rgba(167, 28, 44, 0.09), transparent 34%),
    radial-gradient(circle at 86% 3%, rgba(218, 165, 32, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f1eb 0%, #ffffff 52%, #fdf7f0 100%);
  color: #2f1f1f;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

body.freestate .hero {
  color: #fff;
  text-align: center;
  padding: 34px 16px 28px;
  background:
    linear-gradient(120deg, rgba(122, 26, 38, 0.95), rgba(173, 56, 48, 0.92)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 10px,
      rgba(0, 0, 0, 0.06) 10px,
      rgba(0, 0, 0, 0.06) 20px
    );
  border-bottom: 4px solid #d3a224;
}

body.freestate .hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

body.freestate .hero-kicker {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffeab5;
  font-size: 0.86rem;
}

body.freestate .hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

body.freestate .hero-subtitle {
  margin: 10px auto 0;
  max-width: 720px;
  color: #fff4e6;
  font-size: 0.98rem;
}

body.freestate .navbar {
  background: #311d1b;
  border-bottom: 2px solid #d3a224;
}

body.freestate .navbar a {
  color: #fdf7ec;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.freestate .navbar a:hover {
  background: #4a2b28;
  color: #ffd978;
}

body.freestate main {
  width: min(1060px, calc(100% - 20px));
  margin: 18px auto 26px;
}

body.freestate .province-content {
  border: 1px solid #e3d2bd;
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(51, 35, 30, 0.08);
  margin-bottom: 14px;
  padding: 16px;
  text-align: left;
}

body.freestate .intro-card p {
  margin: 0;
  color: #453330;
  line-height: 1.55;
}

body.freestate h2,
body.freestate h3 {
  margin-top: 0;
  color: #7a1a26;
}

body.freestate .culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.freestate .culture-card {
  border: 1px solid #e6d8c7;
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(160deg, #fff7ec, #fefaf3),
    repeating-linear-gradient(
      -45deg,
      rgba(211, 162, 36, 0.1) 0,
      rgba(211, 162, 36, 0.1) 8px,
      rgba(122, 26, 38, 0.06) 8px,
      rgba(122, 26, 38, 0.06) 16px
    );
}

body.freestate .culture-card h3 {
  margin-bottom: 8px;
  color: #5e1720;
}

body.freestate .culture-card p {
  margin: 0;
  color: #4b3936;
  line-height: 1.48;
}

body.freestate .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

body.freestate .section-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff2d5;
  border: 1px solid #e9c97a;
  color: #6d4d0e;
  font-size: 0.8rem;
  font-weight: 700;
}

body.freestate .districts,
body.freestate .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.freestate .districts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

body.freestate .districts li {
  border: 1px solid #e5d4c2;
  background: linear-gradient(145deg, #fffdf9, #f8f1e7);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(69, 47, 36, 0.07);
}

body.freestate .districts a {
  display: block;
  padding: 12px 10px;
  color: #2e2b2b;
  text-decoration: none;
  font-weight: 700;
}

body.freestate .districts a:hover {
  color: #7a1a26;
}

body.freestate .news-list {
  display: grid;
  gap: 9px;
}

body.freestate .news-list li {
  border: 1px solid #e5d5c2;
  border-radius: 10px;
  background: #fffefb;
  box-shadow: 0 3px 10px rgba(32, 21, 17, 0.05);
  position: relative;
}

body.freestate .news-list li::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3a224;
  box-shadow: 14px 0 0 #7a1a26;
}

body.freestate .news-list a {
  display: block;
  padding: 11px 12px 11px 39px;
  color: #2d3c4b;
  text-decoration: none;
  font-weight: 600;
}

body.freestate .news-list a:hover {
  color: #7a1a26;
}

@media (max-width: 720px) {
  body.freestate main {
    width: calc(100% - 12px);
    margin: 10px auto 16px;
  }

  body.freestate .province-content {
    padding: 12px;
  }

  body.freestate .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
