/* Routes & locations: route page, routes hub, location, region, tourist object. Loaded after site.css. */

/* Big route facts under the H1 (km · time · price · 24/7) */
.route-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-stats div { padding: 16px 0; }
.route-stats div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.route-stats div:nth-child(even) { padding-left: 16px; }
.route-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.route-stats dt { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.route-stats dd { margin: 4px 0 0; font: 600 clamp(1.375rem, 1.2rem + .8vw, 1.875rem)/1.15 var(--font-head); color: var(--text); white-space: nowrap; }
.route-stats dd.gold { color: var(--accent); white-space: normal; }

/* Two text cards side by side (Професионални шофьори / Зимна сигурност) */
.duo { display: grid; gap: 12px; }
.duo article { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); padding: 24px; }
.duo .icon { margin-bottom: 14px; }
.duo p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* Link to the matching location/route page */
.see-also { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); text-decoration: none; }
.see-also strong { display: block; }
.see-also span { color: var(--muted); font-size: var(--fs-small); }
.see-also svg { flex: none; width: 20px; height: 20px; color: var(--accent); transition: transform .2s ease; }
.see-also:hover svg { transform: translateX(3px); }

/* Routes hub: one table per group */
.route-group + .route-group { margin-top: clamp(40px, 4vw, 56px); }
.route-group > h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin-bottom: 6px; }
.route-group > p { color: var(--muted); margin-bottom: 18px; }
.dest .ask { color: var(--muted); font-size: var(--fs-small); font-weight: 500; }

/* Region hub: list of places */
.places { display: grid; gap: 0 32px; border-top: 1px solid var(--line); }
.places a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.places strong { display: block; font-size: 1.0625rem; }
.places span { color: var(--muted); font-size: var(--fs-small); }
.places svg { flex: none; width: 18px; height: 18px; color: var(--accent); transition: transform .2s ease; }
.places a:hover strong { color: var(--accent-hi); }
.places a:hover svg { transform: translateX(3px); }

/* Long editorial text (tourist object) */
.prose h2 { margin: clamp(36px, 4vw, 48px) 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose .note { margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--accent); background: var(--panel); color: var(--text-soft); font-size: 0.9375rem; }

@media (min-width: 600px) {
  .route-stats { grid-template-columns: repeat(4, 1fr); }
  .route-stats div { padding: 16px 20px !important; border: 0 !important; border-right: 1px solid var(--line) !important; }
  .route-stats div:first-child { padding-left: 0 !important; }
  .route-stats div:last-child { border-right: 0 !important; }
  .duo { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: 1fr 1fr; }
}

.hub-note { color: var(--muted); margin-bottom: 28px; }
/* Same column widths in every group table */
@media (min-width: 768px) {
  .route-group .dest, .block .dest { table-layout: fixed; }
  .route-group .dest th:nth-child(1) { width: 46%; }
  .route-group .dest th:nth-child(2), .route-group .dest th:nth-child(3) { width: 18%; }
}
.route-group > h2 + .dest { margin-top: 14px; }
