/* The "near a place" pages: /metro, /metro/<station>, /telebe-kirayesi,
   /gunluk-kiraye (and /ru/…). functions/_geo_pages.js fills geo.html /
   ru/geo.html. Cards come from style.css (.listing-card); the kit from
   evnet-ui.css; this file is the page around them. Mobile first. */

.geo-page { background: #fff; }
.geo-page main { min-height: 60vh; }
.geo-page main > .ev-sec:first-child { padding-top: clamp(112px, 14vw, 148px); }

.geo-hero .ev-h1 { font-size: clamp(1.7rem, 6.4vw, 3rem); margin: 0 0 12px; overflow-wrap: anywhere; }
.geo-hero .ev-lead { margin: 0; max-width: 44em; }
.geo-line-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font: 600 .74rem/1 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ev-ink-2);
}
.geo-line-tag::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--line, var(--ev-tif)); }
.geo-honest {
  margin: 14px 0 0; padding: 12px 14px; border-radius: var(--ev-r-sm);
  background: var(--ev-amber-soft); color: #5c4300; max-width: 44em; line-height: 1.5;
}

.geo-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }

.geo-cross { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* stations */
.geo-lines { display: grid; gap: 28px; }
.geo-line h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.geo-line h2::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--line); flex: none; }
.geo-stations { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.geo-station {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 10px 14px; border-radius: var(--ev-r-sm);
  background: #fff; box-shadow: 0 0 0 1px var(--ev-line); color: var(--ev-ink); text-decoration: none;
}
a.geo-station:hover, a.geo-station:focus-visible { box-shadow: 0 0 0 2px var(--ev-tif-2); }
.geo-station b { font: 600 .78rem/1 var(--ev-f-mono); color: var(--ev-tif-text); white-space: nowrap; }
.geo-station.is-empty { color: var(--ev-ink-3); background: var(--ev-mist); box-shadow: none; }
.geo-station.is-empty b { color: var(--ev-ink-3); }

/* cards */
.geo-grid { margin-top: 16px; }
.geo-card { display: flex; flex-direction: column; min-width: 0; }
.geo-card > .listing-card { flex: 1; }
.geo-card-note { margin: 6px 2px 0; font: 500 .8rem/1.35 var(--ev-f-mono); color: var(--ev-tif-text); }
.geo-card-note:empty { display: none; }

/* universities */
.geo-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.geo-jump .ev-tag { text-decoration: none; }
.geo-unis { display: grid; gap: 40px; }
.geo-uni { scroll-margin-top: 90px; }
.geo-uni-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.geo-uni-head h2 { margin: 0; }
.geo-uni-metro { margin: 8px 0 0; color: var(--ev-ink-2); }
.geo-uni-metro a, .geo-uni-empty a, .geo-owner a { color: var(--ev-tif-text); font-weight: 600; }
.geo-uni-empty { margin: 12px 0 0; color: var(--ev-ink-2); line-height: 1.55; }

/* guides */
.geo-tips { margin: 16px 0 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--ev-ink-2); line-height: 1.6; }
.geo-owner { margin: 20px 0 0; line-height: 1.6; }

/* FAQ: native <details>, readable without any script */
.geo-faq { display: grid; gap: 10px; margin-top: 16px; }
.geo-faq details { border-radius: var(--ev-r-md); background: #fff; box-shadow: 0 0 0 1px var(--ev-line); }
.geo-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 650; color: var(--ev-ink); list-style-position: inside; }
.geo-faq p { margin: 0; padding: 0 18px 16px; color: var(--ev-ink-2); line-height: 1.6; }

@media (min-width: 600px) {
  .geo-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .geo-stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Footer (as siyahi.css lays it out): the legal links wrap at 375 px instead of
   pushing the page sideways (RU names are long). */
.footer .footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer .footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
