/* MC Consultants — option 3 (approved).
   Load AFTER css/mc.css on every Consultants page. Do not edit this file into
   the middle of mc.css; keep it as a single overlay.
   Main colour: MCC navy #0F1745. Buttons/highlights: MC Group blue #071375
   + 3px #FF6A13. Headings on white: #071375. Dark bands stay #0F1745.
   MCT blue #4B66DB only for MCT / training references. */

body.theme-consultants{
  --brand:#0F1745;
  --brand-dark:#0B102E;
  --brand-tint:#E8EAF2;
  --on-dark:#F4F6FF;
  --ground:#0F1745;
  --ground-deep:#0F1745;
  --ground-raise:#1C2660;
  --navy:#0F1745;
  --navy-2:#172163;
  --accent:#0F1745;
  --accent-dark:#0B102E;
  --head:#071375;
  --orange:#FF6A13;
  --orange-d:#E85A05;
  --wash:15,23,69;
}

.theme-consultants .site-top .lg img,
.theme-consultants .site-top .lg picture img{aspect-ratio:640/295}
.theme-consultants .gsw a.c .dot{background:#0F1745}


/* Full-bleed heroes / dark bands washed in the site main colour, not the old navy */
.hx{background:var(--ground-deep)}
.hx .bg::after{
  background:linear-gradient(90deg,rgba(var(--wash),.90) 0%,rgba(var(--wash),.76) 46%,rgba(var(--wash),.38) 100%),
             linear-gradient(0deg,rgba(var(--wash),.86),rgba(var(--wash),0) 42%);
}

/* Photo hero (MCC_HERO_PHOTO), 1024px and up only. Below that, .pattern
   keeps the live navy grid and the picture is hidden so nothing paints.
   From 1024px the left-side MCC navy #121741 keeps the headline readable
   and the typographic gap stays clear so the white turbine is not greyed
   out. Art-directed crops are pre-positioned. */
@media (max-width:1023px){
  .theme-consultants .hx.hx-photo .bg picture{
    display:none;
  }
}
@media (min-width:1024px){
  .theme-consultants .hx.pattern.hx-photo .bg{
    background:var(--ground-deep);
  }
  .theme-consultants .hx.pattern.hx-photo .bg::after{
    background:linear-gradient(90deg,rgba(18,23,65,.94) 0%,rgba(18,23,65,.88) 38%,rgba(18,23,65,.42) 48%,rgba(18,23,65,.14) 54%,rgba(18,23,65,.04) 58%,rgba(18,23,65,0) 68%);
  }
  .theme-consultants .hx.hx-photo .bg img,
  .theme-consultants .hx.hx-photo .bg picture img{
    object-position:50% 50%;
  }
}
.page-head{background:var(--ground-deep)}
.page-head .phbg::after{
  background:linear-gradient(90deg,rgba(var(--wash),.93),rgba(var(--wash),.74) 55%,rgba(var(--wash),.46));
}
.fhero{background:radial-gradient(800px 400px at 80% 0%,var(--ground-raise),var(--ground))}
.fhero::before{background:linear-gradient(0deg,rgba(var(--wash),.93) 10%,rgba(var(--wash),.48))}
.band{background:var(--ground-deep)}
.band .bg::after{background:linear-gradient(90deg,rgba(var(--wash),.90),rgba(var(--wash),.52) 60%,rgba(var(--wash),.25))}
.section.dark{background:var(--ground-deep)}
.t2t{background:var(--ground-deep);border-bottom:0}
.ftr,.footer{background:var(--ground-deep)}


/* --------------------------------------------------------------------------
   Logo: no white pill. Nav: flat, white, aligned with the wordmark.
   Pair with a swap of the header / mobile-menu image to img/logo_white.png.
   -------------------------------------------------------------------------- */
.site-top .lg,
.site-top a.lg{
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  height:auto!important;
  min-height:0!important;
}
.site-top .lg img,
.site-top .lg picture img{
  height:44px!important;
  width:auto!important;
  max-width:100%;
  object-fit:contain!important;
  display:block;
}

.pnav{
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  height:auto!important;
  padding:0!important;
  gap:2px;
}
.pnav a,
.pnav a.on{
  color:#fff!important;
  background:transparent!important;
  border-radius:0!important;
  padding:8px 14px;
  box-shadow:none;
}
.pnav a.on{
  box-shadow:inset 0 -2px 0 #fff;
  font-weight:600;
}
.pnav a:hover{
  color:#fff!important;
  background:transparent!important;
  opacity:.8;
}

/* --------------------------------------------------------------------------
   Headings and dark title text on white / light: MC Group blue #071375.
   Dark navy / brand bands keep their ground colour; titles on them stay white.
   -------------------------------------------------------------------------- */
h1,h2,h3,h4,.quote,.fact .k,.display,.abbr{color:var(--head)}
.hx h1,.page-head h1,.section.dark h2,.section.dark h3,.section.dark h4,
.band h2,.eti h2,.fhero h2,.xstrip b{color:#fff}
.follow h2{color:#071375!important}
.section:not(.dark) [style*="color:var(--ink)"],
.section:not(.dark) [style*="color: var(--ink)"]{color:#071375!important}

/* --------------------------------------------------------------------------
   Entry to Industry / package connectors: orange + and 3px orange left edge.
   Filled package buttons stay Group blue (or MCT blue on MCC training links).
   -------------------------------------------------------------------------- */
.eti .plus,
.eti-slim .plus,
.xstrip.eti-x .plus{
  color:#FF6A13!important;
  background:transparent!important;
}
.eti .m,
.eti-slim .m,
.eti .mods .m{
  border-left:3px solid #FF6A13!important;
}

.eti .save,.save,.xstrip.eti-x .save{
  background:#071375!important;
  color:#fff!important;
  border:3px solid #FF6A13!important;
}
.eti .plus{color:#FF6A13!important}
.hfacts b::before,.imgcard .cap::before,.stats b::after{background:#FF6A13}
.t2t-steps .n,.chips i{background:#071375!important;color:#fff!important;border:3px solid #FF6A13!important}
.t2t-steps li{border-left-color:#FF6A13}
.fbtn-ig .fi{background:#FF6A13!important}

/* --------------------------------------------------------------------------
   Dark-section grid: a bit more prominent, still subtle (~2x previous opacity).
   .hx.pattern was rgba(255,255,255,.035) → .07
   .hero-dark was rgba(255,255,255,.045) → .08
   Page-head pattern also gets both axes so it reads as squares, not only verticals.
   -------------------------------------------------------------------------- */
.hx.pattern .bg::after{
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px),
             repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px);
}
.page-head.pattern .phbg::after{
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px),
             repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px);
}
.hero-dark::before{
  background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
}

/* Phone: keep the hero heading inside the viewport */
@media (max-width:800px){
  .wrap{padding:0 20px}
  .hx h1{
    font-size:clamp(28px, 8.2vw, 40px)!important;
    line-height:1.12!important;
    letter-spacing:-.03em!important;
    max-width:none!important;
    overflow-wrap:break-word;
  }
  .page-head h1{
    font-size:clamp(26px, 7.6vw, 38px)!important;
    line-height:1.12!important;
    overflow-wrap:break-word;
  }
}


/* --------------------------------------------------------------------------
   Buttons: MC Group blue fill, white label, 3px orange band.
   Extra room for the 3px border; label centred; long labels can wrap on phone.
   Outline buttons: Group-blue text on light; white text on dark bands.
   -------------------------------------------------------------------------- */
.btn,
.hdr-cta,
.mp-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-sizing:border-box;
  min-height:50px;
  height:auto;
  padding:11px 22px;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
  vertical-align:middle;
}

.btn-primary,
.cta-band .btn-primary,
.section:not(.dark) .btn-primary,
.page-head aside .panel .btn-primary,
form.form .btn-primary,
.eti .btn-primary,
.t2t .btn-primary,
.mp-cta,
.hdr-cta,
.btn-blue,
.hx .btn-primary,
.xstrip .btn-primary,
.mnav .btn.btn-primary{
  background:#071375!important;
  color:#fff!important;
  border:3px solid #FF6A13!important;
  box-sizing:border-box;
}
.btn-primary:hover,
.hdr-cta:hover,
.mp-cta:hover,
.btn-blue:hover,
.hx .btn-primary:hover,
.xstrip .btn-primary:hover{
  background:#0A1888!important;
  border-color:#FF6A13!important;
  color:#fff!important;
}

/* Outline on light / white: Group-blue text (not white-on-white) */
.btn-ghost,
.btn-secondary,
.cta-band .btn-ghost,
.cta-band .btn-secondary{
  background:transparent!important;
  color:#071375!important;
  border:3px solid #FF6A13!important;
  box-sizing:border-box;
}

/* Outline on dark bands: white text, same orange band */
.hx .btn-ghost,
.hx .btn-secondary,
.hx .ctas .btn-ghost,
.hx .ctas .btn-secondary,
.page-head .btn-ghost,
.page-head .btn-secondary,
.page-head .ctas .btn-ghost,
.page-head .ctas .btn-secondary,
.section.dark .btn-ghost,
.section.dark .btn-secondary,
.t2t .btn-ghost,
.eti .btn-ghost,
.ftr .btn-ghost,
.footer .btn-ghost,
.band .btn-ghost,
.xstrip .btn-ghost,
.fhero .btn-ghost,
.on-dark .btn-ghost,
.on-dark .btn-secondary{
  background:transparent!important;
  color:#fff!important;
  border:3px solid #FF6A13!important;
}

/* Header CTA: drop the pill and the circular arrow well so the label sits evenly */
.site-top .hdr-cta.btn-pill{
  border-radius:6px;
  min-height:48px;
  height:48px;
  padding:0 18px;
  gap:8px;
}
.site-top .hdr-cta.btn-pill i{
  width:auto;
  height:auto;
  background:transparent;
  color:#fff!important;
  border-radius:0;
  display:inline-flex;
  align-items:center;
  line-height:1;
  font-style:normal;
}

@media (max-width:800px){
  .mnav .btn{
    min-height:44px;
    height:44px;
    padding:0 14px;
    line-height:1;
    white-space:nowrap;
  }
  .hx .ctas .btn,
  .page-head .ctas .btn,
  .eti .book .btn,
  .eti .btn,
  .t2t .btn,
  .xstrip .btn,
  .section .btn{
    white-space:normal;
    max-width:100%;
  }
}


/* Training / MCT references on the Consultants site: MCT blue fill, same orange band */
.theme-consultants a.btn[href*="mc-training"],
.theme-consultants a.btn[href*="maritime-construction-training"]{
  background:#4B66DB!important;
  color:#fff!important;
  border:3px solid #FF6A13!important;
}
.theme-consultants .eti .now{color:#071375!important}

/* ---------- MCC sectors v2 (19 Nov 2026), markup only when MCC_SECTORS_V2=1 ----------
   Image-header sector cards, ticked two-column role lists, equal-height rows,
   navy people band. Navy #121741 / Group blue #071375; orange only on the
   existing .btn-blue border. */
.sx-section{background:#EEF1F8}
.sx-section .shead h2{color:#071375}
.sx-section .shead p{color:#2E3656;font-size:18px;line-height:1.6;max-width:540px}
.sx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.sx-card{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 1px 2px rgba(18,23,65,.06),0 14px 34px -14px rgba(18,23,65,.28);border:1px solid #DDE2F0;scroll-margin-top:110px}
.sx-card > #solar{position:absolute;top:0;left:0}
.sx-media{position:relative;aspect-ratio:16/8;background:#121741;overflow:hidden}
.sx-media picture,.sx-media img{display:block;width:100%;height:100%}
.sx-media img{object-fit:cover;transition:transform .5s ease}
.sx-card:hover .sx-media img{transform:scale(1.03)}
.sx-media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(18,23,65,.92) 0%,rgba(18,23,65,.55) 30%,rgba(18,23,65,0) 60%)}
.sx-media h3{position:absolute;left:28px;right:28px;bottom:22px;z-index:1;margin:0;color:#fff;
  font-size:30px;line-height:1.12;letter-spacing:-.02em;font-weight:700;text-shadow:0 1px 12px rgba(0,0,0,.25)}
.sx-num{position:absolute;top:18px;left:20px;z-index:1;display:inline-grid;place-items:center;min-width:44px;height:30px;padding:0 10px;
  border-radius:999px;background:#121741;color:#fff;font-size:14px;font-weight:700;letter-spacing:.06em}
.sx-body{display:flex;flex-direction:column;flex:1;padding:26px 28px 28px;border-top:4px solid #071375}
.sx-body > p{margin:0;color:#1E2546;font-size:18px;line-height:1.55;font-weight:500}
.sx-roles{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}
.sx-roles li{position:relative;padding:0 0 0 32px;margin:0;border:0;color:#121741;font-size:16px;line-height:1.4;font-weight:600}
.sx-roles li::before{content:"";position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:#E3E8F8}
.sx-roles li::after{content:"";position:absolute;left:8px;top:4px;width:5px;height:10px;border:solid #071375;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.sx-foot{margin-top:auto;padding-top:24px}
.sx-roles + .sx-foot{margin-top:auto}
.sx-roles{margin-bottom:24px!important}
.sx-foot{border-top:1px solid #E3E7F2}
.sx-roles.one{grid-template-columns:1fr}
.sx-foot .btn{font-size:16px}
.sx-body .sx-roles{margin-bottom:0}
/* people band */
.sx-people-sec{background:#fff}
.sx-people{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:stretch;background:#121741;border-radius:22px;overflow:hidden;
  box-shadow:0 18px 44px -18px rgba(18,23,65,.45)}
.sx-section .sx-people{margin-top:56px}
.sx-people-img{position:relative;min-height:420px}
.sx-people-img picture,.sx-people-img img{display:block;width:100%;height:100%}
.sx-people-img img{position:absolute;inset:0;object-fit:cover}
.sx-people-txt{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:56px 56px}
.sx-people-txt .eyebrow{color:#C9D3F5}
.sx-people-txt h2,.sx-people-txt h3{color:#fff;font-size:42px;line-height:1.1;margin:14px 0 18px;font-weight:700}
.sx-people-txt h2 .tt,.sx-people-txt h3 .tt{color:#C9D3F5;display:block}
.sx-people-txt p{color:#E6EAF7;font-size:18px;line-height:1.6;margin:0 0 28px;max-width:520px}
.sx-people-txt .btn{font-size:16px}
@media (max-width:1023px){
  .sx-section .shead{display:block}
  .sx-section .shead p{margin-top:18px;max-width:640px}
}
@media (max-width:1099px){
  .sx-grid{gap:22px}
  .sx-media h3{font-size:25px;left:22px;right:22px;bottom:18px}
  .sx-body{padding:22px 22px 24px}
  .sx-body > p{font-size:17px}
  .sx-roles{grid-template-columns:1fr;gap:10px}
  .sx-people-txt{padding:40px}
  .sx-people-txt h2,.sx-people-txt h3{font-size:34px}
}
@media (max-width:767px){
  .sx-grid{grid-template-columns:1fr;gap:20px}
  .sx-media{aspect-ratio:16/9}
  .sx-media h3{font-size:25px}
  .sx-roles{grid-template-columns:1fr}
  .sx-foot .btn{width:100%;justify-content:center}
  .sx-people{grid-template-columns:1fr;border-radius:18px}
  .sx-section .sx-people{margin-top:40px}
  .sx-people-img{min-height:0;aspect-ratio:1/1}
  .sx-people-txt{padding:30px 22px 32px}
  .sx-people-txt h2,.sx-people-txt h3{font-size:30px}
  .sx-people-txt p{font-size:17px}
  .sx-people-txt .btn{align-self:stretch;justify-content:center}
}
/* MC Group contrast fixes (16 Nov 2026, Jack's iPhone review). Loads AFTER the option 3 overlay on both sites.
   Keeps the option 3 palette, orange-band buttons and orange accents; fixes text that fails WCAG AA. */

/* Body text font: Albert Sans (OFL), closest licence-clean match to Vestas' proprietary VestasSans. Headings keep Sora. */
body{--font:'Albert Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif} /* both sites (Jack 22:57) */
body,.btn,input,select,textarea,button{font-family:var(--font)}

/* 1. Big numbers and headings on white: MC Group blue */
.eti .now,.price .now,.theme-consultants .eti .now{color:#071375!important}
.fcard .r b,.panel h2,.panel h3,.panel h4,.feat h3,.svc h3,.ctable td.name{color:#071375}
body.theme-training .section:not(.dark) .stats b{color:inherit}
body.theme-consultants .stats b{color:#fff}

/* 2. ISO certification marks: visible tick and ring, white text on dark footers */
.ftr .iso svg circle,.ftr .iso svg path{stroke:#fff!important}
.ftr .iso{border-color:rgba(255,255,255,.55)}
.ftr .iso b{color:#fff}.ftr .iso span{color:#fff!important;opacity:1}
.ftr-iso .eyebrow{color:#fff!important}
.accred-iso .iso svg circle,.accred-iso .iso svg path{stroke:#071375}

/* Footer secondary text on the dark band */
body.theme-training .chips span,body.theme-training .ftr-note,body.theme-training .legal2,body.theme-training .legal2 .copy,
body.theme-training .legal2 a,body.theme-training .ck-settings,body.theme-training .ftr .fk,body.theme-training .ftr .k{color:#fff!important}
.ck-settings{text-decoration:underline}

/* MCT blue bands (t2t story, dark sections, xstrip): white text; orange stays as rules, borders and underline */
body.theme-training .t2t .eyebrow,body.theme-training .section.dark .eyebrow,body.theme-training .band .eyebrow,
body.theme-training .hx .eyebrow,body.theme-training .page-head .eyebrow,body.theme-training .eti .eyebrow{color:#fff!important}
body.theme-training .t2t h2 span{color:#fff;text-decoration:underline;text-decoration-color:#FF6A13;text-decoration-thickness:4px;text-underline-offset:8px}
body.theme-training .t2t-steps .when{color:#fff;font-weight:700}
body.theme-training .t2t-steps p,body.theme-training .t2t .lead,body.theme-training .t2t-ph figcaption,
body.theme-training .section.dark p,body.theme-training .section.dark [style*="color:#AEB8D6"],body.theme-training .xstrip p{color:#fff!important}
body.theme-training .t2t-steps li{background:rgba(7,19,117,.18)}

/* Eyebrows on light backgrounds */
body.theme-training .section:not(.dark) .eyebrow,body.theme-training .panel .eyebrow,body.theme-training .clients .eyebrow{color:#3A53C2}
.follow .eyebrow,.section .eyebrow[style*="FF6A13"]{color:#B84A00!important}

/* 3. Booking panels inside dark page heads (courses page etc.): glass cards, white headings, underlined white links */
.page-head .panel:not(aside .panel),.page-head .panel.blue:not(aside .panel){background:rgba(7,19,117,.38)!important;border:1px solid rgba(255,255,255,.4)!important;backdrop-filter:blur(2px)}
.page-head .panel:not(aside .panel) h2,.page-head .panel:not(aside .panel) h3,
.page-head .panel:not(aside .panel) p,.page-head .panel:not(aside .panel) .muted,.page-head .panel:not(aside .panel) b{color:#fff!important}
.page-head a.link,.page-head .panel:not(aside .panel) a,.page-head p a,.page-head .lead a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.page-head .lead,.page-head p.small,.page-head p.muted{color:#fff!important}

/* 5. White summary panels inside dark page heads (BST hub aside): dark text, visible outline button */
.page-head aside .panel{background:#fff!important;color:#1D2440}
.page-head aside .panel .muted,.page-head aside .panel .small,.page-head aside .panel p{color:#4A5372!important}
.page-head aside .panel .kv>div:nth-child(odd){color:#4A5372}
.page-head aside .panel .kv>div:nth-child(even){color:#071375}
.page-head aside .panel .eyebrow{color:#3A53C2!important}
.page-head aside .panel .btn-secondary,.page-head aside .panel .btn-ghost{color:#071375!important;background:#fff!important}

/* Panels on light sections: readable muted copy and links */
.panel .muted,.panel .small.muted,.feat p{color:#4A5372}
.panel.blue .eyebrow{color:#3A53C2}

/* 4. Module table on phones: labelled cells with a clear tick */
.ctable.cover td.yes span{color:#0E7A3E;font-weight:700}
.ctable.cover td.no{color:#4A5372}
@media (max-width:760px){
  .ctable.cover td[data-label]:not(.name){display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
  .ctable.cover td[data-label]:not(.name)::before{content:attr(data-label);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#4A5372;flex:none}
  .ctable.cover td[data-label="What delegates practise"]{display:block;border-top:0;padding:0 0 10px;color:#1D2440}
  .ctable.cover td[data-label="What delegates practise"]::before{display:none}
}

/* Course-page side panel and enquiry rows */
.cside .panel .small.muted,.cside .panel p{color:#4A5372}
.enquiry-row a{color:#071375}

/* MCT About: Quality and compliance section (Jack 22:52) - white, corporate, 3x2 cards + accreditation strip */
.qs{background:#fff;padding:88px 0;border-top:1px solid #DDE1EA}
.qs-head{max-width:760px;margin-bottom:40px}
.qs-head .eyebrow{color:#3A53C2!important}
.qs-head h2{color:#071375!important;margin:12px 0 14px;white-space:nowrap}
.qs-head p{color:#1D2440;font-size:18px;margin:0}
.qs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.qs-card{background:#fff;border:1px solid #DDE1EA;border-radius:12px;padding:28px 26px;display:flex;flex-direction:column;gap:12px}
.qs-ic{width:44px;height:44px;border-radius:10px;background:#EEF1FB;color:#071375;display:grid;place-items:center}
.qs-card h3{color:#071375!important;font-size:19px;font-weight:700;margin:4px 0 0}
.qs-card p{color:#1D2440!important;font-size:16px;line-height:1.6;margin:0}
.qs-card p a.link{color:#3A53C2!important;text-decoration:underline}
.qs-accred{margin-top:32px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:28px;border:1px solid #DDE1EA;border-radius:12px;padding:22px 26px;background:#F7F8FC}
.qs-gwo img{display:block;width:150px;height:auto}
.qs-accred-txt b{display:block;color:#071375;font-size:17px;margin-bottom:4px}
.qs-accred-txt span{display:block;color:#1D2440;font-size:14px;line-height:1.55}
.qs-iso{display:flex;gap:10px;flex-wrap:wrap}
.qs-iso span{display:flex;flex-direction:column;border:1px solid #C9CFE0;background:#fff;border-radius:8px;padding:8px 12px;color:#4A5372;font-size:12px;line-height:1.3;white-space:nowrap}
.qs-iso b{color:#071375;font-size:14px}
.theme-training .qs .qs-btn{background:#fff!important;color:#071375!important;border:2px solid #071375!important;white-space:nowrap}
@media (max-width:1100px){.qs-accred{grid-template-columns:auto 1fr}.qs-iso{grid-column:1/-1}.qs-btn{grid-column:1/-1;justify-self:start}}
@media (max-width:900px){.qs-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.qs{padding:56px 0}.qs-head h2{white-space:normal}.qs-grid{grid-template-columns:1fr;gap:16px}.qs-accred{grid-template-columns:1fr;gap:16px;padding:20px}.qs-btn{justify-self:stretch;text-align:center}}

/* Group bar: MC Group logo on the right (Jack 22:59), both sites */
.gstrip .wrap>.gsw{order:1}
.gstrip .wrap>.util{order:2;margin-left:auto}
.gstrip .wrap>picture:has(.glogo),.gstrip .wrap>.glogo{order:3;margin-left:auto}
.gstrip .wrap>.util+picture,.gstrip .wrap>.util~picture{margin-left:6px}
.gstrip .wrap:has(.util)>picture:has(.glogo){margin-left:8px}

/* MCT: text over the blue page heads and photo footer (23:01). Slightly darker overlay only, no layout change. */
body.theme-training .page-head .phbg{background:rgba(7,19,117,.16)}
body.theme-training .page-head:not(:has(.phbg))::before{content:"";position:absolute;inset:0;background:rgba(7,19,117,.16);pointer-events:none}
body.theme-training .page-head>.wrap{position:relative}
body.theme-training .page-head .pcrumbs a{background:rgba(7,19,117,.22)!important;color:#fff!important}
body.theme-training .page-head .cfacts span,body.theme-training .page-head .tabs a,body.theme-training .eti-row p,body.theme-training .eti-in p{color:#fff!important}
body.theme-training .fhero::before{background:linear-gradient(0deg,rgba(var(--wash),.95) 10%,rgba(var(--wash),.72))!important}
/* MCT photo heads, home hero and footer photo: slightly deeper wash so white text passes AA everywhere */
body.theme-training .page-head .phbg::after{background:linear-gradient(rgba(7,19,117,.22),rgba(7,19,117,.22)),linear-gradient(90deg,rgba(var(--wash),.93),rgba(var(--wash),.82) 55%,rgba(var(--wash),.74))!important}
body.theme-training .page-head.pattern .phbg::after{background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px),repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px)!important}
body.theme-training .hx .bg::after{background:linear-gradient(rgba(7,19,117,.2),rgba(7,19,117,.2)),linear-gradient(90deg,rgba(var(--wash),.90) 0%,rgba(var(--wash),.80) 46%,rgba(var(--wash),.62) 100%),linear-gradient(0deg,rgba(var(--wash),.86),rgba(var(--wash),0) 42%)!important}
body.theme-training .fhero::before{background:linear-gradient(rgba(7,19,117,.25),rgba(7,19,117,.25)),linear-gradient(0deg,rgba(var(--wash),.95) 10%,rgba(var(--wash),.78))!important}
body.theme-training .page-head .enquiry-row,body.theme-training .page-head .enquiry-row a,body.theme-training .page-head .enquiry-row b,body.theme-training .page-head .enquiry-row span{color:#fff!important}
/* Footer contact chips: show the full email address instead of cutting it off */
.chips b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
/* MCT photo bands: deeper wash on the light right-hand side so white headings pass AA */
body.theme-training .band .bg::after{background:linear-gradient(rgba(7,19,117,.2),rgba(7,19,117,.2)),linear-gradient(90deg,rgba(var(--wash),.92),rgba(var(--wash),.80) 60%,rgba(var(--wash),.72))!important}
/* MCT course cards: labels above duration and validity chips (Nov 2026) */
.icard .meta .mi{border:0;border-radius:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.icard .meta .mi .ml{border:0;border-radius:0;padding:0}
/* ==========================================================================
   MCC grid on all navy/blue sections (19 Nov 2026, Jack: wants the grid
   lines on ALL the blue parts of MCC, including the homepage).
   Switch: MCC_GRID_ALL in v2/build/config.py. build_all.sh appends this
   file to consultants/css/mcc-option3.css ONLY when the switch is on.
   Same pattern as .page-head.pattern / .hx.pattern: 1px lines every 120px
   at rgba(255,255,255,.07). MCC only — scoped to .theme-consultants.
   Does not retouch elements that already carry this grid (inner page-heads,
   the mobile navy home hero). Does not cover photos/faces: solid-band grids
   are background-image layers, so content and images sit on top.
   Desktop home hero: an extra ::before overlay puts the faint lines on top
   of the wind-farm photo without adding any darkening wash.
   ========================================================================== */
.theme-consultants{
  --mcc-grid:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px),
             repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 120px);
}

/* Solid navy/blue bands and cards (background-image, content stays above). */
.theme-consultants .gstrip,
.theme-consultants .section.dark,
.theme-consultants .t2t,
.theme-consultants .sx-people,
.theme-consultants .lead-people,
.theme-consultants .ftr,
.theme-consultants .footer,
.theme-consultants .xstrip,
.theme-consultants .stats,
.theme-consultants .grp,
.theme-consultants .band{
  background-image:var(--mcc-grid);
}

/* Mobile site-top is a solid navy bar (desktop site-top is transparent over
   the hero / page-head, which already have the grid). */
@media (max-width:760px){
  .theme-consultants .site-top{
    background-image:var(--mcc-grid);
  }
}

/* Footer heading band: radial navy + existing ::before wash. Put the grid
   in ::after, above the wash, below the heading text (z-index 2). */
.theme-consultants .fhero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:var(--mcc-grid);
}

/* Desktop photo hero (1024+): keep the left-side readability wash on
   ::after, and lay the same faint grid over the turbines via ::before
   (above the photo, pointer-events none). Do not add a darkening layer.
   Below 1024, .hx.pattern .bg::after already has this grid — no double. */
@media (min-width:1024px){
  .theme-consultants .hx.pattern.hx-photo .bg::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:var(--mcc-grid);
  }
}
