/*
 * Feast and Find, Ship Guide Styles
 * Loaded on single-ship_guide and archive-ship_guide pages.
 * All selectors prefixed ffsg- (feast-find-ship-guide).
 */


/* ═══════════════════════════════════════════════
   ARCHIVE, empty-state teasers
   Rendered by archive-ship_guide.php when no ship_guide CPT posts are
   published yet. Reads from ships.json and shows the 4 launch ships as
   "in progress" cards that deep-link to the calculator. Goal: no dead-end
   state for visitors during the first week after launch.
   ═══════════════════════════════════════════════ */

.ffsg-empty-head {
  margin: 0 0 32px;
  text-align: center;
}
.ffsg-empty-head h2 {
  font-size: 28px;
  color: var(--ff-ocean);
  margin: 0 0 10px;
}
.ffsg-empty-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ff-muted);
  max-width: 640px;
  margin: 0 auto;
}

.ffsg-teaser-grid {
  margin-top: 0;
}

.ffsg-teaser-card {
  /* Dotted top border hints at "in progress" without shouting. */
  border-top: 2px dashed rgba(16, 125, 160, 0.35) !important;
  background: linear-gradient(180deg, rgba(190, 233, 255, 0.15) 0%, var(--ff-white) 60%);
}

.ffsg-teaser-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ff-teal-dark);
  margin: 10px 0 0;
}

.ffsg-teaser-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ff-teal-dark);
  animation: ffsg-teaser-pulse 2.4s ease-in-out infinite;
}

@keyframes ffsg-teaser-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .ffsg-teaser-dot { animation: none; }
}


/* ═══════════════════════════════════════════════
   SHIP GUIDES, ARCHIVE ACCORDION SELECTOR
   archive-ship_guide.php (correction pass 2026-04-17)
   Cruise-line accordion using native <details>/<summary>. Each line
   summary shows the line name + package-family hint + ship count.
   Expanding reveals a compact ship list; clicking a row opens the
   ship's dedicated page at /ship-guides/{ship-id}/.
   ═══════════════════════════════════════════════ */

.ffsg-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.ffsg-line {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-card);
  overflow: hidden;
  transition: box-shadow var(--ff-ease-normal);
}
.ffsg-line[open] {
  box-shadow: var(--ff-shadow-card-hover);
  border-color: rgba(16, 125, 160, 0.25);
}

.ffsg-line__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  font-family: var(--wp--preset--font-family--primary);
  background: var(--ff-white);
  transition: background var(--ff-ease-fast);
}
.ffsg-line__summary::-webkit-details-marker { display: none; }
.ffsg-line__summary::marker { content: ""; }

.ffsg-line__summary:hover {
  background: rgba(152, 240, 218, 0.1);
}

.ffsg-line__summary-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ffsg-line__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ff-ocean);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ffsg-line__hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ff-muted);
  text-transform: uppercase;
}

.ffsg-line__summary-side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ffsg-line__count {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--ff-teal-dark);
  background: var(--ff-teal);
  border-radius: var(--ff-radius-pill);
}

.ffsg-line__chev {
  font-size: 18px;
  color: var(--ff-stone);
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1;
}
.ffsg-line[open] .ffsg-line__chev {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .ffsg-line__chev { transition: none; }
}

.ffsg-line__ships {
  list-style: none;
  margin: 0;
  padding: 0 10px 10px;
  border-top: 1px solid var(--ff-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ffsg-ship-row {
  border-radius: var(--ff-radius-sm);
  transition: background var(--ff-ease-fast);
}
.ffsg-ship-row:hover {
  background: var(--ff-sand-alt);
}

.ffsg-ship-row__link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
}

.ffsg-ship-row__name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  /* 17→19px for older-reader legibility. The row names are the primary
     click target, they should read cleanly on a laptop-distance glance. */
  font-size: 19px;
  font-weight: 700;
  color: var(--ff-navy);
  letter-spacing: -0.01em;
}

.ffsg-ship-row:hover .ffsg-ship-row__name {
  color: var(--ff-ocean);
}

