/* Header / Nav */
.site-header{position:sticky;top:0;z-index:50;box-shadow:0 14px 34px rgba(0,0,0,.22);background:linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);border-bottom:1px solid var(--border-soft)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:var(--s-4) 0}

/* === Header layout (desktop) === */
/* Prevent 'bunching' when viewport is tight (desktop) */
  /* Prevent 'bunching' when viewport is tight (desktop) */
  @media (max-width: 1180px){
    .site-header .nav-links{ gap: var(--s-4); }
    .site-header .nav-cta .btn{ padding: 10px 14px; }
  }

  /* Header container should be wider than content to avoid 'clustered center' look */
  .site-header .container{
    max-width: 1680px;
    padding-left: 56px;
    padding-right: 56px;
  }
  @media (max-width: 1200px){
    .site-header .container{
      padding-left: 24px;
      padding-right: 24px;
    }
  }

.site-header .nav{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  column-gap: var(--s-6);
  padding: var(--s-4) 0;
  position: relative;
}

/* Brand stays hard-left */
.site-header .brand{
  flex: 0 0 auto;
}

/* Push links toward the right (not centered) */
.site-header .nav-links{
  flex: 0 1 auto;
  margin-left: auto;
  justify-content: flex-end;
  min-width: 0;
}

/* CTA stays at far-right */
.site-header .nav-cta{
  flex: 0 0 auto;

  justify-self: end;
}

  /* Header CTA sizing: align with nav rhythm */
  .site-header .nav-cta .btn.btn-primary{padding:8px 12px;font-size:var(--fs-400);line-height:1.1;white-space:nowrap}
/* Make the division line readable + keep lockup tidy */
.site-header .brand-sub{
  color:rgba(255,255,255,0.72);
  font-weight: 800;
}

  /* Header nav readability */
  .site-header .nav-links a{font-size:0.98rem;}
/* === Brand text lockup (Security Solutions) === */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-logo{
  height:44px;
  width:auto;
  display:block;
  max-width:220px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-title{
  font-weight:900;
  font-size:1.05rem;
  letter-spacing:0.3px;
  color:rgba(255,255,255,0.95);
}

.brand-sub{
  font-size:0.78rem;
  font-weight:800;
  color:rgba(255,255,255,0.72);
  margin-top:2px;
  border:none;          /* remove divider */
  padding-left:0;       /* remove divider spacing */
}

/* Keep header clean on mobile */
@media (max-width:900px){
  .brand-text{display:none;}
}

.brand-mark{width:36px;height:36px;border-radius:var(--r-1);background:rgba(201,162,39,.16);border:1px solid rgba(36,48,31,.18);display:grid;place-items:center;color:var(--text-primary);font-weight:900}
.nav-links{display:flex;gap:var(--s-6);align-items:center}
.nav-links a{font-size:var(--fs-400);font-weight:800;color:rgba(255,255,255,0.82)}
.nav-links a:hover{color:var(--accent-gold)}
.nav-cta{display:flex;gap:var(--s-2);align-items:center}
.burger{display:none;border:1px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.88);padding:10px 12px;border-radius:var(--r-1);font-weight:900}
@media (max-width:1180px){.burger{display:inline-flex;border:1px solid var(--border-soft);background:rgba(242,242,242,0.06);color:var(--text-primary)}.nav-links{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;background:rgba(42,46,50,.96);z-index:60;border-bottom:1px solid var(--border-soft);padding:var(--s-6);flex-direction:column;align-items:flex-start;gap:var(--s-4)}.nav-links[data-open="true"]{display:flex}.nav-links[data-open="true"] a{color:var(--text-primary)}.nav-links[data-open="true"] a:hover{color:var(--text-primary)}}

/* Buttons: canonical base shape only. Visual variants are defined in the governed non-landing component layer. */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:var(--r-2);border:1px solid transparent;font-weight:900;cursor:pointer;text-decoration:none}

/* Utilities: layout helpers (no inline styles) */
.grid-align-center{align-items:center}
.grid-gap-12{gap:12px}
.grid-gap-s4{gap:var(--s-4)}
.grid-gap-s6{gap:var(--s-6)}
.flex-actions{display:flex;gap:12px;flex-wrap:wrap}
.flex-actions.mt-16{margin-top:16px}
.flex-actions.mt-18{margin-top:18px}
.mw-46ch{max-width:46ch}
.mw-70ch{max-width:70ch}
.mw-75ch{max-width:75ch}
.mw-80ch{max-width:80ch}
.mt-10{margin-top:10px}
.mt-12{margin-top:12px}
.mt-14{margin-top:14px}
.mt-s6{margin-top:var(--s-6)}

.container-narrow{max-width:980px}

.hero-right-stack{gap:12px}
.proof-placeholder{
  height:180px;
  background:rgba(242,242,242,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:rgba(58,58,54,0.60);
}

/* Footer helpers */

/* Trust rows spacing helpers */
.trust-row.mt-10{margin-top:10px}
.trust-row.mt-12{margin-top:12px}

/* Hero CTA row */
.hero-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Cards */

/* Forms */
.form{display:grid;gap:var(--s-4)}
.field{display:grid;gap:8px}
label{font-size:var(--fs-400);font-weight:900;color:var(--ink-800)}
input,textarea,select{padding:12px 14px;border-radius:var(--r-2);border:1px solid var(--slate-200);font:inherit}
textarea{min-height:140px}

/* Footer */
.list-plain{margin:0;padding-left:18px;color:rgba(71,85,105,0.95);font-weight:700;line-height:1.9}

.hr-footer{background:rgba(255,255,255,0.12);border:0;margin:var(--s-8) 0}
.footer-meta{font-size:var(--fs-400);margin:0;line-height:1.7}
.footer-meta-spaced{margin-top:var(--s-6)}

/* Utilities (layout hygiene; avoid inline styles) */
.m-0{margin:0}
.mw-920{max-width:920px}

/* ===== Image cards (real photos with controlled corporate treatment) ===== */
.img-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--r-3);
  border:1px solid rgba(203,213,225,.70);
  background:#fff;
  box-shadow:0 10px 28px rgba(0, 15, 23, .10);
}
.img-card img{
  width:100%;
  height:auto;
  display:block;
  filter: saturate(1.05) contrast(1.05) brightness(1.02) sepia(0.08);
}

.img-card:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(36,48,31,0.08), rgba(36,48,31,0.55));
  pointer-events:none;
}
.img-card figcaption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  color:rgba(255,255,255,.95);
  font-weight:900;
  letter-spacing:.2px;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
  font-size:var(--fs-400);
}

/* Corporate treatment: slightly cooler overlay, keep humans warm */
.img-corp img{filter:saturate(.82) contrast(1.06)}
.img-corp:after{
  background:
    linear-gradient(180deg, rgba(47,171,226,.10), rgba(16,34,47,.38));
}

/* Replace old placeholder look if any remain */
.proof-placeholder{display:none !important;}

/* =========================================================
   ISS Training Academy — Olive / Sand / Gold theme
   Single source of truth (no inline styling)
   ========================================================= */

/* (Removed duplicate early theme block; authoritative theme block remains below.) */

/* =========================================================
   TRAINING THEME AUTHORITY (olive / sand / gold)
   Single source of truth for: page marble, header surface, hero
   ========================================================= */

/* =========================================================
   HERO CLEAN (Canonical)
   Single source of truth for service-page hero sections.
   ========================================================= */

