/* SpeedyWay City Routes V0.2.0 - route-specific, scoped, accessible and responsive */
.swcr-state-panel, .swcr-main-route-panel, .swcr-single {
  --swcr-ink: #112b48;
  --swcr-blue: #006dc5;
  --swcr-muted: #62758b;
  --swcr-border: #dbe7f2;
  --swcr-surface: #f5f9fd;
  color: var(--swcr-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.swcr-state-panel *, .swcr-main-route-panel *, .swcr-single * { box-sizing: border-box; }
.swcr-state-panel, .swcr-main-route-panel { padding: clamp(42px, 5.5vw, 76px) 0; background: linear-gradient(180deg, #f6faff 0%, #edf5fd 100%); }
.swcr-main-route-panel { background: #fff; }
.swcr-shell { inline-size: min(100% - 44px, 1160px); margin-inline: auto; }
.swcr-heading { margin-bottom: 26px; }
.swcr-heading h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.16; letter-spacing: -0.022em; margin: 0 0 12px; font-weight: 750; color: #112b48; }
.swcr-heading > p:last-child { margin: 0; max-width: 720px; color: var(--swcr-muted); font-size: 1rem; line-height: 1.65; }
.swcr-eyebrow { color: #006dc5; text-transform: uppercase; letter-spacing: .095em; font-size: .75rem; font-weight: 800; margin: 0 0 10px; }
.swcr-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: start; }
.swcr-direction { min-width: 0; }
.swcr-direction > h3 { color: #122e4c; font-size: 1.14rem; line-height: 1.35; margin: 0 0 16px; font-weight: 750; }
.swcr-cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.swcr-cards--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.swcr-route-card { border: 1px solid var(--swcr-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 27px rgba(15,48,83,.055); padding: 22px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .17s ease, box-shadow .17s ease; }
.swcr-route-card:hover, .swcr-route-card:focus-within { border-color: #7dbbe9; box-shadow: 0 14px 32px rgba(15,48,83,.09); }
.swcr-route-card h3 { margin: 0 0 16px; font-size: 1.04rem; line-height: 1.44; color: #112b48; font-weight: 750; }
.swcr-route-card h3 a { color: inherit; text-decoration: none; }
.swcr-route-card h3 a:hover { color: var(--swcr-blue); }
.swcr-arrow { color: var(--swcr-blue); padding: 0 5px; }
.swcr-ziprow { margin: 0 0 7px; color: var(--swcr-muted); font-size: .85rem; line-height: 1.55; overflow-wrap: anywhere; }
.swcr-ziprow > span { font-weight: 700; color: #3b5470; }
.swcr-explore { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 15px; border-bottom: 1px solid #8cbce6; color: var(--swcr-blue); text-decoration: none; font-size: .88rem; font-weight: 750; }
.swcr-explore:hover { color: #024f91; border-color: #024f91; }
.swcr-route-card a:focus-visible, .swcr-single a:focus-visible { outline: 3px solid rgba(0,109,197,.45); outline-offset: 4px; }
.swcr-single { background: #fff; padding: 36px 0 88px; }
.swcr-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .83rem; line-height: 1.4; color: var(--swcr-muted); margin-bottom: 32px; }
.swcr-breadcrumbs a { color: var(--swcr-blue); text-decoration: none; }
.swcr-single-hero { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: center; padding: clamp(30px, 5vw, 64px); border-radius: 23px; background: linear-gradient(115deg, #f0f7ff 0%, #fff 68%); border: 1px solid var(--swcr-border); }
.swcr-single-hero h1 { margin: 0 0 18px; color: #112b48; font-size: clamp(2.25rem, 4vw, 3.6rem); letter-spacing: -.035em; line-height: 1.08; font-weight: 800; }
.swcr-single-hero p:not(.swcr-eyebrow) { max-width: 580px; margin: 0 0 22px; line-height: 1.66; font-size: 1.04rem; color: #526b85; }
.swcr-single-route { padding: 28px; border-radius: 16px; background: #123c62; display: grid; gap: 18px; align-content: center; min-height: 270px; }
.swcr-single-route div { display: grid; gap: 7px; }
.swcr-single-route div span { color: #b7d5ed; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.swcr-single-route strong { color: #fff; font-size: clamp(1.16rem, 2vw, 1.45rem); line-height: 1.2; }
.swcr-single-arrow { color: #9ad9fa; font-size: 1.35rem; line-height: 1; }
.swcr-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 24px; background: #006dc5; color: #fff !important; border-radius: 9px; text-decoration: none !important; font-size: .96rem; line-height: 1.2; font-weight: 750; transition: background .16s ease; }
.swcr-button:hover { background: #025796; }
.swcr-zip-section, .swcr-editorial, .swcr-related-links { margin-top: clamp(50px, 6vw, 78px); }
.swcr-zip-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.swcr-zip-box { border: 1px solid var(--swcr-border); border-radius: 14px; padding: 26px; background: #fff; }
.swcr-zip-box h3 { color: var(--swcr-ink); font-size: 1.22rem; margin: 0 0 17px; }
.swcr-zip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.swcr-zip-list span { display: inline-flex; padding: 7px 11px; border: 1px solid #cfe1f2; border-radius: 8px; color: #17486d; background: #f5f9fd; font-size: .94rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.swcr-editorial-content { max-width: 830px; font-size: 1.06rem; line-height: 1.82; color: #36516d; }
.swcr-editorial-content h2, .swcr-editorial-content h3 { color: var(--swcr-ink); }
.swcr-editorial-content h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.swcr-editorial-content h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.swcr-editorial-content p { margin: 0 0 18px; }
.swcr-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.swcr-related-grid a { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: #006dc5; font-weight: 700; font-size: .91rem; line-height: 1.5; padding: 20px; border: 1px solid #d6e7f5; border-radius: 12px; text-decoration: none; background: #f9fcff; }
.swcr-related-grid a:hover { background: #eef7ff; }
.swcr-bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(30px, 5vw, 50px); background: #123c62; border-radius: 18px; margin-top: 78px; }
.swcr-bottom-cta h2 { color: #fff; margin: 0 0 7px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.swcr-bottom-cta p { margin: 0; color: #c5dbea; max-width: 560px; line-height: 1.55; }
.swcr-button--light { background: #fff; color: #005eaa !important; white-space: nowrap; }
.swcr-button--light:hover { background: #d9eefa; }
@media (max-width: 980px) {
 .swcr-single-hero { grid-template-columns: 1fr; }
 .swcr-single-route { min-height: 0; grid-template-columns: 1fr auto 1fr; gap: 12px; }
 .swcr-single-arrow { align-self: center; }
 .swcr-cards--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
 .swcr-shell { inline-size: min(100% - 30px, 1160px); }
 .swcr-direction-grid, .swcr-cards--three, .swcr-zip-grid, .swcr-related-grid { grid-template-columns: 1fr; }
 .swcr-state-panel, .swcr-main-route-panel { padding: 44px 0; }
 .swcr-route-card { padding: 18px; }
 .swcr-single { padding-top: 22px; }
 .swcr-single-hero { padding: 25px; gap: 24px; }
 .swcr-single-route { display: grid; grid-template-columns: 1fr; }
 .swcr-bottom-cta { display: grid; padding: 28px; margin-top: 54px; }
 .swcr-button--light { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
 .swcr-route-card, .swcr-button { transition: none; }
}

/* V0.2: distinguish researched high-volume routes from other reviewed routes. */
.swcr-route-card__badge {
  display: inline-flex; align-items: center; margin: 0 0 11px;
  padding: 4px 9px; border-radius: 6px;
  background: #e9f4fc; color: #075d9e;
  font-size: .73rem; font-weight: 750; line-height: 1.3;
}
.swcr-route-card h3 { margin-bottom: 12px; }
