/* ASAYESH MEDICAL TURQUOISE v2 — private draft component. */
/* STEP 4 — Shared template for the 24 specialist method and equipment pages.
   Non-destructive: no text or clinical content replacements. */
html body .asayesh-method-detail {
  --ac-blue:#064C53;--ac-teal:#087F8C;--ac-ink:#183D46;
  --ac-muted:#516D76;--ac-line:#D0E7E9;
  font:400 15px/1.95 "Vazirmatn",Tahoma,sans-serif!important;
  color:#183D46!important;direction:rtl;
  width:min(100% - 32px,1120px);max-width:1120px;
  margin:20px auto 56px;padding:0;overflow-wrap:anywhere;
}
html body .asayesh-method-detail *{box-sizing:border-box}
html body .asayesh-method-detail .ac-crumb{
  font-size:13px;color:#57727A!important;margin:10px 0 16px;
}
html body .asayesh-method-detail .ac-crumb a{
  color:#087F8C!important;text-decoration:none;
}
html body .asayesh-method-detail .ac-hero {
  position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(120deg,#E8F7F7 0%,#F8FCFC 80%)!important;
  border:1px solid #CDE4E6!important;
  border-radius:22px!important;
  padding:clamp(24px,3.7vw,48px)!important;
  box-shadow:0 12px 26px rgba(5,76,83,.075)!important;
  text-align:right;
}
html body .asayesh-method-detail .ac-hero:before{
  content:"";position:absolute;width:270px;height:270px;border-radius:50%;
  background:radial-gradient(circle,#68C6CA22,transparent 68%);
  inset:auto auto -140px -70px;z-index:-1;pointer-events:none;
}
html body .asayesh-method-detail .ac-hero h1 {
  color:#064C53!important;font-size:clamp(25px,3vw,39px)!important;
  line-height:1.45!important;margin:10px 0 14px!important;
  font-weight:850!important;
}
html body .asayesh-method-detail .ac-hero .ac-kicker{
  color:#087F8C!important;font-size:13px!important;font-weight:800!important;
}
html body .asayesh-method-detail .ac-hero .ac-lead{
  color:#345C64!important;line-height:2.05!important;
  font-size:clamp(14px,1.2vw,16px)!important;margin:0!important;
}
html body .asayesh-method-detail .ac-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px!important;margin:24px 0!important;
}
html body .asayesh-method-detail :is(.ac-note,.ac-card,.ac-cta){
  min-width:0;border:1px solid #D0E7E9!important;border-radius:18px!important;
  background:#fff!important;color:#183D46!important;
  box-shadow:0 7px 20px rgba(5,76,83,.042)!important;
  padding:clamp(18px,2.15vw,27px)!important;
}
html body .asayesh-method-detail .ac-card.ac-warn{
  border-right:4px solid #DFA85E!important;
  background:#FFFBF4!important;
}
html body .asayesh-method-detail :is(.ac-note,.ac-card,.ac-cta) h2{
  color:#064C53!important;font-size:clamp(18px,1.65vw,22px)!important;
  margin:0 0 10px!important;line-height:1.55!important;
}
html body .asayesh-method-detail :is(.ac-note,.ac-card,.ac-cta) p{
  color:#3D5C66!important;font-size:14px!important;line-height:2!important;
  margin:0 0 6px!important;
}
html body .asayesh-method-detail .ac-cta{
  background:#EAF7F7!important;
  border-color:#ACD9DB!important;margin-top:24px!important;
}
html body .asayesh-method-detail .ac-actions{
  display:flex;flex-wrap:wrap;gap:10px!important;margin-top:15px;
}
html body .asayesh-method-detail .ac-btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:#087F8C!important;color:#fff!important;
  border:1px solid #087F8C!important;border-radius:12px!important;
  text-decoration:none!important;min-height:44px;
  padding:9px 17px!important;font:700 13px/1.8 "Vazirmatn",Tahoma,sans-serif!important;
  transition:background .15s,transform .15s;
}
html body .asayesh-method-detail .ac-btn:hover{
  background:#066D79!important;border-color:#066D79!important;color:#fff!important;
  transform:translateY(-1px);
}
html body .asayesh-method-detail .ac-btn-accent{
  background:#fff!important;color:#075D69!important;border-color:#9ECCCF!important;
}
html body .asayesh-method-detail .ac-btn-accent:hover{
  background:#DBF2F2!important;color:#064C53!important;
}
html body .asayesh-method-detail :is(img,video){
  max-width:100%;height:auto;border-radius:13px;
}
html body .asayesh-method-detail .asayesh-novin-inline{
  border:1px solid #D0E7E9!important;border-radius:15px!important;
  background:#F9FDFD!important;padding:14px;
}

/* Shared navigation/typography polish on all specialist pages. */
body:not(.home) .site-main :is(.entry-title,.page-header h1){
  color:#064C53;font-family:"Vazirmatn",Tahoma,sans-serif!important;
}
body .asayesh-method-detail bdi[dir="ltr"]{unicode-bidi:isolate}
body .asayesh-method-detail a:not(.ac-btn){text-underline-offset:3px}

/* STEP 5 — Built-in device/physiotherapy article images stay color accurate. */
body :is(.asayesh-method-detail,.asayesh-methods-v1,.asn-visit-v2) img{
  filter:none;object-position:center;
}
body :is(.asayesh-method-detail,.asayesh-methods-v1,.asn-visit-v2) figure{
  max-width:100%;
}

/* STEP 6 — Accessible small-screen layout. */
@media(max-width:900px){
  html body .asayesh-method-detail .ac-grid{grid-template-columns:1fr 1fr}
  .asayesh-header__inner{gap:12px}
  .asayesh-footer__inner{gap:20px}
}
@media(max-width:680px){
  html body .asayesh-method-detail{
    width:calc(100% - 28px);margin:14px auto 38px;
    font-size:14px!important;
  }
  html body .asayesh-method-detail .ac-hero{padding:23px 19px!important;border-radius:17px!important}
  html body .asayesh-method-detail .ac-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  html body .asayesh-method-detail :is(.ac-card,.ac-note,.ac-cta){padding:17px!important}
  html body .asayesh-method-detail .ac-actions{flex-direction:column}
  html body .asayesh-method-detail .ac-btn{width:100%;min-height:46px}
  .asayesh-brand__logo,.asayesh-brand__logo img{width:48px;height:48px;flex-basis:48px}
  .asayesh-brand__text strong{font-size:15px}
  .asayesh-mobile-nav summary{min-height:44px;display:flex;align-items:center}
  .asayesh-footer__inner{grid-template-columns:1fr!important}
  .asayesh-topbar{font-size:11px}
}
@media(max-width:390px){
  .asayesh-header__inner{padding:8px 11px!important}
  .asayesh-brand__text strong{font-size:14px!important}
  .asayesh-brand{gap:6px}
  .asayesh-mobile-nav summary{padding:8px 11px}
  .asayesh-mobile-nav__panel{width:min(91vw,300px);left:0;right:auto}
}
@media(prefers-reduced-motion:reduce){
  html body .asayesh-method-detail .ac-btn:hover{transform:none}
}