.hero-clean{
  min-height: 60vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(201,162,39,0.18), transparent 60%),
    linear-gradient(180deg, #21361c 0%, #182814 100%);
  color: var(--text-primary);
}

.hero-clean .container{
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 1200px){
  .hero-clean .container{
    padding-left: 24px;
    padding-right: 24px;
  }
}

.hero-clean h1,
.hero-clean h2,
.hero-clean h3{
  color: rgba(251,244,230,0.98);
}

.hero-clean p{
  color: rgba(242,227,199,0.92);
}

/* =========================================================
   FOOTER (Canonical)
   Single source of truth.
   ========================================================= */
.site-footer{
  padding: 36px 0 18px;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  color: var(--text-primary);
  border-top: 1px solid var(--border-soft);
}

.site-footer a{ color: rgba(251,244,230,0.92); }
.site-footer a:hover{ color: var(--accent-gold); }

.site-footer .muted{ color: rgba(242,227,199,0.78); }

.site-footer .footer-row{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: var(--s-8);
  align-items:start;
}

.site-footer .footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--s-6);
  padding-top: 8px;
}

.site-footer .footer-social{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.site-footer .btn.btn-ghost{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
}

.site-footer .btn.btn-ghost:hover{
  background: rgba(255,255,255,0.10);
  color: var(--accent-gold);
}

.site-footer .footer-h3{
  color: rgba(251,244,230,0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.site-footer .footer-brandline{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.site-footer .footer-logo{
  height: 44px;
  width: auto;
  display: block;
  max-width: 220px;
}

.site-footer .footer-links{
  font-size: var(--fs-400);
  margin-top: 10px;
}

.site-footer .hr-footer{
  background: rgba(255,255,255,0.12);
  border: 0;
  margin: var(--s-8) 0;
}

@media (max-width: 980px){
  .site-footer .footer-row{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .site-footer .footer-row{ grid-template-columns: 1fr; }
  .site-footer .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

.site-footer .footer-social .btn.btn-ghost{
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.site-footer .footer-social .btn.btn-ghost svg{
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: rgba(251,244,230,0.92);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .footer-social .btn.btn-ghost:hover svg{
  stroke: var(--accent-gold);
}

/* =========================================================
   HERO WARMTH OVERRIDE (reduce green strip under nav)
   Appended override so it always wins.
   ========================================================= */

/* create a warm fade directly under the header */
/* warm “parchment” band at the very top of the hero */
/* keep the photo but shift overlay from olive-green to neutral/warm */
/* warm the hero photo slightly (reduces “blue-ish” feel) */
/* ensure content sits above the new top fade */
/* ======================================
   HERO – CINEMATIC SYSTEM (Canonical)
   Single source of truth for homepage hero.
   ====================================== */

.hero-cinematic .hero-inner{
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 6%;
}

.hero-cinematic .hero-title{
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  color: #f2e6d4;
  margin-bottom: 1.2rem;
}

.hero-cinematic .hero-subtitle{
  font-size: 1.15rem;
  color: #e6d8c2;
  margin-bottom: 2rem;
}

/* Homepage-only header integration */
.page-home .site-header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.page-home .site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,16,10,0.78) 0%,
    rgba(20,16,10,0.46) 55%,
    rgba(20,16,10,0.00) 100%
  );
  pointer-events: none;
}

.page-home .site-header .container,
.page-home .site-header .nav{
  position: relative;
  z-index: 2;
}

/* Canonical homepage hero */
.hero-cinematic{
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/hero/hero-security-training.png');
  background-size: cover;
  background-position: 85% center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.hero-cinematic::before,
.hero-cinematic::after{
  content: none;
  display: none;
  background: none;
  opacity: 0;
}

.hero-cinematic,
.hero-cinematic *{
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-cinematic .hero-title,
.hero-cinematic .hero-subtitle{
  text-shadow: 0 2px 18px rgba(0,0,0,0.30);
}

/* Hero CTA contrast fix */
.hero-cinematic .btn-ghost{
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.45);
}

.hero-cinematic .btn-ghost:hover{
  background: rgba(255,255,255,0.12);
}


/* =========================================================
   HERO CTA VISIBILITY (Homepage only)
   Ensures CTA text remains readable over hero imagery
   Scoped ONLY to .hero-cinematic to avoid global overrides
   ========================================================= */

.hero-cinematic .btn{
  color:#ffffff;
}

.hero-cinematic .btn-ghost{
  color:#ffffff;
  border-color:rgba(255,255,255,0.7);
  background:rgba(255,255,255,0.08);
}

.hero-cinematic .btn-ghost:hover{
  background:rgba(255,255,255,0.18);
}


.section-soft{
  background:
    linear-gradient(180deg, rgba(201,162,39,0.06), rgba(201,162,39,0.03)),
    url("/assets/textures/sandstone-grain.png"),
    var(--bg-soft);
  background-size: auto, 260px, auto;
}

.bg-soft{
  background:
    linear-gradient(180deg, rgba(201,162,39,0.08), rgba(201,162,39,0.04)),
    url("/assets/textures/sandstone-soft.jpg"),
    var(--bg-soft);
  background-size:auto,480px,auto;
  background-repeat:repeat,repeat,repeat;
  background-blend-mode:multiply,normal,normal;
}

/* =========================================================
   BG-SOFT CARD READABILITY
   Warm card tones + readable text/buttons on sandstone sections
   ========================================================= */

.bg-soft .card,
.bg-soft .card-muted{
  color:#2f3827;
}

.bg-soft .card p,
.bg-soft .card li,
.bg-soft .card .mini-note,
.bg-soft .card-muted p,
.bg-soft .card-muted li,
.bg-soft .card-muted .mini-note{
  color:#4e5a46;
}

.bg-soft .card h3,
.bg-soft .card-muted h3{
  color:#26311f;
}

.bg-soft .btn-ghost{
  color:#324126;
  border:1px solid #b9ab8a;
  background:rgba(243,237,224,0.72);
}

.bg-soft .btn-ghost:hover{
  color:#24301c;
  background:rgba(243,237,224,0.92);
  border-color:#9f916f;
}

.bg-soft .btn-primary{
  color:#ffffff;
}


/* =========================================================
   HERO TEXT COLOUR BRIDGE (connect hero with sandstone section)
   ========================================================= */

.hero p{
  color:#f3ede0;
}

.hero .mini-note{
  color:#e9e2d2;
}

.hero-actions .btn-ghost{
  color:#f3ede0;
}


/* =========================================================
   TRUST BAND (Homepage credibility strip)
   ========================================================= */

.trust-band{
  background: linear-gradient(180deg,#182814,#21361c);
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-band-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
}

.trust-pill{
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  padding:8px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:0.9rem;
  color:#f2e6d4;
  letter-spacing:0.02em;
}


/* =========================================================
   SECTION DIVIDERS (homepage rhythm)
   ========================================================= */

.section{
  position: relative;
}

.section + .section{
  border-top: 2px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.bg-soft + .bg-soft{
  border-top: 2px solid rgba(120,100,60,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.section-title{
  margin-bottom: 10px;
}


/* =========================================================
   PAGE HERO IMAGE
   ========================================================= */

.hero-image{
  margin-top: 18px;
}

.hero-image img{
  display: block;
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}


/* =========================================================
   COURSE PATHWAY IMAGES
   ========================================================= */

.pathway-image{
  margin: 12px 0 16px;
}

.pathway-image img{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 12px 28px rgba(0,0,0,0.12);
}








/* =========================================================
   PAGE IMAGE SYSTEM
   Canonical treatment for inner-page images
   ========================================================= */
.pathway-image-img{
  display:block;
  width:100%;
  height:auto;
}

.content-image-frame{
  max-width:560px;
  margin:24px auto;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(70,58,38,0.18);
  box-shadow:0 8px 18px rgba(0,0,0,0.10);
  background:rgba(255,255,255,0.18);
}

.content-image-frame .pathway-image-img{
  display:block;
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center 12%;
}

/* =========================================================
   ABOUT IMAGE MAT (replaces border approach)
   ========================================================= */

.content-image-frame{
  max-width:560px;
  margin:24px auto;
  padding:12px;
  border-radius:14px;
  background:#ffffff;
  box-shadow:0 10px 22px rgba(0,0,0,0.12);
}

.content-image-frame img{
  display:block;
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center 12%;
  border-radius:10px;
}


/* =========================================================
   Public course cards + cookie banner
   CSS-only replacement for previous inline styles
   ========================================================= */
.course-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.course-price-special {
  color: var(--gold);
  font-weight: 800;
}

.footer-note {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--grey);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: rgba(14,15,17,0.96);
  color: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-2);
  box-shadow: var(--shadow-1);
  padding: 16px;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-banner__text {
  line-height: 1.35;
  max-width: 760px;
}

.cookie-banner__title {
  display: block;
  margin-bottom: 2px;
  font-weight: 800;
}

.cookie-banner__link {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-banner__btn {
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}

.cookie-banner__btn--decline {
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  color: var(--white);
}

.cookie-banner__btn--accept {
  border: 1px solid rgba(255,255,255,0.75);
  background: var(--white);
  color: var(--black);
}

/* ===== NEW PALETTE OVERRIDE (NON-LANDING) ===== */





.section.bg-soft {
  background: var(--bg);
}

h1, h2, h3 {
  color: var(--text-primary);
}

.muted {
  color: var(--text-secondary);
}


/* ===== HERO / DARK SECTION PALETTE FIX ===== */

/* Replace green hero gradients */
.hero,
.section-hero,
[class*="hero"] {
  background:
    radial-gradient(circle at top left, rgba(47,143,191,0.15), transparent 40%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
}

/* Any legacy green gradient override */
[style*="#21361c"],
[style*="#182814"] {
  background: var(--charcoal) !important;
}

/* Ensure headings are readable */
.hero h1,
.hero h2,
.section-hero h1 {
  color: var(--text-primary);
}

/* Paragraph contrast */
.hero p,
.section-hero p {
  color: var(--text-secondary);
}

/* Buttons inside hero */
.hero .btn-primary {
  background: var(--accent-primary);
  color: var(--white);
}

.hero .btn-ghost {
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
}

/* Remove any green overlays */
[class*="overlay"] {
  background: none !important;
}



/* ===== EXACT NON-LANDING THEME OVERRIDE ===== */


.hero-clean {
  background:
    radial-gradient(circle at top left, rgba(47,143,191,0.16), transparent 40%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%) !important;
  color: var(--text-primary) !important;
}

.hero-clean h1,
.hero-clean h2,
.hero-clean h3,
.hero-clean .kicker {
  color: var(--text-primary) !important;
}

.hero-clean p {
  color: var(--text-secondary) !important;
}

.section.bg-soft {
  background: var(--bg) !important;
}

.card,
.bg-soft .card,
.bg-soft .card-muted {
  background: var(--bg-soft) !important;
  border: 1px solid var(--border-soft) !important;
  color: var(--text-primary) !important;
}

.card-muted {
  background: rgba(255,255,255,0.04) !important;
}

.card h3,
.card-muted h3,
.bg-soft .card h3,
.bg-soft .card-muted h3 {
  color: var(--text-primary) !important;
}

.card p,
.card li,
.card .mini-note,
.card-muted p,
.card-muted li,
.card-muted .mini-note,
.bg-soft .card p,
.bg-soft .card li,
.bg-soft .card .mini-note,
.bg-soft .card-muted p,
.bg-soft .card-muted li,
.bg-soft .card-muted .mini-note,
.list-plain {
  color: var(--text-secondary) !important;
}

.btn-primary,
.bg-soft .btn-primary {
  background: var(--accent-primary) !important;
  color: var(--white) !important;
  border: 1px solid transparent !important;
}

.btn-ghost,
.bg-soft .btn-ghost {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-soft) !important;
}

/* ===== NON-LANDING EDITORIAL SYSTEM ===== */

.page-shell{
  background: var(--surface-page);
  color: var(--text-on-dark);
}

.page-intro{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr);
  gap:var(--s-6);
  align-items:stretch;
}

.page-intro--text,
.page-intro--media,
.feature-panel,
.support-panel,
.campaign-panel,
.filter-panel,
.results-panel,
.media-panel,
.empty-panel,
.table-panel,
.calendar-panel{
  border:1px solid var(--border-subtle);
  border-radius:var(--r-3);
  box-shadow:var(--shadow-1);
}

.page-intro--text,
.feature-panel,
.support-panel,
.filter-panel,
.results-panel,
.table-panel,
.calendar-panel,
.empty-panel{
  background: linear-gradient(180deg, var(--surface-panel) 0%, var(--surface-panel-strong) 100%);
}

.page-intro--media,
.media-panel{
  position:relative;
  overflow:hidden;
  min-height:320px;
  background: linear-gradient(180deg, var(--surface-panel-soft) 0%, var(--surface-panel) 100%);
}

.page-intro--media img,
.media-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.page-intro--media::after,
.media-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background: var(--media-overlay-dark);
  pointer-events:none;
}

.page-intro--body,
.panel-body{
  padding:clamp(20px,2vw,36px);
}

/* SECURITY_ACADEMY_GOVERNED_FORM_GRID_V1_START */
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--s-4);
  align-items:start;
}

.form-field{
  display:grid;
  gap:8px;
  min-width:0;
}

.form-field-full{
  grid-column:1 / -1;
}

.form-field label{
  color:var(--text-on-dark);
  font-size:var(--fs-400);
  font-weight:900;
}

.form-field input,
.form-field textarea,
.form-field select{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  border-radius:var(--r-2);
  border:1px solid var(--border-strong);
  background:rgba(242,242,242,0.96);
  color:var(--text-on-light);
  font:inherit;
}

.form-field textarea{
  min-height:140px;
  resize:vertical;
}

@media (max-width:760px){
  .form-grid{
    grid-template-columns:1fr;
  }
}

/* SECURITY_ACADEMY_NOTICE_CARD_V1_START */
.notice-card{
  margin-bottom:24px;
  padding:18px;
  border:1px solid #334155;
  border-radius:12px;
  background:#0f172a;
}

.notice-card-title{
  margin-top:0;
}

.notice-card-actions{
  margin-top:16px;
}
/* SECURITY_ACADEMY_NOTICE_CARD_V1_END */

/* SECURITY_ACADEMY_GOVERNED_FORM_GRID_V1_END */

.editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);
  gap:var(--s-6);
  align-items:start;
}

.editorial-stack{
  display:grid;
  gap:var(--s-6);
}

.feature-panel{
  min-height:280px;
}

.support-panel{
  min-height:220px;
}

.campaign-panel{
  background: linear-gradient(180deg, var(--panel-gold-bg) 0%, color-mix(in srgb, var(--gold) 82%, var(--khaki) 18%) 100%);
  color: var(--panel-gold-text);
  min-height:220px;
}

.campaign-panel a,
.campaign-panel p,
.campaign-panel h2,
.campaign-panel h3,
.campaign-panel .kicker{
  color: var(--panel-gold-text);
}

.filter-panel{
  padding:clamp(20px,2vw,32px);
}

/* === RESULTS_GRID_THREE_COLUMN_V1 === */
.results-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--s-5);
}

.content-card{
  background: linear-gradient(180deg, var(--surface-panel) 0%, var(--surface-panel-strong) 100%);
  border:1px solid var(--border-subtle);
  border-radius:var(--r-3);
  box-shadow:var(--shadow-1);
  padding:clamp(20px,1.8vw,30px);
  min-height:100%;
}

.kicker-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:var(--s-4);
}

.kicker-line::before{
  content:"";
  width:38px;
  height:2px;
  background:var(--accent-gold);
  display:inline-block;
  border-radius:999px;
}

.kicker{
  font-size:var(--fs-400);
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:900;
  color:var(--accent-gold);
}

.page-title,
.panel-title{
  color:var(--text-on-dark);
  line-height:1.05;
  margin:0 0 var(--s-4) 0;
}

.page-title{
  font-size:clamp(2.4rem,2rem + 2vw,4.2rem);
  max-width:14ch;
}

.panel-title{
  font-size:clamp(1.5rem,1.3rem + .9vw,2.4rem);
}

.lead,
.panel-copy{
  color:var(--text-on-dark-muted);
  font-size:clamp(1rem,.98rem + .2vw,1.15rem);
  line-height:1.65;
  max-width:62ch;
}

.meta-list{
  display:grid;
  gap:10px;
  margin-top:var(--s-4);
}

.meta-row{
  color:var(--text-on-dark-muted);
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  line-height:1.45;
}

.meta-row strong{
  color:var(--text-on-dark);
  font-weight:800;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:var(--s-4);
}

.chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--border-strong);
  color:var(--text-on-dark);
  background:rgba(242,242,242,0.03);
  font-size:var(--fs-400);
  font-weight:700;
}

