/* 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%);
}
.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}
/* 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}
