/* ============================================================================
   Heathrow Park Direct — layout & responsiveness layer
   File: assets/css/theme-pd-layout.css

   WHAT THIS IS
   A structure-only stylesheet that sits on top of main.css, booking-form.css,
   brand.css and theme-pd.css. It does not introduce or change any colour in
   the palette — every colour here is a var(--pd-*) token from theme-pd.css.
   It normalises, across every public page:

     1. Containers      one content width (1200px) and one side gutter
                        (40px desktop / 20px at <=900px), header and footer
                        included, so every page shares the same left edge.
     2. Vertical rhythm one section spacing scale (96 / 72 / 56px) instead of
                        the 48-112px mix the legacy sheets and the per-page
                        <style> blocks used.
     3. Type            heading line-heights (many headings inherited the body
                        1.6), one page-title size, Archivo on heading-like
                        elements that are not h1-h5.
     4. Radius          14px surfaces / 10px controls (legacy used 8-24px and
                        999px pills).
     5. Controls        50px minimum height, 16px text (no iOS focus zoom),
                        44px minimum tap targets, focus ring never removed.
     6. Overflow        the fixes for content wider than a 360-390px viewport,
                        fixed heights, uneven grids, and narrow-screen tables.

   HOW TO LOAD IT
   Link it LAST, after theme-pd.css:
     <link rel="stylesheet" href="<?= asset('css/theme-pd-layout.css') ?>">

   WHY THE "#main-content" PREFIX
   Several templates (about, contact, reviews, legal/*, ulez, 404, tracker)
   print their own <style> block inside <main>, i.e. AFTER every linked
   stylesheet. An equal-specificity rule here would lose to them on source
   order, so rules that must beat those blocks are scoped to #main-content.

   Breakpoints used: 1180 (compact desktop), 900 (tablet / mobile nav — the
   same switch theme-pd.css uses for the footer), 600 (phone), 400 (small
   phone).

   No external resources. Nothing here requests anything off-origin.
   ========================================================================= */

/* ── 0. Layout tokens ────────────────────────────────────────────────────── */
:root {
  --pdl-max:      1200px;  /* container max-width, gutters included        */
  --pdl-gutter:   40px;    /* side gutter                                   */
  --pdl-prose:    880px;   /* reading-width container (legal, notices, FAQ) */
  --pdl-sec:      96px;    /* section block padding                         */
  --pdl-sec-sm:   64px;    /* compact band (CTA strips, page top padding)   */
  --pdl-gap:      24px;    /* default grid gap                              */
  --pdl-card-pad: 28px;    /* default card padding                          */
  --pdl-ctl-h:    50px;    /* control min-height                            */
}
@media (max-width: 900px) {
  :root { --pdl-gutter: 20px; --pdl-sec: 72px; --pdl-sec-sm: 48px; --pdl-gap: 20px; --pdl-card-pad: 24px; }
}
@media (max-width: 600px) {
  :root { --pdl-sec: 56px; --pdl-sec-sm: 40px; --pdl-gap: 16px; --pdl-card-pad: 20px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   1. CONTAINERS — one width, one gutter
   Before: 1240/24 (.container, home *-inner), 1240/32 (header, top bar),
   1200/20 (parking-address), 1040/24 (about, contact, reviews, tracker),
   980/24 and 860/24 (legal), 1200/40 (footer) and 16px on phones.
   ══════════════════════════════════════════════════════════════════════════ */
.container,
.site-header-inner,
.site-topbar-inner,
.hero-new-inner,
.services-new-inner,
.hiw-new-inner,
.trust-new-inner,
.location-new-inner,
.faq-new-inner,
.heathrow-info-container,
.hero-stats-strip-inner,
#main-content .container,
#main-content .about-wrap,
#main-content .contact-wrap,
#main-content .reviews-wrap,
#main-content .parking-instructions-container,
#main-content .trk-hero .container,
#main-content .trk-main .container {
  width: 100%;
  max-width: var(--pdl-max);
  margin-inline: auto;
  padding-inline: var(--pdl-gutter);
  box-sizing: border-box;
}
/* Reading-width pages share one measure instead of 860 / 980 */
#main-content .legal-wrap,
#main-content .notice-page,
#main-content .container.container--narrow,
#main-content .container.pg-faq {
  width: 100%;
  max-width: var(--pdl-prose);
  margin-inline: auto;
  padding-inline: var(--pdl-gutter);
  box-sizing: border-box;
}
/* Bands that carried their own side padding as well as an inner container */
.heathrow-info-section,
.hero-stats-strip { padding-inline: 0; }

