/*
Theme Name:  CruiseTea Custom
Theme URI:   https://cruisetea.com
Author:      CruiseTea
Author URI:  https://cruisetea.com
Description: Production theme for CruiseTea. Merged from cruisetea-theme (design system) and astra-child (working site customizations). Soft navy + aqua + sand coastal editorial design.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cruisetea
Tags:        custom-menu, custom-sidebar, responsive-layout
*/

/* =============================================
   CRUISE TEA — DESIGN SYSTEM
   Palette: Soft Navy + Aqua + Sand
============================================= */
:root {
  --navy:         #1b3a5c;
  --navy-mid:     #2a5298;
  --navy-light:   #4a7cbf;
  --ocean-mid:    #1d6e9e;
  --aqua:         #3dbdbd;
  --aqua-light:   #7dd9d9;
  --aqua-mist:    #e8f8f8;
  --sand:         #f6f0e8;
  --sand-dark:    #d6c4a8;
  --white:        #fdfcfb;
  --coral:        #e8704a;
  --coral-light:  #f5a98a;
  --ink:          #1a2a3a;
  --ink-mid:      #3d5570;
  --ink-light:    #7a95b0;
  --rule:         rgba(27,58,92,0.12);
  --ad-bg:        #eef2f6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-card:  0 2px 16px rgba(27,58,92,0.08), 0 1px 3px rgba(27,58,92,0.06);
  --shadow-hover: 0 8px 32px rgba(27,58,92,0.16), 0 2px 8px rgba(27,58,92,0.08);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); text-decoration: none; }
a:hover { color: var(--navy); }

/* =============================================
   TWO-ROW HEADER
============================================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(27,58,92,0.3);
}

/* Row 1: Logo + utility */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.site-logo:hover { color: var(--white); }

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(61,189,189,0.4);
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { line-height: 1; }
.logo-name em { color: var(--aqua-light); font-style: italic; }
.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 4px;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 16px;
}

.util-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.util-link:hover { color: var(--white); }

.util-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  gap: 8px;
}
.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.82rem;
  font-family: var(--font-body);
  width: 180px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.search-icon { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.22s;
}
.btn-header-cta:hover { background: var(--coral-light); color: var(--ink); }

/* Row 2: Primary nav */
.header-nav-row {
  display: flex;
  align-items: center;
  padding: 0 12px 0 16px;
}

.header-nav-row .nav-primary,
.header-nav-row ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex: 1;
}

.header-nav-row ul li a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 11px 15px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.header-nav-row ul li a:hover,
.header-nav-row ul li.current-menu-item > a,
.header-nav-row ul li.current_page_item > a {
  color: var(--aqua-light);
  border-bottom-color: var(--aqua);
}

.nav-badge {
  background: rgba(61,189,189,0.15);
  border: 1px solid rgba(61,189,189,0.3);
  color: var(--aqua-light);
  font-size: 0.68rem;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  white-space: nowrap;
  margin-left: auto;
}

/* =============================================
   PAGE LAYOUT — MAIN + AD SIDEBAR
============================================= */
.page-body {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: start;
  min-height: 100vh;
}

.main-content { min-width: 0; }

/* Ad sidebar */
.ad-sidebar {
  background: var(--ad-bg);
  border-left: 1px solid var(--rule);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  position: sticky;
  top: 97px;
  max-height: calc(100vh - 97px);
  overflow-y: auto;
}

.ad-sidebar .widget { width: 100%; }

.ad-slot {
  background: var(--white);
  border: 1px dashed var(--sand-dark);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  color: var(--ink-light);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 8px;
}
.ad-slot-tall   { height: 300px; }
.ad-slot-short  { height: 160px; }
.ad-slot-icon   { font-size: 1.3rem; opacity: 0.35; }
.ad-label       { font-size: 0.56rem; color: var(--sand-dark); }

