
/* Sanabil review adjustments — 4 November 2026.
   Scoped changes: do not replace the existing approved brand identities. */
:root { --sanabil-body-text: #405d68; }

/* Use one image frame wherever the three pillar symbols appear together. */
.home-pillars .pillar-logo-frame {
  width:104px;height:100px;display:flex;align-items:center;justify-content:center;
  border-radius:18px;margin:0 0 14px;
  background:rgba(255,255,255,.58);
}
.home-pillars .pillar-logo-frame img.pillar-emblem,
.home-pillars .pillar-logo-frame img.knowledge-emblem,
.home-pillars .pillar-logo-frame img.character-emblem,
.home-pillars .pillar-logo-frame img.wisdom-emblem {
  width:82px!important;height:82px!important;max-width:82px;
  margin:0!important;object-fit:contain!important;mix-blend-mode:normal!important;
  border-radius:7px;
}
.academy-programmes-page .academy-side-row .academy-pillar-icon-frame{
  width:48px;height:48px;flex:0 0 48px;display:flex;
  align-items:center;justify-content:center;border-radius:9px;
  background:rgba(255,255,255,.72);
}
.academy-programmes-page .academy-side-row .academy-pillar-icon-frame img {
  display:block;width:42px!important;height:42px!important;
  max-width:42px!important;max-height:42px!important;object-fit:contain!important;
  margin:0!important;mix-blend-mode:normal!important;
}

/* Academy — a consistent text-only programme directory. */
.academy-programmes-page .academy-programme-card{position:relative}
.academy-programmes-page .academy-programme-card::before{
 content:"";display:block;height:6px;width:100%;background:var(--accent,#246d7b);
}
.academy-programmes-page .academy-card-top{padding:23px 24px 0;min-height:55px}
.academy-programmes-page .academy-card-pillar{
  display:inline-block;padding:7px 11px;border-radius:99px;
  background:var(--muted-accent,#edf8f7);color:var(--accent,#246d7b);
  letter-spacing:.07em;font-weight:800;line-height:1.35;
}
.academy-programmes-page .academy-card-main{padding:17px 24px 16px}
.academy-programmes-page .academy-card-main h3{
  font-size:clamp(1.35rem,1.5vw,1.62rem);
  line-height:1.25;min-height:0;margin-bottom:17px;color:#173c49
}
.academy-programmes-page .academy-card-description{
  font-size:clamp(1rem,1.1vw,1.12rem);line-height:1.68;
}
.academy-programmes-page .academy-card-tag{font-size:.9rem;line-height:1.45}
.academy-programmes-page .academy-card-action{margin-top:auto}
@media(max-width:700px){
 .academy-programmes-page .academy-card-main{padding:14px 20px 16px}
 .academy-programmes-page .academy-card-top{padding:18px 20px 0}
}

/* Advisory — services should read as service names, not icon-first templates. */
.advisory-page .adv-service-grid{gap:20px}
.advisory-page .adv-service{
  padding:32px 31px 36px;min-height:245px;border-radius:19px;
  background:linear-gradient(165deg,#f5fbfa 0%,#fff 70%);border-color:#dbeae8;
}
.advisory-page .adv-service:nth-child(2),
.advisory-page .adv-service:nth-child(4){
  background:linear-gradient(165deg,#f4f7fc 0%,#fff 75%);border-color:#dce7ef;
}
.advisory-page .adv-service:nth-child(3),
.advisory-page .adv-service:nth-child(5){
  background:linear-gradient(165deg,#fbf9f4 0%,#fff 75%);border-color:#ede6da;
}
.advisory-page .adv-service h3{
  font-size:clamp(1.43rem,1.8vw,1.83rem);
  line-height:1.25;font-weight:750;letter-spacing:-.027em;
  color:#164a58;margin:0 0 20px;
}
.advisory-page .adv-service p{
  font-size:clamp(1.04rem,1.18vw,1.13rem);line-height:1.7;
  color:#4d6872;
}
@media(max-width:700px){
  .advisory-page .adv-service{padding:24px 22px 27px;min-height:0}
  .advisory-page .adv-service h3{font-size:1.43rem}
}

/* IFXperts — focused description and clear registration, without package prices. */
.page-ifxperts .ifx-hero-refined .lead {max-width:680px}
.page-ifxperts .ifx-benefit-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:36px;
}
.page-ifxperts .ifx-benefit-grid article{
 background:#fff;border:1px solid #d7e8df;border-radius:17px;
 padding:26px;box-shadow:0 10px 30px rgba(24,89,67,.045);
}
.page-ifxperts .ifx-benefit-grid h3{
 color:#165d4a;font-size:1.35rem;line-height:1.3;margin:0 0 13px
}
.page-ifxperts .ifx-benefit-grid p{
 font-size:1.06rem;line-height:1.7;color:#4e6961;margin:0
}
.page-ifxperts .ifx-register-inner{display:grid;grid-template-columns:1.45fr .65fr;align-items:center;gap:40px}
.page-ifxperts .ifx-register-inner h2{margin:9px 0 18px}
.page-ifxperts .ifx-register-inner p{max-width:760px;font-size:1.13rem;line-height:1.65}
.page-ifxperts .ifx-register-actions{display:flex;flex-direction:column;gap:13px}
.page-ifxperts .ifx-register-actions a{display:block;text-align:center}
.page-ifxperts .ifx-disclaimer{font-size:.93rem!important;color:#648074!important;margin-top:24px}
@media(max-width:800px){
 .page-ifxperts .ifx-benefit-grid{grid-template-columns:1fr}
 .page-ifxperts .ifx-register-inner{grid-template-columns:1fr}
 .page-ifxperts .ifx-register-actions{max-width:400px}
}

/* The Missing Curriculum — one compact book purchase section. */
.theme-missing .missing-book-section {background:#f8fcfc;padding:60px 0}
.theme-missing .missing-book-card {
 display:grid;grid-template-columns:150px 1fr;gap:34px;align-items:center;
 max-width:1030px;padding:30px 37px;border:1px solid #d4e6e6;
 border-radius:20px;background:#fff;
}
.theme-missing .missing-book-card img {
 max-width:150px;width:100%;height:auto;max-height:220px;object-fit:contain;
 box-shadow:0 9px 23px rgba(12,62,76,.13)
}
.theme-missing .missing-book-card h2{
 font-size:clamp(1.8rem,2.6vw,2.5rem);margin:4px 0 14px;color:#135771
}
.theme-missing .missing-book-card p:not(.eyebrow){
 color:#476679;font-size:1.08rem;max-width:650px;line-height:1.65
}
.theme-missing .missing-book-card .actions{margin-top:21px}
@media(max-width:650px){
 .theme-missing .missing-book-card{grid-template-columns:1fr;padding:24px;gap:24px}
 .theme-missing .missing-book-card img{max-width:132px}
}

/* MANTIQ — unify five components under navy and silver, with original icons. */
.mantiq .stage{
 --stage-accent:#174c86!important;--stage-surface:#f3f7fc!important;--stage-outline:#d8e5f4!important;
 background:linear-gradient(165deg,#f1f6fd 0%,#fff 88%)!important;
 border:1px solid #d6e2f0!important;min-height:366px;padding:26px 25px 24px
}
.mantiq .stage:nth-child(3){
 background:linear-gradient(165deg,#eaf2fd,#fff 88%)!important;
 border-color:#aec6e8!important
}
.mantiq .mantiq-stage-icon{
 display:block;width:105px;height:105px;object-fit:contain;
 margin:10px 0 18px;border-radius:50%;box-shadow:0 5px 18px rgba(12,39,84,.12)
}
.mantiq .stage-kind {color:#557393!important}
.mantiq .stage .stage-status{
 background:#f5f8fd;border-color:#dce6f3;color:#385d8d;
 font-weight:700;line-height:1.5
}
.mantiq .mantiq-pilot-offerings{
 margin-top:40px;padding:32px;border:1px solid #d9e6f3;border-radius:22px;
 background:linear-gradient(130deg,#eef5fd 0%,#fff 75%)
}
.mantiq .mantiq-pilot-heading h3{
 font-size:clamp(1.5rem,2.1vw,2rem);color:#173e71;margin:9px 0 14px
}
.mantiq .mantiq-pilot-heading p:not(.kicker){max-width:760px;line-height:1.65;color:#4e6682}
.mantiq .mantiq-pilot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:22px}
.mantiq .mantiq-pilot-card{
 padding:24px;background:#fff;border:1px solid #d9e4f1;border-radius:16px
}
.mantiq .mantiq-pilot-card h4{font-size:1.2rem;line-height:1.35;color:#173e71;margin:13px 0}
.mantiq .mantiq-pilot-card p{font-size:1rem;line-height:1.6;color:#4e6682;margin:0}
.mantiq .mantiq-pilot-tag{
 display:inline-block;background:#e9f0fa;border-radius:30px;padding:7px 10px;
 color:#2a568b;font-size:.74rem;line-height:1.4;font-weight:800;letter-spacing:.04em
}
.mantiq .mantiq-pilot-note{font-size:.9rem!important;color:#61768d;margin:20px 0 0}
@media(max-width:920px){
 .mantiq .mantiq-pilot-grid{grid-template-columns:1fr}
 .mantiq .mantiq-pilot-offerings{padding:23px}
 .mantiq .mantiq-stage-icon{width:95px;height:95px}
}

/* IFXperts workshop: brand with the actual IFXperts wordmark. */
.academy-programmes-page .academy-workshop-side .ifx-workshop-logo{
 display:block;max-width:230px;width:100%;height:94px;
 object-fit:contain;background:#fff;border-radius:10px;padding:10px
}
.academy-programmes-page .academy-workshop-enquiries{
 background:#f2faf7;padding:55px 0
}
.academy-programmes-page .academy-workshop-enquiries .academy-workshop-contact-card{
 max-width:760px;margin:auto;text-align:center
}

/* IFX desktop hero: stronger than legacy single-column override. */
@media(min-width:940px) {
 .page-ifxperts .ifx-hero-refined .herogrid {
  display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;
  align-items:center;gap:34px;min-height:530px
 }
 .page-ifxperts .ifx-hero-refined .hero-graphic {
  width:100%!important;max-width:375px!important;margin:0!important;justify-self:end
 }
}
@media(max-width:939px) {
 .page-ifxperts .ifx-hero-refined .herogrid{grid-template-columns:1fr!important}
}

/* Supplied Knowledge crest: frame the original artwork without its outer whitespace. */
img[src="assets/knowledge-dark-green-crest.png"] {
  object-view-box: inset(19% 25% 21% 25%);
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}
/* Let the original pillar artwork sit directly on each page's background. */
.home-pillars .pillar-logo-frame,
.academy-programmes-page .academy-side-row .academy-pillar-icon-frame {
  background: transparent;
}
.home-pillars .pillar-card { isolation: isolate; }
.home-pillars .pillar-card::before,
.home-pillars .pillar-card::after { z-index: -1; }
.home-pillars .pillar-content { z-index: auto; }
.home-pillars .pillar-logo-frame img.pillar-emblem,
.academy-programmes-page .academy-side-row .academy-pillar-icon-frame img,
img[src="assets/pillar-wisdom-original-cutout.png"],
img[src="assets/mantiq-logo-cutout.png"] {
  mix-blend-mode: multiply !important;
}
/* Frame the complete original MANTIQ rings; the old individual crops clipped their edges. */
.mantiq .stage-01 .mantiq-stage-icon { object-view-box: inset(35.1773% 72.1147% 38.7234% 15.6104%); }
.mantiq .stage-02 .mantiq-stage-icon { object-view-box: inset(35.1773% 57.6384% 38.7234% 30.0867%); }
.mantiq .stage-03 .mantiq-stage-icon { object-view-box: inset(35.1773% 43.2288% 38.7234% 44.4963%); }
.mantiq .stage-04 .mantiq-stage-icon { object-view-box: inset(35.1773% 28.8192% 38.7234% 58.9059%); }
.mantiq .stage-05 .mantiq-stage-icon { object-view-box: inset(35.1773% 14.7432% 38.7234% 72.9820%); }
/* The Academy pillar rows are full-row links with pointer and keyboard feedback. */
.academy-programmes-page a.academy-side-row { text-decoration: none; }
.academy-programmes-page .academy-side-arrow {
  margin-left: auto; padding-right: 4px; font-size: 1.15rem;
}
.academy-programmes-page a.academy-side-row:hover {
  background: rgba(23, 109, 80, .05);
}
.academy-programmes-page a.academy-side-row:focus-visible {
  outline: 3px solid currentColor; outline-offset: 3px; border-radius: 5px;
}
