/* =========================
   BASE / DESKTOP DEFAULTS
   ========================= */

/* Show the interactive map on desktop */
.locations {
  display: inline-block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make sure the map image scales nicely */
.countyMap {
  width: 100%;
  height: auto;
  display: block;
}

/* Hide the mobile county list on desktop */
.mobile-counties {
  display: none;
}

/* County list styling (when shown on mobile/tablet) */
.countiesUL {
  list-style: none;
  padding: 0;
  margin: 0;
}

.countiesUL li {
  margin: 0;
  padding: 0;
}

.countiesUL a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 1rem;
  color: #000;
  border-bottom: 1px solid #ddd;
}

.countiesUL a:hover,
.countiesUL a:focus {
  background-color: #f2f2f2;
  text-decoration: underline;
}

/* =========================
   TABLET + PHONE OVERRIDES
   ========================= */

@media (max-width: 1024px) {
  /* Hide the image map */
  .locations {
    display: none !important; /* overrides inline style */
  }

  /* Show the county list */
  .mobile-counties {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* =========================
   SMALL PHONES (OPTIONAL)
   ========================= */

@media (max-width: 480px) {
  .countiesUL a {
    font-size: 0.95rem;
    padding: 14px 12px;
  }
}
