/* ==========================================================================
   best-time-for-hawaii-helicopter-tour.html — page-only components.
   Loaded after styles.css; uses its tokens (--c-*, --font-*, --w-read).
   ========================================================================== */

/* ---------- Article head (no photo hero on this page) ---------- */
.article-head {
  background: var(--c-cream);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 3vw, 1.75rem);
}
.article-head .container { max-width: var(--w-read); }
.article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--c-charcoal);
  margin: 0.4rem 0 1rem;
}
.article-head .eyebrow { color: var(--c-primary-deep); }
.article-lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--c-charcoal);
  margin: 0 0 0.9rem;
}
.article-lede a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-head .breadcrumb ol { padding: 0; margin: 0 0 0.6rem; }
.article-head .breadcrumb a { color: var(--c-primary); }
.article-head .breadcrumb li,
.article-head .breadcrumb [aria-current] { color: var(--c-charcoal-mute); }

/* Deck paragraphs inside the site's photo hero: the device link inherits the
   deck's own cream colour and keeps an underline, so it reads as a link on
   the dark overlay instead of as dimmed prose. */
.hero .hero-lede + .hero-lede { margin-top: -0.4rem; }
.hero .hero-lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hero .hero-lede a:hover { color: var(--c-accent-bright); }

/* ---------- Answer box ---------- */
.bt-wrap { max-width: var(--w-read); margin: 0 auto; }
.guide-answer {
  background: var(--c-white);
  border: 1px solid var(--c-travertine);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.guide-answer__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-deep);
  margin: 0 0 0.6rem;
}
.guide-answer__text {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--c-charcoal);
  margin: 0 0 0.9rem;
}
.guide-answer__decide { margin: 1.3rem 0 0; padding: 0; border-top: 1px solid var(--c-travertine); }
.guide-answer__decide > div {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.2rem 1.2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-travertine);
}
.guide-answer__decide dt { font-weight: 600; color: var(--c-charcoal); }
.guide-answer__decide dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-primary-deep);
}
ul.guide-answer__figures { list-style: none; margin: 1.1rem 0 0; padding: 0; font-size: 0.9rem; }
ul.guide-answer__figures li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--c-travertine);
  margin: 0;
}
ul.guide-answer__figures span { color: var(--c-charcoal-mute); }
ul.guide-answer__figures strong { color: var(--c-charcoal); font-weight: 700; }
.guide-answer__cta { margin-top: 1.3rem; }
@media (max-width: 560px) {
  .guide-answer { padding: 1.2rem 1rem 1.3rem; }
  .guide-answer__decide > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contents ---------- */
.guide-toc {
  margin: 1.8rem 0 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--c-travertine);
  border-radius: var(--radius-md);
  background: var(--c-white);
}
.guide-toc h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }
.guide-toc ol { margin: 0; padding-left: 1.2rem; columns: 2 15rem; column-gap: 2rem; }
.guide-toc li { font-size: 0.95rem; margin-bottom: 0.3rem; break-inside: avoid; }
.guide-toc a { color: var(--c-primary); }

/* ---------- Prose body ---------- */
.prose { max-width: var(--w-read); margin: 0 auto; }
.prose > h2 { margin-top: 2.4rem; }
.prose > h3 { margin-top: 1.7rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.03rem; line-height: 1.75; color: var(--c-charcoal); }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.section-head--prose { max-width: var(--w-read); margin: 0 auto 1rem; text-align: left; }
.bare-widget { max-width: var(--w-read); margin: 1.6rem auto 0; }
.auto-widget { max-width: 1100px; margin: 1.4rem auto 0; }

/* ---------- Tables ---------- */
.month-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; background: var(--c-white); }
.cmp-table caption { text-align: left; font-size: 0.85rem; color: var(--c-charcoal-mute); margin-bottom: 0.7rem; font-style: italic; }
.cmp-table th, .cmp-table td { padding: 0.7rem 0.8rem; text-align: left; border-bottom: 1px solid var(--c-travertine); vertical-align: top; line-height: 1.5; }
.cmp-table thead th { background: var(--c-olive); color: var(--c-cream); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; }
.cmp-table tbody th { font-weight: 700; color: var(--c-charcoal); }
.cmp-table tbody tr:nth-child(even) { background: var(--c-cream-soft); }
.source-list li { font-size: 0.95rem; }

/* ---------- Date checker (cvd) ---------- */
.cvd-card {
  max-width: var(--w-read);
  margin: 1.2rem auto 0;
  background: var(--c-white);
  border: 1px solid var(--c-travertine);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.cvd-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.8rem 1.2rem; margin-bottom: 1rem; }
.cvd-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cvd-field label { font-weight: 700; color: var(--c-charcoal); font-size: 0.95rem; }
.cvd-input, .cvd-select {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--c-charcoal-mute);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-charcoal);
  min-height: 44px;
  max-width: 100%;
}
.cvd-verdict {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.4vw, 1.3rem);
  font-weight: 700;
  color: var(--c-charcoal);
  margin: 0 0 1rem;
}
.cvd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.6rem; margin: 0 0 1.1rem; padding: 0; }
.cvd-fact { background: var(--c-cream-soft); padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); }
.cvd-fact dt { font-size: 0.76rem; color: var(--c-charcoal-mute); text-transform: uppercase; letter-spacing: 0.05em; }
.cvd-fact dd { margin: 0.15rem 0 0; font-weight: 700; color: var(--c-charcoal); font-size: 0.97rem; }
.cvd-detail p { font-size: 0.98rem; line-height: 1.65; margin: 0 0 0.7rem; }
.cvd-basis { font-size: 0.85rem; color: var(--c-charcoal-mute); font-style: italic; margin: 0.4rem 0 1.1rem; }
.cvd-card[data-state="loading"] .cvd-basis::after { content: " Checking the live forecast..."; }
.cvd-links { font-size: 0.9rem; margin: 0 0 1rem; }
.cvd-links a { color: var(--c-primary); }

.bt-page a.btn, .bt-page a.btn:hover { text-decoration: none; }
