
/* HighwayStopGuide Visual Upgrade 1.0.1
 * Presentation only. Existing data/markup/URLs remain untouched.
 */

.hsg-stop {
  --hsg-ink: #17212b;
  --hsg-muted: #66727d;
  --hsg-line: #dfe5e9;
  --hsg-panel: #f6f8f9;
  --hsg-accent: #1769aa;
  --hsg-accent-dark: #0f4f82;
  --hsg-green: #2f7d5a;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--hsg-ink);
}

.hsg-stop .hsg-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: 42px 42px 38px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,79,130,.98), rgba(23,105,170,.92) 58%, rgba(47,125,90,.88));
  box-shadow: 0 14px 34px rgba(23,33,43,.12);
}

.hsg-stop .hsg-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 310px;
  height: 220px;
  border: 34px solid rgba(255,255,255,.11);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.hsg-stop .hsg-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hsg-stop .hsg-kicker a,
.hsg-stop .hsg-kicker a:visited,
.hsg-stop .hsg-kicker a:hover,
.hsg-stop .hsg-kicker a:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.hsg-stop .hsg-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hsg-stop .hsg-hero > p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 16px;
}

.hsg-stop .hsg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.hsg-stop .hsg-grid > section,
.hsg-stop .hsg-grid > aside {
  padding: 26px;
  border: 1px solid var(--hsg-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,33,43,.055);
}

.hsg-stop .hsg-grid h2 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.2;
}

.hsg-stop .hsg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--hsg-line);
  border-radius: 12px;
}

.hsg-stop .hsg-table tr + tr th,
.hsg-stop .hsg-table tr + tr td {
  border-top: 1px solid var(--hsg-line);
}

.hsg-stop .hsg-table th,
.hsg-stop .hsg-table td {
  padding: 13px 15px;
  vertical-align: top;
  text-align: left;
}

.hsg-stop .hsg-table th {
  width: 42%;
  background: var(--hsg-panel);
  font-weight: 700;
}

.hsg-stop .hsg-table td {
  font-weight: 600;
}

.hsg-stop .hsg-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hsg-stop .hsg-facts li {
  margin: 0;
  padding: 14px 13px;
  border: 1px solid var(--hsg-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafb);
  font-size: 14px;
  font-weight: 650;
}

.hsg-stop .hsg-map {
  margin-top: 4px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #edf6fb, #eef7f1);
}

.hsg-stop .hsg-map a {
  display: block;
  color: var(--hsg-accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.hsg-stop .hsg-map a::before {
  content: "📍";
  margin-right: 8px;
}

.hsg-stop .hsg-map a::after {
  content: "  ↗";
  font-size: .9em;
}

.hsg-stop .hsg-nextprev {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.hsg-stop .hsg-nextprev > div {
  position: relative;
  min-width: 0;
  padding: 21px 22px;
  border: 1px solid var(--hsg-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23,33,43,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hsg-stop .hsg-nextprev > div:hover {
  transform: translateY(-2px);
  border-color: #c4d2dc;
  box-shadow: 0 12px 28px rgba(23,33,43,.09);
}

.hsg-stop .hsg-nextprev > div:last-child {
  text-align: right;
}

.hsg-stop .hsg-nextprev span {
  display: block;
  margin-bottom: 7px;
  color: var(--hsg-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hsg-stop .hsg-nextprev a {
  display: block;
  color: var(--hsg-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.hsg-stop .hsg-nextprev a:hover {
  color: var(--hsg-accent);
}

.hsg-stop .hsg-nextprev small {
  display: block;
  margin-top: 7px;
  color: var(--hsg-muted);
  font-size: 13px;
}

.hsg-stop .hsg-source {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--hsg-accent);
  border-radius: 0 10px 10px 0;
  background: var(--hsg-panel);
  color: var(--hsg-muted);
  font-size: 13px;
}

.hsg-stop .hsg-source a {
  font-weight: 650;
}

@media (max-width: 780px) {
  .hsg-stop .hsg-hero {
    padding: 30px 24px 28px;
    border-radius: 14px;
  }

  .hsg-stop .hsg-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hsg-stop .hsg-grid > section,
  .hsg-stop .hsg-grid > aside {
    padding: 20px;
    border-radius: 13px;
  }

  .hsg-stop .hsg-facts {
    grid-template-columns: 1fr;
  }

  .hsg-stop .hsg-nextprev {
    grid-template-columns: 1fr;
  }

  .hsg-stop .hsg-nextprev > div:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hsg-stop .hsg-hero h1 {
    font-size: 31px;
  }

  .hsg-stop .hsg-table th,
  .hsg-stop .hsg-table td {
    padding: 11px 10px;
    font-size: 14px;
  }

  .hsg-stop .hsg-table th {
    width: 44%;
  }
}
