/* =====================================================================
   Section-block styles — Terroir Editorial aesthetic.
   These render the imported SECTION-block content (FAQ, comparison,
   process, testimonials, etc.) on inner pages, styled to match the
   Niagara Wine Tour Limo theme's magazine-cover design language:
     - cream paper backgrounds (--paper / --paper-2 / --white)
     - Cormorant serif for display headings (italic emphasis)
     - Inter sans for body
     - warm rust accent (--warm) for eyebrows + links
     - hairline dividers, roman-numeral counters, editorial pacing

   Scoped to .nwtl-page-section + its children to avoid conflicts with
   anything in the core theme's style.css.
   ===================================================================== */

/* All variables come from the parent theme; we just consume them. */

.nwtl-page-section {
  padding: 88px 56px;
  background: var(--paper);
  position: relative;
}
.nwtl-page-section + .nwtl-page-section { border-top: 1px solid var(--line-soft); }
.nwtl-page-section:nth-child(even) { background: var(--paper-2); }
.nwtl-page-section .nwtl-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* Section head — roman numeral + label + serif heading */
.nwtl-section-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px 22px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nwtl-section-head .num,
.nwtl-section-head .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.nwtl-section-head .num { color: var(--warm); }
.nwtl-section-head h2 {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-family: "Cormorant", serif;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nwtl-section-head h2 em {
  font-style: italic;
  color: var(--warm);
}

/* Context strip (subhead) */
.nwtl-context { padding: 40px 56px 28px; background: var(--white); }
.nwtl-context .eyebrow {
  margin-bottom: 14px;
  display: inline-block;
}
.nwtl-deck {
  font-family: "Cormorant", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 820px;
  font-weight: 400;
}

/* ── Bylines / trust strip ─────────────────────────────────────── */
.nwtl-bylines { background: var(--paper-3); padding: 56px 56px; }
.nwtl-bylines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nwtl-byline-cell {
  padding: 22px 18px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.nwtl-byline-cell:first-child { border-left: none; }
.nwtl-byline-cell dt {
  font-family: "Cormorant", serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.nwtl-byline-cell dd {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

/* ── Feature articles (roman-numeraled) ────────────────────────── */
.nwtl-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 48px;
}
.nwtl-feature-card {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.nwtl-feature-ix {
  display: block;
  font-size: 28px;
  color: var(--warm);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1;
}
.nwtl-feature-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.nwtl-feature-card p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* ── Comparison table ─────────────────────────────────────────── */
.nwtl-compare-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.nwtl-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}
.nwtl-compare-table th,
.nwtl-compare-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
}
.nwtl-compare-table thead th {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nwtl-compare-table tbody th {
  font-family: "Cormorant", serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nwtl-compare-table tbody tr:first-child {
  background: var(--white);
}
.nwtl-compare-table tbody tr:first-child th { color: var(--warm); }

/* ── Vehicle tiers ────────────────────────────────────────────── */
.nwtl-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.nwtl-tier {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 28px 26px;
  position: relative;
}
.nwtl-tier-ix {
  display: block;
  font-size: 26px;
  color: var(--warm);
  margin-bottom: 12px;
  line-height: 1;
}
.nwtl-tier h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nwtl-tier-cap {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.nwtl-tier-ideal {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 14px;
  line-height: 1.4;
}
.nwtl-tier-marker {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 600;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* ── Process / itinerary ──────────────────────────────────────── */
.nwtl-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.nwtl-process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nwtl-step-num {
  font-size: 26px;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: -0.02em;
  text-align: right;
  font-style: italic;
}
.nwtl-step-body h4 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nwtl-step-body p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* ── Letters / testimonials ───────────────────────────────────── */
.nwtl-letter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.nwtl-letter {
  margin: 0;
  padding: 24px 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.nwtl-letter blockquote {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.nwtl-letter blockquote::before {
  content: '"';
  font-family: "Cormorant", serif;
  font-size: 56px;
  line-height: 0;
  color: var(--warm);
  vertical-align: -18px;
  margin-right: 4px;
}
.nwtl-letter figcaption {
  font-size: 14px;
  color: var(--ink-3);
  font-style: italic;
}

/* ── FAQ / Q&A ────────────────────────────────────────────────── */
.nwtl-faq-list {
  border-top: 1px solid var(--ink);
}
.nwtl-faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}
.nwtl-faq-item summary {
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.nwtl-faq-item summary::-webkit-details-marker { display: none; }
.nwtl-faq-item summary::after {
  content: '+';
  font-family: "Cormorant", serif;
  font-size: 28px;
  color: var(--warm);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nwtl-faq-item[open] summary::after { content: '−'; }
.nwtl-faq-answer { padding-top: 14px; }
.nwtl-faq-answer p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 780px;
}

/* ── Mid-CTA ──────────────────────────────────────────────────── */
.nwtl-midcta { background: var(--paper-3); }
.nwtl-midcta-inner {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}
.nwtl-midcta h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.nwtl-midcta h3 em { font-style: italic; color: var(--warm); }
.nwtl-midcta p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 26px;
}
.nwtl-midcta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  align-items: center;
}
.nwtl-midcta-secondary { color: var(--ink-3); font-size: 15px; }

/* ── Also-in-this-issue links ─────────────────────────────────── */
.nwtl-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.nwtl-also-card {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.nwtl-also-card:hover { opacity: 0.7; }
.nwtl-also-ix {
  display: block;
  font-size: 22px;
  color: var(--warm);
  margin-bottom: 10px;
  line-height: 1;
}
.nwtl-also-card h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nwtl-also-card p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.nwtl-also-arrow {
  display: inline-block;
  font-size: 14px;
  color: var(--warm);
  font-style: italic;
}

/* ── Highlights / local notes ─────────────────────────────────── */
.nwtl-highlight-list {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.nwtl-highlight-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 32px;
  align-items: baseline;
}
.nwtl-highlight-row dt {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nwtl-highlight-row dd {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nwtl-page-section { padding: 60px 28px; }
  .nwtl-bylines, .nwtl-context { padding: 40px 28px; }
  .nwtl-section-head { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
  .nwtl-highlight-row { grid-template-columns: 1fr; gap: 8px; }
  .nwtl-byline-cell { border-left: none; border-top: 1px solid var(--line-soft); }
  .nwtl-byline-cell:first-child { border-top: none; }
  .nwtl-byline-cell dt { font-size: 26px; }
  .nwtl-process-step { grid-template-columns: 60px 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .nwtl-feature-grid,
  .nwtl-tier-grid,
  .nwtl-letter-grid,
  .nwtl-also-grid { grid-template-columns: 1fr; }
  .nwtl-compare-table { font-size: 12px; }
  .nwtl-compare-table th, .nwtl-compare-table td { padding: 12px 12px; }
  .nwtl-letter blockquote { font-size: 18px; }
  .nwtl-faq-item summary { font-size: 18px; }
}
