/* Eastern Cape Xhosa-inspired styling (scoped to this page only) */
body.easterncape {
  background:
    linear-gradient(180deg, rgba(14, 53, 95, 0.06), rgba(191, 143, 40, 0.06)),
    #f7f3ea;
  color: #1f2a30;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

body.easterncape .hero {
  color: #fff;
  padding: 34px 16px 30px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(14, 53, 95, 0.95), rgba(0, 109, 119, 0.92)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 8px,
      rgba(0, 0, 0, 0.08) 8px,
      rgba(0, 0, 0, 0.08) 16px
    );
  border-bottom: 4px solid #bf8f28;
}

body.easterncape .hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

body.easterncape .navbar {
  background: #111d2b;
  border-bottom: 2px solid #bf8f28;
}

body.easterncape .navbar a {
  color: #f6f3e9;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.easterncape .navbar a:hover {
  background: #1f3348;
  color: #ffd98a;
}

body.easterncape main {
  width: min(1000px, calc(100% - 26px));
  margin: 22px auto 28px;
  padding: 18px;
  border: 1px solid #ddd1bd;
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: 0 12px 26px rgba(42, 45, 48, 0.09);
}

body.easterncape .province-meta {
  width: 100%;
}

body.easterncape .province-content h2 {
  margin: 10px 0 10px;
  color: #123f73;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  position: relative;
}

body.easterncape .province-content h2::after {
  content: '';
  display: block;
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bf8f28, #006d77);
  margin-top: 7px;
}

body.easterncape .districts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
}

body.easterncape .districts li {
  border: 1px solid #d9cfbe;
  background: linear-gradient(145deg, #fffdf7, #f8f2e8);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(18, 63, 115, 0.08);
}

body.easterncape .districts a {
  display: block;
  padding: 12px 10px;
  color: #1f2f40;
  text-decoration: none;
  font-weight: 700;
}

body.easterncape .districts a:hover {
  color: #123f73;
}

body.easterncape .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.easterncape .news-list li {
  position: relative;
  border: 1px solid #d8cebb;
  border-radius: 10px;
  background: #fffefb;
  box-shadow: 0 3px 10px rgba(17, 29, 43, 0.06);
}

body.easterncape .news-list li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #bf8f28;
  box-shadow: 14px 0 0 #006d77;
}

body.easterncape .news-list a {
  display: block;
  padding: 11px 12px 11px 38px;
  color: #1c3246;
  text-decoration: none;
  font-weight: 600;
}

body.easterncape .news-list a:hover {
  color: #123f73;
}

@media (max-width: 640px) {
  body.easterncape main {
    width: calc(100% - 14px);
    margin: 12px auto 16px;
    padding: 12px;
  }

  body.easterncape .districts {
    grid-template-columns: 1fr;
  }
}

/* Eastern Cape travel banner styling */
body.easterncape .travel-banner-easterncape {
  background: linear-gradient(135deg, #0e3560 0%, #006d77 100%);
  margin: 24px 16px;
  border: 3px solid #bf8f28;
}

body.easterncape .travel-banner-easterncape .banner-content h2 {
  color: #ffd98a;
  text-shadow: 2px 2px 8px rgba(14, 53, 95, 0.8);
}

body.easterncape .travel-banner-easterncape .banner-content p {
  color: #f6f3e9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

body.easterncape .travel-banner-easterncape .cta-button {
  background: #bf8f28;
  color: #111d2b;
  font-weight: 700;
  border: 2px solid #ffd98a;
}

body.easterncape .travel-banner-easterncape .cta-button:hover {
  background: #ffd98a;
  color: #0e3560;
  transform: scale(1.05);
  transition: all 0.3s ease;
}
