/* ============================================================
   CRUISE ITINERARIES — GLOBAL BASE
   Applies to: <body class="page-itinerary ...">
   Purpose: Clean, modern base aligned with Cruise Home style
============================================================ */

/* Global background, typography, and overflow control */
.page-itinerary {
  background: #ffffff;
  color: #222;
  font-family: "Inter", system-ui, sans-serif;
}

body.page-itinerary {
  overflow-x: hidden;
}

/* ============================================================
   GLOBAL LAYOUT — SECTIONS, TITLES, OVERVIEW TEXT
============================================================ */

/* Section spacing and banding */
.page-itinerary .section {
  padding: 70px 0;
  background: #ffffff;
}

/* Soft alternating bands for long pages */
.page-itinerary .section.soft-band {
  background: #ffffff;
}

.page-itinerary main .section.soft-band:nth-of-type(even) {
  background: #f7f9fc;
}

/* Subtle separators between major sections */
.page-itinerary .section:not(:last-of-type) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding-bottom: 80px;
}

/* Section titles — centered, premium weight */
.page-itinerary .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 35px;
  color: #111;
  letter-spacing: -0.5px;
  text-align: center;
}

/* Overview text — centered, readable width */
.page-itinerary .overview-text {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #444;
  text-align: center;
}

/* ============================================================
   HEADER — FLOATING CRUISE HEADER SYSTEM
   Matches Cruise Home floating header feel
============================================================ */

.page-itinerary .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0)
  );
  backdrop-filter: blur(4px);
}

/* 3-column grid: [LOGO] [NAV CENTERED] [BALANCER] */
.page-itinerary .site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
  padding-left: 20px;
}

/* Logo — left, white, subtle shadow */
.page-itinerary .logo {
  position: static;
  margin-left: 32px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

/* Main nav — centered, spaced, uppercase */
.page-itinerary .main-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.page-itinerary .main-nav a {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}

/* Right-side balancer to keep nav centered */
.page-itinerary .header-balance {
  width: 86px;
}

/* ============================================================
   BREADCRUMB — UNDER HEADER
============================================================ */

.page-itinerary .breadcrumb {
  margin-top: 82px;
  background: #f5f5f5;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 20;
}

.page-itinerary .breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 28px;
}

.page-itinerary .breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}

.page-itinerary .breadcrumb a:hover {
  text-decoration: underline;
}

.page-itinerary .breadcrumb span {
  color: #666;
}

/* ============================================================
   HERO — ITINERARY PAGE HERO
   Shared hero system for all itineraries
============================================================ */

.page-itinerary .itinerary-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Gradient overlay for readability */
.page-itinerary .itinerary-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.20),
    rgba(255, 255, 255, 0.15)
  );
}

/* Hero content — centered text block */
.page-itinerary .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Hero title — strong, premium */
.page-itinerary .hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

/* Hero subtitle — supporting line */
.page-itinerary .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #ffffff;
}

/* ============================================================
   FOOTER — DARK THEME (MATCH CRUISE HOME HEIGHT)
   Target: same perceived height as Cruise Home footer
============================================================ */

.page-itinerary .site-footer {
  background: #0d2247;
  padding: 32px 0 22px; /* aligned with Cruise Home feel */
  color: #dbe4f3;
}

/* 3-column grid footer */
.page-itinerary .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer headings */
.page-itinerary .footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Footer links */
.page-itinerary .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-itinerary .footer-col ul li {
  margin-bottom: 6px;
}

.page-itinerary .footer-col ul li a {
  color: #dbe4f3;
  text-decoration: none;
  font-size: 0.92rem;
}

.page-itinerary .footer-col ul li a:hover {
  text-decoration: underline;
}

/* Footer bottom row + Back to top */
.page-itinerary .footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.page-itinerary .back-to-top {
  background: transparent;
  border: 1px solid #dbe4f3;
  color: #dbe4f3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
}

.page-itinerary .back-to-top:hover {
  background: #dbe4f3;
  color: #0d2247;
}

/* ============================================================
   9. PORTS OF CALL — GRID + CARDS
   Applies to all itinerary pages
============================================================ */

/* Grid layout */
.ports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}

