/* Destination-page layer.
   Loaded after each page's legacy inline rules so one coherent, mobile-first
   reading system can sit around existing copy and interactive hooks. */

body.editorial-destination {
  padding-top: 56px;
  overflow-x: clip;
  background: #F9FAFB;
}

.editorial-destination > .container {
  max-width: 1180px;
  padding-inline: 20px;
}

.editorial-destination .page-hero,
.editorial-destination .page-header {
  position: relative;
  width: 100vw;
  min-height: 470px;
  margin: 0 0 30px calc(50% - 50vw);
  padding:
    88px
    max(20px, calc((100vw - 1180px) / 2 + 28px))
    38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  background: #1A2129;
  border: 0;
  color: #fff;
  overflow: hidden;
}

.editorial-destination .page-hero::before,
.editorial-destination .page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.editorial-destination .page-hero::after,
.editorial-destination .page-header::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 92px;
  width: 112px;
  height: 112px;
  background: rgba(255,255,255,.88);
  mask: var(--hero-icon) center / contain no-repeat;
  opacity: .92;
}

.editorial-destination .page-hero > *,
.editorial-destination .page-header > * {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.editorial-destination .page-hero h1,
.editorial-destination .page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 70px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
}

.editorial-destination .page-hero .lead,
.editorial-destination .page-hero .subtitle,
.editorial-destination .page-header .lead,
.editorial-destination .page-header .subtitle,
.editorial-destination .page-header > p {
  max-width: 720px;
  margin: 20px 0 0;
  font-family: var(--font-reading);
  font-size: 19px;
  line-height: 1.48;
  color: rgba(255,255,255,.7);
}

.editorial-destination .page-hero .layer-pill,
.editorial-destination .page-header .eyebrow {
  order: -1;
  margin-bottom: 18px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: #FF5B04;
}

.editorial-destination .page-hero .layer-pill .dot {
  background: #FF5B04;
}

.editorial-destination .page-hero .hero-badges,
.editorial-destination .page-header .cta-group {
  width: 100%;
  margin-top: 26px;
}

.editorial-destination .page-header .cta-group .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.editorial-destination .content {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 0 16px;
  background: transparent;
  border: 0;
}

.editorial-destination .content > h2,
.editorial-destination > .container > .section > h2,
.editorial-destination .section > h2 {
  margin: 54px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: clamp(27px, 8vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--text);
  text-wrap: balance;
}

.editorial-destination .content > h2:first-child,
.editorial-destination .section > h2:first-child {
  margin-top: 0;
}

