.logistics-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  color: #2c3440;
}
.logistics-page .breadcrumb {
  background: transparent;
  padding: 0 0 4px;
  margin: 0;
  font-size: 14px;
}
.logistics-page .breadcrumb a {
  color: #5a6472;
  text-decoration: none;
}
.logistics-page .breadcrumb a:hover { color: #92B751; }

.logistics-page h1 {
  font-size: 2.1em;
  font-weight: 600;
  margin: 8px 0 20px;
  color: #1a2530;
}

/* Closure banner */
.closure-banner {
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 24px;
  border-left: 4px solid;
  background: #fff8e1;
  border-left-color: #f6b73c;
}
.closure-banner.severity-critical {
  background: #fdecea;
  border-left-color: #c0392b;
}
.closure-banner.severity-info {
  background: #e8f4fd;
  border-left-color: #3498db;
}
.closure-banner h3 {
  margin: 0 0 4px;
  font-size: 1em;
  color: #1a2530;
}
.closure-banner p { margin: 0; font-size: 14px; }
.closure-banner .window {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* Hero */
.logistics-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #e9ecef;
}
.logistics-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}
.logistics-hero .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Stats strip */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 16px;
  margin-bottom: 28px;
  background: #f7f9fa;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  font-size: 14px;
  color: #2c3440;
}
.stats-strip .stat strong {
  color: #1a2530;
  font-variant-numeric: tabular-nums;
}
.stats-strip .stat-sep { color: #b0b7c1; }

/* Main layout — sticky TOC on desktop, accordion on mobile */
.logistics-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.toc-mobile { display: none; }
.toc-desktop {
  position: sticky;
  top: 80px;
  align-self: start;
  font-size: 14px;
}
.toc-desktop h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8B94A1;
  margin: 0 0 8px;
  padding: 0 8px;
}
.toc-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #e8eaed;
}
.toc-desktop li a {
  display: block;
  padding: 6px 12px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: #5a6472;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.toc-desktop li a:hover { color: #92B751; }
.toc-desktop li a.active {
  color: #1a2530;
  border-left-color: #92B751;
  font-weight: 500;
}

.logistics-body section {
  margin-bottom: 40px;
  scroll-margin-top: 20px;
}
.logistics-body h2 {
  font-size: 1.4em;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
  color: #1a2530;
}
.logistics-body h3 {
  margin: 22px 0 10px;
  font-size: 1.05em;
  font-weight: 600;
  color: #2c3440;
}
.logistics-body h3 .mile-pill {
  display: inline-block;
  background: #eaf4d9;
  color: #4a6524;
  font-size: 0.72em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.2px;
}
.logistics-body p { color: #3a4350; line-height: 1.55; }

/* TL;DR callout */
.tldr {
  background: #f4f8ee;
  border: 1px solid #d4e3bb;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.tldr-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a6524;
  margin-bottom: 4px;
}
.tldr ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.tldr li { margin-bottom: 2px; }

/* Card grid */
.logistics-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.logistics-card {
  display: block;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}
.logistics-card:hover {
  border-color: #92B751;
  box-shadow: 0 2px 8px rgba(146, 183, 81, 0.12);
  text-decoration: none;
  color: inherit;
}
.logistics-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.logistics-card-name {
  font-weight: 600;
  font-size: 15px;
  color: #1a2530;
  margin: 0;
}
.logistics-card-name a {
  color: #1a2530;
  text-decoration: none;
}
.logistics-card-name a:hover { color: #4a6524; }
.logistics-card-meta {
  font-size: 13px;
  color: #6b7280;
  margin: 3px 0 0;
}
.logistics-card-meta .dot { margin: 0 5px; color: #b0b7c1; }

/* Base .card-chip + hazard-* colors in poi-detail-shared.css */
/* Logistics-page overrides for smaller chip size */
.logistics-page .card-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}
.card-chip.gateway { background: #e2ecf8; color: #2d5a8a; }
.card-chip.trail-side { background: #eaf4d9; color: #4a6524; }
.card-chip.shuttle { background: #fce4ec; color: #8b3a52; }

.logistics-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.logistics-card-actions .phone {
  font-size: 14px;
  color: #2c3440;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.logistics-card-actions .phone:hover { color: #4a6524; }
.logistics-card-actions .spacer { flex: 1; }

.logistics-page .btn-primary,
.logistics-page .btn-secondary {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.logistics-page .btn-primary {
  background: #92B751;
  color: #fff;
}
.logistics-page .btn-primary:hover {
  background: #7d9d43;
  color: #fff;
  text-decoration: none;
}
.logistics-page .btn-secondary {
  background: transparent;
  color: #5a6472;
  border: 1px solid #d1d5db;
}
.logistics-page .btn-secondary:hover {
  background: #f7f9fa;
  color: #1a2530;
  text-decoration: none;
}

/* Ford hazard sub-info */
.ford-hazard-line {
  font-size: 13px;
  color: #8b3a52;
  margin: 6px 0 4px;
}
.ford-alt-line {
  font-size: 13px;
  color: #5a6472;
}

/* Gateway comparison table */
.gateway-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0 0 20px;
}
.gateway-compare th,
.gateway-compare td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e8eaed;
}
.gateway-compare thead th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6b7280;
  border-bottom: 2px solid #e8eaed;
}
.gateway-compare tbody tr:hover { background: #fafbfc; }

/* FAQ */
.faq-item {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 0;
  background: #fff;
}
.faq-item summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #1a2530;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-size: 18px;
  font-weight: 400;
  color: #8B94A1;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 16px 14px;
  font-size: 14px;
  color: #3a4350;
  line-height: 1.55;
}
.faq-item .faq-body p { margin: 0 0 10px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Sources */
.sources-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sources-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f4;
  font-size: 14px;
}
.sources-list li:last-child { border-bottom: none; }
.sources-list a { color: #4a6524; text-decoration: none; }
.sources-list a:hover { text-decoration: underline; }
.sources-list .src-note {
  display: block;
  font-size: 12px;
  color: #8B94A1;
  margin-top: 2px;
}

.permits-box {
  background: #fafbfc;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px 20px;
}
.permits-box p { margin: 0 0 10px; }
.permits-box p:last-child { margin-bottom: 0; }

.logistics-page .empty {
  color: #8B94A1;
  font-style: italic;
  margin: 0;
}

@media (max-width: 900px) {
  .logistics-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .toc-desktop { display: none; }
  .toc-mobile {
    display: block;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    background: #f7f9fa;
    margin-bottom: 16px;
  }
  .toc-mobile summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #1a2530;
    list-style: none;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0 16px 12px;
  }
  .toc-mobile li a {
    display: block;
    padding: 6px 0;
    color: #5a6472;
    text-decoration: none;
  }
}

@media (max-width: 640px) {
  .logistics-page { padding: 16px 12px 40px; }
  .logistics-page h1 { font-size: 1.5em; }
  .logistics-card-head { flex-direction: column; align-items: flex-start; }
  .logistics-card-actions { width: 100%; }
  .logistics-card-actions .spacer { flex-basis: 100%; height: 0; }
  .gateway-compare { font-size: 12px; }
  .gateway-compare th, .gateway-compare td { padding: 6px 8px; }
}
