/* ═══════════════════════════════════════════════════════════
   SAIL CROSSINGS — LOG STYLES  v2
   ═══════════════════════════════════════════════════════════ */

/* ── REGISTRY HERO ──────────────────────────────────────────── */
.logs-hero {
  padding: 60px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.logs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(176,136,64,.11), transparent),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(59,127,166,.07), transparent);
  pointer-events: none;
}
.logs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(176,136,64,.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.logs-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-style: italic;
  color: var(--navy);
  margin-bottom: 14px;
}
.logs-hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── TOOLBAR ────────────────────────────────────────────────── */
.logs-section { padding: 0 0 80px; }

.logs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.logs-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.logs-count strong { color: var(--navy); font-weight: 700; }

.view-toggle {
  display: inline-flex;
  gap: 3px;
  background: rgba(14,33,55,.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.view-btn.active { background: var(--navy); color: #fff; }
.view-btn:hover:not(.active) { background: rgba(14,33,55,.08); color: var(--navy); }
.view-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── TABLE ──────────────────────────────────────────────────── */
.logs-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.logs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.logs-table thead {
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.logs-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.logs-table th:first-child { padding-left: 22px; }
.logs-table th:last-child  { padding-right: 22px; text-align: right; }

/* Filterable header — Route */
.logs-table th.filterable {
  cursor: pointer;
  user-select: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.12s;
}
.logs-table th.filterable:hover { color: var(--navy); }
.logs-table th.filterable.filter-active { color: var(--gold); }
.filter-chevron {
  width: 11px;
  height: 11px;
  margin-left: 3px;
  vertical-align: middle;
  opacity: 0.4;
  transition: transform 0.18s, opacity 0.12s;
}
.logs-table th.filterable:hover .filter-chevron,
.logs-table th.filterable.filter-active .filter-chevron { opacity: 1; }

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 24px rgba(14,33,55,.14);
  padding: 6px 0;
  z-index: 50;
}
.filter-dropdown.open { display: block; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.1s;
  text-transform: none;
  letter-spacing: 0;
}
.filter-option:hover { background: var(--bg); }
.filter-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

/* Sortable headers */
.logs-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.12s;
}
.logs-table th.sortable:hover { color: var(--navy); }
.sort-icon {
  display: inline-block;
  width: 14px;
  text-align: center;
  margin-left: 3px;
  opacity: 0.3;
  font-style: normal;
  font-size: 0.75rem;
}
.logs-table th[data-dir="asc"] .sort-icon,
.logs-table th[data-dir="desc"] .sort-icon { opacity: 1; color: var(--gold); }
.logs-table th.sortable:hover .sort-icon { opacity: 0.7; }
.logs-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.logs-table td:first-child { padding-left: 22px; }
.logs-table td:last-child  { padding-right: 22px; text-align: right; }
.logs-table tbody tr:last-child td { border-bottom: none; }
.logs-table tbody tr { transition: background 0.12s; cursor: pointer; }
.logs-table tbody tr:hover { background: rgba(176,136,64,.04); }

/* Table cell types — all use block-level divs to guarantee stacking */
.lt-boat-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.15;
  margin-bottom: 3px;
}
.lt-flag { font-size: 1.1em; line-height: 1; }
.lt-boat-meta {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}
.lt-route-passage {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.lt-route-from-to {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 5px;
}
.lt-route-arrow { color: var(--gold); }
.lt-when-date { font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.lt-when-days { font-size: 0.78rem; color: var(--muted); }
.lt-stat-main { font-size: 0.9rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.lt-stat-sub  { font-size: 0.78rem; color: var(--muted); }
.lt-aboard-crew  { font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.lt-aboard-kids  { font-size: 0.78rem; color: var(--muted); }
.lt-conds-col { display: flex; flex-direction: column; gap: 5px; }
.lt-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
}
.lt-pill-weather-3 { background: rgba(176,136,64,.15); color: #7a5a1a; border: 1px solid rgba(176,136,64,.25); }
.lt-pill-exp-2     { background: rgba(59,127,166,.12);  color: #1f5a80; border: 1px solid rgba(59,127,166,.20); }

.lt-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(176,136,64,.3);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.lt-action-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.lt-action-btn svg { width: 12px; height: 12px; }

/* ── CARDS ──────────────────────────────────────────────────── */
.logs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.log-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.log-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ── CARD HEADER (navy) ── */
.log-card-head {
  background: var(--navy);
  padding: 22px 24px 20px;
  position: relative;
  overflow: hidden;
}
.log-card-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 110% 80% at 0% 110%, rgba(176,136,64,.22), transparent);
  pointer-events: none;
}
.log-card-passage-lbl {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
}
.log-card-boat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  position: relative;
}
.log-card-boat-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 2.1rem;
  color: #fff;
  line-height: 1.0;
}
.log-card-boat-flag {
  font-size: 1.2rem;
  line-height: 1;
  font-style: normal;
}
.log-card-boat-model {
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  position: relative;
}
.log-card-route {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  position: relative;
}
.log-card-from-to {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.log-card-route-arrow { color: var(--gold); font-size: 1rem; }
.log-card-route-via {
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
  font-weight: 400;
}

/* ── STATS STRIP ── */
.log-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.log-card-stat {
  padding: 13px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.log-card-stat:last-child { border-right: none; }
.log-card-stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 3px;
}
.log-card-stat-unit { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.log-card-stat-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── HIGHLIGHTS ── */
.log-card-hl {
  padding: 16px 24px 18px;
  background: var(--gold-light);
  border-bottom: 1px solid rgba(176,136,64,.18);
}
.log-card-hl-hd {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8a6018;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.log-card-hl-hd svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--gold); }
.log-card-items {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.log-card-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  line-height: 1.58;
}
.log-card-item-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 7px;
}
.log-card-hl .log-card-item { color: #3a2708; font-style: italic; }
.log-card-hl .log-card-item-dot { background: var(--gold); }

/* ── CHALLENGES ── */
.log-card-ch {
  padding: 16px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.log-card-ch-hd {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.log-card-ch-hd svg { width: 13px; height: 13px; flex-shrink: 0; }
.log-card-ch .log-card-item { color: var(--ink); }
.log-card-ch .log-card-item-dot { background: var(--muted); }

/* ── TAGS ── */
.log-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.log-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ── CARD FOOTER ── */
.log-card-footer {
  margin-top: auto;
  padding: 14px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.log-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.log-card-meta-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.log-card-meta-detail {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Crew list in card footer */
.log-card-crew {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.log-card-crew-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
}
.log-card-crew-role {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 44px;
  flex-shrink: 0;
}
.log-card-crew-name {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-card-crew-detail {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── INDIVIDUAL LOG — HERO ───────────────────────────────────── */
.log-hero {
  background: var(--navy);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 40%;
}
.log-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14,33,55,0.90) 0%, rgba(14,33,55,0.70) 60%, rgba(14,33,55,0.85) 100%);
}
.log-hero-inner {
  position: relative;
  z-index: 1;
}
.log-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.log-hero-breadcrumb a { color: rgba(255,255,255,.55); transition: color 0.15s; }
.log-hero-breadcrumb a:hover { color: rgba(255,255,255,.9); }
.log-hero-breadcrumb svg { width: 11px; height: 11px; }
.log-hero-passage-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(176,136,64,.4);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.log-hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-style: italic;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 6px;
}
.log-hero-model {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.log-hero-route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 6px;
}
.log-hero-route-arrow { color: var(--gold); font-size: 1.2rem; }
.log-hero-route-via {
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}
.log-hero-date {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 36px;
}
.log-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 44px;
}
.log-hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.85);
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.log-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(14,33,55,.10);
  position: relative;
  z-index: 2;
}
.log-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.log-stat {
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.log-stat:last-child { border-right: none; }
.log-stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.log-stat-unit { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.log-stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── LOG BODY ───────────────────────────────────────────────── */
.log-body { padding: 52px 0 80px; background: #f4f0e7; background: var(--bg); }

.log-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.log-part { margin-bottom: 44px; }
.log-part:last-child { margin-bottom: 0; }

.log-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.log-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}
.log-body-text {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--ink);
}

/* Story */
.log-story-pull {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin-bottom: 0;
}

/* Highlight / challenge boxes */
.log-hl-box {
  background: var(--gold-light);
  border: 1px solid rgba(176,136,64,.22);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.log-ch-box {
  background: rgba(14,33,55,.03);
  border: 1px solid rgba(14,33,55,.10);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.log-hl-box .log-body-text { color: #3a2a08; }
.log-ch-box .log-body-text { color: var(--ink); }

/* Ratings */
.log-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.log-rating-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  min-width: 90px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.log-rating-dots {
  display: flex;
  gap: 5px;
}
.log-rating-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.log-rating-dot.filled { background: var(--navy); }
.log-rating-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

/* Photos */
.log-photos { margin-bottom: 44px; }
.log-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.log-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  border: 1px solid var(--line);
}
.log-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.log-photo:hover img { transform: scale(1.05); }
.log-photo-caption {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
  line-height: 1.4;
}

/* Sidebar facts card */
.log-facts-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.log-facts-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.log-fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}
.log-fact-row:last-of-type { border-bottom: none; }
.log-fact-lbl { color: var(--muted); font-weight: 500; flex-shrink: 0; }
.log-fact-val { font-weight: 700; color: var(--navy); text-align: right; line-height: 1.3; }
.log-fact-flag { font-size: 1.1em; }

/* External links */
.log-links-list { display: flex; flex-wrap: wrap; gap: 10px; }
.log-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.log-link-btn:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.log-link-btn svg { width: 15px; height: 15px; }

/* CTA bar */
.log-cta-bar {
  background: var(--navy);
  padding: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.log-cta-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(176,136,64,.12), transparent);
  pointer-events: none;
}
.log-cta-inner { position: relative; z-index: 1; }
.log-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.log-cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: #fff;
  margin-bottom: 22px;
}
.log-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.btn-outline-white {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}
.btn-outline-white:hover { background: rgba(255,255,255,.16) !important; }

/* ── PULL QUOTES ─────────────────────────────────────────────── */
.log-pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
  clear: both;
}
.log-pull-quote::before { content: '\201C'; }
.log-pull-quote::after  { content: '\201D'; }

/* ── INLINE IMAGES (editorial float) ────────────────────────── */
.log-img-float-r,
.log-img-float-l {
  width: 44%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 6px;
}
.log-img-float-r { float: right; margin-left: 28px; margin-bottom: 20px; }
.log-img-float-l { float: left; margin-right: 28px; margin-bottom: 20px; }
.log-img-float-r img,
.log-img-float-l img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.log-img-float-r:hover img,
.log-img-float-l:hover img { transform: scale(1.04); }
.log-img-caption {
  font-size: 0.73rem;
  color: var(--muted);
  padding: 6px 8px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
  line-height: 1.4;
}

/* clearfix — each section clears its own floats */
.log-part::after {
  content: '';
  display: table;
  clear: both;
}

/* ── BULLET LISTS (highlights / challenges) ─────────────────── */
.log-hl-list,
.log-ch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.log-hl-item,
.log-ch-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ink);
}
.log-hl-item { font-style: italic; color: #2d2008; }
.log-hl-dot,
.log-ch-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
}
.log-hl-dot { background: var(--gold); }
.log-ch-dot { background: var(--muted); }