.editorial-destination .content > h3,
.editorial-destination .section > h3 {
  margin: 34px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.editorial-destination .content > p,
.editorial-destination .content > ul,
.editorial-destination .content > ol,
.editorial-destination .section > p,
.editorial-destination .section > ul,
.editorial-destination .section > ol {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 20px;
  font-family: var(--font-reading);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.editorial-destination .content > h2,
.editorial-destination .content > h3,
.editorial-destination .content > p,
.editorial-destination .content > ul,
.editorial-destination .content > ol,
.editorial-destination .content > .faq-item,
.editorial-destination .content > .tip-box,
.editorial-destination .content > .note-box {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
}

.editorial-destination .section {
  max-width: 980px;
  margin: 0 auto 16px;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--border);
}

.editorial-destination .section + .section {
  margin-top: 14px;
}

.editorial-destination .content > .faq-item,
.editorial-destination .faq-section .faq-item {
  padding: 22px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.editorial-destination .content > .faq-item h3,
.editorial-destination .faq-section .faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.editorial-destination .content > .faq-item p,
.editorial-destination .faq-section .faq-item p {
  font-family: var(--font-reading);
  font-size: 16px;
  line-height: 1.65;
}

.editorial-destination .stat-strip,
.editorial-destination .stat-row,
.editorial-destination .info-grid,
.editorial-destination .use-case-grid,
.editorial-destination .tip-grid,
.editorial-destination .brand-grid,
.editorial-destination .fuel-layers,
.editorial-destination .feature-list {
  gap: 1px;
  padding: 1px;
  background: var(--border);
  border: 0;
}

.editorial-destination .stat-cell,
.editorial-destination .info-card,
.editorial-destination .use-case-card,
.editorial-destination .tip-card,
.editorial-destination .brand-card,
.editorial-destination .fuel-layer-card,
.editorial-destination .feature-list li {
  background: #fff;
  border: 0;
}

.editorial-destination .stat-cell,
.editorial-destination .info-card,
.editorial-destination .use-case-card,
.editorial-destination .tip-card {
  padding: 22px;
  text-align: left;
}

.editorial-destination .stat-cell .stat-num,
.editorial-destination .stat-cell .stat-val {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
}

.editorial-destination .steps {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: var(--border);
}

.editorial-destination .steps li {
  min-height: 0;
  margin: 0;
  padding: 22px 20px 22px 64px;
  background: #fff;
}

.editorial-destination .steps li::before {
  left: 20px;
  top: 22px;
  background: #1A2129;
  color: #fff;
}

.editorial-destination .calc-card,
.editorial-destination .data-table-wrap {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: none;
}

.editorial-destination .calc-grid {
  max-width: 1180px;
  margin-inline: auto;
  gap: 14px;
}

.editorial-destination .cta-block.site-cta,
.editorial-destination .cta-card.site-cta {
  width: 100vw;
  max-width: 1180px;
  margin: 58px 0 0 calc(50% - 50vw);
  padding: 44px 20px;
  background: #1A2129;
  border: 0;
  color: #fff;
}

.editorial-destination .site-cta h2,
.editorial-destination .site-cta .cta-drivers-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 58px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.editorial-destination .site-cta > p,
.editorial-destination .site-cta .cta-drivers-intro p {
  color: rgba(255,255,255,.65);
}

.editorial-destination .site-cta .cta-drivers-ticks li {
  color: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.14);
}

.editorial-destination .site-cta .cta-drivers-actions,
.editorial-destination .site-cta .cta-buttons,
.editorial-destination .site-cta .cta-group-dark {
  display: grid;
  gap: 12px;
}

.editorial-destination .site-cta .btn-primary {
  background: #FF5B04;
  color: #16232A;
}

.editorial-destination .site-cta .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.editorial-destination footer {
  margin-top: 72px;
}

@media (min-width: 700px) {
  body.editorial-destination { padding-top: 64px; }
  .editorial-destination > .container { padding-inline: 28px; }
  .editorial-destination .page-hero,
  .editorial-destination .page-header {
    min-height: 560px;
    padding-top: 120px;
    padding-bottom: 56px;
  }
  .editorial-destination .page-hero::after,
  .editorial-destination .page-header::after {
    right: max(28px, calc((100vw - 1180px) / 2 + 28px));
    top: 150px;
    width: 220px;
    height: 220px;
    opacity: .75;
  }
  .editorial-destination .page-hero h1,
  .editorial-destination .page-header h1 {
    max-width: calc(100% - 250px);
    font-size: clamp(62px, 8vw, 96px);
  }
  .editorial-destination .page-hero .lead,
  .editorial-destination .page-hero .subtitle,
  .editorial-destination .page-header .lead,
  .editorial-destination .page-header .subtitle,
  .editorial-destination .page-header > p {
    max-width: min(680px, calc(100% - 250px));
    font-size: 22px;
  }
  .editorial-destination .section { padding: 42px; }
  .editorial-destination .cta-block.site-cta,
  .editorial-destination .cta-card.site-cta {
    width: min(100vw, 1180px);
    margin-left: 0;
    padding: 58px 42px;
  }
  .editorial-destination .site-cta .cta-drivers-actions {
    grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr);
  }
  .editorial-destination .site-cta .cta-buttons,
  .editorial-destination .site-cta .cta-group-dark {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 960px) {
  .editorial-destination .stat-strip,
  .editorial-destination .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editorial-destination .info-grid,
  .editorial-destination .use-case-grid,
  .editorial-destination .tip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
