/* =====================================================================
   europe-cabins-2026.css (2026-11-24) - cabin section on the NEW Detroit
   pages and (2026-11-25) the Los Angeles (section.pp-cab-sec--lax) and
   Seattle (section.pp-cab-sec--sea) pages.
   Detroit pages: /business-flights-to-europe/detroit-to-europe (hub) and
   athens, barcelona, berlin, brussels, dublin, edinburgh, geneva, madrid,
   munich, prague, zurich. Loaded after atl-europe-dense-2026.css; every
   rule is scoped to section.pp-cab-sec, so nothing else changes.
   - extra header paragraphs -> one full-width summary panel
   - very long "feature" cards (.pp-cab-wide) span the row, text in 2 columns
   - remaining cards use a column count with no empty slots (.pp-cab-grid)
   ===================================================================== */

/* ---------- summary panel under the heading ---------- */
html body section.mfy-lf.pp-cab-sec .pp-choose__intro {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none;
  gap: 0; margin: 0 0 28px; max-width: none; text-align: left;
  background: var(--i-surface); border: 1px solid var(--i-line);
  border-radius: var(--i-radius); box-shadow: var(--i-shadow-sm);
  position: relative; overflow: hidden;
}
html body section.mfy-lf.pp-cab-sec:not(.mfy-lf--tint) .pp-choose__intro { background: var(--i-bg); }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--i-grad-brand);
}
html body section.mfy-lf.pp-cab-sec .pp-choose__intro p {
  position: relative; padding: 24px 28px 24px 56px !important; margin: 0 !important; max-width: none !important;
  text-align: left !important; font-size: 1rem !important; line-height: 1.7 !important; color: var(--i-ink) !important;
}
html body section.mfy-lf.pp-cab-sec .pp-choose__intro p + p { border-left: 1px solid var(--i-line); }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro p::before {
  content: ""; position: absolute; left: 26px; top: 29px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--i-brand-soft); box-shadow: inset 0 0 0 5px var(--i-brand-soft), inset 0 0 0 16px var(--i-brand);
}
html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid p { border-left: 0; border-top: 1px solid var(--i-line); }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid p:nth-child(-n+2) { border-top: 0; }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid p:nth-child(even) { border-left: 1px solid var(--i-line); }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid p:last-child:nth-child(odd) { grid-column: 1 / -1; }
html body section.mfy-lf.pp-cab-sec .pp-choose__intro + .atl-cabtable { margin-top: 0; }

/* ---------- card grids ---------- */
html body section.mfy-lf.pp-cab-sec .mfy-lf-checks.pp-cab-grid { grid-auto-flow: row dense; align-items: stretch; }
html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .mfy-lf-check { height: 100%; box-sizing: border-box; }

/* feature card: full row, text in two columns */
html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .mfy-lf-check.pp-cab-wide { grid-column: 1 / -1 !important; }
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .pp-cab-wide .mfy-lf-check__body { column-count: 2; column-gap: 44px; }
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .pp-cab-wide .mfy-lf-check__body h3 { column-span: all; }
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .pp-cab-wide .mfy-lf-check__body p { break-inside: avoid; }
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .pp-cab-wide .mfy-lf-check__body .mfy-eub-when { column-span: all; }
}

/* leftover single card in the last row -> spans the row, 2 text columns */
@media (min-width: 768px) {
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--2 > .mfy-lf-check:not(.pp-cab-wide):last-child:nth-child(odd),
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--3 > .mfy-lf-check:not(.pp-cab-wide):last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--2 > .mfy-lf-check:not(.pp-cab-wide):last-child:nth-child(odd) .mfy-lf-check__body,
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--3 > .mfy-lf-check:not(.pp-cab-wide):last-child:nth-child(3n+1) .mfy-lf-check__body,
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--1 > .mfy-lf-check .mfy-lf-check__body { column-count: 2; column-gap: 44px; }
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid > .mfy-lf-check:last-child .mfy-lf-check__body h3,
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid.atl-cab--1 .mfy-lf-check__body h3 { column-span: all; }
  html body section.mfy-lf.pp-cab-sec .pp-cab-grid .mfy-lf-check__body p { break-inside: avoid; }
}

@media (max-width: 991px) {
  html body section.mfy-lf.pp-cab-sec .pp-choose__intro,
  html body section.mfy-lf.pp-cab-sec .pp-choose__intro.pp-intro--grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; }
  html body section.mfy-lf.pp-cab-sec .pp-choose__intro p + p { border-left: 0 !important; border-top: 1px solid var(--i-line); }
}
@media (max-width: 575px) {
  html body section.mfy-lf.pp-cab-sec .pp-choose__intro p { padding: 20px 20px 20px 46px !important; }
  html body section.mfy-lf.pp-cab-sec .pp-choose__intro p::before { left: 18px; top: 25px; }
}

/* =====================================================================
   Los Angeles pages only (section.pp-cab-sec--lax), 2026-11-25
   ===================================================================== */
