/* Structured programme shared between corporate and individual course pages. */
.crm-program-components{display:grid;gap:0}
.crm-program-component{padding:25px 0;border-bottom:1px solid #e3e8ee}
.crm-program-component:last-child{border-bottom:0}
.crm-program-component-heading{display:grid;grid-template-columns:38px minmax(0,1fr);gap:16px;align-items:start}
.crm-program-number{font-size:12px;color:#bd8b18;font-weight:800;letter-spacing:.06em;padding-top:6px}
.crm-program-environment{font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:750!important;color:#727f8d!important;margin:0 0 7px!important}
.crm-program-component h3{font-size:21px;line-height:1.3;margin:0;color:#172738}
.crm-program-public-description{font-size:15px;color:#465568;line-height:1.75;margin:14px 0 0 54px;max-width:72ch;white-space:normal}
.crm-program-individual{padding:42px 0 65px;background:#fff}
.crm-program-individual h2{font-size:clamp(28px,3vw,44px);margin:8px 0 14px}
@media(max-width:690px){.crm-program-component{padding:20px 0}.crm-program-public-description{margin-left:0}.crm-program-component-heading{grid-template-columns:30px minmax(0,1fr)}}


/* CR&M B2B panoramic automotive programme.
   Page content and dial are real HTML/SVG, not a flattened screenshot.
   Scoped to the full-width corporate section. */
.crm-auto-program-section{
  isolation:isolate;position:relative;overflow:hidden;
  background:#0c1521;color:#f7f9fc;
  padding:clamp(64px,7.5vw,112px) 0 clamp(70px,8vw,122px);
}
.crm-auto-program-section:before{
  content:"";position:absolute;z-index:-2;inset:0;
  background:
    linear-gradient(90deg,rgba(7,15,25,.98) 0%,rgba(9,19,32,.93) 46%,rgba(9,20,34,.67) 100%),
    url("/assets/img/hero-road.jpg") center 42%/cover no-repeat;
}
.crm-auto-program-section:after{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 78% 0%,rgba(168,148,111,.15),transparent 43%),
             repeating-linear-gradient(155deg,transparent 0 123px,rgba(255,255,255,.018) 123px 124px,transparent 124px 180px);
  opacity:.7;
}
.crm-auto-program-container{position:relative;max-width:1270px}
.crm-auto-program-heading{margin:0 0 clamp(32px,4vw,52px)}
.crm-auto-program-kicker{margin:0 0 9px!important;color:#d7a325!important;text-transform:uppercase;letter-spacing:.2em;font-size:12px!important;font-weight:800}
.crm-auto-program-heading h2{color:#fff;font-size:clamp(38px,5.4vw,74px);line-height:1.1;letter-spacing:-.055em;margin:0;font-weight:850}
.crm-auto-program-heading-rule{display:block;margin-top:24px;width:79px;height:3px;border-radius:5px;background:linear-gradient(90deg,#ffd46a,#c28b10 72%,transparent);box-shadow:0 0 16px rgba(241,174,35,.35)}
.crm-auto-program-section .crm-program-components--automotive{display:grid;gap:18px}
.crm-auto-program-section .crm-program-component{
 position:relative;display:grid;grid-template-columns:clamp(140px,16vw,205px) minmax(0,1fr);
 gap:clamp(17px,2.6vw,37px);align-items:center;min-height:clamp(178px,19vw,240px);
 padding:clamp(20px,3vw,35px) clamp(25px,3.4vw,48px);border:1px solid rgba(208,220,237,.35);border-radius:32px 24px 32px 24px;
 background:linear-gradient(120deg,rgba(19,30,43,.99),rgba(22,35,51,.92) 55%,rgba(18,31,45,.64));
 box-shadow:0 16px 32px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.19),inset 0 -2px 0 rgba(0,0,0,.3);
 overflow:hidden;isolation:isolate;
}
.crm-auto-program-section .crm-program-component:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.1),transparent 20%,rgba(238,170,45,.16) 48%,transparent 61%);
  height:2px;top:0;
}
.crm-auto-program-section .crm-program-component:after{
 content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,#c78b23 43%,rgba(255,255,255,.15) 65%,transparent);
}
.crm-auto-gauge{width:clamp(140px,16vw,194px);aspect-ratio:1;position:relative;display:grid;place-items:center;justify-self:center;flex-shrink:0;filter:drop-shadow(0 6px 14px rgba(0,0,0,.34))}
.crm-auto-gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.crm-auto-gauge-outer{fill:rgba(3,8,14,.47);stroke:#7c8a99;stroke-width:1.6;filter:drop-shadow(0 0 3px rgba(186,202,215,.1))}
.crm-auto-gauge-track{fill:none;stroke:#273849;stroke-width:10}
.crm-auto-gauge-progress{fill:none;stroke-width:10;stroke-linecap:round;filter:drop-shadow(0 0 4px rgba(241,179,35,.43))}
.crm-auto-gauge strong{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(23px,2.4vw,32px);letter-spacing:-.035em;color:#fff;font-weight:800;line-height:1}
.crm-auto-program-section .crm-auto-component-body{position:relative;z-index:2;max-width:680px;padding-right:clamp(40px,14vw,185px);border-left:1px solid rgba(227,237,248,.12);padding-left:clamp(20px,2.4vw,36px)}
.crm-auto-program-section .crm-program-component-heading{display:flex;align-items:flex-start;gap:12px}
.crm-auto-mark{display:block;margin-top:7px;flex-shrink:0;width:20px;height:8px;background:linear-gradient(135deg,#ffd977,#bc8719);transform:skewX(-28deg);box-shadow:0 1px 7px rgba(210,158,45,.18)}
.crm-auto-program-section .crm-program-environment{color:#f5f0e6!important;font-size:11px!important;letter-spacing:.19em!important;margin:0 0 11px!important;font-weight:800!important}
.crm-auto-program-section .crm-program-component h3{color:#fff;font-weight:800;font-size:clamp(24px,2.7vw,37px);line-height:1.18;letter-spacing:-.025em;margin:0}
.crm-auto-program-section .crm-program-public-description{margin:15px 0 0 32px;color:#d5dce5;line-height:1.65;font-size:clamp(14px,1.2vw,16px);max-width:57ch}
.crm-auto-photo{position:absolute;z-index:1;inset:0 0 0 auto;width:55%;opacity:.72;pointer-events:none;
 background:linear-gradient(90deg,rgba(22,35,51,.85),rgba(15,26,40,.2) 45%,rgba(8,17,27,.02) 90%),
            url('/assets/img/hero-road.jpg') right center/cover no-repeat;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.46) 26%,black 61%);
 mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.46) 26%,black 61%);
}
.crm-program-component--circuit .crm-auto-photo{background-image:linear-gradient(90deg,rgba(22,35,51,.82),rgba(15,26,40,.16) 45%,rgba(8,17,27,.02) 90%),url('/assets/img/driving-challenge/hero-driving-challenge.jpg');background-position:center,right center}
.crm-program-component--theory .crm-auto-photo{background-image:linear-gradient(90deg,rgba(22,35,51,.78),rgba(15,26,40,.12) 45%,rgba(8,17,27,.02) 90%),url('/assets/img/hero-road2.png');background-position:center,right center}
.crm-b2b-methodology-full{padding:clamp(55px,6vw,88px) 0;background:#fff;color:#1b2c3e}
.crm-b2b-methodology-full .container{max-width:1270px}
.crm-b2b-methodology-full h2{font-size:clamp(28px,3.5vw,45px);line-height:1.2;letter-spacing:-.04em;margin:0 0 25px;color:#172637}
.crm-b2b-methodology-full .crm-b2b-prose{max-width:860px}
.crm-b2b-methodology-full .crm-b2b-list{max-width:850px}
@media(max-width:900px){
 .crm-auto-program-section .crm-auto-component-body{padding-right:clamp(10px,9vw,95px)}
 .crm-auto-photo{width:46%;opacity:.52}
}
@media(max-width:670px){
 .crm-auto-program-section{padding:54px 0 66px}
 .crm-auto-program-section .crm-program-component{grid-template-columns:96px minmax(0,1fr);gap:10px;min-height:0;border-radius:20px;padding:22px 17px}
 .crm-auto-gauge{width:91px}
 .crm-auto-gauge strong{font-size:22px}
 .crm-auto-program-section .crm-auto-component-body{padding:0 0 0 11px;border-left:0}
 .crm-auto-program-section .crm-program-component h3{font-size:20px}
 .crm-auto-program-section .crm-program-public-description{margin:11px 0 0;font-size:13px;line-height:1.55}
 .crm-auto-program-section .crm-program-environment{font-size:9px!important;letter-spacing:.1em!important}
 .crm-auto-mark{width:10px;height:5px;margin-top:6px}
 .crm-auto-program-section .crm-program-component-heading{gap:8px}
 .crm-auto-photo{width:85%;opacity:.16}
}
@media(prefers-reduced-motion:no-preference){
 .crm-auto-program-section .crm-program-component{transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease}
 .crm-auto-program-section .crm-program-component:hover{transform:translateY(-2px);border-color:rgba(234,182,63,.56);box-shadow:0 18px 40px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.18)}
}

/* Optional course-specific image selected from the shared media library. */
.crm-auto-photo[style*='--crm-component-image']{background-image:linear-gradient(90deg,rgba(22,35,51,.82),rgba(15,26,40,.16) 45%,rgba(8,17,27,.02) 90%),var(--crm-component-image)!important;background-position:center,right center;background-size:cover}
