/* درمانگاه شبانه‌روزی آذرنجات — مگامنو + صفحه‌ی بخش/خدمت (۱۴۰۵/۰۸/۱۸)
   پالت مصوب: سرمه‌ای #0F172A/#1E293B، طلایی #C8A45D (روی زمینه‌ی روشن فقط #7C6128 برای متن). */
:root {
  --cd-navy: #0F172A;
  --cd-navy-2: #1E293B;
  --cd-gold: #C8A45D;
  --cd-gold-h: #B68E45;
  --cd-gold-ink: #7C6128;
  --cd-bg: #F8F8F6;
  --cd-text: #1A1A1A;
  --cd-muted: #4B5563;
  --cd-line: #E7E3D8;
  --cd-radius: 18px;
  --cd-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 30px -12px rgba(15, 23, 42, .22);
}

.az-cd-ico { width: 22px; height: 22px; flex: none; }
.az-cd-ico--sm { width: 16px; height: 16px; }

.az-cd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; line-height: 1; font-weight: 700; white-space: nowrap;
  padding: 4px 8px; border-radius: 999px;
  background: #FBF3E2; color: var(--cd-gold-ink); border: 1px solid #EAD9B2;
  vertical-align: middle;
}
.az-cd-chip--sm { font-size: 10px; padding: 3px 6px; }