.ffsg-ship-row__status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--ff-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ffsg-ship-row__status--live {
  background: var(--ff-teal);
  color: var(--ff-teal-dark);
}
.ffsg-ship-row__status--progress {
  background: #fff6ec;
  color: var(--ff-coral);
  border: 1px dashed rgba(154, 61, 46, 0.35);
  letter-spacing: 0.4px;
  text-transform: none;
  font-weight: 700;
}

.ffsg-ship-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  /* 12.5→14px + tone darkened muted→navy. The meta line (class, year,
     capacity, venue count) is useful factual content, older-reader
     legibility matters more than compactness. */
  font-size: 14px;
  color: var(--ff-navy);
  font-variant-numeric: tabular-nums;
}
.ffsg-ship-row__meta span::after {
  content: "·";
  margin-left: 10px;
  color: var(--ff-border);
}
.ffsg-ship-row__meta span:last-child::after {
  content: "";
  margin-left: 0;
}

.ffsg-ship-row__arrow {
  font-size: 18px;
  color: var(--ff-ocean);
  flex-shrink: 0;
  transition: transform var(--ff-ease-fast);
}
.ffsg-ship-row:hover .ffsg-ship-row__arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════
   SHIP PAGE, REAL DESTINATION (single-ship_guide.php v3)
   Rewritten 2026-04-17 (hard-implementation pass) to render as a
   polished editorial page, not a text block. Works identically
   for CPT-mode and synthetic-mode data sources thanks to
   FF_Ship_Guides::get_venues_for_ship() classifying from dining.json.
   ═══════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────── */
.ffsg-hero {
  max-width: var(--ff-wide-width);
  margin: 0 auto;
  padding: 72px var(--ff-page-padding, 48px) 48px;
}

.ffsg-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.ffsg-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ffsg-hero__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ff-coral);
}

.ffsg-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ff-ocean);
  margin: 0;
}

.ffsg-hero__deck {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ff-muted);
  margin: 0;
  max-width: 560px;
}

.ffsg-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--ff-muted);
  line-height: 1.45;
}

.ffsg-hero__meta span {
  display: inline-flex;
  align-items: center;
}
.ffsg-hero__meta span::after {
  content: "·";
  margin-left: 22px;
  color: var(--ff-border);
}
.ffsg-hero__meta span:last-child::after { content: ""; margin-left: 0; }

.ffsg-hero__meta strong {
  color: var(--ff-navy);
  font-weight: 700;
}

/* ── MEDIA SLOT ──────────────────────────────────
   Priority order: CPT featured image → ships.json hero_image_url →
   branded empty-state. Even the empty-state is intentionally designed
   (typography + per-line accent gradient), not a placeholder apology. */
.ffsg-hero__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--ff-radius);
  overflow: hidden;
  box-shadow: var(--ff-shadow-deep);
  background: var(--ff-gradient-hero);
  position: relative;
  isolation: isolate;
}

.ffsg-hero__media::after {
  /* Subtle top-right light source so the mark reads with depth. */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.ffsg-hero__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

/* Branded empty-state, typography-forward wordmark in the media slot.
   Uses the same visual weight as a real photo so pages with no image
   still feel deliberate rather than half-built. */
.ffsg-hero__mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  padding: 32px;
  color: #fff;
  z-index: 2;
}

.ffsg-hero__mark-line {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ffsg-hero__mark-ship {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.ffsg-hero__mark-class {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--ff-radius-pill);
  backdrop-filter: blur(4px);
}

/* Illustration-variant of the empty-state mark. The stylized ship
 * silhouette fills the slot; the line/ship/class wordmark overlays at
 * the bottom so the hero still identifies itself. Replaces the
 * typography-only mark for routes that have an illustration key. */
.ffsg-hero__mark--illus {
  padding: 0;
}
.ffsg-hero__illus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}
.ffsg-hero__mark--illus .ffsg-hero__mark-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Per-line accent gradients on the media empty-state. Keeps brand tied
   to the cruise line the user is reading about, Princess ocean blues,
   Royal Caribbean deeper teal, Norwegian warmer navy/coral. */