.link-strong{
  color:var(--link-on-dark);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.link-strong:hover{
  color:var(--link-on-dark-hover);
}

.media-caption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2;
  background:rgba(14,15,17,.72);
  border-left:3px solid var(--accent-gold);
  padding:16px 18px;
  backdrop-filter: blur(6px);
}

.media-caption .kicker{
  color:var(--accent-gold);
}

.media-caption p,
.media-caption h3{
  margin:0;
  color:var(--text-on-dark);
}

.table-shell{
  overflow:auto;
  border:1px solid var(--border-subtle);
  border-radius:var(--r-2);
  background:rgba(242,242,242,0.03);
}

.table-shell table{
  width:100%;
  border-collapse:collapse;
}

.table-shell th,
.table-shell td{
  padding:14px 16px;
  border-bottom:1px solid var(--border-subtle);
  text-align:left;
  vertical-align:top;
}

.table-shell th{
  color:var(--text-on-dark);
  font-size:var(--fs-400);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.table-shell td{
  color:var(--text-on-dark-muted);
}

.calendar-shell{
  display:grid;
  gap:var(--s-6);
}

.empty-panel{
  padding:var(--s-8);
}

.empty-panel p{
  margin:0;
  color:var(--text-on-dark-muted);
}

.page-section{
  margin-top:var(--s-8);
}

@media (max-width: 1180px){
  .page-intro,
  .editorial-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 1180px){
  .results-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* EMPLOYER_PAGE_VISUAL_BALANCE_V1_START */

.page-shell .page-title{
  font-size:clamp(2rem,1.8rem + 1vw,3.1rem);
  max-width:18ch;
  line-height:1.12;
}

.page-shell .panel-title{
  font-size:clamp(1.22rem,1.08rem + .45vw,1.8rem);
  line-height:1.28;
}

.page-shell .lead{
  font-size:1.06rem;
  max-width:72ch;
}

.page-shell .panel-copy{
  font-size:1rem;
  line-height:1.72;
}

.page-shell .support-panel{
  min-height:unset;
}

.page-shell .feature-panel{
  min-height:unset;
}

.page-shell .panel-body{
  padding:28px;
}

.page-shell .results-grid{
  gap:24px;
}

.page-shell .chip-row{
  margin-top:18px;
}

/* EMPLOYER_PAGE_VISUAL_BALANCE_V1_END */

@media (max-width: 900px){
  .results-grid{
    grid-template-columns:1fr;
  }

  .page-title{
    max-width:none;
  }
}


/* EDITORIAL GRID ALIGNMENT FIX */
.editorial-grid{
  align-items: stretch;
}

.editorial-grid > div{
  display: flex;
  flex-direction: column;
}

.editorial-grid > div:last-child{
  justify-content: space-between;
}

main{
  
}








/* Force grid rows to equal height */
.editorial-grid--detail{
  align-items: stretch;
}

/* Critical: make BOTH columns stretch fully */
.editorial-grid--detail > div{
  display: flex;
  flex-direction: column;
}

/* Now push last card */
.editorial-grid--detail > div:last-child > article:last-child{
  margin-top: auto;
}

/* === CALENDAR GRID FIX === */

.calendar-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
  margin-top:16px;
}

.calendar-dow{
  font-size:0.85rem;
  font-weight:600;
  color:var(--text-on-dark-muted);
  text-align:center;
}

.calendar-day{
  min-height:110px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:10px;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.calendar-day.is-outside{
  opacity:0.35;
}

.calendar-dayhead{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.calendar-date{
  font-weight:700;
  font-size:0.9rem;
}

.calendar-event{
  font-size:0.75rem;
  background:rgba(255,255,255,0.08);
  padding:6px;
  border-radius:6px;
}

.calendar-event-title{
  display:block;
  font-weight:600;
}

.calendar-event-meta{
  display:block;
  font-size:0.7rem;
  opacity:0.7;
}



/* === LINK COLOR STANDARDIZATION === */
a {
  color: #cc5500;
}

a:hover {
  color: #e0661a;
}

/* ===== PASSPORT PAGE DENSITY OVERRIDES =====
   Scoped to My Security Passport only.
   Do not duplicate this block.
*/
.passport-page .page-title{
  font-size:clamp(1.8rem,1.5rem + 1vw,2.6rem);
  max-width:none;
  margin-bottom:12px;
}

.passport-page .panel-title{
  font-size:clamp(1.15rem,1rem + .4vw,1.5rem);
  margin-bottom:8px;
}

.passport-page .panel-body{
  padding:16px;
}

.passport-page p{
  margin-top:0;
  margin-bottom:10px;
}

.passport-page input,
.passport-page select{
  padding:8px 10px;
  font-size:14px;
}

.passport-page .btn{
  padding:8px 12px;
  font-size:14px;
}

.passport-page .meta-list{
  gap:6px;
  margin-top:10px;
}

.passport-page .meta-row{
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* Passport form grid (scoped, single source of truth) */
.passport-page .passport-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

/* ===== PASSPORT ROW STRUCTURE FIXES ===== */

/* Employment rows: inline, not split */
.passport-page .meta-row{
  justify-content:flex-start;
  gap:12px;
}

.passport-page .meta-row span{
  opacity:0.85;
}

/* Qualification cards */
.passport-page .qualification-card{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  padding:14px;
  margin-top:12px;
  background:rgba(255,255,255,0.02);
}

/* Qualification header */
.passport-page .qualification-header{
  font-weight:700;
  margin-bottom:6px;
}

/* Evidence list */
.passport-page .qualification-files{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* Individual file row */
.passport-page .qualification-file{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
}

.passport-page .qualification-file a{
  color:var(--accent-gold);
  text-decoration:none;
}

.passport-page .qualification-file-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.passport-page .qualification-file-actions form{
  margin:0;
}

/* EMPLOYER_PAGE_IMAGE_REBALANCE_V1_START */
.employers-page .page-intro{
  grid-template-columns:1fr;
}

.employers-page .page-intro--media{
  min-height:240px;
  max-height:320px;
}

.employers-page .page-intro--media img{
  object-position:center 38%;
}

.employers-page .page-intro--body > .results-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

@media (max-width:900px){
  .employers-page .page-intro--body > .results-grid{
    grid-template-columns:1fr;
  }
}
/* EMPLOYER_PAGE_IMAGE_REBALANCE_V1_END */

/* EMPLOYER_REPORT_PREVIEW_V1_START */
.employers-page .employer-hero-briefing{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,460px);
  gap:28px;
  align-items:start;
}

.employers-page .employer-report-preview{
  background:#f4f6f8;
  color:#111827;
  border:1px solid rgba(255,255,255,.35);
  border-radius:18px;
  padding:22px;
  box-shadow:0 22px 45px rgba(0,0,0,.28);
}

.employers-page .employer-report-preview h2{
  margin:0 0 14px;
  font-size:1.35rem;
  color:#111827;
}

.employers-page .report-preview-kicker{
  margin:0 0 8px;
  color:#374151;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
}

.employers-page .report-preview-table{
  border:1px solid #d1d5db;
  border-radius:12px;
  overflow:hidden;
  background:white;
}

.employers-page .report-preview-table div{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
}

.employers-page .report-preview-table div:last-child{
  border-bottom:0;
}

.employers-page .report-preview-table span{
  color:#374151;
  font-weight:800;
}

.employers-page .report-preview-table strong{
  color:#111827;
  font-weight:900;
}

.employers-page .report-preview-note{
  margin:12px 0 0;
  color:#4b5563;
  font-size:.9rem;
  line-height:1.45;
}

@media (max-width:1180px){
  .employers-page .employer-hero-briefing{
    grid-template-columns:1fr;
  }
}
/* EMPLOYER_REPORT_PREVIEW_V1_END */

/* INDIVIDUALS_PAGE_VISUAL_BALANCE_V1_START */
.individuals-page .page-intro{
  grid-template-columns:1fr;
}

.individuals-page .page-intro--media{
  min-height:240px;
  max-height:320px;
}

.individuals-page .page-intro--media img{
  object-position:center 38%;
}

.individuals-page .page-intro--body > .results-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

@media (max-width:900px){
  .individuals-page .page-intro--body > .results-grid{
    grid-template-columns:1fr;
  }
}
/* INDIVIDUALS_PAGE_VISUAL_BALANCE_V1_END */

/* INDIVIDUAL_CERTIFICATE_PREVIEW_V1_START */
.individuals-page .individual-hero-briefing{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:28px;
  align-items:start;
}

.individuals-page .individual-certificate-preview{
  background:#f7f8fa;
  color:#111827;
  border:1px solid rgba(255,255,255,.35);
  border-radius:18px;
  padding:18px;
  box-shadow:0 22px 45px rgba(0,0,0,.28);
}

.individuals-page .certificate-preview-kicker{
  margin:0 0 10px;
  color:#374151;
  font-size:.76rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
}

.individuals-page .certificate-preview-card{
  background:white;
  border:1px solid #d1d5db;
  border-radius:12px;
  min-height:260px;
  padding:22px 22px 16px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.individuals-page .certificate-preview-card::before{
  content:"ISS";
  position:absolute;
  inset:auto auto 42px 28px;
  font-size:5rem;
  font-weight:900;
  color:rgba(17,24,39,.04);
  transform:rotate(-28deg);
}

.individuals-page .certificate-preview-card p{
  margin:6px 0;
  color:#374151;
  font-size:.95rem;
}

.individuals-page .certificate-preview-card h2{
  margin:8px 0;
  color:#030712;
  font-size:2rem;
  line-height:1;
}

.individuals-page .certificate-preview-card h3{
  margin:8px 0;
  color:#1f2937;
  font-size:1.1rem;
}

.individuals-page .certificate-preview-signature{
  width:70%;
  height:1px;
  background:#374151;
  margin:42px auto 8px;
}

.individuals-page .certificate-preview-small{
  font-size:.78rem !important;
}

.individuals-page .certificate-preview-footer{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:12px;
  margin:18px -22px -16px;
  padding:12px 16px;
  background:#252a31;
  color:white;
  border-top:3px solid var(--accent-gold);
  font-size:.8rem;
  font-weight:800;
}

.individuals-page .certificate-preview-qr{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  background:white;
  color:#111827;
  border:2px solid #111827;
  font-size:.72rem;
}

.individuals-page .certificate-preview-note{
  margin:12px 0 0;
  color:#4b5563;
  font-size:.9rem;
  line-height:1.45;
}

@media (max-width:1180px){
  .individuals-page .individual-hero-briefing{
    grid-template-columns:1fr;
  }
}
/* INDIVIDUAL_CERTIFICATE_PREVIEW_V1_END */

/* APPLY_PAGE_SCOPED_STYLE_V1_START */
.apply-page .editorial-grid{
  grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
  align-items:start;
}

.apply-page .support-panel,
.apply-page .feature-panel{
  min-width:0;
}

.apply-page form,
.apply-page .field,
.apply-page .grid{
  min-width:0;
}

.apply-page input,
.apply-page select,
.apply-page textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  background:#f8fafc;
  color:#111827;
}

.apply-page select{
  white-space:normal;
}

.apply-page .grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.apply-page .field label{
  color:var(--text-on-dark);
  font-weight:900;
}

.apply-page .field label input[type="checkbox"]{
  width:auto;
  max-width:none;
  margin-right:8px;
}

.apply-page .panel-body{
  overflow:hidden;
}

@media (max-width:1180px){
  .apply-page .editorial-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .apply-page .grid-2{
    grid-template-columns:1fr;
  }
}
/* APPLY_PAGE_SCOPED_STYLE_V1_END */
/* EMPLOYER_TRAINING_PAGE_SCOPED_STYLE_V1_START */

.employer-training-page .results-grid{
  align-items:start;
}

.employer-training-page .support-panel,
.employer-training-page .feature-panel,
.employer-training-page .campaign-panel{
  min-width:0;
  overflow:hidden;
}

/* EMPLOYER_STAFF_TRAINING_CARD_ALIGNMENT_V2_START */
.employer-training-page .employer-training-layout > .editorial-stack > .support-panel,
.employer-training-page .employer-training-layout > .editorial-stack > .campaign-panel{
  min-height:unset;
}

.employer-training-page .employer-training-layout > .editorial-stack > article{
  width:100%;
}

.employer-training-page .employer-training-layout > .employer-training-form-card{
  min-height:unset;
}
/* EMPLOYER_STAFF_TRAINING_CARD_ALIGNMENT_V2_END */

/* EMPLOYER_STAFF_TRAINING_SIDEBAR_STRETCH_V1_START */
.employer-training-page .employer-training-layout > .editorial-stack{
  align-self:stretch;
  display:flex;
  flex-direction:column;
}

.employer-training-page .employer-training-layout > .editorial-stack > article:last-child{
  margin-top:auto;
}
/* EMPLOYER_STAFF_TRAINING_SIDEBAR_STRETCH_V1_END */

/* EMPLOYER_STAFF_TRAINING_SUCCESS_FULL_WIDTH_V2_START */
.employer-training-page .employer-training-layout .notice-card.success {
    grid-column: 1 / -1;
    width: 100%;
}
/* EMPLOYER_STAFF_TRAINING_SUCCESS_FULL_WIDTH_V2_END */


.employer-training-page form{
  width:100%;
}

.employer-training-page .field{
  display:grid;
  gap:8px;
  margin-bottom:18px;
  min-width:0;
}

.employer-training-page input,
.employer-training-page select,
.employer-training-page textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.employer-training-page textarea{
  resize:vertical;
}

.employer-training-page .panel-body{
  overflow:hidden;
}

.employer-training-page .notice-card{
  margin-bottom:24px;
}

@media (max-width:1180px){

  .employer-training-page .results-grid{
    grid-template-columns:1fr;
  }

}

/* EMPLOYER_TRAINING_PAGE_SCOPED_STYLE_V1_END */

/* EMPLOYER_STAFF_PAGE_OVERHAUL_V1_START */
.employer-training-page .employer-training-main{
  background:var(--surface-page);
}

.employer-training-page .employer-training-intro .page-title{
  max-width:22ch;
}

.employer-training-page .employer-training-layout{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.7fr);
  gap:var(--s-6);
  align-items:start;
}

.employer-training-page .employer-training-form-card{
  min-height:unset;
}

@media (max-width:1180px){
  .employer-training-page .employer-training-layout{
    grid-template-columns:1fr;
  }
}
/* EMPLOYER_STAFF_PAGE_OVERHAUL_V1_END */

/* EMPLOYER_COMPANY_SETUP_PAGE_V1_START */
.employer-company-setup-page .employer-company-setup-layout{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr);
  gap:var(--s-6);
  align-items:start;
}

.employer-company-setup-page .page-title{
  max-width:20ch;
}

@media (max-width:1180px){
  .employer-company-setup-page .employer-company-setup-layout{
    grid-template-columns:1fr;
  }
}
/* EMPLOYER_COMPANY_SETUP_PAGE_V1_END */

/* SECURITY_PASSPORT_MARKETING_V4_LEFT_DESIGN_CSS_START */
.security-passport-page .security-passport-marketing{
  background:
    radial-gradient(circle at 50% 0%, rgba(48,152,204,.18), transparent 34%),
    var(--surface-page);
}

.security-passport-page .security-passport-summary{
  max-width:1040px;
  margin:0 auto;
  text-align:center;
}

.security-passport-page .security-passport-summary .page-title{
  max-width:24ch;
  margin-left:auto;
  margin-right:auto;
}

.security-passport-page .security-passport-summary .lead{
  max-width:78ch;
  margin-left:auto;
  margin-right:auto;
}

.security-passport-page .security-passport-summary-kicker{
  justify-content:center;
}

.security-passport-page .security-passport-summary-kicker::after{
  content:"";
  width:38px;
  height:2px;
  background:var(--accent-gold);
  display:inline-block;
  border-radius:999px;
}

.security-passport-page .security-passport-summary-actions{
  justify-content:center;
}

.security-passport-page .security-passport-control-note{
  margin:18px 0 0;
  color:var(--text-on-dark-muted);
  font-weight:800;
}

.security-passport-page .security-passport-benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--s-5);
  align-items:stretch;
}

