/* page-extras.css — minimal additions for inner pages; everything else comes
   verbatim from home.css (the designed site's stylesheet). */
.el-hero__inner--page { display: block; max-width: 1280px; margin: 0 auto; padding: 72px var(--space-8); position: relative; }
.el-hero__title--page { font-size: clamp(36px, 4.4vw, 54px); max-width: 18em; }
.el-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
@media (max-width: 760px) { .el-grid-4 { grid-template-columns: 1fr; } }
.el-chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.el-chips a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--el-slate-line); background: var(--el-white); color: var(--el-ink-2); font-family: var(--font-primary-bold); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.el-chips a:hover { border-color: var(--el-amber); color: var(--el-ink); }
.el-chips a.here { border-color: var(--el-sky); color: var(--el-ink); }
.el-pagesection { padding: 72px 0; }
.el-pagesection--tint { background: var(--el-slate-tint, #EEF0F2); }
.el-carrytable { border-collapse: collapse; width: 100%; max-width: 46em; font-family: var(--font-primary); font-size: 15px; }
.el-carrytable th { text-align: left; font-family: var(--font-primary-bold); font-weight: 700; color: var(--el-ink); border-bottom: 2px solid var(--el-sky); padding: 10px 14px 8px; }
.el-carrytable td { border-bottom: 1px solid var(--el-line); padding: 10px 14px; color: var(--el-slate); vertical-align: top; }

/* --- v1.1 block-editor shims: core blocks carry the design classes --- */
.wp-block-details.el-faq__item > summary { font-family: var(--font-primary-bold); font-weight: 700; font-size: 16px; color: var(--el-ink); padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--el-line); }
.wp-block-details.el-faq__item .el-faq__a { padding: 4px 0 18px; color: var(--el-slate); max-width: 60ch; }
.entry-content > .el-hero, body .el-pagesection { margin: 0; }
h1.el-hero__title.wp-block-heading, h2.el-section-title.wp-block-heading, h3.wp-block-heading { margin-top: 0; }
p.el-eyebrow, p.el-eyebrow--dark { display: inline-flex; }

/* --- v1.1.2: nav markup now matches the designed Nav component; home.css styles it.
   Only additions: button reset for the dropdown trigger + trust/kiosk wrappers. --- */
.el-nav__dd-trigger { font-family: var(--font-primary); font-weight: 700; font-size: 14px; color: var(--fg-1, #1A1D22); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.el-nav__dd-panel[hidden] { display: none !important; }
.el-nav .el-btn.el-btn--primary { padding: 10px 20px; font-size: 13px; }
.el-trust__copy, .el-kiosk__copy, .el-contact__copy, .el-industry__body { min-width: 0; }

/* --- v1.2.22: generous vertical rhythm restored (Seb, 12 Jul — with the colour bands
   in place, air reads as premium; compact 64px override retired). Mobile stays tighter. --- */
.el-stats { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 860px) {
  .el-ops, .el-cases, .el-products, .el-kiosk, .el-how, .el-pillars, .el-industries, .el-faq, .el-contact, .el-pagesection { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- footer flags + membership badge (v1.2.1) ---------- */
.el-footer__flags { display: flex; gap: 8px; margin-top: 16px; }
.el-footer__flags .el-flag { width: 27px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px var(--el-line); display: block; }
.el-footer__badge { margin-top: 16px; }
.el-footer__badge img { height: 36px; width: auto; display: block; }

.el-footer__heritage .el-tulip { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 7px; }

/* ---------- industries icon-grid alignment (v1.2.5) ---------- */
/* 13 tiles in a 4-col grid: let the last (Custom installations) span the full row as a banner tile */
.el-industries__grid .el-industry--link:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding: 20px 24px; }
.el-industries__grid .el-industry--link:last-child .el-industry__icon { margin-bottom: 0; flex: 0 0 auto; }
.el-industries__grid .el-industry--link:last-child .el-industry__t { min-height: 0; }
/* equal text baselines: reserve two title lines on the standard tiles */
.el-industries__grid .el-industry--link:not(:last-child) .el-industry__t { min-height: 40px; align-content: flex-start; }

/* ---------- IAAPA member badge in attraction-sector heroes (v1.2.6) ---------- */
.el-hero__member { margin-top: 18px; }
.el-hero__member img { height: 30px; width: auto; display: block; }

/* ---------- v1.2.7: footer link colour rule must not repaint button text ---------- */
.el-footer .el-btn--primary, .el-footer .el-btn--primary:hover { color: var(--el-ink); }

/* ---------- v1.2.8: sector card grid must hold inside block-editor markup ---------- */
.entry-content .el-grid-4, .wp-block-group.el-grid-4, .el-grid-4 { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
@media (max-width: 760px) { .entry-content .el-grid-4, .wp-block-group.el-grid-4, .el-grid-4 { grid-template-columns: 1fr; } }
.el-pillar > .el-pillar__d:only-child { margin: 0; }

/* ---------- v1.2.11: mobile hamburger (nav links were hidden <860px with no menu) ---------- */
.el-nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--el-ink, #1A1D22); }
.el-nav__burger svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .el-nav { position: relative; }
  .el-nav__burger { display: inline-flex; align-items: center; }
  .el-nav.is-open .el-nav__links { display: flex !important; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--el-white); border-bottom: 1px solid var(--el-line); box-shadow: 0 16px 32px rgba(0,0,0,0.10); padding: 18px 24px 22px; gap: 16px; margin: 0; z-index: 98; }
  .el-nav.is-open .el-nav__dd-panel { position: static; transform: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 8px 0 0 12px; }
}

/* v1.2.14: badge sits in the CTA column */
.el-footer__cta .el-footer__badge { margin-top: 18px; }

/* ---------- v1.2.16: close the 860-1080px dead zone (nav wrapped, hero squeezed) ---------- */
@media (max-width: 1080px) {
  /* switch to the mobile nav earlier: links wrap badly with 6 items + CTA in this band */
  .el-nav__links { display: none; }
  .el-nav__burger { display: inline-flex; align-items: center; }
  .el-nav { position: relative; }
  .el-nav.is-open .el-nav__links { display: flex !important; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--el-white); border-bottom: 1px solid var(--el-line); box-shadow: 0 16px 32px rgba(0,0,0,0.10); padding: 18px 24px 22px; gap: 16px; margin: 0; z-index: 98; }
  .el-nav.is-open .el-nav__dd-panel { position: static; transform: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 8px 0 0 12px; }
  /* hero: single column so the headline gets full width */
  .el-hero__inner { grid-template-columns: 1fr !important; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .el-hero__media { max-width: 480px; }
}

/* ---------- v1.2.19: widescreen comfort — the design's 1120px column left large margins on >=1440px monitors ---------- */
@media (min-width: 1440px) {
  .el-container, .el-hero__inner, .el-nav, .el-footer__main { max-width: 1280px; }
}

/* ---------- v1.2.20: homepage band rhythm (7 consecutive white sections read as void on wide screens;
   full-bleed tint bands via the design's own --el-grey-tint token, Lastbar-comparison finding) ---------- */
.el-trust { background: var(--el-grey-tint, #EEF0F2); }
.el-cases { background: var(--el-grey-tint, #EEF0F2); }
.el-products + .el-ops { background: var(--el-grey-tint, #EEF0F2); }

/* ---------- v1.2.21: WP legacy group wrapper broke grid/flex layouts ----------
   Groups without a layout attribute get an extra .wp-block-group__inner-container div,
   turning 4 grid children into 1. display:contents removes the wrapper from layout. */
.wp-block-group > .wp-block-group__inner-container { display: contents; }

/* ---------- v1.2.23: hero sector rotator ---------- */
.el-hero__rotator { font-family: var(--font-primary-bold); font-weight: 700; font-size: 15px; color: var(--el-slate); margin-top: 14px; }
.el-hero__rotator .el-rotate-link { color: var(--el-ink); text-decoration: none; }
.el-hero__rotator .el-rotate { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .el-rotate.is-out { opacity: 0; transform: translateY(-9px); transition: opacity .28s ease-in, transform .28s ease-in; }
  .el-rotate.is-in { opacity: 1; transform: none; transition: opacity .3s ease-out, transform .3s ease-out; }
  .el-rotate.is-pre { opacity: 0; transform: translateY(9px); transition: none; }
}
/* ---------- v1.2.23: footer sectors column ---------- */
.el-footer__main { grid-template-columns: 1.3fr 0.8fr 1fr 1fr; }
.el-footer__nav--sectors { column-count: 2; column-gap: 20px; display: block; }
.el-footer__nav--sectors .el-footer__cta-label { column-span: all; margin-bottom: 10px; }
.el-footer__nav--sectors a { display: block; font-size: 13px; padding: 3px 0; color: var(--fg-1, #2A2D33); }
@media (max-width: 1080px) { .el-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .el-footer__main { grid-template-columns: 1fr; } }
/* ---------- v1.2.23: Complianz banner, on-brand (dormant until plugin installed) ---------- */
.cmplz-cookiebanner { background: var(--el-white) !important; border-top: 1px solid var(--el-line) !important; box-shadow: 0 -8px 32px rgba(0,0,0,0.08) !important; border-radius: 0 !important; font-family: var(--font-primary, Arial, sans-serif) !important; }
.cmplz-cookiebanner .cmplz-title, .cmplz-cookiebanner .cmplz-message { color: var(--el-ink, #1A1D22) !important; font-size: 14px !important; }
.cmplz-cookiebanner .cmplz-btn { border-radius: var(--radius-pill, 999px) !important; font-weight: 700 !important; font-size: 14px !important; }
.cmplz-cookiebanner .cmplz-accept { background: var(--el-amber, #FF8A15) !important; color: var(--el-ink) !important; border: 0 !important; }
.cmplz-cookiebanner .cmplz-deny { background: transparent !important; color: var(--el-ink, #1A1D22) !important; border: 1.5px solid var(--el-slate-line, #C9CDD2) !important; }

/* ---------- v1.2.25: text-light sections get proportional air (Seb: opener zone too empty) ---------- */
.el-hero__inner { padding-bottom: 64px; }
.el-ops.el-opening { padding-top: 52px; padding-bottom: 52px; }
.el-ops.el-opening p { font-size: 21px; line-height: 1.6; max-width: 58ch; }
.el-trust { padding-top: 22px; padding-bottom: 22px; }

/* Revision 4: readable shared slogan and compact narrow-screen navigation. */
.el-footer__slogan { font: 700 18px/1.4 Arial, sans-serif; color: var(--el-ink); margin: 20px 0 14px; }
.el-nav__links a:hover, .el-nav__dd-trigger:hover, .el-rotate-link { text-decoration: underline; text-decoration-color: var(--el-sky); text-underline-offset: 4px; }
.el-contact__meta a, .el-footer a:hover { color: var(--el-ink); text-decoration: underline; }
.el-entity-tab.is-active { color: var(--el-ink); }
.el-hero__title .amber { color: var(--el-ink); text-decoration: underline; text-decoration-color: var(--el-amber); text-decoration-thickness: 5px; text-underline-offset: 9px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--el-ink); outline-offset: 4px; }
@media (max-width: 400px) {
  .el-nav { padding: 14px 16px; gap: 8px; }
  .el-nav__brand img { width: 120px; height: auto; }
  .el-nav > .el-btn { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
  .el-nav__burger { padding: 6px; flex: 0 0 36px; }
  .el-container, .el-hero__inner, .el-hero__inner--page { padding-left: 20px; padding-right: 20px; }
  .el-hero__title { font-size: 44px; }
}