/* Header: keep one row between the mobile switch and full desktop */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header-inner, .site-topbar-inner { padding-inline: 24px; }
}

/* The service-page facts card IS the .container, so its gutter became inner
   padding and the card ran edge to edge on phones. Make the card the content
   width and keep the gutter outside it. */
#main-content .container.pg-facts-grid {
  width: calc(100% - 2 * var(--pdl-gutter));
  max-width: calc(var(--pdl-max) - 2 * var(--pdl-gutter));
  padding-inline: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   2. VERTICAL RHYTHM
   Before: home 96/64, service pages 72/52, blog + booking 64, legal 48/64,
   about/contact/reviews 56/80, final CTA 112/72.
   ══════════════════════════════════════════════════════════════════════════ */
.services-new, .hiw-new, .trust-new, .location-new, .faq-new,
.final-cta-new,
.heathrow-info-section,
#main-content .pg-section,
#main-content > .section,
#main-content > .section--alt {
  padding-block: var(--pdl-sec);
}
#main-content .pg-cta { padding-block: var(--pdl-sec-sm); }

/* Single-wrapper pages: same top offset under the header, same foot */
#main-content .about-wrap,
#main-content .contact-wrap,
#main-content .reviews-wrap,
#main-content .legal-wrap,
#main-content .notice-page,
#main-content > .parking-instructions-container {
  padding-top: var(--pdl-sec-sm);
  padding-bottom: var(--pdl-sec);
}
#main-content .on-checkout-section { padding-top: 32px; padding-bottom: var(--pdl-sec); }
#main-content .trk-main { padding-bottom: var(--pdl-sec); }

/* Section heads: one gap between the heading block and the content below */
.section-head-center { margin-bottom: 48px; }
#main-content .pg-head { margin-bottom: 40px; }
@media (max-width: 600px) {
  .section-head-center { margin-bottom: 32px; }
  #main-content .pg-head { margin-bottom: 28px; }
}

/* Home hero: the stats strip is the last child of the hero, but the hero
   kept 80px (56px tablet) of bottom padding, leaving a dark band under it. */
.hero-new { padding-bottom: 0; }
@media (min-width: 681px) { .hero-new { padding-top: var(--pdl-sec-sm); } }

/* Home trust block: 72px under the stats card was a one-off */
.trust-stats-grid { margin-bottom: var(--pdl-sec-sm); }

/* ══════════════════════════════════════════════════════════════════════════
   3. TYPE
   ══════════════════════════════════════════════════════════════════════════ */
/* Headings inherited the body line-height (1.6) on most interior pages, so
   two-line titles looked double-spaced. */
#main-content h1, .heathrow-info-section h1 { line-height: 1.08; }
#main-content h2, .heathrow-info-section h2 { line-height: 1.15; }
#main-content h3, #main-content h4,
.heathrow-info-section h3 { line-height: 1.25; }
#main-content :is(h1, h2, h3, h4) { text-wrap: balance; overflow-wrap: break-word; }

/* Page titles on interior pages ranged from 24px to 46px. Display scale:
   42px, down to 34px on phones. (Home and service heroes keep their larger
   display size; only their phone size is aligned to 34px.) */
#main-content .about-hero-copy h1,
#main-content .contact-hero h1,
#main-content .reviews-hero h1,
#main-content .legal-hero h1,
#main-content .notice-hero h1,
#main-content .parking-instructions-container .main-title,
#main-content .on-page-title,
#main-content .page-title-lg,
#main-content .trk-hero h1,
#main-content .container--narrow > h1 {
  font-size: clamp(34px, 4.4vw, 42px);
  letter-spacing: -0.025em;
}
@media (max-width: 600px) {
  .hero-new-title, #main-content .pg-h1 { font-size: 34px; }
}

/* Heading-like elements that are not h1-h5 and so missed the display face */
.trust-stat-num, .hss-num, .reviews-avg-num, .about-stat-num,
.error-404-code, .pc-price, .pc-name, .co-product, .trk-ref,
.refund-table-title, .faq-q, .address-title, .map-embed-ph strong {
  font-family: var(--display);
}
.reviews-avg-num, .about-stat-num, .pc-price, .trust-stat-num, .hss-num,
.pg-table td, .refund-table td, .contact-hours-row span:last-child {
  font-variant-numeric: tabular-nums;
}
/* /parking-address still forced the legacy system-font stack on everything */
#main-content .parking-instructions-container { font-family: var(--sans); }