.security-passport-page .security-passport-benefit-card{
  min-width:0;
  min-height:100%;
  padding:clamp(22px,2vw,32px);
  border:1px solid var(--border-subtle);
  border-radius:var(--r-3);
  box-shadow:var(--shadow-1);
  background:
    radial-gradient(circle at 20% 0%, rgba(48,152,204,.10), transparent 34%),
    linear-gradient(180deg, var(--surface-panel) 0%, var(--surface-panel-strong) 100%);
}

.security-passport-page .security-passport-benefit-card .kicker{
  margin:0 0 12px;
}

.security-passport-page .security-passport-benefit-card .panel-title{
  font-size:clamp(1.25rem,1.1rem + .45vw,1.75rem);
}

.security-passport-page .security-passport-benefit-card .panel-copy{
  font-size:clamp(.95rem,.9rem + .12vw,1.04rem);
}

.security-passport-page .security-passport-icon,
.security-passport-page .security-passport-price-icon{
  width:68px;
  height:68px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--accent-gold) 55%, var(--border-subtle) 45%);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent-gold);
  font-size:2rem;
  font-weight:900;
  margin-bottom:18px;
  background:rgba(0,0,0,.14);
}

.security-passport-page .security-passport-pricing-band{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) minmax(280px,.65fr);
  gap:var(--s-6);
  align-items:center;
  padding:clamp(24px,2.2vw,36px);
  border:1px solid color-mix(in srgb, var(--accent-gold) 70%, var(--border-subtle) 30%);
  border-radius:var(--r-3);
  box-shadow:var(--shadow-1);
  background:
    radial-gradient(circle at 16% 10%, rgba(214,177,49,.15), transparent 28%),
    linear-gradient(180deg, var(--surface-panel) 0%, var(--surface-panel-strong) 100%);
}