/* =============================================
   HERO
============================================= */
.hero {
  background: linear-gradient(158deg, #1b3a5c 0%, #1d6e9e 50%, #20a0b8 85%, #2ec0c0 100%);
  padding: 60px 48px 82px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 16px;
}
.hero h1 em { color: var(--aqua-light); font-style: italic; }

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  background: var(--coral);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--coral-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,112,74,0.35);
}

.btn-outline {
  border: 1.5px solid rgba(125,217,217,0.5);
  color: var(--aqua-light);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover {
  background: rgba(61,189,189,0.15);
  border-color: var(--aqua-light);
  color: var(--white);
}

/* Hero stat cards */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(125,217,217,0.2);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.stat-card:hover {
  background: rgba(61,189,189,0.12);
  border-color: rgba(125,217,217,0.45);
  transform: translateY(-3px);
}
.stat-card.wide { grid-column: 1 / -1; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--aqua-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card.wide .stat-number { color: var(--coral-light); }

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.stat-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 5px;
  line-height: 1.5;
}

/* =============================================
   WAVE TRANSITION
============================================= */
.wave-stage {
  position: relative;
  z-index: 1;
  margin-top: -30px;
  margin-bottom: -3px;
  background: transparent;
  line-height: 0;
  font-size: 0;
  display: block;
}
.wave-stage svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =============================================
   SECTIONS — GENERAL
============================================= */
.site-section { padding: 40px 48px 72px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-sub {
  color: var(--ink-light);
  font-size: 0.96rem;
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.75;
}

/* =============================================
   PRICING
============================================= */
.pricing-section { background: var(--sand); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 880px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--aqua-light);
}
.pricing-card.featured {
  background: var(--navy);
  border-color: var(--navy-mid);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--aqua);
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 6px;
}
.pricing-card.featured .pricing-tier { color: var(--aqua-light); }

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.pricing-card.featured .pricing-name { color: var(--white); }

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-price sup { font-size: 1.1rem; vertical-align: top; margin-top: 8px; }

.pricing-period { font-size: 0.78rem; color: var(--ink-light); margin-bottom: 26px; }
.pricing-card.featured .pricing-period { color: var(--aqua-light); }

.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-mid);
}
.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.08);
}
.pricing-features li::before {
  content: '◆';
  color: var(--aqua);
  font-size: 0.5rem;
  flex-shrink: 0;
}
.pricing-card.featured .pricing-features li::before { color: var(--aqua-light); }

.btn-plan {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: block;
  transition: all 0.22s;
  background: var(--aqua-mist);
  color: var(--navy);
  border: 1.5px solid var(--aqua-light);
}
.btn-plan:hover { background: var(--aqua); color: var(--white); border-color: var(--aqua); }
.pricing-card.featured .btn-plan { background: var(--coral); color: var(--white); border-color: var(--coral); }
.pricing-card.featured .btn-plan:hover { background: var(--coral-light); color: var(--ink); }

/* =============================================
   COMPARISON TABLE
============================================= */
.compare-section { background: var(--white); }

.compare-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--rule);
}

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }

