/* 2026-10-12 · ASR official CPD Provider organisational distinction.
   The CPD Group's Approved Provider badge is intentionally restricted to
   corporate promotional areas, NEVER learner certificates/course badges. */
body.certificate-page .cert-title[data-credential-heading="completion"],
body.certificate-page .cert-title[data-credential-heading="grade"],
body.certificate-page .cert-title[data-credential-heading="service"]{
 font-size:clamp(30px,3.2vw,39px)!important;
 letter-spacing:.063em!important;line-height:1.18!important;
 margin:10px 0 6px!important;text-wrap:balance!important;
}
body.certificate-page .cert-program{
 max-width:min(820px,92%)!important;
 min-height:46px!important;
 font-size:clamp(12px,1.23vw,15px)!important;
 line-height:1.33!important;
 padding:9px 17px!important;text-wrap:balance!important;
}
body.certificate-page .cert-copy{max-width:790px!important;min-height:0!important;font-size:13px!important;line-height:1.55!important;text-wrap:balance!important}
body.certificate-page .asr-training-certificate-guidance{
 width:min(1110px,calc(100% - 40px));margin:0 auto 22px;
 padding:18px 22px;background:#16111e;border:1px solid #473657;border-radius:14px;
 color:#f3ebf9;font:14px/1.65 Inter,system-ui,sans-serif;
}
body.certificate-page .asr-training-certificate-guidance strong{display:block;font-size:14px;font-weight:770;color:#f8f3fc}
body.certificate-page .asr-training-certificate-guidance p{color:#cfc2dc!important;margin:7px 0 8px;line-height:1.6}
body.certificate-page .asr-training-certificate-guidance a{color:#d6bcf4;text-decoration:underline;text-underline-offset:3px;font-weight:730}
body.certificate-page .asr-training-certificate-guidance a:focus-visible{outline:3px solid #b79bde;outline-offset:3px}
.asr-verification-provider-note{
 width:min(850px,100%);margin:20px auto 0;padding:18px 21px;
 border:1px solid #4c4160;border-radius:12px;background:#191424;
 color:#d8cae5!important;font:14px/1.7 Inter,system-ui,sans-serif;
}
.asr-verification-provider-note a{color:#d5b5fa!important;font-weight:700}
.asr-provider-home{
 padding:58px 0 62px!important;
 background:#faf8fc!important;border-top:1px solid #ebe5ef!important;
}
.asr-provider-home .asr-provider-home-shell{
 display:flex;gap:46px;align-items:center;justify-content:space-between;
 width:min(1150px,calc(100% - 48px));margin:auto;
}
.asr-provider-home .asr-provider-home-copy{flex:1;max-width:690px}
.asr-provider-home .asr-provider-home-kicker{
 color:#753c91!important;font:770 12px/1.3 Inter,system-ui,sans-serif;letter-spacing:.13em!important;
}
.asr-provider-home h2{
 color:#2d2039!important;font:730 clamp(25px,3vw,40px)/1.16 Inter,system-ui,sans-serif!important;
 letter-spacing:-.043em;margin:12px 0!important
}
.asr-provider-home p{color:#655a71!important;font:15px/1.65 Inter,system-ui,sans-serif;margin:0 0 15px}
.asr-provider-home .asr-provider-home-link{
 display:inline-flex;align-items:center;min-height:45px;padding:12px 17px;
 color:#fff!important;background:#382447!important;border:1px solid #382447;border-radius:9px;
 text-decoration:none!important;font:720 14px/1.3 Inter,system-ui,sans-serif;
}
.asr-provider-home .asr-provider-home-link:hover{background:#572a73!important}
.asr-provider-home .asr-provider-home-link:focus-visible{outline:3px solid #a983c8;outline-offset:3px}
.asr-provider-home .asr-provider-home-mark{
 width:min(390px,37%);min-width:255px;display:block;
 padding:22px 22px 17px;background:#fff;border:1px solid #e7dbeb;border-radius:15px;
 box-shadow:0 15px 43px rgba(48,23,71,.07);
 text-align:center;
}
.asr-provider-home .asr-provider-home-mark img{width:100%;height:auto;object-fit:contain;display:block;margin:0 auto}
.asr-provider-home .asr-provider-home-mark small{
 display:block;margin-top:13px;color:#756983;font:590 12px/1.55 Inter,system-ui,sans-serif;
}
@media(max-width:740px){
 .asr-provider-home .asr-provider-home-shell{flex-direction:column;align-items:stretch;gap:22px;width:calc(100% - 32px)}
 .asr-provider-home .asr-provider-home-mark{width:min(100%,520px);min-width:0}
}
@media print{
 body.certificate-page .asr-training-certificate-guidance{display:none!important}
 body.certificate-page .cert-title[data-credential-heading]{font-size:35px!important}
}

/* CPD brand guideline: the organisational Approved Provider badge is not
   displayed on the FIIDQ course listing; it belongs to corporate marketing. */
body.fiidq-document .fiidq-provider-seal{display:none!important}
@media(min-width:981px){
 body.fiidq-document[data-fiidq-experience-v2="1"] .fiidq-provider-grid{
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
 }
 body.fiidq-document[data-fiidq-experience-v2="1"] .fiidq-provider-boundary{grid-column:auto!important}
}
@media(max-width:980px){
 body.fiidq-document[data-fiidq-experience-v2="1"] .fiidq-provider-grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.fiidq-document[data-fiidq-experience-v2="1"] .fiidq-provider-boundary{grid-column:1/-1!important}
}


/* 2026-10-12 · Home CPD section legibility hotfix.
   Protect against inherited dark-theme text-fill rules on the light Home
   surface. This section is organisational recognition, not FIIDQ accreditation. */
html body .public-site section.asr-provider-home[data-asr-approved-provider-home]{
  position:relative!important;
  isolation:isolate!important;
  padding:clamp(44px,5.2vw,76px) 0!important;
  background:#f9f7fb!important;
  background-image:none!important;
  border-top:1px solid #e8e0ed!important;
  border-bottom:1px solid #e8e0ed!important;
  color:#2c2136!important;
  -webkit-text-fill-color:#2c2136!important;
  color-scheme:light!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1.52fr) minmax(285px,.78fr)!important;
  align-items:center!important;
  gap:clamp(25px,5vw,75px)!important;
  width:min(1190px,calc(100% - 48px))!important;
  max-width:1190px!important;
  margin:0 auto!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-copy{
  min-width:0!important;
  max-width:740px!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-kicker{
  display:block!important;
  color:#714092!important;
  -webkit-text-fill-color:#714092!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:810!important;
  letter-spacing:.13em!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] h2{
  margin:18px 0 17px!important;
  color:#251b2e!important;
  -webkit-text-fill-color:#251b2e!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:clamp(30px,3.1vw,45px)!important;
  font-weight:790!important;
  line-height:1.14!important;
  letter-spacing:-.048em!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
  background:none!important;
  background-clip:initial!important;
  -webkit-background-clip:initial!important;
  text-wrap:balance!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-copy>p{
  margin:0 0 22px!important;
  max-width:700px!important;
  color:#5f526b!important;
  -webkit-text-fill-color:#5f526b!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:clamp(14px,1.4vw,16px)!important;
  font-weight:460!important;
  line-height:1.79!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] a.asr-provider-home-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:49px!important;
  padding:13px 19px!important;
  border:1px solid #3e2850!important;
  border-radius:10px!important;
  background:#3e2850!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:13.5px!important;
  font-weight:750!important;
  line-height:1.45!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] a.asr-provider-home-link:hover{
  background:#5e3578!important;
  border-color:#5e3578!important;
  transform:translateY(-2px)!important;
  box-shadow:0 10px 22px rgba(60,36,81,.13)!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-mark{
  width:100%!important;
  max-width:420px!important;
  min-width:0!important;
  justify-self:end!important;
  padding:clamp(19px,2.4vw,29px)!important;
  background:#fff!important;
  border:1px solid #e5dce9!important;
  border-radius:18px!important;
  box-shadow:0 12px 35px rgba(54,31,68,.065)!important;
  text-align:center!important;
  color:#594d64!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-mark img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  border:0!important;
  background:transparent!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-mark small{
  display:block!important;
  margin:17px auto 0!important;
  max-width:320px!important;
  color:#675b70!important;
  -webkit-text-fill-color:#675b70!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.65!important;
  text-shadow:none!important;
  opacity:1!important;
}
html body .public-site section.asr-provider-home[data-asr-approved-provider-home] a:focus-visible{
  outline:3px solid #986eb7!important;
  outline-offset:4px!important;
}
@media(max-width:850px){
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-shell{
    grid-template-columns:minmax(0,1fr)!important;
    gap:27px!important;
  }
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-mark{
    justify-self:start!important;
    width:min(100%,440px)!important;
  }
}
@media(max-width:540px){
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home]{
    padding:40px 0 44px!important;
  }
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-shell{
    width:calc(100% - 34px)!important;
  }
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] .asr-provider-home-kicker{
    font-size:10px!important;
    line-height:1.65!important;
  }
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] h2{
    font-size:clamp(29px,8.2vw,37px)!important;
  }
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] a.asr-provider-home-link{
    width:100%!important;
    white-space:normal!important;
    text-align:center!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .public-site section.asr-provider-home[data-asr-approved-provider-home] a.asr-provider-home-link{
    transform:none!important;
    transition:none!important;
  }
}


/* FIIDQ · authentic member completion certificate, not a CPD-accredited award.
   Scoped exclusively to the 1120x792 certificate exported as landscape A4. */
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-org{
 letter-spacing:.15em!important;font-size:11px!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-title{
 font-size:37px!important;letter-spacing:.075em!important;line-height:1.1!important;
 margin:12px 0 7px!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-subtitle{
 font-size:15px!important;color:#575063!important;line-height:1.45!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-name{
 margin-top:16px!important;font-size:clamp(31px,3.05vw,37px)!important;
 line-height:1.18!important;padding-bottom:10px!important;max-width:850px!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-program{
 display:flex!important;align-items:center;justify-content:center;
 max-width:790px!important;width:auto!important;min-height:47px!important;
 padding:9px 20px!important;margin:8px auto 13px!important;
 font-size:15px!important;line-height:1.3!important;letter-spacing:0!important;
 border-radius:13px!important;border:1px solid #d9d1ea!important;
 background:#f2eef9!important;color:#4f3373!important;white-space:normal!important;
 text-wrap:balance!important;overflow-wrap:break-word!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-copy{
 max-width:780px!important;min-height:0!important;padding:0 5px!important;
 font-size:14px!important;line-height:1.58!important;color:#4a4253!important;
 overflow-wrap:break-word!important;text-wrap:pretty!important
}
body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-verify{
 font-size:9.5px!important;line-height:1.4!important;color:#51465e!important;
 left:64px!important;right:64px!important;bottom:24px!important;letter-spacing:0!important
}
body.certificate-page [data-credential-badge][data-program-code="FIIDQ"] .badge-program{
 color:#ddcafb!important;font-weight:760!important
}
@media print{
 body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-title{font-size:37px!important}
 body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-program{max-width:790px!important}
 body.certificate-page [data-certificate][data-program-code="FIIDQ"] .cert-copy{font-size:14px!important}
}