.security-passport-page .security-passport-price-icon{
  width:86px;
  height:86px;
  font-size:2.4rem;
  margin-bottom:0;
}

.security-passport-page .security-passport-price-copy .kicker{
  margin:0 0 10px;
}

.security-passport-page .security-passport-price-row{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  align-items:baseline;
}

.security-passport-page .security-passport-price-row p{
  margin:0;
  color:var(--text-on-dark);
}

.security-passport-page .security-passport-price-row strong{
  font-size:clamp(2.4rem,1.8rem + 2vw,4.1rem);
  line-height:1;
}

.security-passport-page .security-passport-price-row span{
  font-size:clamp(1rem,.95rem + .25vw,1.25rem);
  font-weight:900;
}

.security-passport-page .security-passport-price-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
  align-items:center;
}

.security-passport-page .security-passport-trust-strip{
  margin-top:var(--s-5);
  padding:18px 24px;
  border:1px solid var(--border-subtle);
  border-radius:var(--r-3);
  background:rgba(242,242,242,.035);
  text-align:center;
}

.security-passport-page .security-passport-trust-strip p{
  margin:0;
  color:var(--text-on-dark-muted);
  font-weight:800;
}

@media (max-width:1180px){
  .security-passport-page .security-passport-benefit-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .security-passport-page .security-passport-pricing-band{
    grid-template-columns:1fr;
  }

  .security-passport-page .security-passport-price-actions{
    justify-content:flex-start;
  }
}

