/* ASAYESH MEDICAL TURQUOISE v2 — private draft component. */
/* STEP 7 — Prescription glossary, article archive and appointment form. */
html body.page-id-321 .asayesh-complete-v1{
  width:min(100% - 32px,1120px);max-width:1120px;
  margin:20px auto 60px;direction:rtl;
  font:400 15px/1.95 "Vazirmatn",Tahoma,sans-serif!important;
  color:#183D46!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-hero {
  background:linear-gradient(115deg,#E8F7F7,#F8FCFC)!important;
  border:1px solid #CDE4E6!important;
  border-radius:22px!important;
  padding:clamp(22px,4vw,43px)!important;
  box-shadow:0 9px 22px #064C5312!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-hero h1 {
  color:#064C53!important;font-size:clamp(24px,3.2vw,37px)!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-hero .ac-kicker{
  color:#087F8C!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px!important;margin:15px 0 28px!important;
}
html body.page-id-321 .asayesh-complete-v1 :is(.ac-card,.ac-note){
  border:1px solid #D0E7E9!important;
  border-radius:16px!important;background:#fff!important;
  padding:clamp(17px,2vw,23px)!important;
  box-shadow:0 6px 19px #064C530b!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-card h3{
  color:#064C53!important;font-size:17px!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-card h3 a{
  color:#087F8C!important;text-decoration:none!important;
}
html body.page-id-321 .asayesh-complete-v1 .ac-card h3 a:hover{
  color:#055C67!important;text-decoration:underline!important;
}

/* Six-article archive: card-based, without inventing stock photographs. */
html body.page-id-8 .asn-article-grid .ac-card{
  background:#fff!important;border:1px solid #D0E7E9!important;
  border-radius:19px!important;padding:25px!important;
  box-shadow:0 9px 23px #064C530e!important;
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:10px!important;min-width:0;
}
html body.page-id-8 .asn-article-grid .ac-card:before{
  content:"";display:block;inline-size:46px;block-size:4px;
  background:linear-gradient(90deg,#087F8C,#A8DDE0);
  border-radius:12px;margin-bottom:5px;
}
html body.page-id-8 .asn-article-grid h2{
  color:#064C53!important;font-size:clamp(16px,1.5vw,20px)!important;
  line-height:1.7!important;margin:0!important;
}
html body.page-id-8 .asn-article-grid h2 a{
  color:#064C53!important;text-decoration:none!important;
}
html body.page-id-8 .asn-article-grid .ac-card p{
  color:#526D76!important;line-height:1.95!important;flex:1;
  margin:0 0 8px!important;
}
html body.page-id-8 .asn-article-grid .ac-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:43px;
  border-radius:12px!important;background:#E8F7F7!important;
  color:#075D69!important;border:1px solid #B7DCDF!important;
  text-decoration:none!important;align-self:flex-start;
}
html body.page-id-8 .asn-article-grid .ac-btn:hover{
  background:#087F8C!important;color:#fff!important;
}

/* Real booking form: retain label/validation logic, style UI only. */
html body.page-id-21 #online-appointment-request{
  border:1px solid #D0E7E9!important;
  border-radius:20px!important;background:#fff!important;
  max-width:1060px;margin:20px auto 48px!important;
  padding:clamp(18px,3vw,32px)!important;
  box-shadow:0 10px 26px #064C530e!important;
}
html body.page-id-21 #online-appointment-request h2{
  color:#064C53!important;
}
html body.page-id-21 #online-appointment-request :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){
  border:1px solid #BBD9DC!important;background:#FBFEFE!important;
  border-radius:11px!important;color:#183D46!important;
  min-height:44px;max-width:100%;font-family:"Vazirmatn",Tahoma,sans-serif!important;
}
html body.page-id-21 #online-appointment-request :is(input,select,textarea):focus{
  outline:2px solid #087F8C!important;outline-offset:2px;
  border-color:#087F8C!important;
}
html body.page-id-21 #online-appointment-request .ff-btn-submit{
  background:#087F8C!important;color:#fff!important;
  border-radius:12px!important;border-color:#087F8C!important;
  min-height:46px;padding:9px 22px!important;
}
html body.page-id-21 #online-appointment-request .ff-el-is-error .ff-el-form-control{
  border-color:#C65B5B!important;
}
html body.page-id-21 #online-appointment-request label{
  color:#254B55!important;font-size:14px!important;
}

/* Interactive body areas: stable photo cards and readable captions. */
html body.page-id-16 .axm-card .axm-photo-grid{
  max-width:100%;gap:12px;
}
html body.page-id-16 .axm-card .axm-photo-grid figure{
  border:1px solid #D0E7E9!important;border-radius:13px!important;
  overflow:hidden;background:#fff!important;max-width:100%;
}
html body.page-id-16 .axm-card .axm-photo-grid figcaption{
  color:#345C64!important;line-height:1.9!important;
  font-size:clamp(12px,1.15vw,14px)!important;
}
html body.page-id-16 .axm-card .axm-photo-grid img{
  width:100%;height:auto;object-fit:contain;display:block;
  background:#F8FCFC;
}
html body.page-id-16 .ax2 .ax2-dot[aria-pressed="true"] {
  background:#087F8C!important;box-shadow:0 0 0 3px #BCE5E7!important;
}

/* Mobile design and horizontal overflow containment. */
@media(max-width:990px){
  html body.page-id-321 .asayesh-complete-v1 .ac-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.page-id-8 .asn-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  html body.page-id-321 .asayesh-complete-v1{width:calc(100% - 26px);margin:15px auto 40px}
  html body.page-id-321 .asayesh-complete-v1 .ac-grid{grid-template-columns:minmax(0,1fr)!important}
  html body.page-id-8 .asn-article-grid{grid-template-columns:minmax(0,1fr)!important}
  html body.page-id-21 #online-appointment-request{margin:15px 13px 34px!important;padding:17px!important}
  html body.page-id-16 .ax2 .ax2-shell{grid-template-columns:minmax(0,1fr)!important}
  html body.page-id-16 .axm-card .axm-photo-grid{grid-template-columns:minmax(0,1fr)!important}
}