/* closing note card ("Important Cabin Difference...", "Domestic Connections...") */
html body section.mfy-lf.pp-cab-sec--lax .pp-cab-grid > .mfy-lf-check.pp-cab-note {
  grid-column: 1 / -1 !important; order: 99;
  background: var(--i-brand-soft) !important; border-color: rgba(225,29,72,.18) !important;
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--lax .pp-cab-note .mfy-lf-check__body {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 36px; column-count: auto;
  }
  html body section.mfy-lf.pp-cab-sec--lax .pp-cab-note .mfy-lf-check__body > * { flex: 1 1 260px; min-width: 0; margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--lax .pp-cab-note .mfy-lf-check__body > h3 { flex-basis: 100%; }
}
/* "Before Booking" tip: heading on top, paragraphs in a 2 x 2 grid */
html body section.mfy-lf.pp-cab-sec--lax .pp-tip {
  margin-top: 28px; padding: 26px 28px; align-items: flex-start;
  background: var(--i-surface); border: 1px solid var(--i-line); border-left: 4px solid var(--i-brand);
  border-radius: var(--i-radius); box-shadow: var(--i-shadow-sm);
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--lax .pp-tip__body {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; flex: 1;
  }
  html body section.mfy-lf.pp-cab-sec--lax .pp-tip__body > h3 { grid-column: 1 / -1; margin: 0 0 4px !important; }
  html body section.mfy-lf.pp-cab-sec--lax .pp-tip__body > p { margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--lax .pp-tip__body > p:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* =====================================================================
   Seattle pages only (section.pp-cab-sec--sea), 2026-11-25 - same as the Los Angeles block
   ===================================================================== */
/* closing note card ("Important Cabin Difference...", "Domestic Connections...") */
html body section.mfy-lf.pp-cab-sec--sea .pp-cab-grid > .mfy-lf-check.pp-cab-note {
  grid-column: 1 / -1 !important; order: 99;
  background: var(--i-brand-soft) !important; border-color: rgba(225,29,72,.18) !important;
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--sea .pp-cab-note .mfy-lf-check__body {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 36px; column-count: auto;
  }
  html body section.mfy-lf.pp-cab-sec--sea .pp-cab-note .mfy-lf-check__body > * { flex: 1 1 260px; min-width: 0; margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--sea .pp-cab-note .mfy-lf-check__body > h3 { flex-basis: 100%; }
}
/* "Before Booking" tip: heading on top, paragraphs in a 2 x 2 grid */
html body section.mfy-lf.pp-cab-sec--sea .pp-tip {
  margin-top: 28px; padding: 26px 28px; align-items: flex-start;
  background: var(--i-surface); border: 1px solid var(--i-line); border-left: 4px solid var(--i-brand);
  border-radius: var(--i-radius); box-shadow: var(--i-shadow-sm);
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--sea .pp-tip__body {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; flex: 1;
  }
  html body section.mfy-lf.pp-cab-sec--sea .pp-tip__body > h3 { grid-column: 1 / -1; margin: 0 0 4px !important; }
  html body section.mfy-lf.pp-cab-sec--sea .pp-tip__body > p { margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--sea .pp-tip__body > p:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* =====================================================================
   Reference layout for NEW departure-city families built by the workflow (section.pp-cab-sec--ref), 2026-11-25 - same as Seattle
   ===================================================================== */
/* closing note card ("Important Cabin Difference...", "Domestic Connections...") */
html body section.mfy-lf.pp-cab-sec--ref .pp-cab-grid > .mfy-lf-check.pp-cab-note {
  grid-column: 1 / -1 !important; order: 99;
  background: var(--i-brand-soft) !important; border-color: rgba(225,29,72,.18) !important;
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--ref .pp-cab-note .mfy-lf-check__body {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 36px; column-count: auto;
  }
  html body section.mfy-lf.pp-cab-sec--ref .pp-cab-note .mfy-lf-check__body > * { flex: 1 1 260px; min-width: 0; margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--ref .pp-cab-note .mfy-lf-check__body > h3 { flex-basis: 100%; }
}
/* "Before Booking" tip: heading on top, paragraphs in a 2 x 2 grid */
html body section.mfy-lf.pp-cab-sec--ref .pp-tip {
  margin-top: 28px; padding: 26px 28px; align-items: flex-start;
  background: var(--i-surface); border: 1px solid var(--i-line); border-left: 4px solid var(--i-brand);
  border-radius: var(--i-radius); box-shadow: var(--i-shadow-sm);
}
@media (min-width: 992px) {
  html body section.mfy-lf.pp-cab-sec--ref .pp-tip__body {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; flex: 1;
  }
  html body section.mfy-lf.pp-cab-sec--ref .pp-tip__body > h3 { grid-column: 1 / -1; margin: 0 0 4px !important; }
  html body section.mfy-lf.pp-cab-sec--ref .pp-tip__body > p { margin: 0 !important; }
  html body section.mfy-lf.pp-cab-sec--ref .pp-tip__body > p:last-child:nth-child(even) { grid-column: 1 / -1; }
}