/* Body copy never below 15px (was 14-14.9px in a few card paragraphs) */
#main-content .value-card p,
#main-content .about-disclaimer p,
#main-content .faq-a,
#main-content .faq-contact-text p,
#main-content .review-text { font-size: 15px; line-height: 1.6; }
#main-content .faq-q { font-size: 16px; }

/* ══════════════════════════════════════════════════════════════════════════
   4. RADIUS — 14px surfaces, 10px controls
   ══════════════════════════════════════════════════════════════════════════ */
.tier-card,
.trust-stats-grid,
.location-map-new,
.booking-widget, .booking-widget.booking-widget-new, #booking-widget.booking-widget-new,
.heathrow-info-header, .heathrow-info-footer-block,
.heathrow-info-section .terminal-card,
.trust-photo-item,
.map-embed,
#main-content .pg-price-card,
#main-content .pg-option,
#main-content .pg-rel,
#main-content .pg-step,
#main-content .pg-card,
#main-content .pg-faq-item,
#main-content .pg-facts-grid,
#main-content .pg-split-img img,
#main-content .blog-card,
#main-content .about-hero-img,
#main-content .about-stat-box,
#main-content .about-cta,
#main-content .value-card,
#main-content .contact-form-card,
#main-content .contact-info-card,
#main-content .contact-hours,
#main-content .contact-card,
#main-content .review-card,
#main-content .reviews-summary,
#main-content .reviews-cta,
#main-content .review-form,
#main-content .legal-section,
#main-content .legal-info-box,
#main-content .alert,
#main-content .faq-item,
#main-content .faq-contact,
#main-content .notice-hero,
#main-content .notice-section,
#main-content .notice-call,
#main-content .trk-card,
#main-content .trk-side,
#main-content .booking-result-card,
#main-content .booking-instructions,
#main-content .on-know,
#main-content .co-summary,
#main-content .co-terms,
#main-content .product-card.pc,
#main-content .error-404-copy,
#main-content .error-404-panel,
#main-content .error-404-terminal-item,
#main-content .parking-instructions-container :is(.hero-section, .address-card, .location-map-section, .map-container, .terminal-card, .instruction-card, .contact-card),
#main-content .mp-terms-notice-container {
  border-radius: var(--radius);
}
/* Controls and small inset boxes */
.map-embed-btn,
.tier-cta-btn,
.btn-final-cta,
#main-content .btn,
#main-content .pg-btn,
#main-content .cf-submit,
#main-content .trk-submit,
#main-content .pc-btn,
#main-content .form-control,
#main-content .form-control-new,
#main-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
#main-content select,
#main-content textarea,
#main-content .legal-highlight,
#main-content .legal-note,
#main-content .legal-warning,
#main-content .mp-terms-notice-content,
#main-content .parking-instructions-container :is(.map-link-button, .contact-link, .contact-button, .highlight-box, .address-note-highlighted),
#main-content .instruction-highlight,
#main-content .co-thumb,
#main-content .value-icon {
  border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════════════════════════════════════════
   5. CONTROLS, TAP TARGETS, FOCUS
   ══════════════════════════════════════════════════════════════════════════ */
/* 16px text + 50px height on every text control. Before: 14-15.2px on the
   home/service widget selects, the contact select + textarea and the whole
   review form (all of which trigger iOS focus zoom), heights 42-52px. */
#main-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
#main-content select,
#main-content textarea {
  font-size: 16px;
  min-height: var(--pdl-ctl-h);
  max-width: 100%;
  box-sizing: border-box;
}
#main-content textarea { min-height: 120px; }
/* ≤480px brand.css squeezed widget fields to 13px text / 7px padding */
#main-content .form-control-new { padding-inline: 12px; }
#main-content select.form-control-new { padding-right: 30px; background-position: right 10px center; }

/* Buttons */
.map-embed-btn,
.tier-cta-btn,
#main-content .btn,
#main-content .pg-btn,
#main-content .cf-submit,
#main-content .trk-submit,
#main-content .pc-btn,
#main-content .parking-instructions-container :is(.map-link-button, .contact-link, .contact-button) {
  min-height: var(--pdl-ctl-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
#main-content .btn.btn-sm { min-height: 44px; padding-inline: 18px; }
/* .btn-danger is used on /privacy/delete-my-data but defined in no stylesheet,
   so the submit button rendered as bare text. Give it the ghost-button
   structure (existing ink token; no new colour). */
#main-content .btn.btn-danger {
  background: transparent; color: var(--pd-ink);
  border: 1.5px solid var(--pd-ink); padding-inline: 24px; font-weight: 700;
}
#main-content .btn.btn-danger:hover { background: var(--pd-ink); color: var(--pd-chalk); }
#main-content .btn.btn-block,
#main-content .pg-btn.pg-btn--block,
#main-content .cf-submit,
#main-content .trk-submit,
#main-content .pc-btn { display: flex; width: 100%; }
.tier-cta-btn { display: flex; font-size: 15px; }