.ffsg-line--princess .ffsg-hero__media {
  background: linear-gradient(135deg, #004d63 0%, #00293b 100%);
}
.ffsg-line--royal-caribbean .ffsg-hero__media {
  background: linear-gradient(135deg, #00705e 0%, #012f36 100%);
}
.ffsg-line--norwegian .ffsg-hero__media {
  background: linear-gradient(135deg, #1a3a5c 0%, #7a3024 100%);
}

/* ── BREADCRUMB + JUMP-NAV BAR ─────────────────── */
.ffsg-breadcrumb-bar {
  max-width: var(--ff-wide-width);
  margin: 0 auto;
  padding: 8px var(--ff-page-padding, 48px) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.ffsg-breadcrumb {
  margin: 0;
  font-size: 14px;
  color: var(--ff-muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

.ffsg-breadcrumb a {
  color: var(--ff-ocean);
  text-decoration: none;
  font-weight: 600;
}
.ffsg-breadcrumb a:hover { color: var(--ff-coral); }
.ffsg-breadcrumb span[aria-hidden] { color: var(--ff-border); }
.ffsg-breadcrumb__current { color: var(--ff-muted); }

/* Horizontal jump-nav, non-sticky so it doesn't disorient older readers.
   Reads like a chapter list under the hero. Each link smooth-scrolls to
   the anchor section via global scroll-behavior. */
.ffsg-jumpnav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ffsg-jumpnav li { margin: 0; padding: 0; }

.ffsg-jumpnav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ff-ocean);
  text-decoration: none;
  background: var(--ff-sand-alt);
  border: 1px solid transparent;
  border-radius: var(--ff-radius-pill);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ffsg-jumpnav a:hover,
.ffsg-jumpnav a:focus-visible {
  background: #fff;
  border-color: var(--ff-ocean);
  color: var(--ff-ocean);
  outline: none;
}

/* Give anchor landings breathing room so the section header isn't flush
   to the top of the viewport when the page scrolls to it. */
.ffsg [id] { scroll-margin-top: 24px; }

/* ── ASSUMPTION BANNER (e.g. Luna) ─────────────── */
.ffsg-assumption {
  max-width: var(--ff-wide-width);
  margin: 0 auto 32px;
  padding: 16px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff6ec;
  border: 1px solid rgba(154, 61, 46, 0.25);
  border-left: 4px solid var(--ff-coral);
  border-radius: var(--ff-radius-sm);
}

.ffsg-assumption__label {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ff-coral);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ffsg-assumption p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ff-navy);
}

/* ── QUICK FACTS GRID ─────────────────────────── */
.ffsg-facts-section {
  padding: 0 0 64px;
}

.ffsg-facts {
  max-width: var(--ff-wide-width);
  margin: 0 auto;
  padding: 32px var(--ff-page-padding, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-card);
}

.ffsg-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-right: 1px solid var(--ff-border);
}
.ffsg-fact:last-child { border-right: none; }

.ffsg-fact__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ff-stone);
}

.ffsg-fact__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--ff-ocean);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ── VENUES SECTIONS ──────────────────────────── */
.ffsg-venues-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.ffsg-venues-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 680px;
  margin-inline: auto;
}

.ffsg-venues-head h2 {
  font-size: 34px;
  margin: 8px 0 10px;
  color: var(--ff-ocean);
  letter-spacing: -0.02em;
}

.ffsg-venues-head__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ff-muted);
  margin: 0;
}

/* Card grid, responsive; always 2-wide on desktop, 1-wide on mobile */
.ffsg-venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Individual venue card */
.ffsg-venue-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-card);
  transition: transform var(--ff-ease-normal), box-shadow var(--ff-ease-normal);
}

.ffsg-venue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ff-shadow-card-hover);
}

.ffsg-venue-card--included { border-left: 4px solid var(--ff-teal-dark); }
.ffsg-venue-card--casual   { border-left: 4px solid var(--ff-ocean); }
.ffsg-venue-card--specialty { border-left: 4px solid var(--ff-coral); }

.ffsg-venue-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.ffsg-venue-card__type {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ff-stone);
  text-transform: uppercase;
}