/* ── BOAT SPECS GRID ─────────────────────────────────────────── */
.log-boat-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 18px;
}
.log-spec-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.log-spec-chip-lbl {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.log-spec-chip-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.log-spec-yes { color: #1a6b3a; }
.log-spec-no  { color: var(--muted); font-weight: 500; }
.log-spec-chip-full { grid-column: 1 / -1; }
.log-spec-sail-list { display: flex; flex-direction: column; gap: 4px; margin-top: 3px; }
.log-spec-sail-item { font-size: 0.85rem; font-weight: 700; color: var(--navy); }

/* ── PROVISIONING HIGHLIGHTS ─────────────────────────────────── */
.log-prov-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.log-prov-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.log-prov-icon { font-size: 1.3rem; line-height: 1; }
.log-prov-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2px;
}
.log-prov-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── UTILITY ────────────────────────────────────────────────── */
[hidden] { display: none !important; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .log-layout { grid-template-columns: 1fr; }
  .log-facts-card { position: static; }
  .log-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .log-stat:nth-child(2) { border-right: none; }
  .log-stat:nth-child(3) { border-top: 1px solid var(--line); }
  .log-stat:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .log-photos-grid { grid-template-columns: repeat(2, 1fr); }
  .log-photos-grid .log-photo:last-child { grid-column: 1 / -1; aspect-ratio: 16/7; }
}
@media (max-width: 600px) {
  .log-hero { padding-top: 44px; }
  .log-hero-title { font-size: 2.4rem; }
  .log-stat-val { font-size: 1.5rem; }
  .log-photos-grid { grid-template-columns: 1fr; }
  .log-photos-grid .log-photo { aspect-ratio: 4/3; grid-column: auto; }
  .logs-cards { grid-template-columns: 1fr; }
  .log-body { padding: 36px 0 56px; }
  .log-story-pull { font-size: 1rem; }
  .log-img-float-r,
  .log-img-float-l {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .log-pull-quote { font-size: 1.05rem; padding: 22px 20px; }
  .log-boat-specs { grid-template-columns: 1fr; }
  .log-prov-stats { grid-template-columns: 1fr; }
}