/* Checkboxes / radios: 24px box inside a 44px row (was a bare 13px box) */
#main-content input[type="checkbox"],
#main-content input[type="radio"] {
  width: 24px; height: 24px; min-height: 0; flex: none;
  accent-color: var(--pd-green);
}
/* theme-pd.css styles every <label> as a 12px uppercase field label; a
   sentence-length checkbox label is body copy, not a field label. */
#main-content .gdpr-checkbox-label,
#main-content .co-check {
  min-height: 44px; gap: 12px; align-items: center;
  font-size: 15px; line-height: 1.5; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--pd-ink);
}
#main-content .gdpr-checkbox-label input[type="checkbox"] { margin-top: 0; }
#main-content .star-picker input { width: auto; height: auto; }
#main-content .star-picker label { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin: 0; }

/* Disclosure rows and standalone text links */
#main-content summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
#main-content .on-identity-more summary { gap: 8px; }
#main-content .on-identity-more summary::before { content: "\25B8"; }
#main-content .on-identity-more[open] summary::before { content: "\25BE"; }
#main-content .pg-cta-link,
.btn-final-cta-outline {
  min-height: 44px; display: inline-flex; align-items: center;
}
@media (max-width: 900px) {
  /* Footer link columns: rows were 22px tall with a 10px gap */
  .pdftr-grid ul { gap: 0; margin-top: 8px; }
  .pdftr-grid a { display: flex; align-items: center; min-height: 44px; }
  .pdftr-base a, .pdftr-note a { display: inline-flex; align-items: center; min-height: 44px; }
  /* Stand-alone links inside content blocks */
  #main-content .legal-links a,
  #main-content .error-404-links a,
  #main-content .blog-card a,
  #main-content .faq-contact-text a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* brand.css turns every mailto:/tel: link into a 44px inline-flex box at
   <=900px. Inside running text that pushes the link onto its own tall line
   (refund policy steps, FAQ answers). Inline text links stay inline. */
@media (max-width: 900px) {
  #main-content :is(p, li, td, span, small, label) > a[href^="mailto:"],
  #main-content :is(p, li, td, span, small, label) > a[href^="tel:"],
  #main-content .notice-call > a,
  #main-content .trk-call > a { display: inline; min-height: 0; }
}

/* Focus: contact.php and reviews.php set outline:none on their fields.
   Restore one visible ring everywhere; mint on dark surfaces. */
#main-content :is(a, button, input, select, textarea, summary, [tabindex], .faq-q):focus-visible {
  outline: 2px solid var(--pd-green);
  outline-offset: 2px;
}
#main-content :is(.hero-new, .pg-hero, .pg-cta, .final-cta-new, .trk-hero, .tier-featured, .contact-info-card, .about-cta, .about-hero-img, .co-summary, .notice-hero, .hero-section, .mp-terms-notice-container, .on-trust-bar) :is(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--pd-mint);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   6. GRIDS — even tracks, sane collapse points
   ══════════════════════════════════════════════════════════════════════════ */
/* `1fr` tracks grow with their content (min-content floor), which is why the
   home tier cards were 300/301/326px at 1024 and the stats row 193/193/193/242.
   minmax(0, 1fr) makes them truly equal and stops long strings pushing the
   grid past the viewport. */
.tiers-grid-new { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pdl-gap); }
.hiw-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pdl-gap); padding: 32px var(--pdl-card-pad); }
.trust-stat-item { min-width: 0; }
/* The fourth stat is a long string (company number): let it wrap and scale
   rather than force a 411px row inside a 312px card at 360px. */
.trust-stat-num { font-size: clamp(26px, 3.4vw, 44px); overflow-wrap: anywhere; line-height: 1.05; }
.location-grid-new, .hero-new-inner { min-width: 0; }
.location-grid-new > *, .hero-new-inner > * { min-width: 0; }
.location-dl-new { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pdl-gap); }