@media (max-width:720px){
  .security-passport-page .security-passport-benefit-grid{
    grid-template-columns:1fr;
  }

  .security-passport-page .security-passport-summary-actions,
  .security-passport-page .security-passport-price-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .security-passport-page .security-passport-summary-actions .btn,
  .security-passport-page .security-passport-price-actions .btn{
    justify-content:center;
  }
}
/* SECURITY_PASSPORT_MARKETING_V4_LEFT_DESIGN_CSS_END */

/* EMPLOYER_PASSPORT_SETUP_VISUAL_REFRESH_V1_START */
.employer-passport-setup-page .results-grid{
  align-items:stretch;
}

.employer-passport-setup-page .feature-panel,
.employer-passport-setup-page .support-panel,
.employer-passport-setup-page .campaign-panel{
  min-height:100%;
}

.employer-passport-setup-page .panel-body{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.employer-passport-setup-page form{
  margin-top:8px;
}

.employer-passport-setup-page textarea{
  min-height:180px;
}

.employer-passport-setup-page .page-summary-panel .page-title{
  max-width:22ch;
}
/* EMPLOYER_PASSPORT_SETUP_VISUAL_REFRESH_V1_END */

/* EMPLOYER_PASSPORT_PDF_CARD_BUTTON_FIX_V1_START */
.employer-passport-setup-page .campaign-panel .hero-actions{
  margin-top:18px;
  padding:0;
  background:transparent;
  box-shadow:none;
}

.employer-passport-setup-page .campaign-panel .btn{
  width:auto;
  min-width:180px;
  justify-content:center;
}

.employer-passport-setup-page .campaign-panel .panel-body{
  gap:18px;
}
/* EMPLOYER_PASSPORT_PDF_CARD_BUTTON_FIX_V1_END */

/* PASSPORT_LOGIN_PAGE_V1_START */
.passport-login-page .passport-login-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);
  gap:var(--s-6);
  align-items:start;
}

