/*
 * Ferry timetable (F2 — design/Picoisland Design.dc.html #s3). Page-specific pieces not already
 * covered by a shared Basalt component in basalt_components.css. Bundled automatically alongside
 * application.css by Propshaft (no manifest edit needed).
 */

/* The single largest object on the page by design intent — glanceable at a terminal in bright sun. */
.ferry-next-time {
  font: 400 62px/1 var(--font-serif);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .ferry-next-time { font-size: 44px; }
}

.ferry-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.ferry-breadcrumb a { color: var(--muted); }
.ferry-breadcrumb a:hover { color: var(--bone-bright); }

/* ------------------------------------------------------------- Departures table --- */
.ferry-table { width: 100%; border-collapse: collapse; }
.ferry-table th {
  font: 600 9px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.ferry-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border-soft);
  font: 400 13.5px/1.4 var(--font-sans); vertical-align: middle;
}
.ferry-table tr:last-child td { border-bottom: 0; }
.ferry-table tr.is-next { border-left: 3px solid var(--ok); }
.ferry-table tr.is-next td { background: color-mix(in oklch, var(--ok) 8%, var(--card)); }
.ferry-table tr.is-cancelled td,
.ferry-table tr.is-departed td { color: var(--muted-2); }
.ferry-table tr.is-cancelled td:first-child,
.ferry-table tr.is-cancelled td:nth-child(2),
.ferry-table tr.is-departed td:first-child,
.ferry-table tr.is-departed td:nth-child(2) { text-decoration: line-through; }

.ferry-admin-badge {
  display: inline-block; font: 600 9px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--danger); border: 1px solid var(--border-input); border-radius: 4px; padding: 2px 6px; margin-left: 6px;
}

/* ------------------------------------------------------------------ Other routes --- */
.ferry-route-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
}