/* ============================ MEGA MENU (desktop) ============================ */
.menu-wrapper .main-menu > li.az-mega { position: relative; }
.az-mega-panel {
  --az-mega-shift: 0px;
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(calc(-50% + var(--az-mega-shift)), 8px);
  width: min(1120px, calc(100vw - 32px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s;
  z-index: 9999; direction: rtl; text-align: right;
}
.az-mega-panel::before { /* پل نامرئی تا موس هنگام رفتن به پنل منو را نبندد */
  content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px;
}
li.az-mega.is-open > .az-mega-panel,
li.az-mega:focus-within > .az-mega-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(calc(-50% + var(--az-mega-shift)), 0);
  transition-delay: 0s;
}
.az-mega-inner {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .45), 0 0 0 1px rgba(200, 164, 93, .35);
}
.az-mega-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 22px; padding: 22px 26px 12px;
}
.az-mega-inner { max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.az-mega-foot { position: sticky; bottom: 0; }
#main-header#main-header .az-mega-panel li { display: block; width: auto; max-width: none; margin: 0; padding: 0; flex: none; border: 0; background: none; }
#main-header#main-header .az-mega-panel .az-mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
#main-header#main-header .az-mega-panel .az-mega-list ul { grid-column: 1 / -1; }
#main-header#main-header .az-mega-panel .az-mega-list a { white-space: normal; }
.az-mega-col { padding: 8px 0 12px; min-width: 0; }
.az-mega-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--cd-navy) !important; font-weight: 800; font-size: 14.5px; line-height: 1.5;
  padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--cd-line);
  text-decoration: none;
}
.az-mega-head:hover .az-mega-title { color: var(--cd-gold-ink); }
.az-mega-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, var(--cd-navy), var(--cd-navy-2)); color: var(--cd-gold);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .4);
}
.az-mega-ico .az-cd-ico { width: 20px; height: 20px; }
.az-mega-title { flex: 1 1 auto; min-width: 0; }
.az-mega-list, .az-mega-list ul { list-style: none; margin: 0; padding: 0; }
.az-mega-list ul { padding-right: 14px; border-right: 2px solid var(--cd-line); margin: 2px 6px 4px 0; }
.az-mega-list a {
  display: block; padding: 5px 8px; border-radius: 8px;
  font-size: 13.2px; line-height: 1.6; color: #334155 !important; text-decoration: none;
  transition: background .15s, color .15s;
}
.az-mega-list a:hover, .az-mega-list a:focus-visible { background: #F6F1E6; color: var(--cd-navy) !important; }
.az-mega-col.is-soon .az-mega-list a { color: #64748B !important; }
.az-mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--cd-navy), var(--cd-navy-2)); padding: 14px 26px;
}
.az-mega-foot a { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.az-mega-foot a:hover { color: var(--cd-gold) !important; }
.az-mega-tel { color: var(--cd-gold) !important; }
.az-mega-all .az-cd-ico { transform: none; }

/* luxury.css همه‌ی لینک‌ها و spanهای #main-header را سفید می‌کند (روی نوار سرمه‌ای)؛
   داخل پنل سفید مگامنو باید رنگ و چیدمان خودش را داشته باشد. */
#main-header#main-header .az-mega-panel .az-mega-head { display: flex; color: var(--cd-navy) !important; }
#main-header#main-header .az-mega-panel .az-mega-title { color: var(--cd-navy) !important; }
#main-header#main-header .az-mega-panel .az-mega-head:hover .az-mega-title { color: var(--cd-gold-ink) !important; }
#main-header#main-header .az-mega-panel .az-mega-list a { display: block; color: #334155 !important; font-size: 13.2px; height: auto; padding: 5px 8px; }
#main-header#main-header .az-mega-panel .az-mega-list a:hover { color: var(--cd-navy) !important; }
#main-header#main-header .az-mega-panel .az-mega-col.is-soon .az-mega-list a { color: #64748B !important; }
#main-header#main-header .az-mega-panel .az-cd-chip { color: var(--cd-gold-ink) !important; }
#main-header#main-header .az-mega-panel .az-mega-foot a { display: inline-flex; color: #fff !important; }
#main-header#main-header .az-mega-panel .az-mega-foot a:hover,
#main-header#main-header .az-mega-panel .az-mega-foot .az-mega-tel { color: var(--cd-gold) !important; }
#main-header#main-header .az-mega-panel .az-mega-foot bdi { color: inherit !important; }

/* حالت دوم (۱۴۰۵/۰۸/۱۸): درمانگاه زیر «خدمات سلامت» است ⟵ پنل کنار منوی کشویی باز می‌شود.
   پهنا و جای عمودی را اسکریپت فوتر (--az-mega-w / --az-mega-top) تنظیم می‌کند. */
.menu-wrapper .main-menu .sub-menu li.az-mega { position: relative; }
/* تا پنل باز است، منوی کشویی «خدمات سلامت» هم باز بماند (حتی اگر موس لحظه‌ای از رویش رد شود) */
.menu-wrapper .main-menu > li.az-mega-hold > .sub-menu { visibility: visible !important; opacity: 1 !important; }
.menu-wrapper .main-menu > li.az-mega-hold > .sub-menu .menu-item a { opacity: 1 !important; transform: none !important; }
.menu-wrapper .main-menu .sub-menu li.az-mega > .az-mega-panel {
  top: var(--az-mega-top, 0px); left: auto; right: calc(100% + 14px);
  width: var(--az-mega-w, 900px); transform: translateX(-8px);
}
.menu-wrapper .main-menu .sub-menu li.az-mega.is-open > .az-mega-panel,
.menu-wrapper .main-menu .sub-menu li.az-mega:focus-within > .az-mega-panel { transform: none; }
.menu-wrapper .main-menu .sub-menu li.az-mega > .az-mega-panel::before { inset: 0 -16px 0 auto; width: 16px; height: auto; }
.menu-wrapper .main-menu .sub-menu li.az-mega .az-mega-inner { max-height: calc(100vh - 24px); }
.menu-wrapper .main-menu .sub-menu li.az-mega .az-mega-grid { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 1023px) { .menu-wrapper .main-menu .sub-menu li.az-mega .az-mega-grid { grid-template-columns: 1fr; } }
#main-header#main-header .az-mega-panel a { opacity: 1 !important; transform: none !important; text-align: right; transition: background .15s, color .15s; }
#main-header#main-header .az-mega-panel .az-mega-list a:hover { background: #F6F1E6; }

/* سطح ۴ منو (خدمات هر بخش درمانگاه، ۰۸/۱۹): قانون قالب `.has-third-level:hover .third-level-submenu`
   با فاصله (descendant) است و با هاور «درمانگاه» همه‌ی زیرمنوهای نوه را هم‌زمان باز می‌کرد.
   اینجا هر زیرمنوی سطح ۴ فقط با هاور والد مستقیم خودش باز می‌شود. */
#main-header .menu-wrapper .main-menu .sub-menu .sub-menu > .menu-item > .sub-menu.third-level-submenu {
  visibility: hidden !important; opacity: 0 !important; pointer-events: none;
}
#main-header .menu-wrapper .main-menu .sub-menu .sub-menu > .menu-item:hover > .sub-menu.third-level-submenu,
#main-header .menu-wrapper .main-menu .sub-menu .sub-menu > .menu-item:focus-within > .sub-menu.third-level-submenu {
  visibility: visible !important; opacity: 1 !important; pointer-events: auto;
}