.passport-login-page .field{
  display:grid;
  gap:8px;
  margin-bottom:18px;
}

.passport-login-page input{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.passport-login-page .page-summary-panel .page-title{
  max-width:22ch;
}

@media (max-width:1180px){
  .passport-login-page .passport-login-layout{
    grid-template-columns:1fr;
  }
}
/* PASSPORT_LOGIN_PAGE_V1_END */

/* PASSPORT_LOGIN_ALIGNMENT_DESIGN_V1_START */
.passport-login-page main .section{
  padding-top:clamp(54px,7vw,96px);
}

.passport-login-page .passport-login-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:var(--s-6);
  align-items:start;
}

.passport-login-page .passport-login-layout > .feature-panel,
.passport-login-page .passport-login-layout .editorial-stack > article{
  min-height:0;
}

.passport-login-page .passport-login-layout .feature-panel .panel-body,
.passport-login-page .passport-login-layout .support-panel .panel-body,
.passport-login-page .passport-login-layout .campaign-panel .panel-body{
  padding:clamp(28px,3vw,52px);
}

.passport-login-page .passport-login-form{
  margin-top:var(--s-4);
}

.passport-login-page .passport-login-form .field{
  margin-bottom:26px;
}

.passport-login-page .passport-login-form label{
  color:var(--text-on-dark);
  font-weight:900;
}

.passport-login-page .passport-login-form input{
  min-height:64px;
  border-radius:18px;
}

.passport-login-page .passport-login-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-top:32px;
  padding-top:28px;
  border-top:1px solid var(--border-subtle);
}

.passport-login-page .passport-login-trust-note{
  margin:28px 0 0;
  padding-top:24px;
  border-top:1px solid var(--border-subtle);
  color:var(--text-on-dark-muted);
  font-size:clamp(1rem,.96rem + .2vw,1.15rem);
  line-height:1.6;
}

.passport-login-page .editorial-stack{
  gap:var(--s-5);
}

.passport-login-page .campaign-panel{
  color:var(--panel-gold-text);
}

.passport-login-page .campaign-panel .btn{
  margin-top:8px;
}

@media (max-width:1180px){
  .passport-login-page .passport-login-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .passport-login-page .passport-login-action-row{
    flex-direction:column;
    align-items:stretch;
  }

  .passport-login-page .passport-login-action-row .btn{
    justify-content:center;
  }
}
/* PASSPORT_LOGIN_ALIGNMENT_DESIGN_V1_END */

/* PASSPORT_LOGIN_RIGHT_CARD_ALIGNMENT_V1_START */
.passport-login-page .passport-login-layout{
  align-items:stretch;
}

.passport-login-page .passport-login-layout > .feature-panel{
  height:100%;
}

.passport-login-page .passport-login-layout > .editorial-stack{
  height:100%;
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:var(--s-6);
}

.passport-login-page .passport-login-layout > .editorial-stack > article{
  height:100%;
}

@media (max-width:1180px){
  .passport-login-page .passport-login-layout > .editorial-stack{
    height:auto;
    display:grid;
    grid-template-rows:auto;
  }
}
/* PASSPORT_LOGIN_RIGHT_CARD_ALIGNMENT_V1_END */

/* PASSPORT_REGISTER_PAGE_V1_START */
.passport-register-page main .section{
  padding-top:clamp(54px,7vw,96px);
}

.passport-register-page .passport-register-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:var(--s-6);
  align-items:stretch;
}

.passport-register-page .passport-register-layout > .feature-panel{
  height:100%;
}

.passport-register-page .passport-register-layout > .editorial-stack{
  height:100%;
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:var(--s-6);
}

.passport-register-page .passport-register-layout > .editorial-stack > article{
  height:100%;
}

.passport-register-page .passport-register-layout .feature-panel .panel-body,
.passport-register-page .passport-register-layout .support-panel .panel-body,
.passport-register-page .passport-register-layout .campaign-panel .panel-body{
  padding:clamp(28px,3vw,52px);
}

.passport-register-page .passport-register-form{
  margin-top:var(--s-4);
}

.passport-register-page .passport-register-form .field{
  display:grid;
  gap:8px;
  margin-bottom:22px;
}

.passport-register-page .passport-register-form label{
  color:var(--text-on-dark);
  font-weight:900;
}

.passport-register-page .passport-register-form input{
  width:100%;
  max-width:100%;
  min-height:58px;
  box-sizing:border-box;
  border-radius:18px;
}

.passport-register-page .passport-register-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-top:30px;
  padding-top:26px;
  border-top:1px solid var(--border-subtle);
}

.passport-register-page .passport-register-trust-note{
  margin:26px 0 0;
  padding-top:22px;
  border-top:1px solid var(--border-subtle);
  color:var(--text-on-dark-muted);
  font-size:clamp(1rem,.96rem + .2vw,1.15rem);
  line-height:1.6;
}

@media (max-width:1180px){
  .passport-register-page .passport-register-layout{
    grid-template-columns:1fr;
  }

  .passport-register-page .passport-register-layout > .editorial-stack{
    height:auto;
    grid-template-rows:auto;
  }
}

@media (max-width:720px){
  .passport-register-page .passport-register-action-row{
    flex-direction:column;
    align-items:stretch;
  }

  .passport-register-page .passport-register-action-row .btn{
    justify-content:center;
  }
}
/* PASSPORT_REGISTER_PAGE_V1_END */

/* MY_PASSPORT_DASHBOARD_VISUAL_CSS_V1_START */
.passport-page main .section{
  padding-top:clamp(42px,5vw,78px);
}

.passport-page > main .feature-panel:first-of-type{
  border-color:color-mix(in srgb, var(--accent-gold) 42%, var(--border-subtle) 58%);
  background:
    radial-gradient(circle at 8% 0%, rgba(214,177,49,.10), transparent 28%),
    linear-gradient(180deg, var(--surface-panel) 0%, var(--surface-panel-strong) 100%);
}

.passport-page > main .feature-panel:first-of-type > .panel-body > .kicker,
.passport-page > main .support-panel .panel-body > .kicker{
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent-gold);
  font-weight:900;
}

.passport-page .passport-form-grid{
  margin-top:18px;
  gap:18px;
}

