/* Ford detail page styling — shares visual vocabulary with logistics-page.css */

.ford-detail-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  color: #2c3440;
}

.ford-breadcrumb {
  font-size: 14px;
  color: #5a6472;
  margin-bottom: 12px;
}
.ford-breadcrumb a {
  color: #5a6472;
  text-decoration: none;
}
.ford-breadcrumb a:hover { color: #4a6524; }
.ford-breadcrumb .sep {
  color: #b0b7c1;
  margin: 0 6px;
}

/* Hero — gradient fallback; background image when featured photo present */
.ford-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 40px 28px 32px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #2c5c72 0%, #1a3a4a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 58, 74, 0.2);
}
.ford-hero.has-photo {
  background-size: cover;
  background-position: center;
}
.ford-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 25, 40, 0.35) 0%, rgba(10, 25, 40, 0.75) 100%);
}
.ford-hero-inner {
  position: relative;
  z-index: 1;
}
.ford-hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.85;
  margin-bottom: 8px;
  font-weight: 600;
}
.ford-hero h1 {
  margin: 0 0 14px;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.ford-hero .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ford-hero .chip-row-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.75;
  align-self: center;
  margin-right: 4px;
}

/* Difficulty chips — base .card-chip + hazard-* in poi-detail-shared.css */
.ford-hero .card-chip {
  font-size: 12px;
  padding: 5px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Safety banner — fatalities recorded */
.safety-banner {
  background: #fdecea;
  border-left: 4px solid #c0392b;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.safety-banner .icon {
  font-size: 22px;
  line-height: 1;
  color: #c0392b;
  flex-shrink: 0;
}
.safety-banner h3 {
  margin: 0 0 4px;
  font-size: 1em;
  color: #7b241c;
}
.safety-banner p {
  margin: 0;
  font-size: 14px;
  color: #5a1e17;
  line-height: 1.5;
}

/* Stats strip */
.ford-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin-bottom: 28px;
  background: #f7f9fa;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  overflow: hidden;
}
.ford-stats-strip .stat {
  flex: 1 1 180px;
  padding: 14px 18px;
  border-right: 1px solid #e8eaed;
  min-width: 0;
}
.ford-stats-strip .stat:last-child { border-right: none; }
.ford-stats-strip .stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8B94A1;
  margin-bottom: 4px;
}
.ford-stats-strip .stat-value {
  font-size: 15px;
  color: #1a2530;
  font-weight: 500;
  line-height: 1.35;
}

/* Two-column layout */
.ford-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.ford-main section {
  margin-bottom: 28px;
}
.ford-main h2 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
  color: #1a2530;
}
.ford-main p {
  line-height: 1.6;
  color: #3a4350;
}

/* Photo carousel — in poi-detail-shared.css */

/* Description card — in poi-detail-shared.css */

/* Map */
.ford-map-wrap {
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ford-map-wrap .leaflet-container {
  width: 100%;
  height: 380px;
  border-radius: 10px;
}
.ford-map-legend {
  padding: 10px 14px;
  background: #f7f9fa;
  border-top: 1px solid #e8eaed;
  font-size: 13px;
  color: #5a6472;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.ford-map-legend .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}

/* Alternate crossing card — green accent signals "safer option" */
.alt-crossing-card {
  background: #f4f8ee;
  border: 1px solid #d4e3bb;
  border-left: 4px solid #5a9367;
  border-radius: 8px;
  padding: 18px 20px;
}
.alt-crossing-card h3 {
  margin: 0 0 8px;
  font-size: 1.05em;
  color: #3d6b48;
  font-weight: 600;
}
.alt-crossing-card h3 .tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #5a9367;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 8px;
  font-weight: 700;
}
.alt-crossing-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #2c3e2e;
  white-space: pre-wrap;
}

/* Incident history — amber advisory */
.incident-history-box {
  background: #fff8e1;
  border: 1px solid #f6d990;
  border-left: 4px solid #f6b73c;
  border-radius: 8px;
  padding: 18px 20px;
}
.incident-history-box h3 {
  margin: 0 0 10px;
  font-size: 1.05em;
  color: #805600;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.incident-history-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5c3d00;
  white-space: pre-wrap;
}

/* Safety tips block */
.safety-tips {
  background: #eef3fb;
  border: 1px solid #c7d7ee;
  border-radius: 8px;
  padding: 18px 22px;
}
.safety-tips h3 {
  margin: 0 0 10px;
  font-size: 1.05em;
  color: #1f4e86;
  font-weight: 600;
}
.safety-tips ol {
  margin: 0;
  padding-left: 22px;
  color: #2c3e5a;
  font-size: 14px;
  line-height: 1.6;
}
.safety-tips li { margin-bottom: 6px; }
.safety-tips li:last-child { margin-bottom: 0; }

/* Sidebar */
.ford-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sidebar-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8B94A1;
  margin: 0 0 10px;
  font-weight: 700;
}
.sidebar-card .fact-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f2f4;
  font-size: 13px;
}
.sidebar-card .fact-row:last-child { border-bottom: none; }
.sidebar-card .fact-label { color: #6b7280; }
.sidebar-card .fact-value {
  color: #1a2530;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sidebar-card a {
  color: #4a6524;
  text-decoration: none;
}
.sidebar-card a:hover { text-decoration: underline; }
.sidebar-card ul.trail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.sidebar-card ul.trail-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f4;
}
.sidebar-card ul.trail-list li:last-child { border-bottom: none; }
.sidebar-card ul.trail-list a {
  color: #1a2530;
  font-weight: 500;
}
.sidebar-card ul.trail-list a:hover { color: #4a6524; }

/* Responsive */
@media (max-width: 900px) {
  .ford-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ford-sidebar {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .ford-detail-page { padding: 16px 14px 40px; }
  .ford-hero {
    padding: 28px 20px 24px;
    border-radius: 10px;
  }
  .ford-hero h1 { font-size: 1.75em; }
  .ford-hero .chips { gap: 6px; }
  .ford-stats-strip .stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid #e8eaed;
    padding: 12px 14px;
  }
  .ford-stats-strip .stat:last-child,
  .ford-stats-strip .stat:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .ford-main h2 { font-size: 1.15em; }
  .ford-map-wrap .leaflet-container { height: 280px; }
}
