/* Antarctica Honeymoon Package Guide - base stylesheet */

:root {
  --navy: #1a2744;
  --navy-dark: #101a2e;
  --gold: #c9a96e;
  --gold-dark: #a3814f;
  --cream: #faf6f0;
  --ink: #23272f;
  --white: #ffffff;
  --line: #e7e2d9;
  --shadow: 0 4px 22px rgba(26, 39, 68, 0.09);
  --shadow-sm: 0 2px 10px rgba(26, 39, 68, 0.08);
  --radius: 10px;
  --content-max: 1120px;
  --prose-max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  margin: 0.2em 0 0.35em;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.65rem;
  margin-top: 2.6em;
  margin-bottom: 0.7em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid var(--gold);
  scroll-margin-top: 90px;
}

h3 {
  font-size: 1.18rem;
  margin-top: 1.8em;
  color: var(--navy);
  scroll-margin-top: 90px;
}

a {
  color: #8a6d3b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--gold-dark);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.9em 1.5em;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header .header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

.site-header .brand {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  letter-spacing: 0.01em;
}

.brand-mark {
  color: var(--gold);
  flex-shrink: 0;
}

.site-header nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 1.3em;
  font-size: 0.92rem;
  opacity: 0.9;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}

.site-header nav a:hover {
  color: var(--white);
  opacity: 1;
  border-color: var(--gold);
}

/* ---------- Main layout ---------- */

main {
  display: block;
}

.page-content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5em 4em;
}

.page-content > * {
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
}

.page-content > h2,
.page-content > h3 {
  max-width: var(--prose-max);
}

p {
  margin: 1em 0;
}

/* ---------- Article head / byline ---------- */

.article-head {
  padding-top: 2.2em;
  text-align: center;
}

.article-head-inner {
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 0.7em;
}

.byline {
  font-size: 0.88rem;
  color: #767b87;
  margin: 0.6em 0 0;
  font-style: italic;
}

.simple-head h1 {
  text-align: center;
}

.page-content > h1:first-child {
  margin-top: 1.3em;
}

/* ---------- Hero + in-article photos ---------- */

.hero-photo,
.photo-break {
  margin: 2.2em auto;
}

.hero-photo img,
.photo-break img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-break img {
  height: 380px;
}

.obj-bottom {
  object-position: bottom;
}

.hero-photo figcaption,
.photo-break figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #767b87;
  font-style: italic;
  margin-top: 0.6em;
}

/* ---------- Jump to section (TOC) ---------- */

.toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6em 1.8em;
  margin: 2em auto 2.4em;
}

.toc-inner {
  max-width: 940px;
  margin: 0 auto;
}

.toc-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8em;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55em 2em;
}

.toc a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.96rem;
}

.toc a::before {
  content: "\2192";
  color: var(--gold-dark);
  margin-right: 0.55em;
}

.toc a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ---------- Callouts ---------- */

.callout {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 2px 8px 8px 2px;
  padding: 1.2em 1.4em;
  margin: 1.8em auto;
  box-shadow: var(--shadow-sm);
}

.callout h3, .callout p {
  margin: 0.3em 0;
}

.callout ul {
  margin: 0.4em 0 0.2em;
  padding-left: 1.2em;
}

/* ---------- Tables ---------- */

.table-scroll {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.92rem;
}

caption {
  text-align: left;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4em;
  font-style: italic;
}

th, td {
  border: 1px solid #ddd;
  padding: 0.6em 0.7em;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, serif;
  font-weight: normal;
}

tbody tr:nth-child(even) {
  background: #fbfbfb;
}

tbody tr:hover {
  background: #f3ece0;
}

/* ---------- Two column include/exclude ---------- */

.two-col {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  margin: 1.4em auto;
}

.two-col > div {
  flex: 1 1 220px;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 2px 8px 8px 2px;
  padding: 1.1em 1.3em;
  box-shadow: var(--shadow-sm);
}

.two-col h3 {
  margin-top: 0;
  font-size: 1rem;
}

.two-col ul {
  padding-left: 1.2em;
  margin: 0.4em 0;
}

/* ---------- Add-ons list ---------- */

.addons-list {
  list-style: none;
  padding: 0;
  margin: 1.2em auto;
}

.addons-list li {
  padding: 0.55em 0.2em;
  border-bottom: 1px solid #eee;
}

/* ---------- Operator list ---------- */

.operator-list {
  list-style: none;
  padding: 0;
  margin: 1.4em auto;
  counter-reset: operator;
}

.operator-item {
  display: flex;
  gap: 1em;
  padding: 1.2em 0;
  border-bottom: 1px solid var(--line);
}

.operator-item:first-child {
  padding-top: 0.4em;
}

.operator-item.operator-item--featured {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 2px 8px 8px 2px;
  padding: 1.2em 1.4em;
  margin-bottom: 0.4em;
  box-shadow: var(--shadow-sm);
}

.operator-rank {
  counter-increment: operator;
  flex-shrink: 0;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-item__top {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  flex-wrap: wrap;
}

.operator-item__name {
  font-family: Georgia, serif;
  font-weight: bold;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0;
}

.operator-item__badge {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.operator-item__desc {
  margin: 0.4em 0 0.5em;
}

.operator-item__link {
  font-size: 0.92rem;
}

/* ---------- Route map ---------- */

.route-map {
  margin: 1.4em auto;
  text-align: center;
}

.route-map svg {
  max-width: 100%;
  height: auto;
}

.route-map figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5em;
  font-style: italic;
}

ol.steps li, ol.itinerary li {
  margin-bottom: 0.6em;
}

.verify-note {
  font-size: 0.85rem;
  color: #6b6b6b;
  font-style: italic;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.4em 2em;
  margin: 3em auto 2.4em;
  text-align: center;
}

.cta-band-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-icon {
  color: var(--gold-dark);
  margin-bottom: 0.4em;
}

.cta-band h2 {
  border-bottom: none;
  margin-top: 0.3em;
  padding-bottom: 0;
}

.cta-band p {
  font-size: 1.02rem;
}

/* ---------- Continue reading cards ---------- */

.continue-reading {
  margin-top: 3em;
  padding-top: 2.4em;
  border-top: 1px solid var(--line);
}

.continue-reading-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 1em;
  text-align: center;
}

.continue-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3em;
  max-width: var(--content-max);
}

.cr-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4em 1.3em;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}

.cr-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--ink);
}

.cr-card .cr-icon {
  color: var(--gold-dark);
  margin-bottom: 0.5em;
}

.cr-card h3 {
  margin: 0 0 0.3em;
  font-size: 1.02rem;
}

.cr-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a5f6a;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #cfd3dc;
  padding: 2.6em 1.5em 2em;
  font-size: 0.88rem;
  border-top: 3px solid var(--gold);
}

.site-footer .footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.2em;
  padding-bottom: 1.6em;
  margin-bottom: 1.4em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-brand .brand-mark {
  color: var(--gold);
}

.footer-top nav a {
  margin-right: 1.2em;
}

.site-footer a {
  color: #cfd3dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer nav a {
  margin-right: 1.2em;
}

.footer-note {
  max-width: 760px;
  margin: 0;
  color: #9aa0ad;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .continue-reading-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .two-col {
    flex-direction: column;
  }

  .site-header .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav a {
    margin-left: 0;
    margin-right: 1.1em;
  }

  .hero-photo img {
    height: 300px;
    border-radius: 6px;
  }

  .photo-break img {
    height: 240px;
    border-radius: 6px;
  }

  .toc ul {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.8em 1.3em;
  }

  .footer-top {
    flex-direction: column;
  }

  table {
    font-size: 0.85rem;
  }
}
