/* Shared layout for Free State district + municipality pages */

body.freestate .district-main {
  width: min(1060px, calc(100% - 20px));
  margin: 18px auto 26px;
}

body.freestate .district-card {
  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 .district-card h2,
body.freestate .district-card h3 {
  margin: 0 0 10px;
  color: #7a1a26;
}

body.freestate .district-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

body.freestate .district-grid 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 .district-grid a {
  display: block;
  padding: 12px 10px;
  color: #2e2b2b;
  text-decoration: none;
  font-weight: 700;
}

body.freestate .district-grid a:hover {
  color: #7a1a26;
}

body.freestate .district-news {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

body.freestate .district-news li {
  border: 1px solid #e5d5c2;
  border-radius: 10px;
  background: #fffefb;
  box-shadow: 0 3px 10px rgba(32, 21, 17, 0.05);
}

body.freestate .district-news a {
  display: block;
  padding: 11px 12px;
  color: #2d3c4b;
  text-decoration: none;
  font-weight: 600;
}

body.freestate .district-news a:hover {
  color: #7a1a26;
}

@media (max-width: 720px) {
  body.freestate .district-main {
    width: calc(100% - 12px);
    margin: 10px auto 16px;
  }

  body.freestate .district-card {
    padding: 12px;
  }
}