/* Individual port card */
.port-card {
  text-align: center;
}

/* Port image */
.port-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Port title */
.port-card h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
}

/* Port description */
.port-card p {
  font-size: 0.95rem;
  color: #555;
  margin-top: 4px;
}

/* Container padding for ports section */
.itinerary-ports .container {
  padding-left: 30px;
  padding-right: 30px;
}

/* ============================================================
   10. DAY‑BY‑DAY — TWO‑COLUMN LAYOUT
============================================================ */

/* Layout wrapper */
.itinerary-days-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

/* Left column — text */
.itinerary-days-text {
  flex: 0 0 55%;
  text-align: left;
}

/* Right column — image */
.itinerary-days-image {
  flex: 0 0 45%;
  margin-top: 40px;
}

/* Day‑by‑day image */
.itinerary-days-image img {
  width: 75%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: block;
  margin-right: auto;
}

/* ============================================================
   11. DAY‑BY‑DAY — ROWS + LABELS
============================================================ */

/* List wrapper */
.itinerary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Each row: Day X | Description */
.itinerary-list .day-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

/* Day label */
.day-label {
  font-weight: 700;
  text-align: left;
  padding-left: 35px;
  color: #0d1b2a;
}

/* Day text */
.day-text {
  text-align: left;
  line-height: 1.6;
  padding-left: 40px;
  color: #444;
}

/* Title alignment inside day‑by‑day section */
.itinerary-days-text .section-title {
  text-align: left;
  padding-left: 170px;
}

/* ============================================================
   12. RESPONSIVE — PORTS + DAY‑BY‑DAY
============================================================ */

@media (max-width: 900px) {
  .ports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Section spacing */
  .page-itinerary .section {
    padding: 50px 0;
  }

  /* Ports grid */
  .ports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Day‑by‑day stacks vertically */
  .itinerary-days-layout {
    flex-direction: column;
    gap: 20px;
  }

  .itinerary-days-image {
    margin-top: 20px;
  }

  .itinerary-days-image img {
    width: 100%;
    max-height: none;
  }

  /* Day row grid shrinks */
  .itinerary-list .day-row {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 600px) {

  /* Ports stack into 1 column */
  .ports-grid {
    grid-template-columns: 1fr;
  }

  /* Day‑by‑day text spacing */
  .day-label {
    padding-left: 10px;
  }

  .day-text {
    padding-left: 20px;
  }
}

/* ============================================================
   13. SHIP HIGHLIGHTS — GLOBAL COMPONENT
   Applies to all itinerary pages
============================================================ */

/* Wrapper */
.ship-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

/* Highlight card */
.highlight-item {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;

  border: 1px solid #d5d9e2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* Highlight icon */
.highlight-item img {
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 50%;
  background: #005fa3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  margin-bottom: 12px;
  object-fit: contain;
}

/* Title */
.highlight-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0d1b2a;
}

/* Description */
.highlight-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ============================================================
   GLOBAL RECTANGULAR SHIP HIGHLIGHTS — APPLIES TO ALL ITINERARIES
============================================================ */

.page-itinerary .highlight-item.highlight-rect {
  width: 260px;
  padding: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.page-itinerary .highlight-item.highlight-rect img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
}

.page-itinerary .highlight-item.highlight-rect h3 {
  padding: 12px 16px 4px;
  margin: 0;
  text-align: center;
}

.page-itinerary .highlight-item.highlight-rect p {
  padding: 0 16px 12px;
  margin: 0;
  text-align: center;
}

/* ============================================================
   14. BEST TIME TO GO — GLOBAL COMPONENT
============================================================ */

.season-blocks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.season {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 260px;
  text-align: center;

  border: 1px solid #d5d9e2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.season:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.season h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0d1b2a;
}

.season p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Light blue variant for itinerary-best-time section */
.itinerary-best-time .season {
  background: #e7f5ff;
  border: 1px solid #cfe8ff;
  padding: 22px;
  border-radius: 10px;
}

.itinerary-best-time p {
  max-width: 800px;
  margin: 0 auto 10px;
  text-align: center;
  color: #444;
}

/* ============================================================
   15. CRUISE LINES — LOGO GRID
============================================================ */

.page-itinerary .cruise-lines-logos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

/* Logo box */
.page-itinerary .cruise-line-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #7a8594;

  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.page-itinerary .cruise-line-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* Logo image */
.page-itinerary .cruise-line-box img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #ffffff !important;
}

