/* Antarctica Cruise Age Limit - shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --header-footer: #0d1b2e;
  --header-footer-2: #142c46;
  --accent: #4a9eca;
  --accent-dark: #2d7fa8;
  --ice: #eaf3fa;
  --callout-bg: #f0f7fc;
  --table-alt: #f7f9fb;
  --text: #1c2733;
  --text-light: #4b5a6a;
  --border: #dde5ec;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(13, 27, 46, 0.08);
  --shadow-lg: 0 18px 44px rgba(13, 27, 46, 0.22);
  --font-display: "Playfair Display", Georgia, serif;
  --font-ui: "Inter", Arial, Helvetica, sans-serif;
  --font-body: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
header.site-header {
  background: var(--header-footer);
  color: #ffffff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

header.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand svg {
  flex-shrink: 0;
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav.site-nav a {
  font-family: var(--font-ui);
  color: #cfe3f0;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.site-nav a:hover,
nav.site-nav a:focus {
  color: #ffffff;
  border-color: var(--accent);
}

/* Page hero */
.page-hero {
  position: relative;
  color: #ffffff;
  background: var(--header-footer);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 30, 0.55) 0%, rgba(9, 18, 30, 0.72) 60%, rgba(9, 18, 30, 0.88) 100%);
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 24px 56px;
}

.page-hero.hero-compact .hero-inner {
  padding: 48px 24px 40px;
}

.page-hero .breadcrumb {
  color: #cfe3f0;
  margin: 0 0 14px;
}

.page-hero .breadcrumb a {
  color: #cfe3f0;
}

.page-hero h1 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 820px;
}

.page-hero.hero-compact h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-hero .lede {
  color: #e4eef5;
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0;
}

/* Trust strip under homepage hero */
.trust-strip {
  background: var(--header-footer-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce9f2;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Breadcrumb (non-hero pages) */
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 18px 0 0;
}

.breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  padding: 0 0 56px;
}

h1 {
  font-family: var(--font-ui);
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--header-footer);
  margin: 18px 0 10px;
}

h2 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--header-footer);
  margin: 46px 0 14px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  scroll-margin-top: 90px;
}

h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--header-footer);
  margin: 28px 0 10px;
  scroll-margin-top: 90px;
}

p {
  margin: 0 0 16px;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-light);
}

main .lede {
  margin-top: 18px;
}

a {
  color: var(--accent-dark);
}

ul, ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

/* Table of contents */
.toc {
  background: var(--callout-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0 40px;
}

.toc-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 20px;
  counter-reset: toc;
}

.toc li {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

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

/* Content figures */
figure.content-figure {
  margin: 28px 0;
}

figure.content-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figure.content-figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}

/* Callout blocks */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--callout-bg);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.callout h4 {
  font-family: var(--font-ui);
  margin: 0 0 10px;
  color: var(--header-footer);
  font-size: 1rem;
  font-weight: 700;
}

.callout p:last-child,
.callout ul:last-child,
.callout ol:last-child {
  margin-bottom: 0;
}

/* Age tier cards */
.age-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.guide-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0 36px;
}

.guide-link-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.guide-link-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.guide-link-item h3 a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.guide-link-item h3 a:hover {
  color: var(--accent-dark);
}

.guide-link-item p {
  margin: 0;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.age-tier {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.age-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.age-tier .tier-icon {
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.age-tier h4 {
  font-family: var(--font-ui);
  margin: 0 0 10px;
  color: var(--header-footer);
  font-size: 1.05rem;
  font-weight: 700;
}

.age-tier ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.age-tier li {
  font-size: 0.92rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

caption {
  text-align: left;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  caption-side: top;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
}

th {
  background: var(--header-footer);
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
}

tbody tr:nth-child(even) {
  background: var(--table-alt);
}

.table-disclaimer {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 6px;
}

/* Myth vs Fact table */
.myth-fact th:first-child,
.myth-fact td:first-child {
  width: 28%;
  font-weight: 600;
  font-family: var(--font-ui);
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 20px var(--accent);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* Illustration (legacy inline SVG figures) */
.illustration {
  margin: 24px 0;
  text-align: center;
}

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

.illustration figcaption {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* FAQ page */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h2 {
  font-size: 1.15rem;
  border-bottom: none;
  margin: 0 0 8px;
  padding-bottom: 0;
}

/* About page */
.about-block {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 32px 0;
}

.about-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 260px;
  flex-shrink: 0;
}

/* Footer */
footer.site-footer {
  background: var(--header-footer);
  color: #b9c8d6;
  padding: 44px 0 26px;
  margin-top: 40px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
}

footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer.site-footer .footer-brand {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
}

footer.site-footer .footer-col h5 {
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

footer.site-footer a:hover {
  text-decoration: underline;
}

footer.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-disclaimer {
  color: #8ea0b3;
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 22px 0 0;
}

.footer-credit {
  color: #6d829a;
  font-size: 0.78rem;
  margin: 10px 0 0;
}

/* Mobile */
@media (max-width: 860px) {
  footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

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

  nav.site-nav ul {
    gap: 14px;
    flex-wrap: wrap;
  }

  .page-hero .hero-inner {
    padding: 48px 20px 36px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .page-hero.hero-compact h1 {
    font-size: 1.6rem;
  }

  .trust-strip .container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .toc ol {
    columns: 1;
  }

  .age-tiers {
    grid-template-columns: 1fr;
  }

  .guide-links {
    grid-template-columns: 1fr;
  }

  .about-block {
    flex-direction: column;
  }

  .about-block img {
    width: 100%;
  }

  table {
    min-width: 480px;
  }

  footer.site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
