

/* --- District Grid --- */
.district-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.district-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  background: var(--content-bg);
  color: var(--text-primary);
  border: 1px solid var(--content-border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--ease-fast);
  white-space: nowrap; /* keeps the text in one line */
  width: auto; /* auto-size based on text */
  min-width: 130px; /* still keeps smaller names uniform */
}

.district-box:hover {
  background: var(--danger);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(227, 30, 36, 0.25);
}

footer img {width: 100% !important;}

body.dark-mode .district-box {background: transparent; border: 1px solid rgb(255 255 255 / 29%);}
body.dark-mode .district-box:hover {background: var(--danger); box-shadow: 0 10px 25px rgb(255 255 255 / 12%);

@media (max-width: 576px) {
  .district-grid {
    gap: 10px;
  }
  .district-box {
    font-size: 0.85rem;
    padding: 8px 12px;
    min-width: 110px;
  }
}
/*------------------------------------------------------------------------*/
/*.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.district-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 14px;
  background: var(--content-bg);
  color: var(--text-primary);
  border: 1px solid var(--content-border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--ease-fast);
}

.district-box:hover {
  background: var(--danger);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(227, 30, 36, 0.25);
}

@media (max-width: 576px) {
  .district-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }
  .district-box {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}
*/

.dropdown-item:focus, .dropdown-item:hover { background: #badcff !important; }

/*MAIN CONTENT id*/

