/* Charter guides + FAQ — editorial long-form pages */

/* ── Hero (shorter variant of the shared .hero) ──────────── */
.hero-guide { min-height: 540px; height: 62vh; max-height: 680px; }
.hero-guide::after {
  background: linear-gradient(90deg, rgba(10,22,34,0.72) 0%, rgba(10,22,34,0.42) 50%, rgba(10,22,34,0.08) 85%);
}
.hero-guide .hero-content { padding-top: 80px; padding-bottom: 80px; }
.hero-guide .hero-content h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  max-width: 20ch;
  text-wrap: balance;
}
.hero-guide .hero-content p { margin-bottom: 0; max-width: 52ch; }
.guide-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font: 600 11px/1 var(--ff-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 22px;
}
.guide-crumbs > * { white-space: nowrap; }
.guide-crumbs a { color: rgba(255,255,255,0.8); transition: color .3s ease; }
.guide-crumbs a:hover { color: #fff; }
.guide-crumbs span[aria-hidden] { opacity: 0.5; }

/* ── Layout: sticky contents rail + article ──────────────── */
.guide { padding: 90px 0 100px; }
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 120px;
  display: flex; flex-direction: column; gap: 4px;
}
.guide-toc ol { list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.guide-toc li a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 1.5px solid transparent;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color .3s ease, border-color .3s ease;
}
.guide-toc li a:hover { color: var(--ink); border-left-color: var(--cyan); }
.guide-toc .btn { margin-top: 28px; align-self: flex-start; padding: 12px 22px; font-size: 13px; }

.guide-body { max-width: 740px; }
.guide-body > h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 72px 0 18px;
  scroll-margin-top: 120px;
  text-wrap: balance;
}
.guide-body > h2:first-child { margin-top: 0; }
.guide-body p { font-size: 17px; line-height: 1.75; max-width: none; }
.guide-body p a, .guide-note a { color: var(--cyan); font-weight: 600; }
.guide-body p a:hover, .guide-note a:hover { text-decoration: underline; }
.guide-intro {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

/* Key answer callout — pastel panel */
.guide-answer {
  background: var(--blue-soft);
  border-radius: var(--r-card);
  padding: 44px 48px;
  margin-bottom: 8px;
  scroll-margin-top: 120px;
}
.guide-answer h2 {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 16px;
}
.guide-answer p {
  font-family: var(--ff-display);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.guide-answer strong { font-weight: 600; }

/* Figure break */
.guide-figure { margin: 48px 0 8px; }
.guide-figure .ph { aspect-ratio: 16 / 9; min-height: 0; }
.guide-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--ff-display);
}

/* Factor / point cards — white with hairline border */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 8px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  padding: 28px 28px 26px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s cubic-bezier(.4,0,.2,1);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(15,20,25,0.06); }
.guide-card h3 { font-size: 20px; margin-bottom: 8px; }
.guide-card p { font-size: 15px !important; line-height: 1.65 !important; color: var(--ink-2); }
.guide-card-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cyan);
  display: block;
  margin-bottom: 14px;
}