.ffsg-venue-card__cover {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--ff-radius-pill);
  background: #ffe9e4;
  color: var(--ff-coral);
}

.ffsg-venue-card__cover--included {
  background: var(--ff-teal);
  color: var(--ff-teal-dark);
}

/* À la carte pricing, warm amber to distinguish from the coral "$X cover"
 * badge. Same weight and padding; signals "extra cost, but priced per item." */
.ffsg-venue-card__cover--alacarte {
  background: #fff3dc;
  color: #8a5a00;
}

/* Princess "casual dining" prix-fixe badge, $14.99 venues (Alfredo's,
 * O'Malley's). Visually distinct from specialty cover (coral) and from
 * complimentary (teal): deep-ocean tone so users scan it as "modest
 * charge, not full specialty." */
.ffsg-venue-card__cover--prixfixe {
  background: #dff0f6;
  color: var(--ff-ocean);
}

/* "More detail" disclosure, keeps the card scannable while still
 * exposing the full source-backed note on tap. Summary is compact and
 * discoverable; the expanded body uses the notes body style. */
.ffsg-venue-card__more {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ff-stone);
}
.ffsg-venue-card__more > summary {
  cursor: pointer;
  color: var(--ff-ocean);
  font-weight: 700;
  list-style: none;
  padding: 4px 0;
  letter-spacing: 0.01em;
}
.ffsg-venue-card__more > summary::-webkit-details-marker { display: none; }
.ffsg-venue-card__more > summary::marker { content: ""; }
.ffsg-venue-card__more > summary::after {
  content: " ↓";
  transition: transform 0.15s ease;
  display: inline-block;
}
.ffsg-venue-card__more[open] > summary::after { content: " ↑"; }
.ffsg-venue-card__more > p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ff-muted);
}

.ffsg-venue-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ff-navy);
  line-height: 1.2;
  margin: 4px 0 2px;
  letter-spacing: -0.01em;
}

.ffsg-venue-card__cuisine {
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-teal-dark);
  letter-spacing: 0.01em;
  margin: 0;
}

.ffsg-venue-card__notes {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ff-muted);
  margin: 4px 0 0;
}

.ffsg-venue-card__tag {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--ff-sand-alt);
  color: var(--ff-stone);
  border-radius: var(--ff-radius-pill);
}

/* ── PACKAGES SECTION ─────────────────────────── */
.ffsg-packages-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.ffsg-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.ffsg-package {
  position: relative;
  padding: 28px 26px;
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-card);
}

.ffsg-package--recommended {
  border-color: var(--ff-ocean);
  box-shadow: 0 10px 28px rgba(16, 125, 160, 0.15);
}

.ffsg-package__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--ff-ocean);
  color: #fff;
  border-radius: var(--ff-radius-pill);
}

.ffsg-package__name {
  font-size: 20px;
  color: var(--ff-ocean);
  margin: 0;
  letter-spacing: -0.01em;
}

.ffsg-package__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ff-border);
}

.ffsg-package__amount {
  font-size: 30px;
  font-weight: 800;
  color: var(--ff-navy);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ffsg-package__period {
  font-size: 13px;
  color: var(--ff-stone);
}

/* Chip variant, used when a package has no single numeric daily price
   (e.g. NCL Free at Sea bundled in fare, RCI Dining Package tiered).
   Sits in the price slot with the same height/rhythm as the $N/day
   treatment so card heights stay visually aligned across the grid. */
.ffsg-package__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ff-navy);
  background: var(--ff-sand-alt);
  border-radius: var(--ff-radius-pill);
  line-height: 1.2;
}

.ffsg-package__chip--included {
  background: var(--ff-teal);
  color: var(--ff-teal-dark);
}

.ffsg-package__short {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ff-muted);
  margin: 0;
}

.ffsg-package__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ffsg-package__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ff-muted);
}

.ffsg-package__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ff-teal-dark);
  font-weight: 700;
}

/* ── DINING TIPS (CPT-mode) ───────────────────── */
.ffsg-tips-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.ffsg-tips {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: ffsg-tip-counter;
}