/* mobile accordion chip spacing */
.az-mnav .az-cd-chip { margin-inline-start: 6px; }
#mobile_nav .az-cd-chip, #main-header .az-cd-chip { color: var(--cd-gold-ink) !important; background: #FBF3E2 !important; }

/* ================================ PAGE ================================ */
.az-cd { color: var(--cd-text); }
.az-cd .container { position: relative; }

.az-cd-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(200, 164, 93, .18), transparent 60%),
              linear-gradient(160deg, var(--cd-navy) 0%, var(--cd-navy-2) 100%);
  color: #fff; padding: 46px 0 54px; margin-bottom: 34px;
}
.az-cd-hero::after { /* شبکه‌ی نقطه‌ای ظریف */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(200, 164, 93, .35) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.az-cd-hero__grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 1024px) { .az-cd-hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.az-cd-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; margin: 0 0 12px; color: rgba(255, 255, 255, .75); }
.az-cd-eyebrow a { color: var(--cd-gold) !important; text-decoration: none; font-weight: 700; }
.az-cd-eyebrow a:hover { text-decoration: underline; }
.az-cd-h1 { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.45; font-weight: 900; margin: 0 0 14px; color: #fff; }
.az-cd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.az-cd-status {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, .14);
}
.az-cd-status--on { background: rgba(34, 197, 94, .14); color: #BBF7D0; border-color: rgba(34, 197, 94, .35); }
.az-cd-status--soon { background: rgba(200, 164, 93, .18); color: #F5E3B8; border-color: rgba(200, 164, 93, .5); }
.az-cd-lead { font-size: 16.5px; line-height: 2.05; color: #E2E8F0; margin: 0 0 22px; max-width: 70ch; }
.az-cd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.az-cd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 15px;
  text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s;
}
.az-cd-btn--gold { background: var(--cd-gold); color: var(--cd-navy) !important; box-shadow: 0 10px 24px -10px rgba(200, 164, 93, .8); }
.az-cd-btn--gold:hover { background: var(--cd-gold-h); transform: translateY(-2px); }
.az-cd-btn--block { width: 100%; }
.az-cd-langs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .6); direction: ltr; justify-content: flex-end; }
.az-cd-langs span { display: inline-flex; align-items: center; gap: 6px; }
.az-cd-langs a { color: #fff !important; text-decoration: none; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.az-cd-langs a:hover { border-color: var(--cd-gold); color: var(--cd-gold) !important; }

.az-cd-hero__media { display: flex; justify-content: center; }
.az-cd-poster { margin: 0; width: min(300px, 70vw); border-radius: 22px; overflow: hidden; background: #0B1120;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(200, 164, 93, .5);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.az-cd-poster:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.az-cd-poster img { display: block; width: 100%; height: auto; }
.az-cd-emblem { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.az-cd-emblem__ring { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(200, 164, 93, .0), rgba(200, 164, 93, .75), rgba(200, 164, 93, .0) 60%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  animation: az-cd-spin 14s linear infinite; }
.az-cd-emblem::before { content: ""; position: absolute; inset: 26px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2B3A55, var(--cd-navy) 70%);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .45), 0 25px 50px -20px rgba(0, 0, 0, .8); }
.az-cd-emblem__ico { position: relative; width: 84px; height: 84px; color: var(--cd-gold); stroke-width: 1.3; }
@keyframes az-cd-spin { to { transform: rotate(360deg); } }
/* مدال WebGL روی نشان CSS؛ وقتی آماده شد، نشان CSS محو می‌شود (بدون پرش چیدمان) */
.az-cd-emblem .az-cd-medal { position: absolute; inset: -38%; width: 176%; height: 176%; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.az-cd-emblem.is-3d .az-cd-medal { opacity: 1; }
.az-cd-emblem.is-3d::before, .az-cd-emblem.is-3d .az-cd-emblem__ring, .az-cd-emblem.is-3d .az-cd-emblem__ico { opacity: 0; transition: opacity .6s ease; }
@media (min-width: 1024px) { .az-cd-emblem { width: 240px; height: 240px; } }
@media (max-width: 1023px) {
  .az-cd-hero__media { padding: 26px 0 22px; }
  .az-cd-emblem .az-cd-medal { inset: -26%; width: 152%; height: 152%; }
}
/* قاب پوستر بخش: کج‌شدن سه‌بعدی با موس (متغیرها از اسکریپت قالب) */
.az-cd-poster { --rx: 2deg; --ry: -7deg; transform: perspective(900px) rotateY(var(--ry)) rotateX(var(--rx)); }
.az-cd-poster:hover { transform: perspective(900px) rotateY(var(--ry)) rotateX(var(--rx)); }
@media (max-width: 1023px) { .az-cd-hero__media { order: -1; } .az-cd-emblem { width: 150px; height: 150px; } .az-cd-emblem__ico { width: 60px; height: 60px; } }

.az-cd-notice { display: flex; gap: 12px; align-items: flex-start; background: #FBF3E2; border: 1px solid #EAD9B2; color: #5B4618;
  border-radius: var(--cd-radius); padding: 16px 18px; margin: 0 0 30px; font-weight: 600; line-height: 1.9; }
.az-cd-notice p { margin: 0; }
.az-cd-notice .az-cd-ico { color: var(--cd-gold-ink); margin-top: 4px; }

.az-cd-block { margin-bottom: 44px; }
.az-cd-h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--cd-navy); margin: 0 0 20px; line-height: 1.6; }
.az-cd-h2::after { content: ""; display: block; width: 54px; height: 3px; border-radius: 3px; margin-top: 8px; background: var(--cd-gold); }
.az-cd-h2--sm { font-size: 19px; }