@media (max-width: 1023px) {
  /* Three price cards at 768-1023 were ~300px wide with a 30px title and a
     44px price: stack them rather than squeeze. Four steps go 2-up. */
  .tiers-grid-new { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .hiw-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiw-line { display: none; }
  .trust-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hiw-track { grid-template-columns: minmax(0, 1fr); }
  .trust-stats-grid { padding: 24px 16px; row-gap: 24px; }
}
@media (max-width: 400px) {
  .location-dl-new { grid-template-columns: minmax(0, 1fr); }
}

/* 901-1024px (iPad landscape, small laptops): brand.css collapses the home
   and service heroes to one column at <=1024, which left the search widget
   as a 500px box beside ~450px of empty hero. There is room for two columns
   down to the 900px mobile switch; the title scales to fit its column. */
@media (min-width: 901px) and (max-width: 1024px) {
  .hero-new-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .hero-new .hero-new-title { font-size: clamp(40px, 4.6vw, 48px); }
  .hero-new-bullets { grid-template-columns: minmax(0, 1fr); }
  #main-content .pg-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
  #main-content .pg-h1 { font-size: clamp(38px, 4.4vw, 46px); }
  #main-content .pg-bullets { grid-template-columns: minmax(0, 1fr); }
  #main-content .pg-split,
  #main-content .pg-cta-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

/* Service pages */
#main-content .pg-hero-grid,
#main-content .pg-split,
#main-content .pg-cta-inner,
#main-content .pg-options,
#main-content .pg-price-grid--2 { min-width: 0; }
#main-content :is(.pg-hero-grid, .pg-split, .pg-cta-inner, .pg-options, .pg-price-grid, .pg-aud, .pg-steps, .pg-terms, .pg-related, .pg-bullets) > * { min-width: 0; }
#main-content .pg-aud,
#main-content .pg-steps,
#main-content .pg-terms,
#main-content .pg-related,
#main-content .pg-options,
#main-content .pg-price-grid { gap: var(--pdl-gap); }
#main-content .pg-facts { margin-top: -44px; }

/* About */
#main-content .about-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-bottom: var(--pdl-sec-sm); }
#main-content .about-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pdl-gap); }
#main-content .about-hero-img { padding: var(--pdl-card-pad); }
#main-content .about-values { margin-bottom: var(--pdl-sec-sm); }
#main-content .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pdl-gap); }
#main-content .about-cta { padding: clamp(28px, 5vw, 48px) var(--pdl-card-pad); }
@media (max-width: 900px) {
  #main-content .about-hero { grid-template-columns: minmax(0, 1fr); }
  /* was 3 → 1 at 800px with nothing in between */
  #main-content .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #main-content .values-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Contact */
#main-content .contact-hero { margin-bottom: 40px; }
#main-content .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--pdl-gap); }
#main-content .contact-form-card,
#main-content .contact-info-card { padding: var(--pdl-card-pad); }
#main-content .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#main-content .contact-info-value { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  #main-content .contact-grid { grid-template-columns: minmax(0, 1fr); }
  #main-content .contact-info-card { order: 2; }
  #main-content .contact-form-card { order: 1; }
}
@media (max-width: 600px) {
  #main-content .cf-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Reviews */
#main-content .reviews-hero { margin-bottom: 40px; }
#main-content .reviews-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--pdl-gap); }
#main-content .review-card { padding: var(--pdl-card-pad); min-width: 0; }
#main-content .reviews-summary { max-width: 100%; padding: 18px var(--pdl-card-pad); }
#main-content .reviews-cta { margin-top: var(--pdl-sec-sm); padding: clamp(28px, 5vw, 40px) var(--pdl-card-pad); }
#main-content .review-submit-section { margin-top: var(--pdl-sec-sm); }
#main-content .review-form { padding: var(--pdl-card-pad); }
#main-content .review-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) {
  #main-content .review-form .form-row { grid-template-columns: minmax(0, 1fr); }
}

/* Blog index */
#main-content .blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--pdl-gap); }

/* Tracker */
#main-content .trk-grid { gap: var(--pdl-gap); }
#main-content .trk-card,
#main-content .trk-side { padding: var(--pdl-card-pad); }

/* ══════════════════════════════════════════════════════════════════════════
   7. FIXED HEIGHTS → FLUID
   ══════════════════════════════════════════════════════════════════════════ */
/* Location panel: the include prints an inline pixel min-height (300-420px)
   regardless of viewport, and on the home page it sat inside a frame with a
   forced aspect-ratio (1:1 desktop, 16:9 phone) that either left half the
   frame empty or clipped the panel. Let the panel size the frame, and cap the
   inline height on phones. */
.location-map-new { aspect-ratio: auto; background: none; }
.location-map-new > .map-embed { border: 0; border-radius: 0; }
#main-content .map-container > .map-embed { border: 0; border-radius: 0; }
/* brand.css still gives the inner block height:100%, which stretched its
   three lines across the whole panel instead of centring them as a group. */
.map-embed-ph { height: auto; align-content: center; }
@media (max-width: 600px) {
  .map-embed { min-height: 220px !important; padding: 24px 20px; }
}

/* Option-card photo: fixed 170px at <=900 in one rule, auto in a later one */
#main-content .pc-img { height: auto; }

/* Mobile nav sheet assumed a 64px header; the bar is now min-height based.
   Header itself is owned by theme-pd.css — only the legacy fixed height that
   it already overrides is left alone here. */

/* ══════════════════════════════════════════════════════════════════════════
   8. TABLES AND PRICE ROWS ON NARROW SCREENS
   ══════════════════════════════════════════════════════════════════════════ */
/* brand.css put overflow-wrap:anywhere on .legal-section; tables inherit it,
   so at 360px the columns collapsed to one or two letters per line
   ("Refun/d", "Notic/e/Give/n"). Words stay whole; the existing
   .refund-table-wrap / display:block scroller takes any real overflow. */
#main-content .refund-table,
#main-content .legal-body table,
#main-content .pg-table {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
#main-content .refund-table th,
#main-content .refund-table td { min-width: 5.5em; }
#main-content .refund-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
#main-content .refund-table-wrap:focus-visible { outline: 2px solid var(--pd-green); outline-offset: 2px; }
@media (max-width: 600px) {
  #main-content .refund-table { font-size: 14px; }
  #main-content .refund-table th,
  #main-content .refund-table td { padding: 10px; }
  #main-content .legal-section { padding: 20px 18px; }
  /* label/value rows: stack instead of a fixed 110px label column */
  #main-content .contact-card-row { flex-direction: column; gap: 2px; }
  #main-content .contact-card-row strong { min-width: 0; }
}
#main-content .contact-card-row :is(span, a) { overflow-wrap: anywhere; min-width: 0; }

/* Service-page price table: keep figures on one line, in tabular columns */
#main-content .pg-price-card { padding: var(--pdl-card-pad); min-width: 0; }
#main-content .pg-table th,
#main-content .pg-table td { white-space: nowrap; }
#main-content .pg-table th:not(:first-child),
#main-content .pg-table td:not(:first-child) { text-align: right; }
#main-content .pg-table th:first-child,
#main-content .pg-table td:first-child { padding-left: 0; }
#main-content .pg-table th:last-child,
#main-content .pg-table td:last-child { padding-right: 0; }
@media (max-width: 400px) {
  #main-content .pg-table th { letter-spacing: .04em; font-size: 11px; }
  #main-content .pg-table td { font-size: 15px; }
}

/* Home tier price row and tracker summary rows */
.tier-price-row { flex-wrap: wrap; row-gap: 2px; }
.tier-price-row > * { white-space: nowrap; }
#main-content .summary-row > * { min-width: 0; overflow-wrap: anywhere; }
#main-content .contact-hours-row { gap: 12px; }

/* ══════════════════════════════════════════════════════════════════════════
   9. BOOKING FORM (/booking) AND CHECKOUT (/place-order)
   ══════════════════════════════════════════════════════════════════════════ */
/* (/place-order reuses id="booking-progress" with .co-progress and its own
   three-step styling that already fits, so it is excluded below.) */
/* /booking — the five-step progress row was 412px wide inside a 280px box at
   360px (clipped "Deta…", "Pay" unreachable). Share the row equally, stack
   number over label on phones. */
#main-content #booking-progress:not(.co-progress) { padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--pd-line); margin-bottom: var(--pdl-gap); }
#main-content #booking-progress:not(.co-progress) .progress-steps { gap: 6px; flex-wrap: nowrap; min-width: 0; }
#main-content #booking-progress:not(.co-progress) .progress-step { min-width: 0; flex: 0 1 auto; }
#main-content #booking-progress:not(.co-progress) .progress-step::after { display: none; }
/* booking-form.css draws one absolute line behind the row AND the template
   prints connector elements: the line ran through the labels. Keep the
   connectors only. */
#main-content #booking-progress:not(.co-progress) .progress-steps::before,
#main-content #booking-progress:not(.co-progress) .progress-steps::after { display: none; }
#main-content #booking-progress:not(.co-progress) .progress-connector { flex: 1 1 12px; min-width: 6px; height: 2px; background: var(--pd-line-2); border-radius: 2px; }
#main-content #booking-progress:not(.co-progress) .step-number {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pd-line); color: var(--pd-slate);
  font-family: var(--display); font-weight: 700; font-size: 13px;
  font-variant-numeric: tabular-nums;
}
#main-content #booking-progress:not(.co-progress) .progress-step.active .step-number,
#main-content #booking-progress:not(.co-progress) .progress-step.completed .step-number { background: var(--pd-green); color: #fff; }
#main-content #booking-progress:not(.co-progress) .step-label { font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) {
  #main-content #booking-progress:not(.co-progress) { padding: 12px 10px; }
  #main-content #booking-progress:not(.co-progress) .progress-step { flex-direction: column; gap: 4px; }
  #main-content #booking-progress:not(.co-progress) .step-label { font-size: 11.5px; }
}