.ffsg-tips li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ff-border);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ff-navy);
}

.ffsg-tips li:last-child { border-bottom: none; }

.ffsg-tip-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--ff-coral);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding-top: 3px;
}

/* ── EDITOR CONTENT (CPT-mode) ───────────────── */
.ffsg-editor {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ff-navy);
}

.ffsg-editor p { font-size: 17px; line-height: 1.7; }
.ffsg-editor h2 { font-size: 28px; margin: 48px 0 16px; }
.ffsg-editor h3 { font-size: 22px; margin: 32px 0 12px; }


/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .ffsg-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .ffsg-hero__media { aspect-ratio: 16 / 10; }
  .ffsg-hero__mark { padding: 24px; }
  .ffsg-breadcrumb-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 768px) {
  .ffsg-hero { padding: 56px 24px 32px; }
  .ffsg-hero__title { font-size: 2rem; }
  .ffsg-hero__deck { font-size: 17px; }
  .ffsg-hero__mark-ship { font-size: 1.6rem; }
  .ffsg-venues-section { padding-top: 56px; padding-bottom: 56px; }
  .ffsg-venues-head h2 { font-size: 28px; }
  .ffsg-facts { padding: 16px 24px; }
  .ffsg-fact { padding: 12px 0; border-right: none; border-bottom: 1px solid var(--ff-border); }
  .ffsg-fact:last-child { border-bottom: none; }
  .ffsg-breadcrumb-bar { padding-left: 24px; padding-right: 24px; }
  .ffsg-jumpnav a { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .ffsg-venue-card { padding: 18px 20px; }
  .ffsg-venue-card__name { font-size: 20px; }
  .ffsg-package { padding: 22px 20px; }
}


/* ═══════════════════════════════════════════════
   LEGACY / DEPRECATED SHIP-GUIDE STYLES (retained)
   Old synthetic-mode banner, venue-list, assumption styles kept below
   so nothing breaks if they're referenced elsewhere. Not used by the
   v3 template above. Safe to prune in a future cleanup.
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   SHIP PAGE, SYNTHETIC MODE ADDITIONS (LEGACY v2)
   ═══════════════════════════════════════════════ */

.ffsg-progress-banner {
  max-width: var(--ff-wide-width);
  margin: 24px auto -24px;
  padding: 14px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff6ec;
  border: 1px solid rgba(154, 61, 46, 0.25);
  border-left: 4px solid var(--ff-coral);
  border-radius: var(--ff-radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ff-navy);
}

.ffsg-progress-banner strong {
  color: var(--ff-coral);
}

.ffsg-progress-banner__dot {
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ff-coral);
  margin-top: 6px;
  animation: ffsg-teaser-pulse 2.4s ease-in-out infinite;
}

.ffsg-assumption {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--ff-sand-alt);
  border-left: 3px solid var(--ff-coral);
  border-radius: var(--ff-radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ff-navy);
}

.ffsg-venue-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.ffsg-venue-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  transition: border-color var(--ff-ease-fast), transform var(--ff-ease-fast);
}

.ffsg-venue-list__item:hover {
  border-color: rgba(16, 125, 160, 0.3);
  transform: translateY(-1px);
}

.ffsg-venue-list__item--included { border-left: 3px solid var(--ff-teal-dark); }
.ffsg-venue-list__item--specialty { border-left: 3px solid var(--ff-coral); }

.ffsg-venue-list__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-navy);
  flex: 1;
  min-width: 0;
}

.ffsg-venue-list__tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--ff-radius-pill);
  background: var(--ff-teal);
  color: var(--ff-teal-dark);
  flex-shrink: 0;
}

.ffsg-venue-list__tag--cover {
  background: #ffe9e4;
  color: var(--ff-coral);
}

.ffsg-package__short {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ff-muted);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ffsg-line__summary { padding: 18px 20px; gap: 12px; }
  .ffsg-line__name { font-size: 19px; }
  .ffsg-ship-row__link {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
  }
  .ffsg-ship-row__meta {
    grid-column: 1 / 2;
    font-size: 12px;
  }
  .ffsg-ship-row__arrow { grid-column: 2 / 3; grid-row: 1 / 3; }
}

