:root{
  --as-navy:#0b2f58;
  --as-blue:#0b73dc;
  --as-blue-2:#3b9bf3;
  --as-sky:#eaf5ff;
  --as-sky-2:#f6fbff;
  --as-text:#2b3e50;
  --as-muted:#65788b;
  --as-line:#dceaf6;
  --as-green:#59a98d;
  --as-violet:#7d73d3;
  --as-white:#fff;
  --as-shadow:0 18px 50px rgba(33,86,130,.10);
  --as-radius:24px;
}

.alsarhan-services-active .site-main{max-width:none!important;padding:0!important}
.as-services-page{overflow:hidden;background:#fff;color:var(--as-text);font-family:inherit;line-height:1.8}
.as-services-page *{box-sizing:border-box}
.as-services-page a{text-decoration:none}
.as-services-page svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.as-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.as-section{padding:88px 0;position:relative}
.as-section-soft{background:linear-gradient(180deg,#f7fbff 0%,#eef7ff 100%)}
.as-section-heading{max-width:760px;text-align:center;margin:0 auto 44px}
.as-section-heading h2,.as-fit-card h2,.as-cta h2,.as-feature-panel h2{color:var(--as-navy);font-size:clamp(30px,4vw,46px);line-height:1.2;margin:8px 0 14px;font-weight:800;letter-spacing:-.025em}
.as-section-heading p,.as-fit-card p,.as-feature-panel p{color:var(--as-muted);font-size:17px;margin:0}
.as-kicker,.as-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--as-blue);font-weight:800;font-size:14px;letter-spacing:.04em}
.as-eyebrow:before,.as-kicker:before{content:"";width:28px;height:2px;background:currentColor;border-radius:99px}
[dir="rtl"] .as-eyebrow,[dir="rtl"] .as-kicker{letter-spacing:0}

.as-hero{position:relative;background:radial-gradient(circle at 15% 20%,rgba(70,168,255,.18),transparent 30%),linear-gradient(135deg,#fafdff 0%,#eaf5ff 100%);border-bottom:1px solid var(--as-line)}
.as-overview-hero{padding:95px 0 80px}
.as-detail-hero{padding:86px 0 70px}
.as-hero-grid,.as-detail-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:center;gap:52px;position:relative}
.as-hero-copy{position:relative;z-index:2}
.as-hero h1{font-size:clamp(40px,6vw,68px);line-height:1.12;letter-spacing:-.035em;color:var(--as-navy);margin:12px 0 20px;font-weight:850;max-width:820px}
[dir="rtl"] .as-hero h1{letter-spacing:0}
.as-lead{font-size:clamp(18px,2vw,21px);line-height:1.9;color:#496176;max-width:790px;margin:0 0 12px}
.as-hero-copy>p:not(.as-lead){color:var(--as-muted);font-size:16px;max-width:800px}
.as-hero-actions,.as-card-actions,.as-cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.as-btn{min-height:48px;padding:11px 20px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;border:1px solid transparent;transition:.22s ease;cursor:pointer;font:inherit}
.as-btn:hover{transform:translateY(-2px)}
.as-btn-primary{background:linear-gradient(135deg,var(--as-blue),#0d8df2);color:#fff;box-shadow:0 10px 24px rgba(11,115,220,.22)}
.as-btn-ghost{background:#fff;color:var(--as-blue);border-color:#b9dafa}
.as-btn-small{min-height:42px;padding:8px 15px;font-size:14px;flex:1}
.as-btn-white{background:#fff;color:var(--as-blue)}
.as-btn-outline-white{border-color:rgba(255,255,255,.6);color:#fff;background:transparent}
.as-btn-arrow{display:inline-flex;font-size:18px}
[dir="rtl"] .as-btn-arrow{transform:scaleX(-1)}
.as-back-link{display:inline-block;margin-bottom:16px;color:var(--as-blue);font-weight:700;font-size:14px}
[dir="rtl"] .as-back-link{direction:ltr;unicode-bidi:isolate}

.as-hero-art,.as-detail-hero-visual{height:430px;position:relative;min-width:0}
.as-orb{position:absolute;border-radius:50%;filter:blur(.1px)}
.as-orb-a{width:300px;height:300px;background:linear-gradient(145deg,rgba(44,149,239,.16),rgba(255,255,255,.88));right:8%;top:9%;box-shadow:inset 0 0 0 1px rgba(96,171,233,.20)}
.as-orb-b{width:160px;height:160px;background:rgba(255,255,255,.65);left:4%;bottom:4%;border:1px solid rgba(96,171,233,.18)}
.as-leaf{position:absolute;width:88px;height:180px;border-radius:100% 0 100% 0;background:linear-gradient(145deg,#bfe4ff,#5faee5);transform:rotate(35deg);opacity:.88;box-shadow:0 18px 34px rgba(50,127,186,.12)}
.as-leaf:after{content:"";position:absolute;width:2px;height:150px;background:rgba(18,94,149,.35);left:46%;top:15px;transform:rotate(-20deg)}
.as-leaf-1{right:18%;bottom:3%;transform:rotate(20deg) scale(1.2)}
.as-leaf-2{right:45%;bottom:8%;transform:rotate(55deg) scale(.8)}
.as-leaf-3{right:8%;bottom:22%;transform:rotate(-5deg) scale(.7)}
[dir="rtl"] .as-orb-a{right:auto;left:8%}[dir="rtl"] .as-orb-b{left:auto;right:4%}[dir="rtl"] .as-leaf-1{right:auto;left:18%}[dir="rtl"] .as-leaf-2{right:auto;left:45%}[dir="rtl"] .as-leaf-3{right:auto;left:8%}

.as-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.as-service-card{background:#fff;border:1px solid var(--as-line);border-radius:var(--as-radius);padding:28px;box-shadow:var(--as-shadow);position:relative;overflow:hidden;transition:.25s ease}
.as-service-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--tone,var(--as-blue))}
.as-service-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(33,86,130,.15)}
.as-tone-blue{--tone:var(--as-blue)}.as-tone-green{--tone:var(--as-green)}.as-tone-violet{--tone:var(--as-violet)}
.as-icon-badge,.as-choice-icon,.as-pathway-icon,.as-step-icon,.as-concept-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:#eef7ff;color:var(--tone,var(--as-blue));font-size:31px}
.as-card-title-wrap{margin-top:18px;min-height:76px}
.as-card-title-wrap h3{color:var(--as-navy);font-size:22px;line-height:1.35;margin:0 0 5px;font-weight:800}
.as-abbr{font-size:13px;font-weight:800;color:var(--as-blue);background:#edf6ff;padding:4px 8px;border-radius:999px}
.as-service-card>p{color:var(--as-muted);font-size:15px;min-height:122px}
.as-mini-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 18px;padding-top:18px;border-top:1px solid #edf3f8}
.as-mini-path{display:flex;flex-direction:column;align-items:center;gap:7px;color:#465d72;text-align:center;font-size:11px;font-weight:700;line-height:1.35;padding:6px 2px;border-radius:10px}
.as-mini-path:hover{background:#f5faff;color:var(--as-blue)}
.as-mini-icon{font-size:22px;color:var(--as-blue);display:flex}

.as-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:steps}
.as-step-grid-three{grid-template-columns:repeat(3,1fr)}
.as-step-card{position:relative;background:#fff;border:1px solid var(--as-line);border-radius:20px;padding:27px 24px;color:inherit;box-shadow:0 14px 36px rgba(33,86,130,.07);transition:.22s ease}
a.as-step-card:hover{transform:translateY(-4px);border-color:#afd6f9}
.as-step-number{position:absolute;top:16px;inset-inline-end:18px;width:30px;height:30px;border-radius:50%;background:#eef7ff;color:var(--as-blue);display:grid;place-items:center;font-size:13px;font-weight:900}
.as-step-icon{margin-bottom:18px}
.as-step-card h3{color:var(--as-navy);font-size:19px;line-height:1.4;margin:0 0 8px}
.as-step-card p{color:var(--as-muted);font-size:14px;margin:0}

.as-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.as-choice-card{padding:30px;border-radius:22px;border:1px solid var(--as-line);background:linear-gradient(180deg,#fff,#fbfdff);text-align:center}
.as-choice-card:nth-child(1) .as-choice-icon{--tone:#2f90e9}.as-choice-card:nth-child(2) .as-choice-icon{--tone:#c7a12a;background:#fff9df}.as-choice-card:nth-child(3) .as-choice-icon{--tone:#3ca789;background:#ecfbf6}
.as-choice-icon{margin:0 auto 15px}
.as-choice-card h3{color:var(--as-navy);font-size:20px;margin:0 0 8px}
.as-choice-card p{color:var(--as-muted);font-size:14px;margin:0}

.as-detail-hero-visual{display:grid;place-items:center}
.as-detail-icon{width:200px;height:200px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);box-shadow:0 24px 60px rgba(33,86,130,.13);font-size:100px;color:var(--as-blue);z-index:2}
.as-detail-ring{position:absolute;width:310px;height:310px;border:1px solid #9fd0f6;border-radius:50%;animation:asFloat 8s ease-in-out infinite}
.as-detail-ring:before,.as-detail-ring:after{content:"";position:absolute;border-radius:50%;background:#8bc9f5}
.as-detail-ring:before{width:14px;height:14px;left:18px;top:76px}.as-detail-ring:after{width:9px;height:9px;right:25px;bottom:74px}
.as-detail-dots{position:absolute;width:120px;height:120px;right:8%;bottom:2%;background-image:radial-gradient(#75b9ea 1.3px,transparent 1.3px);background-size:12px 12px;opacity:.4}
[dir="rtl"] .as-detail-dots{right:auto;left:8%}
@keyframes asFloat{50%{transform:translateY(-8px) rotate(8deg)}}

.as-concept-grid{display:grid;gap:14px}.as-concept-3{grid-template-columns:repeat(3,1fr)}.as-concept-4{grid-template-columns:repeat(4,1fr)}.as-concept-6{grid-template-columns:repeat(3,1fr)}
.as-concept-card{position:relative;padding:24px 20px;border:1px solid var(--as-line);border-radius:20px;background:#fff;min-height:230px}
.as-concept-number{position:absolute;top:16px;inset-inline-end:16px;color:#aac4d8;font-weight:900;font-size:13px}
.as-concept-icon{width:50px;height:50px;font-size:25px;margin-bottom:14px}
.as-concept-card h3{color:var(--as-navy);font-size:18px;margin:0 0 8px}
.as-concept-card p{color:var(--as-muted);font-size:14px;margin:0}

.as-pathway{display:grid;grid-template-columns:70px 82px minmax(0,1fr);gap:24px;align-items:flex-start;padding:34px;background:#fff;border:1px solid var(--as-line);border-radius:24px;box-shadow:0 12px 34px rgba(33,86,130,.06);margin-bottom:20px;scroll-margin-top:110px}
.as-pathway-index{font-size:18px;color:#a7c3da;font-weight:900;padding-top:17px}
.as-pathway-icon{width:70px;height:70px;font-size:35px}
.as-pathway-copy h3{color:var(--as-navy);font-size:28px;line-height:1.3;margin:4px 0 10px}
.as-pathway-copy p{color:var(--as-muted);margin:0 0 11px;font-size:16px}
.as-inline-list,.as-skill-list{list-style:none;padding:0;margin:18px 0 0}
.as-inline-list li,.as-skill-list li{display:flex;align-items:flex-start;gap:10px;margin:10px 0;color:#455f74}
.as-inline-list svg,.as-skill-list svg{flex:0 0 22px;color:var(--as-blue);margin-top:4px}

.as-two-col{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:36px;align-items:stretch}
.as-feature-panel{padding:38px;border-radius:26px;border:1px solid var(--as-line);background:#fff}
.as-skill-list{margin-top:24px}.as-skill-list li{padding:10px 0;border-bottom:1px dashed #dfeaf3}.as-skill-list li:last-child{border-bottom:0}
.as-feature-art{min-height:450px;border-radius:28px;background:radial-gradient(circle at 50% 45%,#fff 0 22%,transparent 23%),linear-gradient(145deg,#eaf6ff,#f9fcff);position:relative;display:grid;place-items:center;overflow:hidden;border:1px solid var(--as-line)}
.as-art-core{width:150px;height:150px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:72px;color:var(--as-blue);box-shadow:0 18px 45px rgba(33,86,130,.12);z-index:2}
.as-feature-art>span{position:absolute;border:1px solid #a9d4f4;border-radius:50%}.as-feature-art>span:nth-child(2){width:240px;height:240px}.as-feature-art>span:nth-child(3){width:340px;height:340px;opacity:.7}.as-feature-art>span:nth-child(4){width:440px;height:440px;opacity:.35}

.as-fit-card{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:30px;align-items:center;padding:42px;border:1px solid var(--as-line);border-radius:28px;background:linear-gradient(135deg,#fff,#f3f9ff);box-shadow:var(--as-shadow)}
.as-fit-icon{width:95px;height:95px;border-radius:50%;display:grid;place-items:center;background:#eaf5ff;color:var(--as-blue);font-size:48px}
.as-fit-card p{max-width:900px}

.as-cta-section{padding-top:20px}
.as-cta{background:linear-gradient(135deg,#075faa,#0d82e2);border-radius:28px;padding:48px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;box-shadow:0 24px 60px rgba(5,89,164,.24);position:relative;overflow:hidden}
.as-cta:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.14);border-radius:50%;inset-inline-end:-100px;top:-120px}
.as-cta h2{color:#fff;margin:6px 0 10px}.as-cta p{margin:0;color:rgba(255,255,255,.86);max-width:740px}.as-cta .as-kicker{color:#d9efff}.as-cta .as-kicker:before{background:#d9efff}.as-cta-actions{margin:0;position:relative;z-index:2}

.as-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.as-modal.is-open{display:flex}
.as-modal-backdrop{position:absolute;inset:0;background:rgba(8,34,59,.55);backdrop-filter:blur(6px)}
.as-modal-dialog{position:relative;width:min(620px,100%);background:#fff;border-radius:26px;padding:34px;box-shadow:0 28px 90px rgba(8,34,59,.28);z-index:2}
.as-modal-dialog h2{font-size:30px;color:var(--as-navy);margin:6px 0 8px}.as-modal-dialog>p{color:var(--as-muted);margin:0}
.as-modal-close{position:absolute;top:15px;inset-inline-end:17px;border:0;background:#eef5fb;color:#315673;width:38px;height:38px;border-radius:50%;font-size:26px;cursor:pointer;line-height:1}
.as-modal-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.as-modal-option{border:1px solid var(--as-line);border-radius:17px;padding:18px 12px;color:var(--as-navy);display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;font-size:14px;line-height:1.4}
.as-modal-option:hover{border-color:#9ecdf3;background:#f7fbff}.as-modal-option>span{font-size:30px;color:var(--as-blue);display:flex}
body.as-modal-open{overflow:hidden}

@media (max-width:980px){
  .as-hero-grid,.as-detail-hero-grid,.as-two-col{grid-template-columns:1fr}
  .as-hero-art,.as-detail-hero-visual{height:300px}
  .as-service-grid,.as-choice-grid{grid-template-columns:1fr 1fr}
  .as-service-grid .as-service-card:last-child,.as-choice-grid .as-choice-card:last-child{grid-column:1/-1}
  .as-step-grid{grid-template-columns:1fr 1fr}.as-step-grid-three{grid-template-columns:1fr 1fr}.as-step-grid-three .as-step-card:last-child{grid-column:1/-1}
  .as-concept-4,.as-concept-6{grid-template-columns:repeat(2,1fr)}
  .as-cta{grid-template-columns:1fr}
}

@media (max-width:700px){
  .as-container{width:min(100% - 28px,1180px)}
  .as-section{padding:64px 0}.as-overview-hero,.as-detail-hero{padding:66px 0 54px}
  .as-hero h1{font-size:40px}
  .as-service-grid,.as-choice-grid,.as-step-grid,.as-step-grid-three,.as-concept-3,.as-concept-4,.as-concept-6{grid-template-columns:1fr}
  .as-service-grid .as-service-card:last-child,.as-choice-grid .as-choice-card:last-child,.as-step-grid-three .as-step-card:last-child{grid-column:auto}
  .as-service-card>p{min-height:0}
  .as-pathway{grid-template-columns:54px 1fr;padding:24px;gap:14px}
  .as-pathway-index{display:none}.as-pathway-icon{width:54px;height:54px;font-size:27px}.as-pathway-copy{grid-column:1/-1}.as-pathway-copy h3{font-size:23px}
  .as-fit-card{grid-template-columns:1fr;padding:28px}.as-fit-icon{display:none}
  .as-cta{padding:32px 24px}.as-cta-actions{width:100%}.as-cta-actions .as-btn{flex:1}
  .as-modal-actions{grid-template-columns:1fr}
  .as-mini-paths{gap:4px}.as-mini-path{font-size:10px}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.as-btn,.as-service-card,.as-step-card,.as-detail-ring{transition:none!important;animation:none!important}}

/* v1.1.0 refinements ------------------------------------------------------ */
/* Keep final CTA buttons readable against the blue panel, including Hello/Elementor link hover rules. */
.as-cta .as-btn-white,
.as-cta .as-btn-white:visited{background:#fff;color:#075faa!important;border-color:#fff}
.as-cta .as-btn-white:hover,
.as-cta .as-btn-white:focus-visible{background:#eef7ff;color:#064f90!important;border-color:#eef7ff;transform:translateY(-2px)}
.as-cta .as-btn-outline-white,
.as-cta .as-btn-outline-white:visited{background:rgba(255,255,255,.06);color:#fff!important;border-color:rgba(255,255,255,.72)}
.as-cta .as-btn-outline-white:hover,
.as-cta .as-btn-outline-white:focus-visible{background:#fff;color:#075faa!important;border-color:#fff;box-shadow:0 10px 28px rgba(0,39,84,.16);transform:translateY(-2px)}

/* Word-source imagery for ACT. All media is optimized WebP and lazy-loaded. */
.as-source-media{margin:34px auto 0;max-width:980px;border-radius:26px;overflow:hidden;background:#fff;border:1px solid var(--as-line);box-shadow:0 18px 48px rgba(33,86,130,.10)}
.as-source-media img{display:block;width:100%;height:auto;margin:0}
.as-act-core-media{max-width:880px}
.as-act-pathway-media{max-width:800px;margin-top:-2px;margin-bottom:30px}
.as-act-pathway-media img{aspect-ratio:4/3;object-fit:cover}
.as-act-journey-media{max-width:980px;margin-top:0;margin-bottom:28px}

/* English pages: make the intended LTR reading flow explicit even when the parent site is RTL. */
.as-services-page[dir="ltr"]{text-align:left}
.as-services-page[dir="ltr"] .as-section-heading{text-align:center}
.as-services-page[dir="ltr"] .as-service-card,
.as-services-page[dir="ltr"] .as-pathway,
.as-services-page[dir="ltr"] .as-feature-panel,
.as-services-page[dir="ltr"] .as-fit-card{text-align:left}

@media (max-width:700px){
  /* The site header is visually overlaid on narrow screens. Extra top space keeps the breadcrumb/kicker/title fully visible. */
  .as-overview-hero,.as-detail-hero{padding-top:118px}
  .as-source-media{border-radius:18px;margin-top:24px}
  .as-act-pathway-media{margin-top:-2px;margin-bottom:24px}
  .as-act-journey-media{margin-top:0;margin-bottom:22px}
}

/* v1.2.0 refinements ------------------------------------------------------ */
/* Shared presentation for optimized images extracted from the supplied Word files. */
.as-core-media{max-width:880px}
.as-pathway-media{max-width:800px;margin-top:-2px;margin-bottom:30px}
.as-pathway-media img{aspect-ratio:4/3;object-fit:cover}
.as-journey-media{max-width:980px;margin-top:0;margin-bottom:28px}
.as-cbt-core-media img{object-fit:contain;background:#fff}
.as-cbt-journey-media img,.as-hypnosis-journey-media img{object-fit:contain;background:#fff}

@media (max-width:700px){
  /*
   * Root fix for overlaid mobile headers: JS writes the measured overlap into
   * --as-mobile-header-overlap. The 56px fallback protects the hero even if JS
   * is delayed/disabled, while env() also respects phone safe areas.
   */
  .as-overview-hero,.as-detail-hero{
    padding-top:calc(72px + var(--as-mobile-header-overlap,56px) + env(safe-area-inset-top));
  }
  .as-pathway-media{margin-top:-2px;margin-bottom:24px}
  .as-journey-media{margin-top:0;margin-bottom:22px}
  .as-source-media{max-width:100%}
}


/* v1.3.0 — ACT integrated-media layout ----------------------------------- */
/*
 * ACT images are now part of the section/card composition rather than
 * standalone blocks between sections. This preserves the original page rhythm
 * and keeps Word-source imagery useful without making the page feel like a
 * document export.
 */
.as-detail-act .as-core-summary-panel{
  max-width:940px;
  margin:38px auto 0;
  padding:26px;
  border:1px solid var(--as-line);
  border-radius:30px;
  background:linear-gradient(145deg,#fbfdff,#eef8ff);
  box-shadow:0 18px 46px rgba(33,86,130,.08);
}
.as-detail-act .as-core-summary-heading{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.as-detail-act .as-core-summary-panel .as-source-media{
  max-width:820px;
  margin:0 auto;
  border-radius:22px;
  box-shadow:none;
  border-color:rgba(187,218,242,.72);
}

.as-detail-act .as-media-pathways{display:grid;gap:28px}
.as-detail-act .as-media-pathway{
  display:grid;
  grid-template-columns:minmax(0,1.32fr) minmax(320px,.82fr);
  min-height:430px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--as-line);
  border-radius:28px;
  box-shadow:0 16px 44px rgba(33,86,130,.075);
  scroll-margin-top:calc(110px + var(--as-mobile-header-overlap,0px));
}
.as-detail-act .as-media-pathway-body{
  padding:40px 42px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:22px;
  align-content:center;
  min-width:0;
}
.as-detail-act .as-media-pathway-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding-top:3px;
}
.as-detail-act .as-media-pathway-meta .as-pathway-index{
  padding:0;
  font-size:14px;
  line-height:1;
  color:#a8c4dc;
}
.as-detail-act .as-media-pathway-meta .as-pathway-icon{
  width:64px;
  height:64px;
  font-size:31px;
}
.as-detail-act .as-media-pathway-copy h3{
  color:var(--as-navy);
  font-size:clamp(25px,2.4vw,32px);
  line-height:1.28;
  margin:5px 0 13px;
}
.as-detail-act .as-media-pathway-copy p{
  color:var(--as-muted);
  font-size:16px;
  line-height:1.85;
  margin:0 0 11px;
}
.as-detail-act .as-media-pathway-visual{
  max-width:none;
  width:100%;
  height:100%;
  min-height:430px;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#eaf5ff;
}
.as-detail-act .as-media-pathway-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:430px;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}
.as-detail-act .as-media-pathway.is-reversed .as-media-pathway-visual{order:-1}

.as-detail-act .as-act-process-visual{
  max-width:1040px;
  margin:0 auto;
  padding:20px;
  border:1px solid var(--as-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 44px rgba(33,86,130,.08);
}
.as-detail-act .as-act-process-visual .as-source-media{
  max-width:none;
  margin:0;
  border:0;
  border-radius:20px;
  box-shadow:none;
}
.as-detail-act .as-act-process-cards{display:none}

@media (max-width:980px){
  .as-detail-act .as-media-pathway{
    grid-template-columns:1fr;
    min-height:0;
  }
  .as-detail-act .as-media-pathway-visual,
  .as-detail-act .as-media-pathway.is-reversed .as-media-pathway-visual{
    order:-1;
    min-height:0;
    aspect-ratio:16/9;
  }
  .as-detail-act .as-media-pathway-visual img{
    min-height:0;
    aspect-ratio:16/9;
  }
  .as-detail-act .as-media-pathway-body{padding:32px 34px}
}

@media (max-width:700px){
  /* On phones the six native ACT cards are clearer than shrinking text-heavy Word artwork. */
  .as-detail-act .as-core-summary-panel{display:none}

  .as-detail-act .as-media-pathways{gap:20px}
  .as-detail-act .as-media-pathway{border-radius:22px}
  .as-detail-act .as-media-pathway-visual,
  .as-detail-act .as-media-pathway-visual img{aspect-ratio:4/3}
  .as-detail-act .as-media-pathway-body{
    padding:24px 22px 26px;
    grid-template-columns:1fr;
    gap:15px;
  }
  .as-detail-act .as-media-pathway-meta{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:0;
  }
  .as-detail-act .as-media-pathway-meta .as-pathway-icon{
    width:52px;
    height:52px;
    font-size:25px;
  }
  .as-detail-act .as-media-pathway-copy h3{font-size:23px}
  .as-detail-act .as-media-pathway-copy p{font-size:15px;line-height:1.8}

  /* Avoid duplicate process content on mobile: native cards replace the text-heavy infographic. */
  .as-detail-act .as-act-process-visual{display:none}
  .as-detail-act .as-act-process-cards{display:grid}
}

/* v1.4.0 — unified integrated-media layout for CBT + ACT + Hypnosis -------- */
/*
 * The three detail pages now share one editorial media system. Source images
 * sit inside the section/card composition instead of interrupting the page as
 * detached blocks. This keeps visual rhythm consistent while retaining each
 * service's own content and artwork.
 */
.as-detail .as-core-summary-panel{
  max-width:940px;
  margin:38px auto 0;
  padding:26px;
  border:1px solid var(--as-line);
  border-radius:30px;
  background:linear-gradient(145deg,#fbfdff,#eef8ff);
  box-shadow:0 18px 46px rgba(33,86,130,.08);
}
.as-detail .as-core-summary-heading{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.as-detail .as-core-summary-panel .as-source-media{
  max-width:820px;
  margin:0 auto;
  border-radius:22px;
  box-shadow:none;
  border-color:rgba(187,218,242,.72);
}
.as-detail .as-core-summary-panel .as-source-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#fff;
}

.as-detail .as-media-pathways{display:grid;gap:28px}
.as-detail .as-media-pathway{
  display:grid;
  grid-template-columns:minmax(0,1.32fr) minmax(320px,.82fr);
  min-height:430px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--as-line);
  border-radius:28px;
  box-shadow:0 16px 44px rgba(33,86,130,.075);
  scroll-margin-top:calc(110px + var(--as-mobile-header-overlap,0px));
}
.as-detail .as-media-pathway-body{
  padding:40px 42px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:22px;
  align-content:center;
  min-width:0;
}
.as-detail .as-media-pathway-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding-top:3px;
}
.as-detail .as-media-pathway-meta .as-pathway-index{
  padding:0;
  font-size:14px;
  line-height:1;
  color:#a8c4dc;
}
.as-detail .as-media-pathway-meta .as-pathway-icon{
  width:64px;
  height:64px;
  font-size:31px;
}
.as-detail .as-media-pathway-copy h3{
  color:var(--as-navy);
  font-size:clamp(25px,2.4vw,32px);
  line-height:1.28;
  margin:5px 0 13px;
}
.as-detail .as-media-pathway-copy p{
  color:var(--as-muted);
  font-size:16px;
  line-height:1.85;
  margin:0 0 11px;
}
.as-detail .as-media-pathway-copy .as-inline-list{margin-top:17px}
.as-detail .as-media-pathway-visual{
  max-width:none;
  width:100%;
  height:100%;
  min-height:430px;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#eaf5ff;
}
.as-detail .as-media-pathway-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:430px;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}
.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{order:-1}

/* Keep text-bearing process artwork roomy on larger screens, then swap it for
 * native cards on phones so the typography never becomes too small to read. */
.as-detail .as-process-visual{
  max-width:1040px;
  margin:0 auto;
  padding:20px;
  border:1px solid var(--as-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 44px rgba(33,86,130,.08);
}
.as-detail .as-process-visual .as-source-media{
  max-width:none;
  margin:0;
  border:0;
  border-radius:20px;
  box-shadow:none;
}
.as-detail .as-process-visual .as-source-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#fff;
}
.as-detail .as-process-cards{display:none}

@media (max-width:980px){
  .as-detail .as-media-pathway{
    grid-template-columns:1fr;
    min-height:0;
  }
  .as-detail .as-media-pathway-visual,
  .as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{
    order:-1;
    min-height:0;
    aspect-ratio:16/9;
  }
  .as-detail .as-media-pathway-visual img{
    min-height:0;
    aspect-ratio:16/9;
  }
  .as-detail .as-media-pathway-body{padding:32px 34px}
}

@media (max-width:700px){
  /* Native concept cards are more legible than text-bearing artwork on phones. */
  .as-detail-cbt .as-core-summary-panel,
  .as-detail-act .as-core-summary-panel{display:none}

  .as-detail .as-media-pathways{gap:20px}
  .as-detail .as-media-pathway{border-radius:22px}
  .as-detail .as-media-pathway-visual,
  .as-detail .as-media-pathway-visual img{aspect-ratio:4/3}
  .as-detail .as-media-pathway-body{
    padding:24px 22px 26px;
    grid-template-columns:1fr;
    gap:15px;
  }
  .as-detail .as-media-pathway-meta{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:0;
  }
  .as-detail .as-media-pathway-meta .as-pathway-icon{
    width:52px;
    height:52px;
    font-size:25px;
  }
  .as-detail .as-media-pathway-copy h3{font-size:23px}
  .as-detail .as-media-pathway-copy p{font-size:15px;line-height:1.8}

  .as-detail .as-process-visual{display:none}
  .as-detail .as-process-cards{display:grid}
}


/* v1.5.0 — annotated UI refinements -------------------------------------- */
/*
 * Keep this release limited to layout/interaction corrections from the
 * annotated review. New bespoke artwork for the hero and skills sections is
 * intentionally deferred to the next visual-design pass.
 */

/* The concept cards were visually too tall for their short copy.  Let the
 * content define the height and tighten the internal rhythm without changing
 * the information architecture. */
.as-detail .as-concept-grid{gap:16px;align-items:stretch}
.as-detail .as-concept-card{
  min-height:0;
  padding:22px 20px 20px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.as-detail .as-concept-icon{margin-bottom:11px}
.as-detail .as-concept-card h3{margin-bottom:6px;line-height:1.45}
.as-detail .as-concept-card p{line-height:1.7}

/* On desktop/tablet the supplied process infographic already contains its
 * own title/subtitle, so a second heading immediately above it is repetitive.
 * Phones use native process cards instead, therefore keep the heading there. */
@media (min-width:701px){
  .as-detail .as-process-heading{display:none}
}

/* Hypnosis photography contains clinically relevant context near the image
 * edges.  Preserve the supplied 4:3 composition instead of stretching the
 * image to the full text-card height and cropping the client out. */
@media (min-width:981px){
  .as-detail-hypnosis .as-media-pathway{align-items:center}
  .as-detail-hypnosis .as-media-pathway-visual{
    width:calc(100% - 40px);
    height:auto;
    min-height:0;
    aspect-ratio:4/3;
    margin:20px;
    border-radius:22px;
    overflow:hidden;
    align-self:center;
  }
  .as-detail-hypnosis .as-media-pathway-visual img{
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:center;
  }
}

@media (max-width:700px){
  .as-detail .as-concept-card{padding:20px 18px 18px}
}

/* v1.6.1 — service hero artwork ------------------------------------------ */
.as-detail-hero-visual.has-hero-media{
  isolation:isolate;
}
.as-detail-hero-visual.has-hero-media .as-detail-ring{
  width:360px;
  height:360px;
  opacity:.45;
  z-index:0;
}
.as-detail-hero-visual.has-hero-media .as-detail-dots{
  z-index:0;
  opacity:.3;
}
.as-detail-hero-media{
  max-width:500px;
  width:100%;
  margin:0;
  position:relative;
  z-index:2;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(187,218,242,.9);
  box-shadow:0 24px 60px rgba(33,86,130,.14);
  background:#fff;
}
.as-detail-hero-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  background:#f8fbff;
}
@media (max-width:980px){
  .as-detail-hero-media{max-width:430px}
  .as-detail-hero-visual.has-hero-media .as-detail-ring{width:310px;height:310px}
}
@media (max-width:700px){
  .as-detail-hero-media{max-width:360px;border-radius:24px}
}

/* v1.7.0 — annotated service-page cleanup -------------------------------- */
/*
 * This pass follows the marked screenshots only: remove the duplicated
 * concept-card block, keep the approved CBT/ACT source infographic, place the
 * three approved service artworks in the skills/learning section, and improve
 * the visual balance of Hypnosis pathway photography. Header/footer/global
 * styles remain untouched because these rules are scoped to .as-detail.
 */
.as-detail .as-core-summary-section{
  padding-top:64px;
  padding-bottom:76px;
}
.as-detail .as-core-summary-section .as-core-summary-panel{
  margin-top:0;
}

/* Approved service artwork now replaces the generic auto-generated rings in
 * the learning/skills block. A separate feature.webp is used so the hero can
 * be replaced by the doctor's transparent portrait in the next asset pass
 * without duplicating or coupling the two placements. */
.as-detail .as-feature-art.as-feature-art-media{
  min-height:0;
  aspect-ratio:1 / 1;
  align-self:center;
  display:block;
  background:#f8fbff;
  border:1px solid var(--as-line);
  border-radius:28px;
  overflow:hidden;
}
.as-detail .as-feature-art-media .as-feature-service-media{
  width:100%;
  max-width:none;
  height:100%;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#f8fbff;
}
.as-detail .as-feature-art-media .as-feature-service-media img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  object-position:center;
  background:#f8fbff;
}

/* The first/third Hypnosis photos were too short in the narrow media column.
 * Give those cards a slightly wider visual rail and a taller crop while the
 * already-roomy reversed middle card keeps its original 4:3 composition. */
@media (min-width:981px){
  .as-detail-hypnosis .as-media-pathway:not(.is-reversed){
    grid-template-columns:minmax(0,1.2fr) minmax(360px,.9fr);
  }
  .as-detail-hypnosis .as-media-pathway:not(.is-reversed) .as-media-pathway-visual{
    width:calc(100% - 32px);
    margin:16px;
    aspect-ratio:6 / 5;
  }
  .as-detail-hypnosis .as-media-pathway:not(.is-reversed) .as-media-pathway-visual img{
    aspect-ratio:6 / 5;
  }
}

@media (max-width:980px){
  .as-detail .as-feature-art.as-feature-art-media{
    width:min(520px,100%);
    margin-inline:auto;
  }
}

@media (max-width:700px){
  .as-detail .as-core-summary-section{
    padding-top:52px;
    padding-bottom:58px;
  }
  .as-detail .as-feature-art.as-feature-art-media{
    width:min(420px,100%);
    border-radius:22px;
  }
}

/* v1.7.1 — doctor hero integration + hypnosis card-image balance ---------- */
/*
 * This pass keeps the existing page structure intact while replacing the three
 * service hero illustrations with the doctor cutout supplied by the client,
 * and making the Hypnosis pathway photography sit taller inside its cards.
 * Rules stay scoped to the custom service templates only.
 */

.as-detail-hero-visual.has-doctor-hero{
  align-items:end;
  min-height:460px;
}
.as-detail-hero-visual.has-doctor-hero::before{
  content:"";
  position:absolute;
  inset:42px 34px 18px;
  border-radius:34px;
  background:linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(236,246,255,.96) 100%);
  box-shadow:inset 0 0 0 1px rgba(187,218,242,.85);
  z-index:1;
}
.as-detail-hero-media.as-detail-hero-media-doctor{
  max-width:430px;
  width:min(100%,430px);
  justify-self:center;
  align-self:end;
  margin:0;
  border:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
  box-shadow:none;
}
.as-detail-hero-media.as-detail-hero-media-doctor img{
  display:block;
  width:100%;
  height:auto;
  max-height:520px;
  margin-inline:auto;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center bottom;
  background:transparent;
}

/* The Hypnosis section images should visually align with the height of their
 * parent cards on desktop, instead of appearing short with extra top/bottom
 * empty space. Keep mobile behavior untouched. */
@media (min-width:981px){
  .as-detail-hypnosis .as-media-pathway{
    align-items:stretch;
  }
  .as-detail-hypnosis .as-media-pathway-visual,
  .as-detail-hypnosis .as-media-pathway.is-reversed .as-media-pathway-visual{
    width:calc(100% - 28px);
    min-height:calc(100% - 28px);
    height:auto;
    margin:14px;
    aspect-ratio:auto;
    align-self:stretch;
    border-radius:24px;
    overflow:hidden;
  }
  .as-detail-hypnosis .as-media-pathway-visual img{
    width:100%;
    height:100%;
    min-height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
  }
}

@media (max-width:980px){
  .as-detail-hero-visual.has-doctor-hero{
    min-height:390px;
  }
  .as-detail-hero-visual.has-doctor-hero::before{
    inset:34px 24px 14px;
    border-radius:28px;
  }
  .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:360px;
    width:min(100%,360px);
  }
  .as-detail-hero-media.as-detail-hero-media-doctor img{
    max-height:430px;
  }
}

@media (max-width:700px){
  .as-detail-hero-visual.has-doctor-hero{
    min-height:320px;
  }
  .as-detail-hero-visual.has-doctor-hero::before{
    inset:28px 18px 12px;
    border-radius:24px;
  }
  .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:285px;
    width:min(100%,285px);
  }
  .as-detail-hero-media.as-detail-hero-media-doctor img{
    max-height:340px;
  }
}

/* v1.7.2 — enforce doctor hero replacement + full-height Hypnosis visuals --- */
/*
 * Ensures the three service heroes actually render the transparent doctor
 * asset (instead of legacy square illustrations) and makes Hypnosis card
 * visuals occupy the vertical rhythm of their parent cards more fully.
 */

.as-detail-hero-visual.has-doctor-hero{
  isolation:isolate;
  display:grid;
  place-items:end center;
  min-height:480px;
}
.as-detail-hero-visual.has-doctor-hero::after{
  content:"";
  position:absolute;
  width:72%;
  height:72%;
  inset-inline-start:14%;
  bottom:18px;
  border-radius:36px;
  background:radial-gradient(circle at 50% 22%, rgba(255,255,255,.88) 0%, rgba(233,245,255,.96) 58%, rgba(225,239,251,.72) 100%);
  box-shadow:0 18px 40px rgba(33,86,130,.08), inset 0 0 0 1px rgba(187,218,242,.75);
  z-index:1;
}
.as-detail-hero-media.as-detail-hero-media-doctor{
  position:relative;
  z-index:3;
  max-width:420px;
  width:min(100%,420px);
}
.as-detail-hero-media.as-detail-hero-media-doctor img{
  width:100%;
  height:auto;
  max-height:530px;
  object-fit:contain;
  object-position:center bottom;
}

@media (min-width:981px){
  .as-detail-hypnosis .as-media-pathway{
    align-items:stretch !important;
    min-height:430px;
  }
  .as-detail-hypnosis .as-media-pathway-visual,
  .as-detail-hypnosis .as-media-pathway.is-reversed .as-media-pathway-visual{
    display:flex;
    align-self:stretch !important;
    width:100% !important;
    min-height:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:16px;
    aspect-ratio:auto !important;
    background:transparent;
    border-radius:0;
    overflow:visible;
  }
  .as-detail-hypnosis .as-media-pathway-visual img{
    display:block;
    width:100%;
    height:100% !important;
    min-height:0 !important;
    flex:1 1 auto;
    aspect-ratio:auto !important;
    object-fit:cover;
    object-position:center;
    border-radius:22px;
    overflow:hidden;
  }
}

@media (max-width:980px){
  .as-detail-hero-visual.has-doctor-hero{
    min-height:390px;
  }
  .as-detail-hero-visual.has-doctor-hero::after{
    width:78%;
    height:74%;
    inset-inline-start:11%;
    border-radius:30px;
  }
  .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:340px;
    width:min(100%,340px);
  }
  .as-detail-hero-media.as-detail-hero-media-doctor img{
    max-height:430px;
  }
}

@media (max-width:700px){
  .as-detail-hero-visual.has-doctor-hero{
    min-height:320px;
  }
  .as-detail-hero-visual.has-doctor-hero::after{
    width:86%;
    height:76%;
    inset-inline-start:7%;
    bottom:12px;
    border-radius:24px;
  }
  .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:275px;
    width:min(100%,275px);
  }
  .as-detail-hero-media.as-detail-hero-media-doctor img{
    max-height:340px;
  }
}

/* v1.7.3 — measured mobile/tablet header clearance -------------------------- */
/*
 * On narrow screens the site header can overlay the page instead of reserving
 * document-flow space. JS measures only the portion that actually overlaps
 * .as-hero and writes --as-mobile-header-overlap.
 *
 * Phones use: real overlap + a small 24px UI gap, with a conservative no-JS
 * fallback. A 54px minimum preserves the existing hero rhythm when the header
 * already occupies normal document flow. Tablets keep their original 95/86px
 * top padding unless a real overlap is measured, so desktop/tablet spacing is
 * not needlessly enlarged.
 */
@media (max-width:700px){
  .as-overview-hero,
  .as-detail-hero{
    padding-top:max(
      54px,
      calc(
        var(--as-mobile-header-overlap, clamp(88px, 27vw, 112px))
        + 24px
        + env(safe-area-inset-top)
      )
    );
  }
}

@media (min-width:701px) and (max-width:980px){
  .as-overview-hero{
    padding-top:max(
      95px,
      calc(var(--as-mobile-header-overlap, 0px) + 28px + env(safe-area-inset-top))
    );
  }
  .as-detail-hero{
    padding-top:max(
      86px,
      calc(var(--as-mobile-header-overlap, 0px) + 28px + env(safe-area-inset-top))
    );
  }
}


/* v1.7.6 — restore overview portrait scale while keeping its head clear of header. */
.as-overview-hero .as-overview-doctor-visual{
  position:relative; isolation:isolate; height:430px; min-width:0;
  display:flex; align-items:flex-end; justify-content:center;
}
.as-overview-hero .as-overview-doctor-frame{
  position:absolute; z-index:0; inset:28px 9% 16px; border-radius:36px;
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(234,245,255,.75));
  box-shadow:inset 0 0 0 1px rgba(156,205,241,.55);
}
.as-overview-hero .as-overview-doctor-frame::after{
  content:""; position:absolute; inset:18% 7% 0; border-radius:34px;
  box-shadow:inset 0 0 0 1px rgba(156,205,241,.45);
}
.as-overview-hero .as-overview-doctor-visual img{
  position:relative; z-index:1; display:block; width:auto; height:calc(100% - 12px);
  max-width:100%; object-fit:contain; object-position:center bottom;
}
@media(max-width:980px){
  .as-overview-hero .as-overview-doctor-visual{height:360px}
  .as-overview-hero .as-overview-doctor-visual img{height:100%}
}
@media(max-width:700px){
  .as-overview-hero .as-overview-doctor-visual{height:340px}
}

/* Desktop only: grow the overview portrait downwards, not upwards under the header. */
@media (min-width:981px){
  .as-overview-hero .as-overview-doctor-visual img{
    height:calc(100% + 105px);
    transform:translateY(100px);
  }
}

/* v1.8.18: scoped start modal refinements, unaffected by course visibility. */
.as-services-page .as-modal-close{inset-inline-end:18px;top:18px;display:grid;place-items:center;width:42px;height:42px;padding:0;line-height:1;border:1px solid #d9e7f4;border-radius:13px;background:#f4f8fc;color:#365b79;box-shadow:0 3px 10px rgba(12,50,84,.06);transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;z-index:3}
.as-services-page .as-modal-close svg{display:block;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;fill:none}
.as-services-page .as-modal-close:hover{background:#e7f3ff;border-color:#a9cffa;color:#075faa;transform:translateY(-1px)}
.as-services-page .as-modal-close:focus-visible{outline:3px solid #479ef0;outline-offset:3px}
.as-services-page .as-modal-actions-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.as-services-page .as-modal-actions-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.as-services-page .as-modal-option{min-width:0;min-height:116px;justify-content:center}
@media(max-width:700px){.as-services-page .as-modal-dialog{padding:64px 22px 24px}.as-services-page .as-modal-actions-two,.as-services-page .as-modal-actions-three{grid-template-columns:1fr}.as-services-page .as-modal-option{min-height:86px}.as-services-page .as-modal-close{top:14px;inset-inline-end:14px}}
@media(prefers-reduced-motion:reduce){.as-services-page .as-modal-close{transition:none}}


/* RC108: restricted detail-page image containment and uniform framing.
   Earlier v1.7.x rules cropped photographs with cover and forced varying
   heights on Hypnosis. Preserve entire user-supplied artwork instead. */
.as-services-page.as-detail .as-media-pathway-visual,
.as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  width:100% !important;height:auto !important;min-height:0 !important;
  margin:0 !important;padding:12px !important;aspect-ratio:4 / 3 !important;
  border-radius:22px;overflow:hidden;background:#f6faff;
  align-self:center !important;
}
.as-services-page.as-detail .as-media-pathway-visual img,
.as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual img{
  display:block;width:100% !important;height:100% !important;min-height:0 !important;
  max-width:100%;max-height:100%;aspect-ratio:auto !important;
  flex:0 1 auto;object-fit:contain !important;object-position:center !important;
  border-radius:12px;background:transparent;
}
.as-services-page.as-detail .as-feature-art.as-feature-art-media{
  width:100%;max-width:100%;aspect-ratio:4 / 3 !important;
  display:flex;align-items:center;justify-content:center;padding:12px;
  background:#f6faff;
}
.as-services-page.as-detail .as-feature-art-media .as-feature-service-media{
  width:100%;height:100%;max-width:100%;margin:0;display:flex;
  align-items:center;justify-content:center;
}
.as-services-page.as-detail .as-feature-art-media .as-feature-service-media img{
  width:100%;height:100%;aspect-ratio:auto !important;
  object-fit:contain !important;object-position:center;
}
.as-services-page.as-detail .as-core-summary-panel .as-source-media,
.as-services-page.as-detail .as-process-visual .as-source-media{
  width:100%;max-width:100%;margin-inline:auto;overflow:hidden;
}
.as-services-page.as-detail .as-core-summary-panel .as-source-media img,
.as-services-page.as-detail .as-process-visual .as-source-media img{
  width:100%;height:auto;max-width:100%;aspect-ratio:auto !important;
  object-fit:contain !important;
}
@media(max-width:980px){
  .as-services-page.as-detail .as-media-pathway-visual,
  .as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{
    width:100% !important;aspect-ratio:4 / 3 !important;
  }
}
@media(max-width:700px){
  .as-services-page.as-detail .as-media-pathway-visual,
  .as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{padding:8px !important}
  .as-services-page.as-detail .as-feature-art.as-feature-art-media{padding:8px}
}


/* RC109 — service detail hero replacement + stacked pathway cards ---------- */
/*
 * Implements the requested service-page cleanup only:
 * 1) the approved doctor image is used in the three detail-page heroes,
 * 2) the three “How can this be used?” cards become orderly vertical cards
 *    with image first, then heading and copy,
 * 3) all rules stay scoped to service detail templates.
 */
.as-services-page.as-detail .as-detail-hero-visual.has-doctor-hero{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  min-height:460px;
}
.as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor{
  max-width:520px;
  width:min(100%,520px);
  margin-inline:auto;
}
.as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor img{
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain !important;
  object-position:center bottom !important;
}

.as-services-page.as-detail .as-media-pathways{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.as-services-page.as-detail .as-media-pathway,
.as-services-page.as-detail .as-media-pathway.is-reversed{
  display:flex !important;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  border:1px solid var(--as-line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 16px 44px rgba(33,86,130,.075);
}
.as-services-page.as-detail .as-media-pathway-visual,
.as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual{
  order:0;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:4 / 3 !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#f6faff;
  align-self:stretch !important;
  display:block;
}
.as-services-page.as-detail .as-media-pathway-visual img,
.as-services-page.as-detail .as-media-pathway.is-reversed .as-media-pathway-visual img{
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#f6faff;
}
.as-services-page.as-detail .as-media-pathway-body{
  order:1;
  display:flex !important;
  flex-direction:column;
  grid-template-columns:none !important;
  gap:16px;
  padding:22px 22px 24px !important;
  align-content:flex-start;
}
.as-services-page.as-detail .as-media-pathway-meta{
  display:flex !important;
  flex-direction:row;
  align-items:center;
  gap:10px;
  padding:0;
}
.as-services-page.as-detail .as-media-pathway-meta .as-pathway-index{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#edf6ff;
  color:#6d9fc9;
  font-size:13px;
  font-weight:700;
}
.as-services-page.as-detail .as-media-pathway-meta .as-pathway-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  font-size:23px;
}
.as-services-page.as-detail .as-media-pathway-meta .as-kicker{
  margin-inline-start:auto;
  text-align:end;
}
.as-services-page.as-detail .as-media-pathway-copy h3{
  font-size:25px;
  line-height:1.35;
  margin:0 0 10px;
}
.as-services-page.as-detail .as-media-pathway-copy p{
  margin:0 0 11px;
  font-size:15px;
  line-height:1.9;
}
.as-services-page.as-detail .as-media-pathway-copy .as-inline-list{margin-top:10px}

@media (max-width:1180px){
  .as-services-page.as-detail .as-media-pathways{grid-template-columns:1fr}
}
@media (min-width:701px) and (max-width:980px){
  .as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:430px;
    width:min(100%,430px);
  }
}
@media (max-width:700px){
  .as-services-page.as-detail .as-detail-hero-visual.has-doctor-hero{min-height:320px}
  .as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor{
    max-width:300px;
    width:min(100%,300px);
  }
  .as-services-page.as-detail .as-media-pathway-body{padding:20px 18px 22px !important}
  .as-services-page.as-detail .as-media-pathway-meta{
    flex-wrap:wrap;
    row-gap:8px;
  }
  .as-services-page.as-detail .as-media-pathway-meta .as-kicker{
    margin-inline-start:0;
    width:100%;
    text-align:start;
  }
}

/* RC110: match homepage portrait corner treatment, detail pages only. */
.as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor{
  border-radius:27px !important;
  overflow:hidden !important;
  isolation:isolate;
  box-shadow:0 23px 52px rgba(20,72,122,.18) !important;
  background:#a7d2ee;
}
.as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor img{
  display:block;
  border-radius:inherit;
  object-fit:cover !important;
  aspect-ratio:1/1 !important;
  width:100% !important;
  height:auto !important;
}
@media(max-width:700px){.as-services-page.as-detail .as-detail-hero-media.as-detail-hero-media-doctor{border-radius:22px !important}}