.compare-table thead tr { background: var(--navy); }
.compare-table thead th {
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.compare-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table thead th:last-child  { border-radius: 0 var(--radius-md) 0 0; }
.compare-table thead th.col-hl { background: var(--navy-mid); color: var(--white); }

.compare-table tbody tr { border-bottom: 1px solid var(--rule); transition: background 0.18s; }
.compare-table tbody tr:hover { background: var(--aqua-mist); }
.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table td { padding: 13px 18px; color: var(--ink-mid); vertical-align: middle; }
.compare-table td:first-child { font-weight: 500; color: var(--ink); }
.compare-table td.col-hl { background: rgba(61,189,189,0.05); }

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
}
.tag-blue  { background: #ddeeff; color: #1b3a5c; }
.tag-aqua  { background: #d5f5f5; color: #1a6060; }
.tag-coral { background: #fde8df; color: #b54020; }
.tag-sand  { background: #f5efe6; color: #8a6a45; }

/* =============================================
   BLOG / POSTS
============================================= */
.blog-section { background: var(--aqua-mist); }

.blog-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.category-sidebar {
  flex: 0 0 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.category-sidebar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.category-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-sidebar li { margin-bottom: 8px; }

.category-sidebar ul.children {
  list-style: none;
  padding-left: 6px;
  margin-top: 6px;
}

.category-sidebar ul.children li::before {
  content: "\2014\0020";
  color: var(--ink-light);
}

.category-sidebar a {
  font-size: 0.85rem;
  color: var(--ocean-mid);
  text-decoration: none;
}

.category-sidebar a:hover { color: var(--aqua); text-decoration: underline; }

.category-count {
  color: var(--ink-light);
  font-size: 0.78rem;
  margin-left: 2px;
}

.blog-main { flex: 1; min-width: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}

@media screen and (max-width: 900px) {
  .blog-layout { flex-direction: column; }
  .category-sidebar { flex: 1 1 auto; width: 100%; }
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.blog-card-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card:first-child .blog-card-img { height: 230px; }

.blog-card-body { padding: 20px; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 7px;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 9px;
}
.blog-card:first-child .blog-title { font-size: 1.45rem; }
.blog-excerpt { font-size: 0.81rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 14px; }
.blog-meta {
  font-size: 0.74rem;
  color: var(--sand-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-meta::before { content: ''; display: block; width: 18px; height: 1px; background: var(--sand-dark); }

/* WordPress standard post classes */
.entry-header { margin-bottom: 24px; }
.entry-title { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1.25; }
.entry-content { max-width: 760px; line-height: 1.8; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin: 1.8em 0 0.6em; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin: 1.5em 0 0.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.5em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--aqua); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--aqua);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--aqua-mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-mid);
}

/* =============================================
   SINGLE POST / PAGE LAYOUT
============================================= */
.single-content-wrap,
.page-content-wrap {
  padding: 48px;
  max-width: 900px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--navy);
  padding: 52px 48px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-top: 3px solid var(--navy-mid);
}

.footer-logo { margin-bottom: 14px; }
.footer-tagline { font-size: 0.84rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  background: #111f30;
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: rgba(255,255,255,0.42); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   WORDPRESS ADMIN BAR OFFSET
============================================= */
.admin-bar .site-header { top: 32px; }
.admin-bar .ad-sidebar { top: calc(97px + 32px); }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.pricing-card { animation: fadeUp 0.5s ease both; }
.pricing-card:nth-child(1) { animation-delay: 0.05s; }
.pricing-card:nth-child(2) { animation-delay: 0.15s; }
.pricing-card:nth-child(3) { animation-delay: 0.25s; }
.blog-card { animation: fadeUp 0.5s ease both; }
.blog-card:nth-child(1) { animation-delay: 0.08s; }
.blog-card:nth-child(2) { animation-delay: 0.18s; }
.blog-card:nth-child(3) { animation-delay: 0.28s; }

/* =============================================
   UTILITY
============================================= */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}


/* =============================================
   COMPONENT STYLES
   Ported from astra-child. Repalettized to the
   navy/aqua/sand system. Colors that were the
   old WordPress admin blue (#0073aa) now use
   --ocean-mid; greens use --aqua.
============================================= */

/* --- LEGACY TABLE (.main-data-table) ---
   Used by the old listing renderer. Retained
   for compatibility; the current system uses
   .listing-table via page-listing.css instead. */

.main-data-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 20px;
    border: none;
}

.main-data-table th,
.main-data-table td {
    border: none;
    max-width: 400px;
    word-wrap: break-word;
    padding: 10px;
    text-align: center;
    vertical-align: top;
}

.main-data-table th {
    background-color: var(--aqua-light);
    font-weight: bold;
}

.main-data-table tr {
    border-bottom: 1px solid var(--rule);
}

.main-data-table tr:nth-child(even) {
    background-color: var(--aqua-mist);
}

.main-data-table tr:nth-child(odd) {
    background-color: var(--white);
}

.main-data-price {
    font-size: 14px;
    font-weight: bolder;
    color: var(--aqua);
}

.main-data-days {
    font-size: 14px;
    font-weight: bolder;
    color: var(--ocean-mid);
}

.main-data-date {
    font-size: 12px;
    font-weight: lighter;
    color: var(--ocean-mid);
}

.main-data-pocs {
    font-size: 12px;
    font-weight: lighter;
    color: var(--ink);
}

.main-data-table a {
    color: var(--ocean-mid);
    text-decoration: none;
}

.main-data-table a:hover {
    text-decoration: underline;
}

.main-data-table th a {
    display: inline-flex;
    align-items: center;
}

.main-data-table th a::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid var(--ocean-mid);
}

.main-data-table th a.asc::after {
    border-bottom: none;
    border-top: 4px solid var(--ocean-mid);
}

.main-data-table th a.desc::after {
    border-bottom: 4px solid var(--ocean-mid);
}

.list-wrapper {
    display: block;
    width: 100%;
}

.list-wrapper .list-table {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.list-wrapper .list-table table {
    display: table !important;
    width: 100%;
    border-collapse: collapse;
}

.list-wrapper .list-table td,
.list-wrapper .list-table th {
    padding: 5px;
    border-bottom: 1px solid var(--rule);
    text-align: center;
}

.list-wrapper .list-table a sup {
    margin-left: 0.25em;
    color: var(--coral);
    cursor: pointer;
    text-decoration: none;
}

.list-wrapper .list-table a:hover sup {
    color: var(--coral-light);
    text-decoration: underline;
}

.list-wrapper a.asc::after  { content: " ↑"; font-weight: bold; }
.list-wrapper a.desc::after { content: " ↓"; font-weight: bold; }

.list-wrapper .breadcrumb-bar {
    margin-bottom: 8px;
}

.list-wrapper .breadcrumb-pill {
    display: inline-block;
    background-color: var(--sand);
    border-radius: 16px;
    padding: 4px 10px;
    margin-right: 6px;
    font-size: 14px;
}

.list-wrapper .breadcrumb-pill .remove-pill {
    color: var(--coral);
    text-decoration: none;
    margin-left: 6px;
    font-weight: bold;
}

.list-wrapper .breadcrumb-pill .remove-pill:hover {
    color: var(--coral-light);
}

/* --- CHANNEL PAGE --- */

.channel-page-content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.channel-page-text {
  flex: 1 1 60%;
}

.channel-page-logo {
  flex: 0 0 200px;
  max-width: 200px;
}

.channel-page-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.channel-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.channel-video-grid-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.channel-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.channel-card {
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: box-shadow 0.2s ease;
  background: #fff;
}

.channel-card:hover {
  box-shadow: var(--shadow-hover);
}

.channel-logo img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem auto;
}

.channel-title {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}

/* --- CRUISE LINE DETAIL PAGE (single-cline) --- */

ul.ship-grid {
  columns: 3 250px;
  column-gap: 1.5rem;
  padding: 0;
  margin: 2em 0;
  list-style: none;
}

.ship-tile {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  background-color: var(--sand);
}

.ship-tile-link {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.ship-tile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.ship-tile-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px;
  background-color: rgba(27, 58, 92, 0.65);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}

/* --- CRUISE LINE INDEX GRID (page-clines-grid) --- */

.cline-grid-wrapper {
  padding: 2rem 1rem;
}

.cline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cline-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--white);
  transition: transform 0.3s ease;
}

.cline-tile:hover {
  transform: scale(1.03);
}

.cline-tile-link {
  display: block;
  height: 100%;
  width: 100%;
}

.cline-tile-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* --- VIDEO SINGLE LAYOUT --- */

.ct-video-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 32px 48px;
}

.ct-video-main {
  flex: 1 1 auto;
  min-width: 0;
}

.ct-video-main h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.youtube-video {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ct-video-sidebar {
  flex: 0 0 200px;
  width: 200px;
}

.ct-video-sidebar h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 12px;
}

/* --- SHARED CONTENT WRAPPER for single-cline, single-channel, page-clines-grid --- */

.ct-content-section {
  padding: 32px 48px 64px;
}
