/* City / region listing pages */
:root {
  --geo-bg: #0a0212;
  --geo-surface: #160a25;
  --geo-accent: #bc13fe;
  --geo-border: rgba(188, 19, 254, 0.22);
  --geo-text: #ffffff;
  --geo-muted: #bda6d5;
  --geo-link: #7cf0b2;
}

body.page-geo {
  background: var(--geo-bg);
  color: var(--geo-text);
}

.geo-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 14px 28px;
}

@media (max-width: 1199px) {
  .geo-wrap {
    padding-bottom: calc(24px + var(--bottom-nav-h, 62px) + env(safe-area-inset-bottom, 0px));
  }
}

.geo-hero {
  background:
    radial-gradient(circle at top right, rgba(188, 19, 254, 0.18), transparent 42%),
    linear-gradient(160deg, #1a0829 0%, #0d0415 100%);
  border: 1px solid var(--geo-border);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.geo-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.geo-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(to right, #fff, var(--geo-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.geo-hero p {
  margin: 0;
  color: var(--geo-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 640px;
}

.geo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.geo-btn:hover {
  border-color: rgba(188, 19, 254, 0.45);
  background: rgba(188, 19, 254, 0.1);
}

.geo-btn.primary {
  border: none;
  background: linear-gradient(135deg, #6a1b9a, var(--geo-accent));
  box-shadow: 0 0 18px rgba(188, 19, 254, 0.35);
}

.geo-btn.primary:hover {
  transform: translateY(-1px);
}

.geo-btn.search {
  border-color: rgba(188, 19, 254, 0.35);
  background: rgba(188, 19, 254, 0.12);
}

.geo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
}

.geo-breadcrumb a {
  color: var(--geo-muted);
  text-decoration: none;
  font-weight: 700;
}

.geo-breadcrumb a:hover {
  color: #fff;
}

.geo-breadcrumb span[aria-current="page"] {
  color: #fff;
  font-weight: 800;
}

.geo-breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.35);
}

.geo-section-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--geo-accent);
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: 0.8px;
}

.geo-count {
  opacity: 0.65;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.geo-filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.geo-filter-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.geo-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 180px;
  min-width: 0;
}

.geo-filter-field__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--geo-muted);
  letter-spacing: 0.03em;
}

.geo-filter-field__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: #12091d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.geo-filter-field__select:focus {
  outline: none;
  border-color: rgba(188, 19, 254, 0.45);
}

.geo-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.geo-pill {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--geo-muted);
  font-size: 13px;
  font-weight: 700;
  background: var(--geo-surface);
  border: 1px solid var(--geo-border);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.geo-pill:hover,
.geo-pill.is-active {
  color: #fff;
  border-color: var(--geo-accent);
  background: rgba(188, 19, 254, 0.14);
  transform: translateY(-1px);
}

.geo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.geo-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--geo-muted);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.16s ease, color 0.16s ease;
}

.geo-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.geo-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(106, 27, 154, 0.95), rgba(188, 19, 254, 0.95));
  box-shadow: 0 4px 14px rgba(188, 19, 254, 0.28);
}

.geo-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.geo-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  background: var(--geo-surface);
  border: 1px solid var(--geo-border);
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.geo-row:hover {
  border-color: var(--geo-accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.geo-row.woman { border-left: 3px solid #ff4da6; }
.geo-row.man { border-left: 3px solid #0099ff; }
.geo-row.couple { border-left: 3px solid #ffd700; }

.geo-row-img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: #1c0f2e;
  flex-shrink: 0;
}

.geo-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.geo-row-body {
  min-width: 0;
}

.geo-row h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
  line-height: 1.3;
}

.geo-row-desc {
  font-size: 13px;
  color: var(--geo-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.geo-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.geo-row-meta span {
  font-size: 11px;
  color: var(--geo-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 999px;
}

.geo-row-time {
  color: var(--geo-accent);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.geo-empty {
  text-align: center;
  padding: 42px 18px;
  border: 1px dashed rgba(188, 19, 254, 0.25);
  border-radius: 18px;
  color: var(--geo-muted);
  background: rgba(255, 255, 255, 0.02);
}

.geo-empty--compact {
  padding: 20px 16px;
  margin-bottom: 14px;
}

.geo-empty__title {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 800;
}

.geo-link {
  color: var(--geo-link);
  font-weight: 800;
  text-decoration: none;
}

.geo-link:hover {
  text-decoration: underline;
}

.geo-link--muted {
  color: var(--geo-muted);
  font-weight: 700;
}

.geo-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.geo-pag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--geo-surface);
  border: 1px solid var(--geo-border);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.geo-pag-btn--next {
  justify-self: end;
}

.geo-pag-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.geo-pag-info {
  font-size: 14px;
  font-weight: 800;
  color: var(--geo-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 10px;
}

.geo-pag-info strong {
  color: var(--geo-accent);
}

.geo-seo {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(188, 19, 254, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: var(--geo-muted);
  font-size: 14px;
  line-height: 1.6;
}

.geo-seo h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.geo-seo p {
  margin: 0 0 10px;
}

.geo-seo p:last-child,
.geo-seo__links {
  margin-bottom: 0;
}

.geo-seo__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Premium block inherits premium-grid.css on geo pages */
.geo-wrap .premium-section {
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .geo-hero-top {
    flex-direction: column;
  }

  .geo-actions {
    width: 100%;
  }

  .geo-btn {
    flex: 1;
    justify-content: center;
  }

  .geo-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-pill-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }

  .geo-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .geo-row-img {
    width: 72px;
    height: 72px;
  }

  .geo-row-time {
    grid-column: 2;
  }

  .geo-pagination {
    grid-template-columns: 1fr;
  }

  .geo-pag-btn--next {
    justify-self: stretch;
  }
}

@media (max-width: 420px) {
  .geo-filter-field {
    flex: 1 1 100%;
  }
}