/* Included vs extra checklists */
.guide-lists {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin: 26px 0 8px;
}
.guide-list {
  border-radius: var(--r-tile);
  padding: 30px 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
}
.guide-list-in { background: var(--blue-softer); border-color: transparent; }
.guide-list .eyebrow { margin-bottom: 16px; }
.guide-list ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.guide-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: 15px; line-height: 1.5; color: var(--ink-2);
}
.guide-list svg {
  width: 18px; height: 18px; margin-top: 1px;
  fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.guide-list-out svg { stroke: var(--muted-2); }

/* Side-by-side cost comparison */
.guide-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 30px;
}
.compare-card {
  border-radius: var(--r-card);
  padding: 32px 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.compare-card-allegra { background: var(--navy); border-color: var(--navy); color: #fff; }
.compare-card .eyebrow { margin-bottom: 8px; }
.compare-card-allegra .eyebrow { color: var(--cyan); }
.compare-card h3 { font-size: 22px; margin-bottom: 20px; }
.compare-card-allegra h3 { color: #fff; }
.compare-rows { display: flex; flex-direction: column; flex: 1; }
.compare-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--ink-2);
}
.compare-row b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-card-allegra .compare-row { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.78); }
.compare-card-allegra .compare-row b { color: #fff; }
.compare-total {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap;
}
.compare-total span { white-space: nowrap; }
.compare-card-allegra .compare-total { border-top-color: rgba(255,255,255,0.2); }
.compare-total span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.compare-card-allegra .compare-total span { color: rgba(255,255,255,0.6); }
.compare-total strong {
  font-family: var(--ff-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.compare-card-allegra .compare-total strong { color: #fff; }

.compare-card > p { font-size: 15px !important; line-height: 1.65 !important; flex: 1; }
.compare-card-allegra > p { color: rgba(255,255,255,0.8); }
.compare-total strong.is-text { font-size: 18px; }
.guide-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-cards-3 .guide-card h3 { font-size: 18px; margin: 0; }

/* Rates table card */
.guide-table-wrap {
  margin: 26px 0 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow-x: auto;
  background: #fff;
}
.guide-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.guide-table th, .guide-table td {
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}
.guide-table thead th {
  font: 600 11px/1.3 var(--ff-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--blue-softer);
  border-bottom-color: var(--line);
}
.guide-table tbody tr:last-child td { border-bottom: none; }
.guide-table td:first-child, .guide-table th:first-child { text-align: left; padding-left: 24px; }
.guide-table td:first-child { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.guide-table td { color: var(--ink-2); }
.guide-table .is-best { color: var(--cyan-700); font-weight: 700; background: rgba(31,182,232,0.06); }
.guide-note { font-size: 14.5px !important; color: var(--muted) !important; }

/* Pull stat */
.guide-stat {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  margin: 30px 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guide-stat-val {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(44px, 5vw, 60px);
  line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.guide-stat-val small { font-size: 0.4em; color: var(--cyan); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.guide-stat p { font-family: var(--ff-display); font-style: italic; font-size: 18px !important; line-height: 1.55 !important; }

/* Sample itinerary timeline */
.guide-route { list-style: none; margin: 26px 0 8px; display: flex; flex-direction: column; }
.guide-route li {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 16px 0; border-top: 1px solid var(--line-2);
}
.guide-route li:last-child { border-bottom: 1px solid var(--line-2); }
.guide-route-day { font: 600 11px/1.6 var(--ff-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.guide-route-place { font-family: var(--ff-display); font-size: 19px; font-weight: 600; color: var(--ink); }
.guide-route-place span { font-family: var(--ff-body); font-size: 14.5px; font-weight: 400; color: var(--muted); margin-left: 8px; }

/* End-of-article CTA */
.guide-end {
  margin-top: 72px;
  padding: 44px 48px;
  border-radius: var(--r-card);
  background: var(--lavender);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.guide-end h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 6px; }
.guide-end p { font-size: 15.5px !important; color: var(--ink-2); }

/* ── Related guides ──────────────────────────────────────── */
.guide-related { padding: 0 0 110px; }
.guide-related-head { margin-bottom: 32px; }
.guide-related-head h2 { font-size: clamp(28px, 3vw, 38px); }
.guide-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-card { display: flex; flex-direction: column; gap: 16px; }
.related-card .ph { aspect-ratio: 4 / 3; min-height: 0; }
.related-card:hover .ph > img { transform: scale(1.04); }
.related-card .eyebrow { margin-bottom: 0; }
.related-card h3 { font-size: 21px; transition: color .3s ease; text-wrap: balance; }
.related-card:hover h3 { color: var(--cyan); }
.related-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2 {
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color .3s ease;
}
.faq-item summary:hover h2 { color: var(--cyan-700); }
.faq-toggle {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.4,0,.2,1);
}
.faq-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--cyan); border-color: var(--cyan); color: #fff; }
.faq-item p { font-size: 16.5px; line-height: 1.75; padding: 0 64px 30px 0; max-width: none; margin-top: -6px; }
.faq-item p a { color: var(--cyan); font-weight: 600; }

.faq-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.faq-aside-card { background: var(--peach); border-radius: var(--r-card); padding: 36px 34px; }
.faq-aside-card h3 { font-size: 24px; margin-bottom: 10px; }
.faq-aside-card p { font-size: 15px; margin-bottom: 22px; }
.faq-aside-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.faq-aside-links a { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color .3s ease; }
.faq-aside-links a:hover { color: var(--cyan-700); }
.faq-aside-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.faq-aside-guides { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 34px; }
.faq-aside-guides a { display: block; padding: 12px 0; border-top: 1px solid var(--line-2); font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--ink); transition: color .3s ease; }
.faq-aside-guides a:first-of-type { border-top: none; }
.faq-aside-guides a:hover { color: var(--cyan); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guide-toc { display: none; }
  .guide-body { margin: 0 auto; justify-self: center; width: 100%; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-guide { min-height: 500px; height: auto; }
  .hero-guide .hero-content { padding-top: 64px; padding-bottom: 56px; }
  .guide { padding: 60px 0 72px; }
  .guide-body > h2 { margin-top: 56px; }
  .guide-answer, .guide-end { padding: 32px 26px; }
  .guide-answer p { font-size: 18px; }
  .guide-cards, .guide-lists, .guide-compare { grid-template-columns: minmax(0, 1fr); }
  .guide-stat { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .guide-related { padding-bottom: 72px; }
  .guide-related-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-aside { grid-template-columns: minmax(0, 1fr); }
  .faq-item p { padding-right: 0; }
}