@media (max-width: 480px) {
  .ffsg-ship-row__meta span::after { display: none; }
  .ffsg-ship-row__meta { gap: 6px 10px; }
}


/* ═══════════════════════════════════════════════
   OLD HUB STYLES (archived 2026-04-17)
   The previous directory-style hub styles are retained below for any
   CPT-era template still referencing them, but the new archive uses the
   accordion pattern above. These are effectively dead code now and can
   be removed in a later cleanup pass.
   ═══════════════════════════════════════════════ */

.ffsg-hub__nav {
  margin-top: 20px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ffsg-hub__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--wp--preset--font-family--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--ff-radius-pill);
  transition: background var(--ff-ease-fast), border-color var(--ff-ease-fast);
}

.ffsg-hub__nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

.ffsg-hub__nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 800;
  background: var(--ff-coral);
  color: #fff;
  border-radius: var(--ff-radius-pill);
}

.ffsg-hub__line {
  /* Alternate sand-alt on even-numbered line sections so the page reads
     as a vertical list of "chapters" rather than one long scroll. */
  padding-top: 72px;
  padding-bottom: 72px;
}
.ffsg-hub__line:nth-of-type(even) {
  background: var(--ff-sand-alt);
}

.ffsg-hub__line-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ff-border);
}

.ffsg-hub__line-head h2 {
  font-size: 32px;
  margin: 6px 0 4px;
}

.ffsg-hub__line-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ff-muted);
}

.ffsg-hub__pkg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ffsg-hub__pkg-pills li {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--ff-white);
  color: var(--ff-ocean);
  border: 1px solid rgba(16, 125, 160, 0.3);
  border-radius: var(--ff-radius-pill);
}

.ffsg-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.ffsg-hub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-card);
  transition: transform var(--ff-ease-normal), box-shadow var(--ff-ease-normal);
}

.ffsg-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ff-shadow-card-hover);
}

.ffsg-hub-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ffsg-hub-card__head h3 {
  font-size: 22px;
  line-height: 1.2;
  color: var(--ff-ocean);
  margin: 0;
  letter-spacing: -0.01em;
}

.ffsg-hub-card__status {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-radius: var(--ff-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ffsg-hub-card__status--live {
  background: var(--ff-teal);
  color: var(--ff-teal-dark);
}
.ffsg-hub-card__status--progress {
  background: #fff6ec;
  color: var(--ff-coral);
  border: 1px dashed rgba(154, 61, 46, 0.4);
}

.ffsg-hub-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 0;
  padding: 14px 0 4px;
  border-top: 1px solid var(--ff-border);
  border-bottom: 1px solid var(--ff-border);
}

.ffsg-hub-card__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
}

.ffsg-hub-card__stats dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ff-stone);
  margin: 0;
}

.ffsg-hub-card__stats dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ff-navy);
  font-variant-numeric: tabular-nums;
}

.ffsg-hub-card__split {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ff-muted);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}

.ffsg-hub-card__venues {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ff-muted);
}

.ffsg-hub-card__venues strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ff-teal-dark);
  margin-right: 4px;
}

.ffsg-hub-card__note {
  margin: 0;
  padding: 10px 12px;
  background: #fff6ec;
  border-left: 3px solid var(--ff-coral);
  border-radius: var(--ff-radius-sm);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ff-navy);
}

.ffsg-hub-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.ffsg-hub-card__cta {
  /* Use the existing .ffh-btn system's primary style, but full-width in the
     card. Size and padding override so it doesn't dwarf the card. */
  width: 100%;
  text-align: center;
  padding: 12px 20px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.ffsg-hub-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-ocean);
  text-decoration: none;
  text-align: center;
  transition: color var(--ff-ease-fast);
}

.ffsg-hub-card__link:hover { color: var(--ff-coral); }
.ffsg-hub-card__link--muted {
  color: var(--ff-stone);
  font-style: italic;
  cursor: default;
}