.az-cd-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.az-cd-card { opacity: 0; transform: translateY(14px); animation: az-cd-in .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes az-cd-in { to { opacity: 1; transform: none; } }
.az-cd-card a {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 20px 20px 18px; border-radius: var(--cd-radius); background: #fff; color: inherit !important;
  border: 1px solid var(--cd-line); box-shadow: var(--cd-shadow); text-decoration: none !important;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  transform-style: preserve-3d;
}
.az-cd-card a:hover, .az-cd-card a:focus-visible {
  transform: translateY(-5px) perspective(800px) rotateX(2deg);
  border-color: rgba(200, 164, 93, .7);
  box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 40px -18px rgba(15, 23, 42, .4);
}
.az-cd-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--cd-gold);
  background: linear-gradient(145deg, var(--cd-navy), var(--cd-navy-2)); box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .4); }
.az-cd-card__t { font-size: 16px; font-weight: 800; color: var(--cd-navy); margin: 4px 0 0; line-height: 1.6; }
.az-cd-card__p { font-size: 13.8px; line-height: 1.95; color: var(--cd-muted); margin: 0; flex: 1 1 auto; }
.az-cd-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--cd-gold-ink); }
.az-cd-card.is-soon .az-cd-card__ico { filter: saturate(.5); opacity: .8; }
.az-cd-cards--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.az-cd-duo { display: grid; gap: 18px; }
@media (min-width: 900px) { .az-cd-duo { grid-template-columns: 1fr 1fr; } }
.az-cd-panel { border-radius: var(--cd-radius); padding: 24px; background: #fff; border: 1px solid var(--cd-line); box-shadow: var(--cd-shadow); }
.az-cd-panel--navy { background: linear-gradient(160deg, var(--cd-navy), var(--cd-navy-2)); border-color: transparent; color: #E2E8F0; }
.az-cd-panel--navy .az-cd-h2 { color: #fff; }
.az-cd-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.az-cd-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.9; font-size: 15px; }
.az-cd-ticks .az-cd-ico { margin-top: 6px; color: var(--cd-gold-ink); }
.az-cd-panel--navy .az-cd-ticks .az-cd-ico { color: var(--cd-gold); }

.az-cd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .az-cd-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.az-cd-steps li { position: relative; background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); padding: 18px 18px 16px; box-shadow: var(--cd-shadow); }
.az-cd-steps p { margin: 10px 0 0; line-height: 1.95; font-size: 14.5px; color: #334155; }
.az-cd-steps__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 900; color: var(--cd-navy); background: var(--cd-gold); }

.az-cd-main { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .az-cd-main { grid-template-columns: minmax(0, 1fr) 300px; } .az-cd-aside { position: sticky; top: 110px; } }
.az-cd-prose { background: #fff; border-radius: var(--cd-radius); border: 1px solid var(--cd-line); padding: clamp(20px, 3vw, 36px); box-shadow: var(--cd-shadow); font-size: 16px; line-height: 2.15; color: #1F2937; min-width: 0; }
.az-cd-prose h2 { font-size: 22px; font-weight: 900; color: var(--cd-navy); margin: 30px 0 12px; line-height: 1.6; }
.az-cd-prose h2:first-child { margin-top: 0; }
.az-cd-prose h3 { font-size: 18px; font-weight: 800; color: var(--cd-navy-2); margin: 22px 0 8px; }
.az-cd-prose p { margin: 0 0 14px; }
.az-cd-prose ul, .az-cd-prose ol { margin: 0 0 16px; padding-right: 22px; }
.az-cd-prose ul { list-style: disc; } .az-cd-prose ol { list-style: decimal; }
.az-cd-prose li { margin-bottom: 6px; }
.az-cd-prose li::marker { color: var(--cd-gold-ink); }
.az-cd-prose a { color: var(--cd-gold-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.az-cd-prose a:hover { color: var(--cd-navy); }
.az-cd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
.az-cd-prose th, .az-cd-prose td { border: 1px solid var(--cd-line); padding: 10px 12px; text-align: right; }
.az-cd-prose th { background: #F6F1E6; color: var(--cd-navy); }

.az-cd-aside { display: grid; gap: 16px; }
.az-cd-aside__card { background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); padding: 18px; box-shadow: var(--cd-shadow); }
.az-cd-aside__card:first-child { border-top: 3px solid var(--cd-gold); }
.az-cd-aside__t { font-weight: 900; color: var(--cd-navy); margin: 0 0 6px; font-size: 15px; }
.az-cd-aside__s { margin: 0 0 14px; color: var(--cd-muted); font-size: 14px; line-height: 1.9; }
.az-cd-aside__addr { margin: 12px 0 0; font-size: 12.5px; color: var(--cd-muted); line-height: 1.9; }
.az-cd-sib { list-style: none; margin: 0; padding: 0; }
.az-cd-sib a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: #334155 !important; text-decoration: none; line-height: 1.7; }
.az-cd-sib a:hover { background: #F6F1E6; }
.az-cd-sib a[aria-current="page"] { background: var(--cd-navy); color: #fff !important; }

.az-cd-team { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.az-cd-team a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 140px; text-align: center; color: var(--cd-navy) !important; text-decoration: none; font-weight: 700; font-size: 14px; }
.az-cd-team__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--cd-gold); }

.az-cd-depts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.az-cd-depts a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--cd-line); color: var(--cd-navy) !important; font-weight: 700; font-size: 14px; text-decoration: none; transition: all .2s; }
.az-cd-depts a .az-cd-ico { color: var(--cd-gold-ink); }
.az-cd-depts a:hover, .az-cd-depts a[aria-current] { background: var(--cd-navy); color: #fff !important; border-color: var(--cd-navy); }
.az-cd-depts a:hover .az-cd-ico, .az-cd-depts a[aria-current] .az-cd-ico { color: var(--cd-gold); }

.az-cd-cta { background: linear-gradient(160deg, var(--cd-navy), #0B1120); padding: 34px 0 20px; margin-top: 10px; }
.az-cd-cta__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.az-cd-cta__t { color: #fff; font-weight: 900; font-size: clamp(18px, 2.4vw, 24px); margin: 0 0 6px; line-height: 1.7; }
.az-cd-cta__s { color: #CBD5E1; margin: 0; line-height: 1.9; }
.az-cd-disclaimer { color: #94A3B8; font-size: 12.5px; margin-top: 22px !important; line-height: 1.9; }

.az-cd-faq { margin-bottom: 30px; }

/* ===================== ۰۸/۱۹: ویترین — در یک نگاه، کتاب راهنما، پرسش‌ها ===================== */
.az-cd-btn--navy { background: var(--cd-navy); color: #fff !important; box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .8); }
.az-cd-btn--navy:hover { background: var(--cd-navy-2); transform: translateY(-2px); }
.az-cd-btn--ghost { border: 1px solid rgba(200, 164, 93, .6); color: #F5E3B8 !important; background: rgba(255, 255, 255, .04); }
.az-cd-btn--ghost:hover { background: rgba(200, 164, 93, .12); }
.az-cd-h2--light { color: #fff; }
.az-cd-eyebrow--dark { color: var(--cd-muted); }
.az-cd-h2 a { color: inherit !important; text-decoration: none; }

.az-cd-tilt { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }

.az-cd-glance { position: relative; margin: -34px 0 44px; padding: 40px 0 46px; background: linear-gradient(180deg, var(--cd-navy-2), var(--cd-navy)); overflow: hidden; isolation: isolate; }
.az-cd-glance::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 164, 93, .22), transparent 70%); }
.az-cd-glance__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.az-cd-glance__grid li { position: relative; padding: 20px 20px 18px; border-radius: 20px; color: #E2E8F0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(200, 164, 93, .32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -24px rgba(0, 0, 0, .8);
  opacity: 0; animation: az-cd-in .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 80ms); animation-fill-mode: both; }
.az-cd-glance__grid li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(200, 164, 93, .18), transparent 60%); }
.az-cd-glance__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cd-gold); color: var(--cd-navy); font-weight: 900; font-size: 14px; }
.az-cd-glance__grid h3 { margin: 12px 0 6px; font-size: 16.5px; font-weight: 900; color: #fff; line-height: 1.6; }
.az-cd-glance__grid p { margin: 0; font-size: 14px; line-height: 1.95; color: #CBD5E1; }

.az-cd-book { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .az-cd-book { grid-template-columns: 280px minmax(0, 1fr); gap: 54px; } }
.az-cd-book__cover { position: relative; display: block; width: 240px; height: 330px; margin: 0 auto; text-decoration: none !important;
  --ry: -18deg; --rx: 4deg; transform: perspective(1100px) rotateY(var(--ry)) rotateX(var(--rx)); transform-style: preserve-3d; }
.az-cd-book__cover:hover { --ry: -6deg; --rx: 2deg; }
.az-cd-book__spine { position: absolute; inset: 0 auto 0 -14px; width: 16px; border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #6d5326, #c8a45d 55%, #8a6a30); transform: rotateY(-90deg); transform-origin: right center; }
.az-cd-book__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px; border-radius: 6px 16px 16px 6px; color: #fff;
  background: radial-gradient(120% 80% at 80% 0%, rgba(200, 164, 93, .35), transparent 55%), linear-gradient(160deg, #1E293B, #0B1120);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .55), inset 10px 0 18px -10px rgba(0, 0, 0, .6), 30px 30px 60px -30px rgba(15, 23, 42, .9); }
.az-cd-book__ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; color: var(--cd-gold); box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .55); }
.az-cd-book__ico .az-cd-ico { width: 32px; height: 32px; }
.az-cd-book__t { font-size: 19px; font-weight: 900; line-height: 1.7; }
.az-cd-book__s { font-size: 13px; color: var(--cd-gold); font-weight: 800; }
.az-cd-book__brand { font-size: 11.5px; letter-spacing: .02em; color: #94A3B8; border-top: 1px solid rgba(200, 164, 93, .35); padding-top: 10px; }
.az-cd-book__steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.az-cd-book__steps a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; color: #1F2937 !important; text-decoration: none; line-height: 1.8; font-size: 14.5px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.az-cd-book__steps a:hover { background: #fff; border-color: var(--cd-line); }
.az-cd-book__steps span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--cd-navy); color: var(--cd-gold); font-weight: 900; font-size: 13px; margin-top: 2px; }

.az-cd-faqlist { display: grid; gap: 12px; }
@media (min-width: 900px) { .az-cd-faqlist { grid-template-columns: 1fr 1fr; align-items: start; } }
.az-cd-faqlist details { background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; box-shadow: var(--cd-shadow); overflow: hidden; }
.az-cd-faqlist summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; color: var(--cd-navy); line-height: 1.8; display: flex; justify-content: space-between; gap: 12px; }
.az-cd-faqlist summary::-webkit-details-marker { display: none; }
.az-cd-faqlist summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #F6F1E6; color: var(--cd-gold-ink); font-weight: 900; transition: transform .25s; }
.az-cd-faqlist details[open] summary::after { transform: rotate(45deg); }
.az-cd-faqlist details > div { padding: 0 18px 16px; color: #374151; line-height: 2.05; font-size: 15px; }
.az-cd-faqlist details > div p { margin: 0 0 8px; }
.az-cd-more-faq { margin: 16px 0 0; text-align: center; }
.az-cd-more-faq a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--cd-gold-ink) !important; }

/* ===================== ۰۸/۱۹: «راهنمای کامل» — بانک اطلاعات ===================== */
.az-kb-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 10000; pointer-events: none; }
.az-kb-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cd-gold), #f0d68f); transform-origin: right center; transform: scaleX(0); }
.az-kb-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(200, 164, 93, .2), transparent 60%), linear-gradient(160deg, var(--cd-navy), var(--cd-navy-2)); color: #fff; padding: 40px 0 44px; margin-bottom: 30px; }
.az-kb-hero__in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 1024px) { .az-kb-hero__in { grid-template-columns: minmax(0, 1fr) 190px; } }
.az-kb-lead { font-size: 16.5px; line-height: 2.05; color: #E2E8F0; margin: 0 0 16px; max-width: 75ch; }
.az-kb-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.az-kb-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #F5E3B8; background: rgba(200, 164, 93, .12); border: 1px solid rgba(200, 164, 93, .35); }
.az-kb-hero__badge { position: relative; width: 170px; height: 170px; display: grid; place-items: center; margin: 0 auto; }
.az-kb-hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(200, 164, 93, .5); box-shadow: inset 0 0 40px rgba(200, 164, 93, .18), 0 0 60px -20px rgba(200, 164, 93, .5); }
.az-kb-hero__ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(200, 164, 93, .45); animation: az-cd-spin 30s linear infinite; }
.az-kb-hero__ico { width: 70px; height: 70px; color: var(--cd-gold); stroke-width: 1.3; }
@media (max-width: 1023px) { .az-kb-hero__badge { display: none; } }