/* Per‑itinerary width tuning 
.itinerary-africa-coastal .itinerary-lines .cruise-lines-logos {
  max-width: 500px;
  margin: 40px auto 0;
}*/

/* ============================================================
   16. MAP SECTION — GLOBAL COMPONENT
============================================================ */

.map-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.map-wrapper img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}

.page-itinerary .map-wrapper .map-caption {
  text-align: center;
  color: #003366;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================================
   17. RESPONSIVE — HERO
============================================================ */

@media (max-width: 900px) {
  .page-itinerary .itinerary-hero {
    min-height: 380px;
  }

  .page-itinerary .hero-title {
    font-size: 2.2rem;
  }

  .page-itinerary .hero-subtitle {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .page-itinerary .itinerary-hero {
    min-height: 300px;
  }

  .page-itinerary .hero-title {
    font-size: 1.8rem;
  }

  .page-itinerary .hero-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
}

/* ============================================================
   CRUISE ITINERARIES — GLOBAL BASE
   Applies to: <body class="page-itinerary ...">
   Purpose: Clean, modern base aligned with Cruise Home style
============================================================ */

/* Global background, typography, and overflow control */
.page-itinerary {
  background: #ffffff;
  color: #222;
  font-family: "Inter", system-ui, sans-serif;
}

body.page-itinerary {
  overflow-x: hidden;
}

/* ============================================================
   FIX 1 — Add container padding for itinerary pages
============================================================ */
.page-itinerary .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   GLOBAL LAYOUT — SECTIONS, TITLES, OVERVIEW TEXT
============================================================ */

/* Section spacing and banding */
.page-itinerary .section {
  padding: 70px 0;
  background: #ffffff;
}

/* Soft alternating bands for long pages */
.page-itinerary .section.soft-band {
  background: #ffffff;
}

.page-itinerary main .section.soft-band:nth-of-type(even) {
  background: #f7f9fc;
}

/* Subtle separators between major sections */
.page-itinerary .section:not(:last-of-type) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding-bottom: 80px;
}

/* Section titles — centered, premium weight */
.page-itinerary .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 35px;
  color: #111;
  letter-spacing: -0.5px;
  text-align: center;
}

/* Overview text — centered, readable width */
.page-itinerary .overview-text {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #444;
  text-align: center;
}

/* ============================================================
   HEADER — FLOATING CRUISE HEADER SYSTEM
============================================================ */

.page-itinerary .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0)
  );
  backdrop-filter: blur(4px);
}

/* 3-column grid: [LOGO] [NAV CENTERED] [BALANCER] */
.page-itinerary .site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
  padding-left: 20px;
}

/* Logo — left, white, subtle shadow */
.page-itinerary .logo {
  position: static;
  margin-left: 32px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

/* Main nav — centered, spaced, uppercase */
.page-itinerary .main-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.page-itinerary .main-nav a {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}

/* Right-side balancer to keep nav centered */
.page-itinerary .header-balance {
  width: 86px;
}

/* ============================================================
   BREADCRUMB — UNDER HEADER
============================================================ */

.page-itinerary .breadcrumb {
  margin-top: 82px;
  background: #f5f5f5;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 20;
}

.page-itinerary .breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 28px;
}

.page-itinerary .breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}

.page-itinerary .breadcrumb a:hover {
  text-decoration: underline;
}

.page-itinerary .breadcrumb span {
  color: #666;
}

/* ============================================================
   HERO — ITINERARY PAGE HERO
============================================================ */

.page-itinerary .itinerary-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Gradient overlay for readability */
.page-itinerary .itinerary-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.20),
    rgba(255, 255, 255, 0.15)
  );
}

/* Hero content — centered text block */
.page-itinerary .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Hero title — strong, premium */
.page-itinerary .hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

/* Hero subtitle — supporting line */
.page-itinerary .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #ffffff;
}

/* ============================================================
   FOOTER — DARK THEME
============================================================ */

