/* ============================================================
   best-antarctica-cruise-operators.css
   Page-specific styles for the ranking page
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,15,26,.80) 0%,
    rgba(8,15,26,.55) 45%,
    rgba(8,15,26,.80) 100%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 3rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-400);
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 780px;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-300);
}
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 2.25rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 3rem;
}

/* Hero video */
.hero__video-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  padding-bottom: 3rem;
}
.hero__video-container {
  max-width: 720px;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Trust badges */
.trust-badges {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.trust-badges__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.trust-badge__icon { font-size: 1.1rem; }
@media (min-width: 768px) {
  .trust-badges__inner { justify-content: flex-start; }
}

/* ── How We Rank ── */
.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.criteria-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.criteria-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.criteria-card__icon { font-size: 1.75rem; margin-bottom: .75rem; }
.criteria-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: .4rem;
}
.criteria-card__desc { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }
@media (min-width: 768px) {
  .criteria-grid { grid-template-columns: repeat(4, 1fr); }
}

.iaato-callout {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--gold-500);
}
.iaato-callout__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-300);
  margin-bottom: .75rem;
}
.iaato-callout p { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.65; }
.iaato-callout a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }

/* ── Comparison Table ── */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  background: var(--white);
  min-width: 860px;
}
.comparison-table thead {
  background: var(--navy-900);
  color: var(--white);
}
.comparison-table th {
  padding: .9rem 1rem;
  text-align: left;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.comparison-table th:first-child { width: 36px; min-width: 36px; }
.comparison-table th:nth-child(2) { min-width: 170px; }
.comparison-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: middle;
  color: var(--text);
}
.comparison-table tbody tr:hover { background: var(--grey-50); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .rank-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--grey-300);
}
.comparison-table .op-name {
  font-weight: 700;
  color: var(--navy-800);
}
.comparison-table .op-name a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.comparison-table .op-name a:hover { color: var(--gold-500); }
.cat-badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cat-badge--expedition { background: #E8F0FA; color: #1D4FA0; }
.cat-badge--luxury { background: var(--gold-100); color: #7A5519; }
.cat-badge--midrange { background: #EAF5EA; color: #1A6B33; }
.cat-badge--niche { background: #F0EAF8; color: #5A2D8C; }
.iaato-check { color: #1E8240; font-weight: 700; }
.table-highlight { font-size: .8rem; color: var(--text-muted); }

/* Poseidon row highlight */
.comparison-table .row--poseidon td {
  background: linear-gradient(90deg, rgba(196,154,60,.08) 0%, transparent 100%);
}
.comparison-table .row--poseidon .op-name { color: var(--gold-500); }

/* ── Category sections ── */
.category-section { padding: 4.5rem 0; }
.category-section + .category-section {
  border-top: 1px solid var(--grey-100);
}
.category-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.category-heading h2 {
  color: var(--navy-900);
}
.category-intro {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* ── Operator Cards (full) ── */
.operator-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.operator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.operator-card:hover { box-shadow: var(--shadow-lg); }

/* Card image */
.operator-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--navy-800);
}
.operator-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.operator-card:hover .operator-card__image img {
  transform: scale(1.025);
}
/* CSS placeholder for operators without photos */
.operator-card__placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
}
.operator-card__placeholder-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-400);
  opacity: .6;
  line-height: 1;
}
.operator-card__placeholder-icon {
  font-size: 2rem;
  opacity: .25;
}

/* Rank badge */
.rank-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-400);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-500);
  z-index: 2;
}
.editor-choice-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: 'Nunito Sans', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 100px;
  z-index: 2;
}

/* Card body */
.operator-card__body { padding: 1.75rem; }
.operator-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.operator-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--navy-900);
  margin-bottom: .15rem;
}
.operator-card__ship {
  font-size: .85rem;
  color: var(--text-muted);
}
.operator-card__ship strong { color: var(--text); }
.operator-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-100);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.spec-item strong { color: var(--text); font-weight: 700; }
.spec-item__icon { font-size: .9rem; }
.operator-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.operator-card__verdict {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.operator-card__why {
  background: var(--grey-50);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.operator-card__why h5 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: .5rem;
}
.operator-card__why ul { display: flex; flex-direction: column; gap: .3rem; }
.operator-card__why li {
  font-size: .875rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}
.operator-card__why li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
  font-size: .75rem;
}
.operator-card__activities {
  margin-bottom: 1.25rem;
}
.operator-card__activities h5 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .5rem;
}
.operator-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grey-100);
}
.operator-card__best-for {
  font-size: .82rem;
  color: var(--text-muted);
}
.operator-card__best-for strong {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: .2rem;
}