/* /booking — the form sat bare on the page with unequal field widths */
#main-content .booking-layout,
#main-content .booking-main { min-width: 0; max-width: 100%; }
#main-content .booking-main { max-width: 760px; margin-inline: auto; }
#main-content #booking-steps-container > .booking-step {
  background: var(--pd-paper); border: 1px solid var(--pd-line);
  border-radius: var(--radius); padding: var(--pdl-card-pad);
}
#main-content .booking-step > h2 { font-size: 22px; margin-bottom: 20px; }
#main-content .search-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
#main-content .search-form .form-group { min-width: 0; margin-bottom: 16px; }
#main-content .search-form .form-control { width: 100%; }
#main-content .search-form label { display: block; margin-bottom: 6px; }
@media (max-width: 600px) {
  #main-content .search-form .form-row { grid-template-columns: minmax(0, 1fr); }
  #main-content .search-form .btn { width: 100%; }
}

/* Shared search widget (service pages, /place-order) */
#main-content .form-row--two,
#main-content .form-row--new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#main-content :is(.form-row--two, .form-row--new) > * { min-width: 0; }
#main-content .booking-widget .form-control,
#main-content .on-search-form .form-control { width: 100%; }
@media (max-width: 400px) {
  /* Date + time side by side leaves ~140px each: the time select truncated.
     One field per row on small phones. */
  #main-content .form-row--new { grid-template-columns: minmax(0, 1fr); }
}

