/* =====================================================================
   nyc-europe-2026.css : New York -> Europe business class pages (2026-10-21)
   Small additions on top of internal-2026.css (.mfy-lf components):
   multi-paragraph airline rows, "Compare X when:" callouts, table links,
   check items without body text, and the route link cards.
   ===================================================================== */

/* Airline rows: body column holds several paragraphs, so align to the top */
.mfy-eub-airlist .mfy-lf-airlist__row { align-items: start; }
.mfy-eub-airlist .mfy-lf-airlist__row h3 { padding-top: 10px !important; }
.mfy-eub-airbody p { margin: 0 0 10px !important; }
.mfy-eub-airbody p:last-child { margin-bottom: 0 !important; }

/* "Compare X when:" / "Best for:" callout line */
p.mfy-eub-when {
  background: var(--i-brand-soft); border-left: 3px solid var(--i-brand);
  border-radius: 0 10px 10px 0; padding: 10px 14px !important;
  color: var(--i-ink) !important;
}
p.mfy-eub-when strong { color: var(--i-brand-dark); font-weight: 700; }

/* Step / check / tile bodies with more than one paragraph */
.mfy-eub .mfy-lf-step__body p + p,
.mfy-eub .mfy-lf-check__body p + p,
.mfy-eub .mfy-lf-desttile__body p + p { margin-top: 10px !important; }
.mfy-eub .mfy-lf-check__body p:empty { display: none; }

/* Notes under a section: left-aligned prose width, not a centred caption */
.mfy-eub .mfy-eub-note { max-width: 880px; font-style: normal; }

/* Tables: links + wrapping long text cells */
.mfy-eub-table tbody td { white-space: normal; }
.mfy-eub-table tbody td a { color: var(--i-brand); font-weight: 700; text-decoration: none; }
.mfy-eub-table tbody td a:hover { text-decoration: underline; }
.mfy-eub-table table { min-width: 560px; }
.mfy-eub-table tbody td:first-child { width: 34%; }

/* Lead-in with several paragraphs */
.mfy-eub .mfy-lf-head p + p { margin-top: 12px !important; }

/* Route link cards */
.mfy-eub-routes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; max-width: 920px; margin: 0 auto;
}
a.mfy-eub-route {
  display: flex; align-items: center; gap: 16px;
  background: var(--i-surface); border: 1px solid var(--i-line);
  border-radius: var(--i-radius); box-shadow: var(--i-shadow-sm);
  padding: 18px 20px; text-decoration: none !important; color: var(--i-ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.mfy-eub-route:hover { transform: translateY(-3px); box-shadow: var(--i-shadow-lg); border-color: rgba(225,29,72,.25); }
.mfy-eub-route__code {
  flex: none; min-width: 58px; padding: 12px 8px; border-radius: 12px;
  background: var(--i-grad-brand); color: #fff; text-align: center;
  font-family: var(--i-font-display); font-weight: 800; letter-spacing: .06em;
}
.mfy-eub-route__body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mfy-eub-route__body strong { font-family: var(--i-font); font-size: 1.02rem; color: var(--i-ink); }
.mfy-eub-route__body span { font-size: .9rem; color: var(--i-muted); line-height: 1.45; }
.mfy-eub-route__go { flex: none; color: var(--i-brand); display: grid; place-items: center; }
.mfy-eub-route__go svg { width: 20px; height: 20px; }

@media (max-width: 991px) {
  .mfy-eub-airlist .mfy-lf-airlist__row h3 { padding-top: 12px !important; }
  .mfy-eub-airlist .mfy-eub-airbody { grid-column: 2; }
}
@media (max-width: 767px) {
  .mfy-eub-routes { grid-template-columns: 1fr; }
  .mfy-eub-airlist .mfy-lf-airlist__row { grid-template-columns: 46px 1fr; gap: 14px; }
  .mfy-eub-table tbody td:first-child { width: auto; }
}

/* Hub fares table footnote + route-details heading inside .paper */
section.paper.mfy-eub-paper p.mfy-eub-tablenote { display: block; color: var(--i-muted) !important; font-size: .9rem !important; text-align: center !important; margin: -6px 0 0 !important; max-width: none !important; width: 100%; }
section.paper .rd-route-head { margin-bottom: 28px; }

/* Hub: fares table, route details and popular routes (.paper blocks) on the same 64px rhythm as .mfy-lf,
   and no double gap where two .paper blocks follow each other */
section.paper.mfy-eub-paper { padding: 64px 0 !important; }
section.paper.mfy-eub-paper + section.paper.mfy-eub-paper { padding-top: 0 !important; }
section.paper.mfy-eub-paper .rd-route-head { margin: 0 auto 28px !important; }
section.paper.mfy-eub-paper .table-responsive { margin-bottom: 18px !important; }
section.paper.popular-routes.mfy-eub-paper .route-description { max-width: none !important; width: 100%; padding: 0 6% !important; text-align: center; line-height: 1.9; }
@media (max-width: 767px) {
  section.paper.mfy-eub-paper { padding: 44px 0 !important; }
  section.paper.popular-routes.mfy-eub-paper .route-description { text-align: left; }
}
section.paper.popular-routes.mfy-eub-paper .mfy-eub-routes { margin-bottom: 28px; }
