/**
 * GS Homepage — Regions Block
 * Region directory grid with city pills.
 */

.gs-regions {
  padding: 48px 24px;
  border-bottom: 1.5px solid #111;
  background: #fafafa;
}
.gs-regions__inner { max-width: 1060px; margin: 0 auto; }
.gs-regions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.gs-regions__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000;
}
.gs-regions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.gs-region-card {
  border: 1.5px solid #111;
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}
.gs-region-card:hover { background: #111; color: #fff; }
.gs-region-card:hover .gs-region-card__count { color: #ccc !important; }
a.gs-region-card,
a.gs-region-card:visited,
a.gs-region-card:active { color: inherit !important; text-decoration: none !important; }
a.gs-region-card:hover { color: #fff !important; text-decoration: none !important; }
a.gs-region-card:hover .gs-region-card__name { color: #fff !important; }

/* GP link colour override */
.gs-regions a { color: inherit !important; text-decoration: none !important; }
.gs-regions a:hover { color: inherit !important; text-decoration: none !important; }
.gs-regions a.gs-region-card:hover { color: #fff !important; }
.gs-regions a.gs-pill:hover { background: #111 !important; color: #fff !important; }

.gs-region-card__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: #000;
}
.gs-region-card__count {
  font-size: 13px;
  color: #000;
  transition: color 0.2s;
}
.gs-regions__cities-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.gs-regions__cities-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  margin-right: 4px;
}

/* ── REGIONS LIST LAYOUT ── */
.gs-regions--list .gs-regions__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.gs-regions--list .gs-region-card {
  flex-direction: row;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  background: transparent;
}
.gs-regions--list .gs-region-card:first-child { border-top: 1px solid #e0e0e0; }
.gs-regions--list .gs-region-card { cursor: default; }
.gs-regions--list .gs-region-card:hover { background: transparent; color: inherit; }
.gs-regions--list .gs-region-card__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0;
  min-width: 200px;
  color: #000;
}
.gs-regions--list .gs-region-card__name a { color: #000 !important; text-decoration: none !important; }
.gs-regions--list .gs-region-card__name a:hover { text-decoration: underline !important; color: #000 !important; }
.gs-regions--list .gs-region-card__count {
  margin-bottom: 0;
  color: #000;
}

/* ── REGIONS TABLET ── */
@media (max-width: 1024px) and (min-width: 641px) {
  .gs-regions__grid { grid-template-columns: 1fr 1fr; }
}

/* ── REGIONS MOBILE ── */
@media (max-width: 640px) {
  .gs-regions__grid { grid-template-columns: 1fr; }
  .gs-regions__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gs-regions--list .gs-region-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .gs-regions--list .gs-region-card__name {
    min-width: 0;
    width: 100%;
  }
}