.page-itinerary .site-footer {
  background: #0d2247;
  padding: 32px 0 22px;
  color: #dbe4f3;
}

/* 3-column grid footer */
.page-itinerary .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer headings */
.page-itinerary .footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Footer links */
.page-itinerary .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-itinerary .footer-col ul li {
  margin-bottom: 6px;
}

.page-itinerary .footer-col ul li a {
  color: #dbe4f3;
  text-decoration: none;
  font-size: 0.92rem;
}

.page-itinerary .footer-col ul li a:hover {
  text-decoration: underline;
}

/* Footer bottom row + Back to top */
.page-itinerary .footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.page-itinerary .back-to-top {
  background: transparent;
  border: 1px solid #dbe4f3;
  color: #dbe4f3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
}

.page-itinerary .back-to-top:hover {
  background: #dbe4f3;
  color: #0d2247;
}

/* ============================================================
   9. PORTS OF CALL — GRID + CARDS
   Applies to all itinerary pages
============================================================ */

/* Grid layout */
.ports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}

/* Individual port card */
.port-card {
  text-align: center;
}

/* Port image */
.port-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Port title */
.port-card h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
}

/* Port description */
.port-card p {
  font-size: 0.95rem;
  color: #555;
  margin-top: 4px;
}

/* Container padding for ports section */
.itinerary-ports .container {
  padding-left: 30px;
  padding-right: 30px;
}

/* ============================================================
   10. DAY‑BY‑DAY — TWO‑COLUMN LAYOUT
============================================================ */

/* Layout wrapper */
.itinerary-days-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

/* Left column — text */
.itinerary-days-text {
  flex: 0 0 55%;
  text-align: left;
}

/* Right column — image */
.itinerary-days-image {
  flex: 0 0 45%;
  margin-top: 40px;
}

/* Day‑by‑day image */
.itinerary-days-image img {
  width: 75%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: block;
  margin-right: auto;
}

/* ============================================================
   11. DAY‑BY‑DAY — ROWS + LABELS
============================================================ */

/* List wrapper */
.itinerary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Each row: Day X | Description */
.itinerary-list .day-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

/* Day label */
.day-label {
  font-weight: 700;
  text-align: left;
  padding-left: 35px;
  color: #0d1b2a;
}

/* Day text */
.day-text {
  text-align: left;
  line-height: 1.6;
  padding-left: 40px;
  color: #444;
}

/* Title alignment inside day‑by‑day section */
.itinerary-days-text .section-title {
  text-align: left;
  padding-left: 170px;
}

/* ============================================================
   12. RESPONSIVE — PORTS + DAY‑BY‑DAY
============================================================ */

@media (max-width: 900px) {
  .ports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Section spacing */
  .page-itinerary .section {
    padding: 50px 0;
  }

  /* Ports grid */
  .ports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Day‑by‑day stacks vertically */
  .itinerary-days-layout {
    flex-direction: column;
    gap: 20px;
  }

  .itinerary-days-image {
    margin-top: 20px;
  }

  .itinerary-days-image img {
    width: 100%;
    max-height: none;
  }

  /* Day row grid shrinks */
  .itinerary-list .day-row {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 600px) {

  /* Ports stack into 1 column */
  .ports-grid {
    grid-template-columns: 1fr;
  }

  /* Day‑by‑day text spacing */
  .day-label {
    padding-left: 10px;
  }

  .day-text {
    padding-left: 20px;
  }
}

/* ============================================================
   13. SHIP HIGHLIGHTS — GLOBAL COMPONENT
   Applies to all itinerary pages
============================================================ */

/* Wrapper */
.ship-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

/* Highlight card */
.highlight-item {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;

  border: 1px solid #d5d9e2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* Highlight icon */
.highlight-item img {
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 50%;
  background: #005fa3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  margin-bottom: 12px;
  object-fit: contain;
}

/* Title */
.highlight-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0d1b2a;
}

/* Description */
.highlight-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ============================================================
   GLOBAL RECTANGULAR SHIP HIGHLIGHTS — APPLIES TO ALL ITINERARIES
============================================================ */

.page-itinerary .highlight-item.highlight-rect {
  width: 260px;
  padding: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.page-itinerary .highlight-item.highlight-rect img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
}

.page-itinerary .highlight-item.highlight-rect h3 {
  padding: 12px 16px 4px;
  margin: 0;
  text-align: center;
}

.page-itinerary .highlight-item.highlight-rect p {
  padding: 0 16px 12px;
  margin: 0;
  text-align: center;
}

/* ============================================================
   14. BEST TIME TO GO — GLOBAL COMPONENT
============================================================ */

.season-blocks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.season {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 260px;
  text-align: center;

  border: 1px solid #d5d9e2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.season:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.season h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0d1b2a;
}

.season p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Light blue variant for itinerary-best-time section */
.itinerary-best-time .season {
  background: #e7f5ff;
  border: 1px solid #cfe8ff;
  padding: 22px;
  border-radius: 10px;
}

.itinerary-best-time p {
  max-width: 800px;
  margin: 0 auto 10px;
  text-align: center;
  color: #444;
}

/* ============================================================
   15. CRUISE LINES — LOGO GRID
============================================================ */

.page-itinerary .cruise-lines-logos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

/* Logo box */
.page-itinerary .cruise-line-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #7a8594;

  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.page-itinerary .cruise-line-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* Logo image */
.page-itinerary .cruise-line-box img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #ffffff !important;
}