/* /place-order */
#main-content .on-checkout-grid { gap: var(--pdl-gap); min-width: 0; }
#main-content .on-checkout-grid > * { min-width: 0; }
#main-content .on-trust-bar { padding-block: 10px; }
#main-content .on-know { padding: var(--pdl-card-pad); margin-top: var(--pdl-gap); }
#main-content .co-progress { margin-bottom: 20px; }
@media (max-width: 900px) {
  /* Option cards: price and button were left-aligned in a single column with
     a 6px top pad; give the buy row the card's padding and a full-width CTA. */
  #main-content .pc-body { padding: var(--pdl-card-pad) var(--pdl-card-pad) 8px; }
  #main-content .pc-buy { padding: 8px var(--pdl-card-pad) var(--pdl-card-pad); }
}
@media (max-width: 600px) {
  #main-content .co-dates { grid-template-columns: minmax(0, 1fr); }
  #main-content .co-summary-top { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════════════════════════
   10. /parking-address
   ══════════════════════════════════════════════════════════════════════════ */
#main-content .parking-instructions-container { background: transparent; }
#main-content .parking-instructions-container > * + * { margin-top: var(--pdl-sec-sm); }
#main-content .parking-instructions-container .hero-section { padding: clamp(28px, 5vw, 48px) var(--pdl-card-pad); margin-bottom: 0; box-shadow: none; }
#main-content .parking-instructions-container .main-title { flex-wrap: wrap; }
#main-content .parking-instructions-container .subtitle { font-size: 17px; }
#main-content .parking-instructions-container .section-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 20px; align-items: flex-start; }
#main-content .parking-instructions-container .section-title > span { flex: none; }
#main-content .parking-instructions-container :is(.address-card, .card-content, .contact-card) { padding: var(--pdl-card-pad); }
#main-content .parking-instructions-container .location-map-section { padding: var(--pdl-card-pad); }
#main-content .parking-instructions-container .terminals-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--pdl-gap); margin-bottom: 0; }
#main-content .parking-instructions-container .terminal-card { padding: 0; }
#main-content .parking-instructions-container :is(.terminal-header, .card-header) { padding: 16px var(--pdl-card-pad); }
#main-content .parking-instructions-container .terminal-content { padding: 20px var(--pdl-card-pad); }
#main-content .parking-instructions-container .terminal-content p + p,
#main-content .parking-instructions-container .step-content p { margin-top: 6px; }
#main-content .parking-instructions-container .instruction-card { margin-bottom: var(--pdl-gap); }
/* Step bullets had width/height but no flex:none, so the flex row squashed
   them into 14-20px wide ovals on phones. */
#main-content .parking-instructions-container .step-number { flex: none; width: 36px; height: 36px; font-family: var(--display); }
#main-content .parking-instructions-container .step-content { min-width: 0; }
/* Location chips wrapped mid-phrase with a pill radius on each line box */
#main-content .parking-instructions-container .location-highlight { display: inline-block; border-radius: 6px; padding: 2px 8px; }
#main-content .parking-instructions-container :is(.contact-options, .contact-buttons) { gap: 12px; }
#main-content .parking-instructions-container :is(.map-link-button, .contact-link, .contact-button) { padding: 0 22px; box-shadow: none; }
#main-content .mp-terms-notice-container { margin-top: var(--pdl-gap); padding: var(--pdl-card-pad); }
#main-content .mp-terms-notice-content { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
#main-content .mp-terms-icon:empty { display: none; }
@media (max-width: 600px) {
  #main-content .parking-instructions-container .contact-buttons,
  #main-content .parking-instructions-container .contact-options { flex-direction: column; align-items: stretch; }
  #main-content .parking-instructions-container .map-link-button { display: flex; }
}

/* ══════════════════════════════════════════════════════════════════════════
   11. HOME — remaining one-offs
   ══════════════════════════════════════════════════════════════════════════ */
/* Tier cards: 32px padding with a full-bleed image using matching negative
   margins. Keep the pair in step when padding changes. */
.tier-card { min-width: 0; }
.trust-photo-strip { gap: var(--pdl-gap); margin-bottom: var(--pdl-sec-sm); }
.trust-badges-row { gap: 10px; flex-wrap: wrap; }
.trust-badge-pill { max-width: 100%; white-space: normal; text-align: center; }
.faq-new-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.faq-new-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .faq-new-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side-new { position: static; }
}
.faq-q-new { min-height: 56px; text-align: left; }
/* Final CTA: the secondary action wrapped under the button, off-centre */
.final-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; }
.btn-final-cta { min-height: 56px; }