/* Horizontal layout — only for cards WITH images */
@media (min-width: 640px) {
  .operator-card--with-image {
    display: grid;
    grid-template-columns: 320px 1fr;
  }
  .operator-card--with-image .operator-card__image {
    aspect-ratio: unset;
    height: 100%;
    min-height: 300px;
    max-height: 480px;
    overflow: hidden;
  }
  .operator-card--with-image .operator-card__body {
    padding: 1.75rem 2rem;
  }
}
@media (min-width: 900px) {
  .operator-card--with-image {
    grid-template-columns: 420px 1fr;
  }
  .operator-card--with-image .operator-card__image {
    min-height: 340px;
    max-height: 520px;
  }
  .operator-card--with-image .operator-card__body {
    padding: 2rem 2.25rem;
  }
}

/* ── Condensed cards (mid-range + niche) ── */
.operator-cards--condensed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.operator-card--condensed {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: var(--transition);
}
.operator-card--condensed:hover { box-shadow: var(--shadow-md); }
.operator-card--condensed .operator-card__image {
  aspect-ratio: 16/9;
}
.operator-card--condensed .operator-card__placeholder {
  aspect-ratio: 16/9;
}
.operator-card--condensed .operator-card__placeholder-initials {
  font-size: 2.5rem;
}
.operator-card--condensed .operator-card__body {
  padding: 1.25rem 1.5rem;
}
.operator-card--condensed .operator-card__name {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}
.operator-card--condensed .operator-card__verdict {
  font-size: .875rem;
  margin-bottom: .75rem;
}
@media (min-width: 640px) {
  .operator-cards--condensed { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .operator-card--condensed.operator-card--with-image-condensed,
  .operator-card--condensed:has(.operator-card__image) {
    grid-template-columns: 260px 1fr;
  }
  .operator-card--condensed .operator-card__image {
    aspect-ratio: unset;
    min-height: 200px;
    height: 100%;
  }
}

/* ── Decision Framework / Tree ── */
.decision-tree {
  margin-top: 2.5rem;
}
.decision-tree__intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .95rem;
}
.decision-fork {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.decision-fork__question {
  background: var(--navy-800);
  color: var(--white);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.decision-fork__question h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-300);
  margin: 0;
}
.decision-fork__question .fork-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.decision-fork__branches {
  display: grid;
  grid-template-columns: 1fr;
}
.decision-branch {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--grey-100);
}
.decision-branch__label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .3rem;
}
.decision-branch--yes .decision-branch__label { color: #1E8240; }
.decision-branch--no .decision-branch__label { color: #C0392B; }
.decision-branch__answer {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.6;
}
.decision-branch__answer strong { color: var(--navy-700); }
@media (min-width: 640px) {
  .decision-fork__branches { grid-template-columns: 1fr 1fr; }
  .decision-branch { border-left: 1px solid var(--grey-100); border-top: none; }
  .decision-branch:first-child { border-left: none; border-top: none; }
}

/* ── Key Facts / Info Cards ── */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.info-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: .35rem;
}
.info-card__text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@media (min-width: 640px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .info-cards { grid-template-columns: repeat(4, 1fr); } }

/* ── FAQ ── */
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
details.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
details.faq-item[open] {
  border-color: var(--grey-200);
  box-shadow: var(--shadow-sm);
}
summary.faq-item__question {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-900);
  user-select: none;
  transition: var(--transition);
}
summary.faq-item__question:hover { background: var(--grey-50); }
summary.faq-item__question::-webkit-details-marker { display: none; }
summary.faq-item__question h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-900);
  margin: 0;
  flex: 1;
  line-height: 1.35;
}
.faq-item__toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  font-style: normal;
  transition: var(--transition);
}
details[open] .faq-item__toggle {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(45deg);
}
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item__answer p + p { margin-top: .75rem; }
.faq-item__answer strong { color: var(--text); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(196,154,60,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--white);
  margin-bottom: .75rem;
  position: relative;
}
.cta-banner__subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  position: relative;
}
.cta-banner__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  position: relative;
}

/* ── Eeat page styles ── */
.eeat-page { padding: 4rem 0 5rem; }
.eeat-page h1 { margin-bottom: 1.5rem; }
.eeat-page h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.eeat-page h3 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
.eeat-page p { margin-bottom: 1rem; color: var(--text); }
.eeat-page ul, .eeat-page ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.eeat-page li { margin-bottom: .35rem; font-size: .95rem; }
.scoring-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 1.5rem 0;
}
.scoring-table th, .scoring-table td {
  padding: .75rem 1rem;
  border: 1px solid var(--grey-100);
  text-align: left;
}
.scoring-table thead { background: var(--grey-50); }
.scoring-table th { font-weight: 700; color: var(--navy-800); }
.contact-info {
  background: var(--grey-50);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.contact-info p { margin: 0; }