.az-kb-layout { display: grid; gap: 26px; align-items: start; margin-bottom: 40px; }
@media (min-width: 1024px) { .az-kb-layout { grid-template-columns: 290px minmax(0, 1fr); } .az-kb-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; } }
.az-kb-toc details { background: #fff; border: 1px solid var(--cd-line); border-radius: 18px; box-shadow: var(--cd-shadow); border-top: 3px solid var(--cd-gold); }
.az-kb-toc summary { cursor: pointer; padding: 14px 16px; font-weight: 900; color: var(--cd-navy); }
.az-kb-toc ol { list-style: none; margin: 0; padding: 0 8px 10px; }
.az-kb-toc a { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 10px; color: #334155 !important; text-decoration: none; font-size: 13.8px; line-height: 1.75; }
.az-kb-toc a span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #F1F5F9; color: var(--cd-navy); font-weight: 900; font-size: 12px; }
.az-kb-toc a:hover { background: #F6F1E6; }
.az-kb-toc a.is-on { background: var(--cd-navy); color: #fff !important; }
.az-kb-toc a.is-on span { background: var(--cd-gold); }
.az-kb-toc__cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--cd-gold); color: var(--cd-navy) !important; font-weight: 800; text-decoration: none; }
.az-kb-body { counter-reset: none; }
.az-kb-body h2[data-step] { display: flex; gap: 12px; align-items: flex-start; scroll-margin-top: 110px; padding-top: 14px; border-top: 1px solid var(--cd-line); }
.az-kb-body h2[data-step]:first-of-type { border-top: 0; padding-top: 0; }
.az-kb-body h2[data-step]::before { content: "گام " attr(data-step); flex: none; font-size: 12px; font-weight: 900; color: var(--cd-navy); background: var(--cd-gold); border-radius: 8px; padding: 4px 9px; margin-top: 6px; }
.az-kb-body h3 { scroll-margin-top: 110px; }
.az-kb-body .az-kb-note { background: #FBF6EA; border: 1px solid #EAD9B2; border-inline-start: 4px solid var(--cd-gold); border-radius: 12px; padding: 14px 16px; }
.az-kb-next { margin-top: 30px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, var(--cd-navy), var(--cd-navy-2)); color: #E2E8F0; }
.az-kb-next p { margin: 0 0 12px; }
.az-kb-next__t { font-weight: 900; font-size: 18px; color: #fff !important; }
.az-kb--index .az-cd-cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

@media (prefers-reduced-motion: reduce) {
  .az-cd-card, .az-cd-emblem__ring { animation: none !important; opacity: 1; transform: none; }
  .az-mega-panel, .az-cd-card a, .az-cd-poster { transition: none !important; }
}
@media (max-width: 640px) {
  .az-cd-hero { padding: 30px 0 38px; }
  .az-cd-actions .az-cd-btn, .az-cd-actions .az-cd-btn-wa { width: 100%; }
  .az-cd-cards { grid-template-columns: 1fr; }
}