/* SEO block printed by the layout under the home page */
.heathrow-info-section .terminals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pdl-gap); }
.heathrow-info-header { padding: clamp(28px, 4vw, 48px) var(--pdl-card-pad); }
@media (max-width: 900px) {
  .heathrow-info-section .terminals-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   12. LEGAL / NOTICE / DATA PAGES
   ══════════════════════════════════════════════════════════════════════════ */
#main-content .legal-hero { margin-bottom: 32px; padding-bottom: 24px; }
#main-content .legal-body { gap: var(--pdl-gap); min-width: 0; }
#main-content .legal-section { padding: var(--pdl-card-pad); min-width: 0; }
#main-content .legal-body p,
#main-content .legal-body ul li { font-size: 16px; line-height: 1.6; }
#main-content .legal-body h2 { font-size: 21px; align-items: flex-start; }
#main-content .legal-body h2 .sec-num { flex: none; margin-top: 1px; }
#main-content .refund-step-num { flex: none; }
#main-content .faq-list { max-width: none; gap: 8px; }
#main-content .faq-q { min-height: 56px; padding: 14px 20px; }
/* main.css adds a '+' pseudo-element to every .faq-q (old home accordion);
   the /faq page already prints its own chevron, so each row showed both. */
#main-content .faq-list .faq-q::after { content: none; }
#main-content .faq-contact { padding: var(--pdl-card-pad); margin-top: var(--pdl-sec-sm); }
#main-content .notice-hero { padding: clamp(28px, 5vw, 48px) var(--pdl-card-pad); box-shadow: none; }
#main-content .notice-section { margin-top: var(--pdl-gap); padding: var(--pdl-card-pad); }
#main-content .notice-call { padding: 16px 20px; }
#main-content .legal-form { margin-top: 32px; }
#main-content .legal-form .form-control { width: 100%; }
#main-content .legal-form .form-group { margin-bottom: 16px; }
#main-content .legal-form label:not(.gdpr-checkbox-label) { display: block; margin-bottom: 6px; }

/* 404 */
#main-content .error-404-card { gap: var(--pdl-gap); }
#main-content .error-404-card > * { min-width: 0; }
#main-content :is(.error-404-copy, .error-404-panel) { padding: var(--pdl-card-pad); }
#main-content .error-404-terminal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