.passport-page .field{
  display:grid;
  gap:8px;
}

.passport-page .field label{
  color:var(--text-on-dark);
  font-weight:900;
}

.passport-page input,
.passport-page select{
  min-height:52px;
  border-radius:14px;
}

.passport-page .support-panel{
  margin-top:24px;
}

.passport-page .support-panel > .panel-body{
  padding:clamp(24px,2.4vw,42px);
}

.passport-page .qualification-card{
  margin-top:18px;
  padding:20px;
  border:1px solid var(--border-subtle);
  border-radius:var(--r-3);
  background:rgba(242,242,242,.035);
}

.passport-page .qualification-header{
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:flex-start;
}

.passport-page .qualification-files{
  margin-top:16px;
  display:grid;
  gap:10px;
}

.passport-page .qualification-file{
  padding:12px 14px;
  border:1px solid var(--border-subtle);
  border-radius:var(--r-2);
  background:rgba(0,0,0,.12);
}

.passport-page .flex-actions{
  gap:12px;
}

@media (max-width:760px){
  .passport-page .qualification-header{
    flex-direction:column;
  }

  .passport-page .flex-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .passport-page .flex-actions .btn{
    justify-content:center;
  }
}
/* MY_PASSPORT_DASHBOARD_VISUAL_CSS_V1_END */

/* APPLY_PAGE_VISUAL_UPGRADE_V2_START */
.apply-page .apply-process-panel{
  margin-bottom:24px;
}

.apply-page .notice-card-danger{
  border:1px solid rgba(239,68,68,.34);
  background:rgba(127,29,29,.18);
}

.apply-page .notice-card-danger .kicker{
  color:#fca5a5;
}

.apply-page .support-panel .panel-body,
.apply-page .feature-panel .panel-body{
  padding:clamp(24px,2.5vw,42px);
}

.apply-page input,
.apply-page select{
  border-radius:14px;
}

.apply-page select{
  min-height:58px;
}

.apply-page .field label{
  font-weight:900;
}

.apply-page .flex-actions{
  gap:12px;
}

@media (max-width:760px){
  .apply-page .flex-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .apply-page .flex-actions .btn{
    justify-content:center;
  }
}
/* APPLY_PAGE_VISUAL_UPGRADE_V2_END */

/* LEGACY_EMPLOYER_STAFF_TRAINING_VISUAL_V1_START */
.employer-staff-training-legacy-page .results-grid{
  align-items:stretch;
}

.employer-staff-training-legacy-page .feature-panel,
.employer-staff-training-legacy-page .support-panel,
.employer-staff-training-legacy-page .campaign-panel{
  min-height:100%;
}

.employer-staff-training-legacy-page .panel-body{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:clamp(24px,2.5vw,42px);
}

.employer-staff-training-legacy-page .notice-card-danger{
  border:1px solid rgba(239,68,68,.34);
  background:rgba(127,29,29,.18);
}

.employer-staff-training-legacy-page .notice-card-danger .kicker{
  color:#fca5a5;
}

.employer-staff-training-legacy-page .hero-actions{
  margin-top:18px;
  padding:0;
  background:transparent;
  box-shadow:none;
}

.employer-staff-training-legacy-page textarea{
  min-height:180px;
}

.employer-staff-training-legacy-page input,
.employer-staff-training-legacy-page textarea{
  border-radius:14px;
}

.employer-staff-training-legacy-page .field label{
  font-weight:900;
}

.employer-staff-training-legacy-page small{
  color:var(--text-on-dark-muted);
  line-height:1.5;
}
/* LEGACY_EMPLOYER_STAFF_TRAINING_VISUAL_V1_END */

/* EMPLOYER_ENQUIRY_DEHERO_V1_START */
.employer-enquiry-page .page-summary-panel{
  margin-bottom:var(--s-6);
}

.employer-enquiry-page .employer-enquiry-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:var(--s-6);
  align-items:start;
}

.employer-enquiry-page .form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.employer-enquiry-page .form-field-full{
  grid-column:1 / -1;
}

.employer-enquiry-page .form-field{
  display:grid;
  gap:8px;
}

.employer-enquiry-page .form-field label{
  color:var(--text-on-dark);
  font-weight:900;
}

.employer-enquiry-page input,
.employer-enquiry-page select,
.employer-enquiry-page textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  border-radius:14px;
}

.employer-enquiry-page select{
  min-height:58px;
}

.employer-enquiry-page textarea{
  min-height:150px;
}

.employer-enquiry-page .notice-card-danger{
  border:1px solid rgba(239,68,68,.34);
  background:rgba(127,29,29,.18);
}

.employer-enquiry-page .notice-card-danger .kicker{
  color:#fca5a5;
}

.employer-enquiry-page .support-panel .panel-body,
.employer-enquiry-page .feature-panel .panel-body,
.employer-enquiry-page .campaign-panel .panel-body{
  padding:clamp(24px,2.5vw,42px);
}

@media (max-width:1180px){
  .employer-enquiry-page .employer-enquiry-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .employer-enquiry-page .form-grid{
    grid-template-columns:1fr;
  }

  .employer-enquiry-page .flex-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .employer-enquiry-page .flex-actions .btn{
    justify-content:center;
  }
}
/* EMPLOYER_ENQUIRY_DEHERO_V1_END */

/* EMPLOYER_COMPANY_SETUP_REFINEMENT_V1_START */
.employer-company-setup-page .notice-card-danger{
  border:1px solid rgba(239,68,68,.34);
  background:rgba(127,29,29,.18);
}

.employer-company-setup-page .notice-card-danger .kicker{
  color:#fca5a5;
}

.employer-company-setup-page .field{
  display:grid;
  gap:8px;
}

.employer-company-setup-page .field label{
  font-weight:900;
}

.employer-company-setup-page input,
.employer-company-setup-page textarea{
  border-radius:14px;
}

.employer-company-setup-page textarea{
  min-height:170px;
}

.employer-company-setup-page .employer-company-option-group{
  gap:14px;
}

.employer-company-setup-page .option-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px 18px;
  border:1px solid var(--border-subtle);
  border-radius:var(--r-2);
  background:rgba(255,255,255,.03);
  cursor:pointer;
}

.employer-company-setup-page .option-card input{
  margin-top:4px;
}

.employer-company-setup-page .option-card span{
  line-height:1.5;
}

.employer-company-setup-page .support-panel .panel-body,
.employer-company-setup-page .feature-panel .panel-body,
.employer-company-setup-page .campaign-panel .panel-body{
  padding:clamp(24px,2.5vw,42px);
}
/* EMPLOYER_COMPANY_SETUP_REFINEMENT_V1_END */
/* EMPLOYER_STAFF_TRAINING_CARDS_ALIGNMENT_V1_START */
.employer-staff-training-public-page .results-grid,
.employer-staff-training-authenticated-page .results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.employer-staff-training-public-page .feature-panel,
.employer-staff-training-public-page .support-panel,
.employer-staff-training-authenticated-page .feature-panel,
.employer-staff-training-authenticated-page .support-panel,
.employer-staff-training-public-page .notice-card,
.employer-staff-training-authenticated-page .notice-card {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
}

.employer-staff-training-public-page .notice-card,
.employer-staff-training-authenticated-page .notice-card {
    padding: 20px;
    margin-top: 16px;
}
/* EMPLOYER_STAFF_TRAINING_CARDS_ALIGNMENT_V1_END */