@media (max-width: 768px) {
  .ffsg-hub__line-head { align-items: flex-start; }
  .ffsg-hub__line-head h2 { font-size: 26px; }
  .ffsg-hub-card { padding: 22px; }
  .ffsg-hub-card__head h3 { font-size: 20px; }
}


/* ═══════════════════════════════════════════════
   QUICK FACTS GRID
   ═══════════════════════════════════════════════ */

.ffsg-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ff-border);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  overflow: hidden;
  margin-top: 24px;
}

.ffsg-fact {
  background: var(--ff-white);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ffsg-fact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ff-ocean);
}

.ffsg-fact__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ff-navy);
  letter-spacing: -0.01em;
}


/* ═══════════════════════════════════════════════
   SECTION INTRO TEXT
   ═══════════════════════════════════════════════ */

.ffsg-section-intro {
  font-size: 17px;
  line-height: 28px;
  color: var(--ff-muted);
  margin-bottom: 40px;
}


/* ═══════════════════════════════════════════════
   VENUE CARDS, extra styling
   ═══════════════════════════════════════════════ */

.ffsg-venue-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ff-ocean);
  margin-bottom: 4px;
}

.ffsg-cuisine {
  font-size: 14px;
  font-weight: 500;
  color: var(--ff-stone);
  font-style: italic;
  margin-bottom: 8px !important;
}

.ffsg-meta {
  font-size: 12px;
  color: var(--ff-stone);
  margin-top: auto;
  padding-top: 8px;
}

.ffsg-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ffsg-price-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ff-coral);
  background: var(--ff-icon-bg-coral);
  border-radius: var(--ff-radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   PACKAGE COMPARISON CARDS
   ═══════════════════════════════════════════════ */

.ffsg-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.ffsg-package {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow var(--ff-ease-normal), transform var(--ff-ease-normal);
}

.ffsg-package:hover {
  box-shadow: var(--ff-shadow-card-hover);
  transform: translateY(-2px);
}

.ffsg-package--recommended {
  border-color: var(--ff-ocean);
  border-width: 2px;
}

.ffsg-package__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--ff-ocean);
  color: var(--ff-white);
  border-radius: var(--ff-radius-pill);
}

.ffsg-package h3 {
  font-size: 22px;
  color: var(--ff-navy);
  margin: 0 0 16px;
}

.ffsg-package__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ff-border);
}

.ffsg-package__amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--ff-ocean);
  letter-spacing: -0.02em;
}

.ffsg-package__period {
  font-size: 14px;
  color: var(--ff-stone);
}

.ffsg-package__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ffsg-package__list li {
  font-size: 14px;
  line-height: 20px;
  color: var(--ff-muted);
  padding-left: 24px;
  position: relative;
}

.ffsg-package__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ff-teal-dark);
  font-weight: 700;
}


/* ═══════════════════════════════════════════════
   DINING TIPS
   ═══════════════════════════════════════════════ */

.ffsg-tips {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ffsg-tips li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 26px;
  color: var(--ff-muted);
}

.ffsg-tip-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ff-icon-bg-teal);
  color: var(--ff-teal-dark);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════
   ARCHIVE CARDS
   ═══════════════════════════════════════════════ */

.ffsg-archive-card {
  gap: 8px;
}

.ffsg-archive-card__image {
  margin: -33px -33px 16px;
  overflow: hidden;
  border-radius: var(--ff-radius) var(--ff-radius) 0 0;
}

.ffsg-archive-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--ff-ease-normal);
}

.ffsg-archive-card:hover .ffsg-archive-card__image img {
  transform: scale(1.04);
}

.ffsg-archive-card__meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--ff-stone);
  flex-wrap: wrap;
}

.ffsg-archive-card__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: var(--ff-border);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ffsg-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .ffsg-packages {
    grid-template-columns: 1fr;
  }

  .ffsg-card-header {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .ffsg-facts {
    grid-template-columns: 1fr;
  }

  .ffsg-fact {
    padding: 16px 20px;
  }

  .ffsg-package {
    padding: 28px 24px;
  }

  .ffsg-package__amount {
    font-size: 28px;
  }
}