/* FIX: Remove Africa Coastal width restriction */
.itinerary-africa-coastal .itinerary-lines .cruise-lines-logos {
  max-width: none !important;
  margin: 40px auto 0;
}

/* FIX: Make Cruise Lines work inside itinerary-lines */
.itinerary-lines .cruise-lines-logos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

.itinerary-lines .cruise-line-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #7a8594;
  min-width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.itinerary-lines .cruise-line-box img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #ffffff !important;
}

/* ============================================================
   16. MAP SECTION — GLOBAL COMPONENT
============================================================ */

.map-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.map-wrapper img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}

.page-itinerary .map-wrapper .map-caption {
  text-align: center;
  color: #003366;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================================
   17. RESPONSIVE — HERO
============================================================ */

@media (max-width: 900px) {
  .page-itinerary .itinerary-hero {
    min-height: 380px;
  }

  .page-itinerary .hero-title {
    font-size: 2.2rem;
  }

  .page-itinerary .hero-subtitle {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .page-itinerary .itinerary-hero {
    min-height: 300px;
  }

  .page-itinerary .hero-title {
    font-size: 1.8rem;
  }

  .page-itinerary .hero-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
}

/* ============================================================
   18. RESPONSIVE — PORTS OF CALL
============================================================ */

@media (max-width: 900px) {
  .ports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .ports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .port-card img {
    height: 160px;
  }
}

/* ============================================================
   19. RESPONSIVE — SHIP HIGHLIGHTS
============================================================ */

@media (max-width: 900px) {
  .ship-highlights {
    gap: 24px;
  }

  .highlight-item {
    width: 200px;
  }
}

@media (max-width: 600px) {
  .ship-highlights {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .highlight-item {
    width: 260px;
  }
}

/* ============================================================
   20. RESPONSIVE — BEST TIME TO GO
============================================================ */

@media (max-width: 900px) {
  .season-blocks {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .season-blocks {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .season {
    width: 260px;
  }
}

/* ============================================================
   21. RESPONSIVE — CRUISE LINES LOGOS
============================================================ */

@media (max-width: 900px) {
  .page-itinerary .cruise-lines-logos {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .page-itinerary .cruise-lines-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .page-itinerary .cruise-line-box {
    width: 140px;
    height: 60px;
  }
}

/* ============================================================
   22. RESPONSIVE — MAP SECTION
============================================================ */

@media (max-width: 600px) {
  .map-wrapper img {
    border-radius: 6px;
  }

  .page-itinerary .map-wrapper .map-caption {
    font-size: 0.9rem;
  }
}

/* ============================================================
   23. RESPONSIVE — DAY‑BY‑DAY
============================================================ */

@media (max-width: 900px) {
  .itinerary-days-layout {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .itinerary-days-layout {
    flex-direction: column;
    gap: 20px;
  }

  .itinerary-days-image {
    margin-top: 10px;
  }

  .itinerary-days-image img {
    width: 100%;
    max-height: none;
  }

  .itinerary-list .day-row {
    grid-template-columns: 100px 1fr;
  }

  .day-label {
    padding-left: 10px;
  }

  .day-text {
    padding-left: 20px;
  }

  .itinerary-days-text .section-title {
    padding-left: 0;
    text-align: center;
  }
}

/* ============================================================
   24. RESPONSIVE — FOOTER
============================================================ */

@media (max-width: 900px) {
  .page-itinerary .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-itinerary .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .page-itinerary .footer-bottom {
    margin-top: 16px;
    padding-top: 10px;
  }

  .page-itinerary .back-to-top {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   25. PER‑ITINERARY OVERRIDES — SAFE, MINIMAL
============================================================ */

/* ❌ REMOVED — This rule broke the Cruise Lines layout
.itinerary-africa-coastal .itinerary-lines .cruise-lines-logos {
  max-width: 500px;
  margin: 40px auto 0;
}
*/

/* Australia & New Zealand — Day‑by‑Day image balance */
.page-itinerary.itinerary-australia-new-zealand .itinerary-days-image img {
  width: 85%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

/* South America Explorer — slightly taller hero to reveal ship */
.page-itinerary.itinerary-south-america-explorer .itinerary-hero {
  min-height: 520px;
  background-position: center 80%;
}

/* Arabian Gulf Explorer — tuned day‑by‑day image layout */
.itinerary-arabian-gulf-explorer .itinerary-days-layout {
  align-items: center;
}

.itinerary-arabian-gulf-explorer .itinerary-days-image img {
  width: 85%;
  max-height: 340px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.itinerary-arabian-gulf-explorer .itinerary-days-image {
  margin-top: 0;
}

/* ============================================================
   26. FINAL CONSISTENCY PASS
============================================================ */

.page-itinerary,
body.page-itinerary {
  overflow-x: hidden;
}

.page-itinerary main {
  padding-bottom: 40px;
}

@media (max-width: 600px) {
  .page-itinerary .section {
    padding: 45px 0;
  }

  .page-itinerary .section-title {
    font-size: 1.9rem;
  }
}

/* ============================================================
   ITINERARY FOOTER — MATCH MAIN INDEX PAGE FOOTER EXACTLY
============================================================ */

.page-itinerary .site-footer {
  font-family: 'Montserrat', sans-serif !important;
}

.page-itinerary .site-footer {
  background: #0d2247 !important;
  padding: 28px 0 18px !important;
  border-top: 1px solid #0b1a33 !important;
}

.page-itinerary .footer-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px !important;
  padding: 0 !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #0b1a33 !important;
}

.page-itinerary .footer-col h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
}

.page-itinerary .footer-col ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.page-itinerary .footer-col ul li {
  margin-bottom: 4px !important;
}

.page-itinerary .footer-col ul li a {
  font-size: 0.97rem !important;
  color: #dbe4f3 !important;
  text-decoration: none;
  transition: 0.2s ease;
  position: relative;
  padding-left: 14px;
}

.page-itinerary .footer-col ul li a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 1px;
  color: #9bb0d4 !important;
  font-size: 0.7rem;
}

.page-itinerary .footer-col ul li a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-itinerary .footer-bottom {
  text-align: center;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid #0b1a33 !important;
}

.page-itinerary .footer-bottom p {
  font-size: 0.93rem !important;
  color: #dbe4f3 !important;
  letter-spacing: 0.25px;
}

.itinerary-days-image {
  padding-right: 20px;
}

.itinerary-special-experiences .ports-grid {
  padding-left: 20px;
  padding-right: 20px;
}

.page-itinerary.itinerary-south-america-explorer .itinerary-ports .ports-grid {
  grid-template-columns: repeat(4, 1fr);
}

.page-itinerary.itinerary-south-america-explorer .ports-filler {
  grid-column: 2 / span 3;
  align-self: start;
  text-align: left;
  font-size: 0.95rem;
  color: #555;
}

.page-itinerary.transatlantic .ports-filler {
  grid-column: 2 / span 3;
  align-self: start;
  text-align: left;
  font-size: 0.95rem;
  color: #555;
}
