/* ==========================================================================
   قالب حرفه‌ای صفحهٔ اطلاعیه — پلتفرم دانشگاه سمنان
   فقط در صفحات پوشهٔ ettelaieh/ بارگذاری می‌شود (به‌همراه style.css اصلی)
   ساختار: هیرو → کاور با ابعاد طبیعی تصویر → بدنه + نوار کنار چسبان
   ========================================================================== */

/* ---------- ۱) پایه ---------- */
:root{
  --gold:#f5c400; --gold-soft:#fff6b5; --navy:#102a71; --navy-dark:#081a45; --line:#d0d5dd
}
.ap {
  --ap-main: 1fr;
  --ap-side: 330px;
  --ap-gap: 32px;
  --ap-soft: #f6f7fb;
  --ap-gold-line: rgba(245, 196, 0, 0.55);
  --ap-shadow-lg: 0 30px 60px -28px rgba(0, 24, 64, 0.35);
  --ap-shadow-card: 0 18px 44px -24px rgba(0, 24, 64, 0.28);
  --ap-card-hover: rgba(255,255,255,0.8);
  background:
    radial-gradient(900px 320px at 85% -40px, rgba(245, 196, 0, 0.12), transparent 65%),
    radial-gradient(1000px 380px at 8% 0%, rgba(16, 42, 113, 0.08), transparent 60%),
    radial-gradient(rgba(16, 42, 113, 0.055) 1px, transparent 1.4px),
    var(--cream);
  background-size: auto, auto, 24px 24px;
  overflow-x: clip;
}

.ap-readbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: rgba(16, 42, 113, 0.08);
  z-index: 60;
  pointer-events: none;
}
.ap-readbar {
  height: 5px;
}
.ap-readbar > span {
  display: block;
  inline-size: 0;
  block-size: 100%;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--gold-soft));
  box-shadow: 0 0 12px rgba(245, 196, 0, 0.8);
  transition: inline-size 0.12s linear;
}

/* ---------- ۲) هیرو ---------- */
.ap-hero {
  position: relative;
  padding: 38px 0 50px;
  color: #fff;
  background:
    radial-gradient(1100px 460px at 100% -20%, rgba(245, 196, 0, 0.2), transparent 55%),
    radial-gradient(1000px 420px at 5% 0%, rgba(16, 42, 113, 0.1), transparent 55%),
    linear-gradient(150deg, var(--navy-dark), var(--navy) 50%, #11326a);
  overflow: hidden;
  mask-image: none;
}
.ap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
  filter: blur(20px);
}
.ap-hero-glow {
  position: absolute;
  inset-block-start: -140px;
  inset-inline-start: -100px;
  inline-size: 480px;
  block-size: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 95, 0.14), transparent 65%);
  pointer-events: none;
}
.ap-hero .container {
  position: relative;
  z-index: 1;
}
/* کاور سینمایی در بالاترین بخش — قاب گرد، سایهٔ عمیق، سایه‌روشن پایین */
.ap-topcover {
  padding: 30px 0 0;
  background:
    radial-gradient(800px 300px at 80% -50px, rgba(245, 196, 0, 0.14), transparent 65%),
    radial-gradient(900px 360px at 10% 0%, rgba(16, 42, 113, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(0, 24, 64, 0.95), rgba(16, 42, 113, 0.88) 50%, transparent 120%);
  border-block-end: 2px solid rgba(245, 196, 0, 0.35);
  position: relative;
}
.ap-topcover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px 30px 0 0;
  border: 2px solid rgba(245, 196, 0, 0.45);
  border-block-start: 0;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(transparent, black 70%);
}
.ap-topcover .container {
  position: relative;
  z-index: 2;
}
.ap-topcover .container::after {
  content: "";
  position: absolute;
  inset-block-end: -1px;
  inset-inline: 0;
  block-size: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-soft) 50%, var(--gold) 70%, transparent);
  opacity: 0.95;
}
.ap-topcover .ap-cover-btn,
.ap-topcover .ap-cover--art {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  outline: 3px solid rgba(245, 196, 0, 0.6);
  outline-offset: 7px;
  box-shadow: var(--ap-shadow-lg), 0 0 72px -22px rgba(245, 196, 0, 0.38);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ap-topcover .ap-cover-btn:hover,
.ap-topcover .ap-cover--art:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-lg), 0 0 80px -20px rgba(245, 196, 0, 0.45), 0 12px 30px -10px rgba(0, 24, 64, 0.3);
}
.ap-topcover .ap-cover-btn::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  block-size: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 64, 0.4));
  pointer-events: none;
}
.ap-topcover .ap-cover-img {
  border-radius: 0;
}
/* کاور اطلاعیه در صفحهٔ مجزای اطلاعیه: کوچک‌تر و مرکزی — الهام از باکس رسانه‌ای صفحهٔ دوره */
.ap-topcover .ap-cover {
  inline-size: fit-content;
  max-inline-size: min(100%, 760px);
  margin-inline: auto;
}
.ap-topcover .ap-cover-btn {
  display: block;
}
.ap-topcover .ap-cover-img {
  inline-size: auto;
  block-size: auto;
  max-inline-size: 100%;
  max-block-size: 460px;
  margin-inline: auto;
}
/* زیرنویس کاور: قرص شیشه‌ای شناور */
.ap-topcover .ap-cover figcaption {
  display: table;
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
  background: rgba(0, 24, 64, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px -12px rgba(0, 24, 64, 0.6);
}
/* کارت تیتر هم‌پوشان روی کاور — فقط وقتی کاور هست */
.ap-head {
  padding: 0 0 10px;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 3;
}
.ap-topcover + .ap-head .container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 36px 30px;
  margin-top: 26px;
  box-shadow: var(--ap-shadow-lg), 0 0 0 1px rgba(245, 196, 0, 0.07);
  position: relative;
  overflow: hidden;
}
.ap-topcover + .ap-head .container::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
  opacity: 0.85;
}
.ap-head .ap-title {
  color: var(--navy-dark);
  text-wrap: balance;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 8px;
}
.ap-head .ap-lead {
  color: #33405c;
  max-width: 840px;
  border-inline-start: 4px solid var(--gold);
  padding-inline-start: 18px;
  font-size: 0.98rem;
  line-height: 2;
  margin: 0 0 14px;
}
.ap-head .ap-meta-i {
  background: var(--ap-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.ap-head .ap-meta-sep {
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 6px;
  flex-shrink: 0;
}
.ap-head .ap-crumbs {
  color: var(--muted);
  font-size: 0.78rem;
}
.ap-head .ap-crumbs a {
  color: var(--navy);
  font-weight: 700;
}
.ap-head .ap-crumbs a:hover {
  color: var(--gold);
}
.ap-head .ap-metaline {
  color: var(--muted);
  font-size: 0.84rem;
}
.ap-head .ap-chip {
  box-shadow: 0 6px 16px -8px rgba(0, 24, 64, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ap-head .ap-chip.is-cat {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  backdrop-filter: blur(6px);
  border-color: transparent;
}
.ap-head .ap-chip.is-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 24, 64, 0.5);
}
.ap-head .ap-chip.is-badge {
  box-shadow: 0 8px 22px -12px rgba(245, 196, 0, 0.9);
}
.ap-head .ap-chip.is-org {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}
.ap-head .ap-chip.is-org:hover {
  background: var(--ap-soft);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.ap-head .ap-cal-btn {
  color: var(--navy);
  border-color: var(--line);
  background: var(--ap-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ap-head .ap-cal-btn:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(0, 24, 64, 0.4);
}
/* دکمهٔ طلایی براق با سایه */
.ap-actions .btn-gold,
.ap-btns-row .btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 12px 24px -10px rgba(245, 196, 0, 0.7);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ap-actions .btn-gold::after,
.ap-btns-row .btn-gold::after {
  content: "";
  position: absolute;
  inset-inline-start: -80%;
  inset-block: 0;
  inline-size: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: ap-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.ap-actions .btn-gold:hover,
.ap-btns-row .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(245, 196, 0, 0.8);
}
.ap-actions .btn-navy,
.ap-btns-row .btn-navy {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ap-actions .btn-navy:hover,
.ap-btns-row .btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(0, 24, 64, 0.6);
}
.ap-hero--doc {
  background: #fff;
  color: var(--ink);
  border-block-end: 1px solid var(--line);
  padding: 26px 0 34px;
}
.ap-hero--doc .ap-chip.is-cat {
  background: rgba(16, 42, 113, 0.07);
  color: var(--navy);
}
.ap-hero--doc .ap-title {
  color: var(--navy-dark);
}
.ap-hero--doc .ap-lead,
.ap-hero--doc .ap-metaline {
  color: var(--muted);
}
.ap-hero--doc .ap-crumbs {
  color: var(--muted);
}
.ap-hero--doc .ap-crumbs a {
  color: var(--navy);
}

.ap-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-block-end: 16px;
}
.ap-crumbs a {
  color: var(--gold-soft);
  font-weight: 700;
}
.ap-crumbs a:hover {
  text-decoration: underline;
}
.ap-crumb-sep {
  opacity: 0.55;
}

.ap-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block-end: 14px;
}
.ap-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  border: 1px solid transparent;
}
.ap-chip.is-cat {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(4px);
}
.ap-chip.is-badge {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px -12px rgba(245, 196, 0, 0.9);
}
.ap-chip.is-org {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.ap-chip.is-org:hover {
  background: rgba(255, 255, 255, 0.16);
}
.ap-chip.is-status.is-soon {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.5);
  color: #b6f0c8;
}
.ap-chip.is-status.is-live {
  background: rgba(245, 196, 0, 0.18);
  border-color: var(--ap-gold-line);
  color: var(--gold-soft);
}
.ap-chip.is-status.is-past {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.75);
}

.ap-title {
  font-size: clamp(1.5rem, 4.1vw, 2.5rem);
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -0.2px;
  animation: ap-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}
.ap-lead {
  max-width: 780px;
  font-size: clamp(0.95rem, 2.1vw, 1.08rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 18px;
}
.ap-metaline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}
.ap-meta-i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px -8px rgba(0, 24, 64, 0.5);
}
.ap-meta-i svg,
.ap-meta-i .ap-i-sm {
  color: var(--gold-soft);
}
.ap-meta-sep {
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.ap-hero--doc .ap-meta-sep {
  background: var(--line);
}
.ap-hero--doc .ap-meta-i {
  background: var(--ap-soft);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}
.ap-hero--doc .ap-meta-i svg,
.ap-hero--doc .ap-meta-i .ap-i-sm {
  color: var(--navy);
}

.ap-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 22px;
}
.ap-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ap-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.15s ease;
}
.ap-cal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.ap-hero--doc .ap-cal-btn {
  color: var(--navy);
  border-color: var(--line);
  background: var(--ap-soft);
}
.ap-btn-i,
.ap-i,
.ap-i-sm,
.ap-i-xs {
  inline-size: 1.05em;
  block-size: 1.05em;
  flex: 0 0 auto;
}
.ap-i-sm {
  inline-size: 0.95em;
  block-size: 0.95em;
}
.ap-i-xs {
  inline-size: 0.82em;
  block-size: 0.82em;
}

/* ---------- ۳) کاور با ابعاد واقعی تصویر ---------- */
.ap-cover-wrap {
  margin-block-start: -26px;
  position: relative;
  z-index: 2;
}
.ap-cover-wrap.is-banner {
  margin-block-start: 0;
  padding-block-start: 26px;
}
.ap-cover {
  margin: 0;
}
.ap-cover-btn {
  display: block;
  inline-size: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px -34px rgba(0, 24, 64, 0.55);
  overflow: hidden;
}
.ap-cover-img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  max-block-size: none;
  object-fit: fill;
  border-radius: var(--radius);
}
/* تصویر بلند/عمودی: متناسب با عرض محدود و وسط‌چین می‌شود تا صفحه را نبلعد */
.ap-cover.is-tall {
  max-inline-size: 520px;
  margin-inline: auto;
}
.ap-cover figcaption {
  margin-block-start: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.ap-cover--art {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 60px -34px rgba(0, 24, 64, 0.45);
}
.ap-art {
  display: grid;
  place-items: center;
  block-size: 220px;
  background:
    radial-gradient(420px 200px at 50% 120%, rgba(245, 196, 0, 0.35), transparent 65%),
    radial-gradient(260px 130px at 15% 20%, rgba(255, 220, 95, 0.3), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, #1b3a8b);
  background-size: auto, auto, 20px 20px, auto;
  position: relative;
  overflow: hidden;
}
.ap-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  block-size: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-soft), var(--gold), transparent);
}
.ap-art-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

/* هیرو مجله‌ای: کاور به‌عنوان پس‌زمینهٔ هیرو */
.ap-hero--mag.has-media {
  padding-block-start: 0;
}
.ap-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}
.ap-hero-media .ap-cover,
.ap-hero-media .ap-cover-btn {
  block-size: 100%;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
}
.ap-hero-media .ap-cover-img {
  block-size: 100%;
  object-fit: cover;
  border-radius: 0;
}
.ap-hero--mag {
  padding-block: 90px 80px;
  background: linear-gradient(150deg, rgba(0, 24, 64, 0.96), rgba(16, 42, 113, 0.9));
}
.ap-hero--mag .ap-hero-media {
  opacity: 0.5;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
}

/* ---------- ۴) بدنه و شبکه ---------- */
/* اسکرول نرم برای دکمهٔ «عضویت» در صفحات عضویت (لنگر #ap-blk-…) */
html:has(.ap[data-ap-layout="membership"]) { scroll-behavior: smooth; }
/* صفحهٔ عضویت کاور ندارد؛ تیتر مستقیم زیر هدرِ سایت می‌نشیند */
.ap[data-ap-layout="membership"] .ap-head { padding-block: 30px 22px; }
.ap[data-ap-layout="membership"] .ap-head .ap-title { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
/* در سیستم (دسکتاپ) سربرگ صفحهٔ عضویت وسط‌چین می‌شود */
@media (min-width: 901px) {
  .ap[data-ap-layout="membership"] .ap-head .container { text-align: center; }
  .ap[data-ap-layout="membership"] .ap-head .ap-crumbs,
  .ap[data-ap-layout="membership"] .ap-head .ap-chips,
  .ap[data-ap-layout="membership"] .ap-head .ap-actions { justify-content: center; }
  .ap[data-ap-layout="membership"] .ap-head .ap-lead { margin-inline: auto; }
}
.ap-body {
  padding: 34px 0 70px;
}
.ap-grid {
  display: grid;
  grid-template-columns: var(--ap-main) var(--ap-side);
  gap: var(--ap-gap);
  align-items: start;
  direction: rtl;
}
.ap-grid.is-single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}
.ap-main {
  min-inline-size: 0;
}

/* ---------- ۵) بلوک‌های محتوایی ---------- */
.ap-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 30px;
  margin-block-end: 24px;
  box-shadow: var(--ap-shadow-card);
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  animation: ap-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--ap-i, 0) * 90ms);
}
.ap-block::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 24px;
  block-size: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-soft), var(--gold), transparent);
  opacity: 0.85;
}
.ap-block:hover {
  box-shadow: var(--ap-shadow-card), 0 16px 34px -16px rgba(245, 196, 0, 0.28);
  transform: translateY(-4px);
}
.ap-block:last-child {
  margin-block-end: 0;
}
.ap-block-h {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 20px;
  line-height: 1.5;
  position: relative;
}
.ap-block-h::after {
  content: "";
  flex: 1;
  block-size: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: absolute;
  inset-block-end: -4px;
  inset-inline: 0;
}
.ap-block-hi {
  display: grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-dark);
  box-shadow: 0 8px 18px -8px rgba(245, 196, 0, 0.8);
  flex: 0 0 auto;
}
.ap-block-ico {
  inline-size: 20px;
  block-size: 20px;
}
/* نوار طلایی زیر عنوان بلوک */
.ap-block-h::after {
  content: "";
  flex: 1;
  block-size: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: absolute;
  inset-block-end: -4px;
  inset-inline: 0;
}

/* متن غنی */
.ap-rich {
  color: #26324a;
  font-size: 1rem;
  line-height: 2.1;
}
/*
 * هیچ متنِ بلندی نباید از بلوک بیرون بزند یا بریده شود.
 *
 * چرا: `.ap-block` مقدار `overflow: hidden` دارد و متن فارسی می‌تواند یک
 * «رشتهٔ پیوستهٔ» بسیار بلند باشد (بدون فاصله). در آن حالت مرورگر نقطهٔ
 * شکستن پیدا نمی‌کند، متن از عرض بلوک بیرون می‌رود و چون overflow پنهان است
 * «بریده» دیده می‌شود. `overflow-wrap: anywhere` اجازهٔ شکستن در هر نقطه را
 * می‌دهد و `word-break` برای مرورگرهای قدیمی‌تر نگه داشته شده است.
 */
.ap-rich,
.ap-rich p,
.ap-rich li,
.ap-rich h1,
.ap-rich h2,
.ap-rich h3,
.ap-rich h4,
.ap-rich h5,
.ap-rich h6,
.ap-rich blockquote,
.ap-rich dd,
.ap-rich dt,
.ap-rich td,
.ap-rich th,
.ap-rich a,
.ap-rich strong,
.ap-rich em,
.ap-rich span {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-inline-size: 0;
}
.ap-rich img,
.ap-rich svg,
.ap-rich video,
.ap-rich iframe,
.ap-rich table,
.ap-rich pre {
  max-inline-size: 100%;
}
.ap-rich pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ap-rich table {
  border-collapse: collapse;
}
/* بلوک‌هایی که ممکن است متن بلند داشته باشند (تماس، حقایق، جزئیات). */
.ap-block,
.ap-card,
.ap-facts dd,
.ap-stats,
.ap-contact li,
.ap-loc-addr,
.ap-loc-name {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ap-rich > *:first-child {
  margin-block-start: 0;
}
.ap-rich p {
  margin: 0 0 15px;
}
.ap-rich h2,
.ap-rich h3,
.ap-rich h4 {
  color: var(--navy-dark);
  line-height: 1.7;
  margin: 26px 0 10px;
  scroll-margin-block-start: 90px;
}
.ap-rich h2 {
  font-size: 1.3rem;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--gold);
}
.ap-rich h3 {
  font-size: 1.12rem;
}
.ap-rich h4 {
  font-size: 1rem;
}
.ap-rich ul,
.ap-rich ol {
  padding-inline-start: 24px;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}
.ap-rich li {
  line-height: 1.95;
}
.ap-rich li::marker {
  color: var(--navy);
}
.ap-rich a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(16, 42, 113, 0.3);
}
.ap-rich a:hover {
  text-decoration-color: var(--navy);
}
.ap-rich blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: rgba(245, 196, 0, 0.09);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  color: #2b3750;
  font-weight: 600;
}
.ap-rich blockquote p:last-child {
  margin-block-end: 0;
}
.ap-rich code {
  background: rgba(16, 42, 113, 0.07);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  direction: ltr;
  display: inline-block;
}
.ap-rich pre {
  background: var(--navy-dark);
  color: #e8edff;
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}
.ap-rich pre code {
  background: none;
  color: inherit;
  padding: 0;
}
.ap-hr {
  border: 0;
  block-size: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.ap-inline-img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  border-radius: var(--radius-sm);
  margin: 18px auto;
}

/* نکات کلیدی */
.ap-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.ap-highlights li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.95;
  color: #2a3650;
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.1), rgba(255, 220, 95, 0.05));
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 18px -12px rgba(245, 196, 0, 0.5);
}
.ap-hl-ico {
  display: grid;
  place-items: center;
  inline-size: 25px;
  block-size: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 6px 12px -6px rgba(22, 163, 74, 0.7);
  flex: 0 0 auto;
  margin-block-start: 3px;
}
.ap-hl-ico svg {
  inline-size: 14px;
  block-size: 14px;
}

/* اطلاعات کلیدی (بلوک) */
.ap-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 0;
}
.ap-fact {
  background: var(--ap-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.ap-fact dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-block-end: 5px;
}
.ap-fact-ico {
  display: inline-flex;
}
.ap-fact dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.8;
}

/* تصویر و گالری */
.ap-figure {
  margin: 0;
}
.ap-fig-img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: var(--radius-sm);
}
.ap-figure figcaption {
  margin-block-start: 9px;
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
}
.ap-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.ap-gallery.is-two {
  grid-template-columns: repeat(2, 1fr);
}
.ap-gallery.is-three {
  grid-template-columns: repeat(3, 1fr);
}
.ap-gallery.is-four {
  grid-template-columns: repeat(4, 1fr);
}
.ap-gal {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ap-soft);
  cursor: zoom-in;
  display: block;
}
.ap-gal-img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  transition: transform 0.35s ease;
}
.ap-gal:hover .ap-gal-img {
  transform: scale(1.04);
}
.ap-gal-zoom {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 9px;
  background: rgba(0, 24, 64, 0.62);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ap-gal-ico {
  inline-size: 15px;
  block-size: 15px;
}
.ap-gal:hover .ap-gal-zoom {
  opacity: 1;
}
.ap-gal-cap {
  display: block;
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 16px 10px 8px;
  font-size: 0.75rem;
  color: #fff;
  text-align: start;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 64, 0.82));
}

/* ویدیو — نمای Facade */
.ap-video {
  margin: 0;
}
.ap-video-btn {
  position: relative;
  display: block;
  inline-size: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-dark);
  aspect-ratio: 16 / 9;
}
.ap-video-poster {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}
.ap-video-poster--plain {
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(255, 220, 95, 0.25), transparent 70%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.ap-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 64, 0.15), rgba(0, 24, 64, 0.55));
}
.ap-video-play {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  inline-size: 74px;
  block-size: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-dark);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(245, 196, 0, 0.22);
  transition: transform 0.25s ease;
}
.ap-video-play::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(245, 196, 0, 0.55);
  animation: ap-ping 2.2s ease-out infinite;
}
@keyframes ap-ping {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.ap-video-btn:hover .ap-video-play {
  transform: translate(50%, -50%) scale(1.08);
}
.ap-play-ico {
  inline-size: 30px;
  block-size: 30px;
}
.ap-video-tag {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.ap-video iframe,
.ap-video video {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-sm);
  display: block;
  background: #000;
}
.ap-video figcaption {
  margin-block-start: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
}
.ap-video figcaption b {
  color: var(--navy-dark);
}

/* برنامهٔ زمانی */
.ap-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.ap-timeline::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 9px;
  inline-size: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(16, 42, 113, 0.15));
}
.ap-timeline li {
  position: relative;
  padding-inline-start: 34px;
  padding-block-end: 20px;
}
.ap-timeline li:last-child {
  padding-block-end: 0;
}
.ap-tl-dot {
  position: absolute;
  inset-block-start: 5px;
  inset-inline-start: 3px;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.16);
}
.ap-tl-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(16, 42, 113, 0.07);
  padding: 3px 10px;
  border-radius: 999px;
  margin-block-end: 6px;
}
.ap-tl-ico {
  inline-size: 14px;
  block-size: 14px;
}
.ap-tl-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 4px;
}
.ap-tl-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

/* فایل‌های پیوست */
.ap-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ap-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ap-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ap-file-ico {
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 38px;
  border-radius: 11px;
  background: rgba(16, 42, 113, 0.08);
  color: var(--navy);
  flex: 0 0 auto;
}
.ap-file-ico.is-pdf {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}
.ap-file-ico.is-doc {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}
.ap-file-ico.is-sheet {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}
.ap-file-ico.is-zip {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}
.ap-file-i {
  inline-size: 19px;
  block-size: 19px;
}
.ap-file-txt {
  display: grid;
  gap: 2px;
  min-inline-size: 0;
  flex: 1;
}
.ap-file-txt b {
  font-size: 0.95rem;
  color: var(--navy-dark);
  line-height: 1.7;
}
.ap-file-txt small {
  font-size: 0.76rem;
  color: var(--muted);
}
.ap-file-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ap-file-dl:hover {
  background: var(--navy);
}
.ap-file-dl-i {
  inline-size: 15px;
  block-size: 15px;
}

/* فرم */
.ap-form .ap-note,
.ap-form-cta .ap-note {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.95;
}
.ap-form-frame {
  border: 1px solid var(--line);
  border-block-start: 4px solid var(--gold);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ap-shadow-card);
}
.ap-form-frame iframe {
  inline-size: 100%;
  block-size: var(--fh, 900px);
  max-block-size: 90vh;
  border: 0;
  display: block;
}
.ap-form-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

/* پرسش‌های پرتکرار */
.ap-faq {
  display: grid;
  gap: 9px;
}
.ap-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ap-soft);
  overflow: hidden;
}
.ap-faq-item[open] {
  background: #fff;
  border-color: rgba(16, 42, 113, 0.25);
}
.ap-faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  list-style: none;
  line-height: 1.8;
}
.ap-faq-item summary::-webkit-details-marker {
  display: none;
}
.ap-faq-i {
  inline-size: 18px;
  block-size: 18px;
  color: var(--navy);
  flex: 0 0 auto;
}
.ap-faq-chev {
  inline-size: 17px;
  block-size: 17px;
  margin-inline-start: auto;
  transition: transform 0.2s ease;
  color: var(--muted);
}
.ap-faq-item[open] .ap-faq-chev {
  transform: rotate(180deg);
}
.ap-faq-a {
  padding: 0 15px 15px;
  color: #2a3650;
  font-size: 0.94rem;
  line-height: 2;
}

/* هشدار / اطلاعیه */
.ap-notice {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  line-height: 1.95;
}
.ap-notice-ico {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.7);
  flex: 0 0 auto;
}
.ap-notice-i {
  inline-size: 17px;
  block-size: 17px;
}
.ap-notice b {
  display: block;
  margin-block-end: 4px;
  color: var(--navy-dark);
}
.ap-notice p {
  margin: 0;
  font-size: 0.93rem;
  color: #33405c;
}
.ap-notice.is-info {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
}
.ap-notice.is-warn {
  background: rgba(217, 119, 6, 0.09);
  border-color: rgba(217, 119, 6, 0.28);
  color: #b45309;
}
.ap-notice.is-success {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: #15803d;
}
.ap-notice.is-danger {
  background: rgba(220, 38, 38, 0.07);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

/* آمار */
.ap-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.ap-stats li {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.ap-stat-ico {
  display: inline-flex;
  color: var(--gold-soft);
  margin-block-end: 6px;
}
.ap-stats b {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-soft);
}
.ap-stats span {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* نقل‌قول */
.ap-quote {
  margin: 0;
  padding: 24px 24px 22px;
  background:
    radial-gradient(300px 150px at 90% 0%, rgba(245, 196, 0, 0.16), transparent 65%),
    linear-gradient(150deg, var(--navy-dark), var(--navy) 70%, #1b3a8b);
  border-radius: 18px;
  border: 1px solid rgba(245, 196, 0, 0.35);
  box-shadow: var(--ap-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.ap-quote::after {
  content: "”";
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: 10px;
  font-size: 7rem;
  line-height: 1;
  color: rgba(245, 196, 0, 0.16);
  font-family: serif;
  pointer-events: none;
}
.ap-quote-mark {
  display: inline-flex;
  color: var(--gold-soft);
  margin-block-end: 6px;
}
.ap-quote-i {
  inline-size: 24px;
  block-size: 24px;
}
.ap-quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2.1;
  color: #fff;
  font-weight: 600;
}

.ap-quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 14px;
}
.ap-quote-av {
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.ap-quote figcaption span {
  display: grid;
}
.ap-quote figcaption b {
  color: var(--gold-soft);
  font-size: 0.92rem;
}
.ap-quote figcaption small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

/* دکمه‌های اقدام */
.ap-cta-row {
  display: grid;
  gap: 12px;
}
.ap-cta-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}
.ap-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* بلوک «دکمه‌ها» — لینک‌های قابل‌تنظیم از داشبورد */
.ap-btns {
  display: grid;
  gap: 12px;
}
.ap-btns-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.92rem;
}
.ap-btns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ap-btns-row .btn,
.ap-actions .btn {
  min-block-size: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.7;
}
/* دکمهٔ سفید روی کارت سفید باید قاب داشته باشد تا دیده شود */
.ap-btns-row .btn-white,
.ap-actions .btn-white {
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ap-btns-row .btn-white:hover,
.ap-actions .btn-white:hover {
  border-color: var(--gold);
}
@media (max-width: 480px) {
  .ap-btns-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-btns-row .btn {
    inline-size: 100%;
  }
}

/* مکان و نقشه */
.ap-location {
  display: grid;
  gap: 12px;
}
.ap-loc-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ap-loc-addr {
  margin: 0;
  display: flex;
  gap: 7px;
  color: var(--muted);
  line-height: 1.95;
}
.ap-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ap-soft);
  min-block-size: 200px;
}
.ap-map iframe {
  display: block;
  inline-size: 100%;
  block-size: 320px;
  border: 0;
}
.ap-loc-dir {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
}

/* جداکننده */
.ap-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.ap-divider::before,
.ap-divider::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: var(--line);
}

/* ---------- ۶) نوار کنار چسبان ---------- */
.ap-side {
  display: grid;
  gap: 16px;
  position: sticky;
  inset-block-start: 86px;
  align-self: start;
}
.ap-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--ap-shadow-card);
}
.ap-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 13px;
}
.ap-card-h::after {
  content: "";
  flex: 1;
  block-size: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.7), transparent);
}
.ap-card-i {
  inline-size: 18px;
  block-size: 18px;
  color: var(--navy);
}
.ap-card--kf {
  background: #fff;
  border-color: var(--line);
  padding: 0;
  overflow: hidden;
}
.ap-card--kf .ap-card-h {
  background:
    radial-gradient(200px 80px at 90% 0%, rgba(245, 196, 0, 0.25), transparent 70%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  margin: 0;
  padding: 13px 18px;
  border-block-end: 2px solid var(--gold);
}
.ap-card--kf .ap-card-h::after {
  display: none;
}
.ap-card--kf .ap-card-i {
  color: var(--gold-soft);
}
.ap-card--kf .ap-kf {
  padding: 12px 18px 18px;
}
.ap-card--kf .ap-count {
  margin: 12px 18px 18px;
  padding-block-start: 12px;
}
.ap-card--kf .ap-kf-l {
  color: var(--muted);
}
.ap-card--kf .ap-kf-ico {
  background: rgba(16, 42, 113, 0.07);
  color: var(--navy);
}
.ap-card--kf .ap-kf-v {
  color: var(--navy-dark);
}
.ap-card--kf .ap-kf-v a {
  color: var(--navy);
}
/* اطلاعات کلی */
.ap-kf {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.ap-kf li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.8;
  padding: 5px 7px;
  margin: 0 -7px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.ap-kf li:hover {
  background: rgba(16, 42, 113, 0.05);
}
.ap-kf-ico {
  display: grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), #1b3a8b);
  color: #fff;
  box-shadow: 0 6px 12px -6px rgba(16, 42, 113, 0.6);
  flex: 0 0 auto;
}
.ap-kf-l {
  color: var(--muted);
  flex: 0 0 auto;
}
.ap-kf-v {
  margin-inline-start: auto;
  font-weight: 800;
  color: var(--navy-dark);
  text-align: end;
}
.ap-kf-v a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* شمارش معکوس */
.ap-count {
  margin-block-start: 14px;
  padding-block-start: 14px;
  border-block-start: 1px dashed var(--line);
}
.ap-count-l {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-block-end: 8px;
}
.ap-count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
}
.ap-count-grid span {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border: 1px solid rgba(245, 196, 0, 0.4);
  border-radius: 10px;
  padding: 7px 4px;
  box-shadow: 0 8px 18px -10px rgba(0, 24, 64, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ap-count-grid b {
  display: block;
  color: var(--gold-soft);
  font-size: 1.05rem;
  font-weight: 900;
}
.ap-count-grid small {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.7);
}

/* اشتراک‌گذاری */
.ap-share {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ap-sh {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--ap-soft);
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ap-sh:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 42, 113, 0.3);
  box-shadow: 0 12px 22px -12px rgba(0, 24, 64, 0.35);
}
.ap-sh.is-tele:hover {
  border-color: rgba(34, 158, 217, 0.55);
  box-shadow: 0 12px 22px -12px rgba(34, 158, 217, 0.7);
}
.ap-sh.is-wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 12px 22px -12px rgba(37, 211, 102, 0.7);
}
.ap-sh-i {
  inline-size: 17px;
  block-size: 17px;
  flex: 0 0 auto;
}
.ap-sh.is-tele {
  background: rgba(34, 158, 217, 0.1);
  color: #16738f;
}
.ap-sh.is-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #12813f;
}
.ap-sh.is-native {
  display: none;
}


/* کارت برگزارکننده — بزرگ، خوانا، تمیز */
.ap-card--org {
  padding: 20px;
  background: #fff;
  border-color: var(--line);
  border-block-start: 3px solid var(--navy);
}
.ap-card--org .ap-org + .ap-org {
  margin-block-start: 18px;
  padding-block-start: 18px;
  border-block-start: 1px dashed var(--line);
}
.ap-org {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.ap-org-logo {
  display: grid;
  place-items: center;
  inline-size: 84px;
  block-size: 84px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--ap-soft));
  border: 2px solid rgba(245, 196, 0, 0.65);
  box-shadow: 0 12px 24px -12px rgba(245, 196, 0, 0.55);
  overflow: hidden;
  flex: 0 0 auto;
}
.ap-org-img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  padding: 10px;
}
.ap-org-mono {
  inline-size: 56px;
  block-size: 56px;
}
.ap-org-txt {
  display: grid;
  gap: 5px;
  min-inline-size: 0;
}
.ap-org-txt small {
  font-size: 0.78rem;
  color: var(--muted);
}
.ap-org-txt b {
  font-size: 1.12rem;
  color: var(--navy-dark);
  line-height: 1.5;
}
.ap-org-txt span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 700;
}

/* بلوک‌های کناری ساختهٔ کاربر */
.ap-side .ap-block {
  margin-block-end: 0;
  padding: 18px;
}
.ap-side .ap-block-h {
  font-size: 0.98rem;
}
.ap-side .ap-facts,
.ap-side .ap-stats,
.ap-side .ap-gallery {
  grid-template-columns: 1fr;
}
.ap-side-inline {
  display: grid;
  gap: 16px;
}

/* ---------- ۷) برچسب‌ها، منبع، ارتباط، مرتبط، ناوبری ---------- */
.ap-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block-start: 22px;
}
.ap-tags-l {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.ap-tag {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(16, 42, 113, 0.06);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}
.ap-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.ap-source {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.ap-source a {
  color: var(--navy);
  font-weight: 700;
}
.ap-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ap-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: #33405c;
}
.ap-contact a {
  color: var(--navy);
  font-weight: 700;
}

.ap-related {
  margin-block-start: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.ap-related .ap-block-h {
  margin: 0 0 22px;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ap-related .ap-block-hi {
  inline-size: 40px;
  block-size: 40px;
}

/* سرتیتر «اطلاعیه‌های مرتبط» + دکمهٔ «بازگشت به فهرست» در یک ردیف:
   دکمه به خودِ بلوک می‌چسبد (خواستهٔ کاربر) و دیگر ردیف جدا نیست. */
.ap-rel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.ap-rel-head .ap-block-h {
  margin: 0;
  min-inline-size: 0;
}
.ap-back--attached {
  margin-block-start: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 42, 113, 0.06);
  border: 1px solid rgba(16, 42, 113, 0.12);
  font-size: 0.86rem;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ap-back--attached:hover {
  background: rgba(245, 196, 0, 0.18);
  border-color: rgba(245, 196, 0, 0.55);
  color: var(--navy-dark);
}

/* «اطلاعیه‌های مرتبط» وقتی کاربر آن را در ستون کنار می‌گذارد:
   کارتِ تک‌ستونه و هم‌اندازهٔ بقیهٔ کارت‌های ریل، نه شبکهٔ سه‌ستونهٔ ستون اصلی. */
.ap-side .ap-related,
.ap-side-inline .ap-related {
  margin-block-start: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--ap-shadow-card);
}
.ap-side .ap-related .ap-block-h,
.ap-side-inline .ap-related .ap-block-h {
  margin: 0 0 13px;
  font-size: 0.98rem;
}
.ap-side .ap-related .ap-block-hi,
.ap-side-inline .ap-related .ap-block-hi {
  inline-size: 30px;
  block-size: 30px;
}
.ap-side .ap-related .ap-rel-grid,
.ap-side-inline .ap-related .ap-rel-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
.ap-side .ap-related .ap-rel-chip,
.ap-side-inline .ap-related .ap-rel-chip {
  display: none;
}
.ap-side .ap-related .ap-rel-body,
.ap-side-inline .ap-related .ap-rel-body {
  padding: 12px 13px 11px;
}
.ap-side .ap-related .ap-rel-t,
.ap-side-inline .ap-related .ap-rel-t {
  font-size: 0.86rem;
}
.ap-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ap-rel {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.2s ease;
  box-shadow: 0 8px 28px -12px rgba(16, 42, 113, 0.2);
}
.ap-rel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.08), transparent 50%, rgba(245, 196, 0, 0.08));
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.ap-rel::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.ap-rel:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px -14px rgba(0, 24, 64, 0.35), 0 0 0 1px rgba(245, 196, 0, 0.15);
  border-color: rgba(245, 196, 0, 0.4);
}
.ap-rel:hover::before {
  transform: scaleX(1);
}
.ap-rel:hover::after {
  opacity: 1;
}
.ap-rel-img {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ap-soft);
}
.ap-rel-img img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ap-rel:hover .ap-rel-img img {
  transform: scale(1.08);
}
.ap-rel-body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 16px;
}
.ap-rel-chip {
  align-self: start;
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-dark);
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.3), rgba(255, 220, 95, 0.4));
  border: 1px solid rgba(245, 196, 0, 0.5);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ap-rel-t {
  font-size: 0.92rem;
  color: var(--navy-dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
  padding-bottom: 2px;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 100% 100% / 0 2px;
  transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ap-rel:hover .ap-rel-t {
  background-size: 100% 2px;
}
.ap-rel-d {
  font-size: 0.72rem;
  color: var(--muted);
}
/* سایه‌روشن سینمایی روی تصویر */
.ap-rel-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 24, 64, 0.35));
  pointer-events: none;
}
.ap-rel-img img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.ap-rel:hover .ap-rel-img img {
  transform: scale(1.04);
}
.ap-rel-art {
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  font-size: 2rem;
}
.ap-rel-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}
.ap-rel-chip {
  align-self: start;
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--navy-dark);
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.28), rgba(255, 220, 95, 0.35));
  border: 1px solid rgba(245, 196, 0, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
}
/* زیرخط طلایی متحرک برای تیتر (راست‌به‌چپ) */
.ap-rel-t {
  font-size: 0.92rem;
  color: var(--navy-dark);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-bottom: 2px;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 100% 100% / 0 2px;
  transition: background-size 0.25s ease;
}
.ap-rel:hover .ap-rel-t {
  background-size: 100% 2px;
}
.ap-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 22px;
  font-weight: 800;
  color: var(--navy);
}
.ap-back-i {
  inline-size: 17px;
  block-size: 17px;
}

/* ---------- ۸) لایت‌باکس، دکمهٔ بالا، نوار موبایل، توست ---------- */
.ap-lightbox[hidden] {
  display: none;
}
.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 15, 40, 0.94);
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 24px 12px;
}
.ap-lb-stage {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  max-block-size: 88vh;
}
.ap-lb-stage img {
  max-inline-size: 100%;
  max-block-size: 80vh;
  block-size: auto;
  inline-size: auto;
  border-radius: 12px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.ap-lb-stage figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  text-align: center;
  max-inline-size: 700px;
}
.ap-lb-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.ap-lb-nav {
  inline-size: 46px;
  block-size: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  justify-self: center;
}
.ap-lb-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}
.ap-lb-nav.is-prev .ap-lb-i {
  transform: rotate(180deg);
}
.ap-lb-i {
  inline-size: 20px;
  block-size: 20px;
}
.ap-lb-count {
  position: absolute;
  inset-block-end: 16px;
  inset-inline: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.ap-top {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 22px;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy-dark);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(0, 24, 64, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 55;
}
.ap-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ap-mobilebar {
  display: none;
}
/* وقتی دکمهٔ اقدام نیست (حذف پیگیری تلگرام)، دکمه‌های باقی‌مانده وسط‌چین می‌شوند */
.ap-mobilebar:not(:has(.ap-mb-cta)) {
  justify-content: center;
}
/* دسترس‌پذیری: فوکوس صفحه‌کلید همیشه دیده شود */
.ap a:focus-visible,
.ap button:focus-visible,
.ap summary:focus-visible {
  outline: 3px solid rgba(245, 196, 0, 0.85);
  outline-offset: 2px;
  border-radius: 8px;
}
.ap-toast[hidden] {
  display: none;
}
.ap-toast {
  position: fixed;
  inset-block-end: 96px;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: max-content;
  max-inline-size: 90%;
  background: var(--navy-dark);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 95;
  box-shadow: 0 16px 34px -16px rgba(0, 24, 64, 0.8);
}

/* ---------- ۹) واکنش‌گرا ---------- */
@media (max-width: 1024px) {
  .ap-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-side {
    position: static;
    inset-block-start: auto;
  }
  /*
   * ترتیب ستون کنار در موبایل (قطعی، نه تصادفی).
   *
   * ستون کنار در دسکتاپ یک ستون چسبان کنار متن است، اما در موبایل زیر ستون
   * اصلی می‌آید. بلوک‌هایی که کاربر **دستی** به ستون کنار داده باید بلافاصله
   * بعد از ستون اصلی دیده شوند؛ بلوک‌های **ثابتِ** پیش‌فرض (تبلیغ، حقایق،
   * تشکل، اشتراک) و «فهرست مطالب» بعد از آن‌ها می‌آیند. کلاس‌های
   * `ap-sx--manual` / `ap-sx--fixed` را رندرر روی هر قلم ستون کنار می‌گذارد.
   */
  .ap-side > .ap-sx--manual {
    order: 1;
  }
  .ap-side > .ap-sx--fixed {
    order: 2;
  }
  .ap-side > .ap-card--toc {
    order: 3;
  }
  /*
   * چیدمان موبایلِ دستی (وقتی مدیر در داشبورد تبِ «موبایل» را تغییر داده است).
   *
   * `order` تنها روی فرزندانِ مستقیمِ گرید اثر می‌کند، اما بلوک‌ها دو لایه
   * تو در تو هستند (`.ap-main` / `.ap-side-inline`). پس همان دو لایه را با
   * `display: contents` از جریان بیرون می‌آوریم تا فرزندانشان مستقیماً عضو
   * گرید شوند و ترتیبِ اختصاصیِ رندرر روی آن‌ها بنشیند.
   *
   * این قواعد فقط زمانی فعال‌اند که `data-ap-m` روی گرید باشد؛ رکوردی که
   * مدیر چیدمان موبایلش را دست نزده باشد هیچ‌کدام از این تغییرها را نمی‌بیند.
   *
   * فاصله‌ها: `display: contents` جعبهٔ `.ap-side` را حذف می‌کند، پس `gap`
   * آن هم از بین می‌رود؛ به‌جایش فاصلهٔ ردیفِ خودِ گرید ۲۴px می‌شود (هم‌اندازهٔ
   * `margin-block-end` بلوک‌ها در ستون اصلی) و حاشیهٔ پایین فرزندان صفر
   * می‌شود تا فاصله دوبار حساب نشود.
   */
  .ap-grid[data-ap-m] {
    row-gap: 24px;
  }
  .ap-grid[data-ap-m] > .ap-main,
  .ap-grid[data-ap-m] > .ap-side,
  .ap-grid[data-ap-m] .ap-side-inline {
    display: contents;
  }
  .ap-grid[data-ap-m] > .ap-main > *,
  .ap-grid[data-ap-m] > .ap-side > *,
  .ap-grid[data-ap-m] .ap-side-inline > * {
    margin-block-end: 0;
  }
  .ap-share {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .ap-body {
    padding: 26px 0 92px;
  }
  .ap-hero {
    padding: 22px 0 34px;
  }
  .ap-topcover {
    padding: 16px 0 0;
  }
  .ap-topcover .ap-cover-btn,
  .ap-topcover .ap-cover--art {
    border-radius: 16px;
    outline-offset: 3px;
  }
  .ap-head {
    padding: 0 0 4px;
  }
  .ap-topcover + .ap-head .container {
    border-radius: 18px;
    padding: 20px 18px 18px;
    margin-top: 18px;
  }
  .ap-head .ap-title {
    font-size: clamp(1.25rem, 5.4vw, 1.6rem);
    line-height: 1.55;
  }
  .ap-head .ap-lead {
    font-size: 0.92rem;
    line-height: 1.95;
  }
  .ap-head .ap-meta-i {
    font-size: 0.74rem;
    padding: 4px 10px;
  }
  .ap-rel-grid {
    gap: 8px;
  }
  .ap-rel-body {
    padding: 10px 11px;
  }
  .ap-rel-t {
    font-size: 0.78rem;
  }
  .ap-rel-chip {
    display: none;
  }
  .ap-rel-head {
    gap: 8px 10px;
    margin: 0 0 16px;
  }
  .ap-back--attached {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .ap-back--attached .ap-back-i {
    inline-size: 15px;
    block-size: 15px;
  }
  .ap-cover-wrap {
    margin-block-start: -16px;
  }
  .ap-block {
    padding: 18px 16px;
  }
  .ap-gallery,
  .ap-gallery.is-two,
  .ap-gallery.is-three,
  .ap-gallery.is-four {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-map iframe {
    block-size: 240px;
  }
  .ap-top {
    display: none;
  }
  .ap-mobilebar {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-block-start: 1px solid var(--line);
    box-shadow: 0 -12px 30px -20px rgba(0, 24, 64, 0.5);
    z-index: 70;
  }
  .ap-mb-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 10px 22px -10px rgba(245, 196, 0, 0.8);
  }
  .ap-mb-btn {
    inline-size: 44px;
    block-size: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .ap-sh.is-native {
    display: flex;
  }
  .ap-toast {
    inset-block-end: 82px;
  }
}
@media (max-width: 420px) {
  .ap-share {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-count-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- ۱۰) حالت چاپ ---------- */
@media print {
  .site-header,
  .site-footer,
  .ap-side,
  .ap-mobilebar,
  .ap-top,
  .ap-lightbox,
  .ap-readbar,
  .ap-related,
  .ap-actions,
  .ap-back {
    display: none !important;
  }
  .ap,
  .ap-body,
  .ap-hero {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .ap-title,
  .ap-lead,
  .ap-metaline,
  .ap-crumbs {
    color: #000 !important;
  }
  .ap-grid {
    display: block !important;
  }
  .ap-block,
  .ap-card {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 14px !important;
    break-inside: avoid;
  }
  .ap-cover-img {
    max-block-size: 60vh !important;
    object-fit: contain !important;
  }
}

/* ---------- ۱۳) ریدیزاین خواندنی ناب — مقاله‌ای و سرمقاله‌ای ---------- */

/* --- ۱۳٫۱) آشکارسازی با اسکرول (فقط وقتی js فعال است) --- */
.js .ap-block:not(.is-in),
.js .ap-rel:not(.is-in),
.js .ap-card:not(.is-in),
.js .ap-figure:not(.is-in),
.js .ap-video:not(.is-in),
.js .ap-cover:not(.is-in) {
  opacity: 0;
  transform: translateY(26px);
}
.js .ap-block,
.js .ap-rel,
.js .ap-card,
.js .ap-figure,
.js .ap-video,
.js .ap-cover {
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(min(var(--ap-i, 0), 6) * 45ms);
}
.js .ap-block {
  animation: none;
}
.js .ap-cover {
  transition-duration: 0.9s;
}

/* --- ۱۳٫۲) هالهٔ طلایی زندهٔ پشت کاور --- */
.ap-topcover::after {
  content: "";
  position: absolute;
  inset-block-start: -70px;
  inset-inline-start: 6%;
  inline-size: 340px;
  block-size: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.32), transparent 64%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  animation: ap-orb 11s ease-in-out infinite alternate;
}
.ap-topcover .container {
  z-index: 2;
}

/* --- ۱۳٫۳) تیتر و لید سرمقاله‌ای --- */
.ap-title {
  letter-spacing: -0.3px;
  text-wrap: balance;
  position: relative;
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  line-height: 1.45;
}
.ap-title::after {
  content: "";
  display: block;
  inline-size: 96px;
  block-size: 5px;
  border-radius: 999px;
  margin-block-start: 14px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
  box-shadow: 0 2px 12px -3px rgba(245, 196, 0, 0.7);
}
.ap-topcover .ap-cover-btn .ap-cover-img,
.ap-cover--art .ap-cover-img {
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ap-topcover .ap-cover-btn:hover .ap-cover-img,
.ap-cover--art:hover .ap-cover-img {
  transform: scale(1.04);
}
.ap-lead {
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.05;
  padding-inline-start: 18px;
  border-inline-start: 3px solid rgba(245, 196, 0, 0.7);
}
.ap-topcover + .ap-head .container {
  border-radius: 28px;
  padding: 34px 38px 32px;
  box-shadow: var(--ap-shadow-lg), 0 0 0 1px rgba(245, 196, 0, 0.1),
    0 24px 60px -30px rgba(0, 24, 64, 0.55);
}
.ap-topcover + .ap-head .container::before {
  block-size: 6px;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(245, 196, 0, 0.5);
}

/* --- ۱۳٫۴) ارتقای جسورانه — پالت پُررنگ سرمه و طلا --- */

/* تیتر یکه — گرادیان سرمه به آبی سلطنتی به طلا */
.ap-head .ap-title {
  font-size: clamp(1.7rem, 4.9vw, 3.15rem);
  line-height: 1.32;
  letter-spacing: -0.5px;
  color: var(--navy-dark);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ap-head .ap-title {
    background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 42%, #1b3a8b 72%, var(--gold) 118%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* لید جسورانه — با نوار طلا و گرمای طلایی */
.ap-head .ap-lead {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 2.1;
  color: #253252;
  border-inline-start: 5px solid var(--gold);
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.09), transparent 72%);
  border-radius: 0 14px 14px 0;
  padding-block: 4px;
}

/* کپسول‌های متا — سرمه‌ای روشن با حاشیهٔ آبی سلطنتی */
.ap-head .ap-meta-i {
  background: linear-gradient(135deg, #eef1fb, var(--ap-soft));
  border: 1px solid #c9d3ea;
  color: var(--navy-dark);
  font-weight: 600;
}
.ap-head .ap-meta-i b,
.ap-head .ap-meta-i strong {
  font-weight: 800;
}
.ap-head .ap-meta-i svg,
.ap-head .ap-meta-i .ap-i-sm {
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(245, 196, 0, 0.45));
}

/* نوار روی کارت تیتر — پالت سه‌بعدی سرمه/طلا */
.ap-topcover + .ap-head .container::before {
  block-size: 6px;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy) 22%, var(--gold) 56%, var(--gold-soft) 82%, #1b3a8b);
  opacity: 1;
}

/* بلوک‌ها — گرمای کرمی و نوار رنگی تمام‌عرض */
.ap-block {
  background: linear-gradient(180deg, #fff 0%, var(--ap-soft) 170%);
  overflow: hidden;
}
.ap-block::before {
  inset-inline: 0;
  border-radius: 22px 22px 0 0;
  block-size: 5px;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy) 26%, var(--gold) 58%, var(--gold-soft) 84%, #1b3a8b);
  opacity: 1;
}
.ap-block-h {
  font-size: 1.34rem;
  letter-spacing: -0.2px;
  color: var(--navy-dark);
}
.ap-block-hi {
  inline-size: 46px;
  block-size: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold-soft);
  box-shadow: 0 12px 26px -12px rgba(8, 26, 69, 0.9), inset 0 0 0 1.5px rgba(245, 196, 0, 0.4);
}
.ap-block-ico {
  inline-size: 24px;
  block-size: 24px;
}
.ap-block-h::after {
  block-size: 3px;
  inset-block-end: -6px;
  inset-inline-start: 58px;
  inset-inline-end: auto;
  inline-size: 72px;
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px rgba(245, 196, 0, 0.7);
  background: linear-gradient(90deg, var(--gold), rgba(245, 196, 0, 0.35), transparent);
}

/* تایپوگرافی مقاله — تیره‌تر، شکیل‌تر */
.ap-rich {
  color: #1d2b4a;
  line-height: 2.15;
}
.ap-rich h2 {
  font-size: 1.34rem;
  border-inline-start: 5px solid var(--gold);
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.12), transparent 62%);
  padding-inline-start: 14px;
}
.ap-rich a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(245, 196, 0, 0.75);
  text-underline-offset: 5px;
}
.ap-rich a:hover {
  color: #1b3a8b;
  text-decoration-color: var(--gold);
}

/* تیتر فهرست مطالب دسکتاپ */
.ap-card--toc .ap-card-h {
  color: var(--navy-dark);
}
.ap-toc a.is-active {
  background: linear-gradient(135deg, rgba(16, 42, 113, 0.1), rgba(245, 196, 0, 0.18));
  box-shadow: inset 0 0 0 1px rgba(245, 196, 0, 0.25);
}
.ap-toc a.is-active::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-dark);
  box-shadow: 0 4px 10px -3px rgba(245, 196, 0, 0.7);
}

/* --- ۱۳٫۵) تایپوگرافی مقاله --- */
.ap-rich {
  font-size: 1.02rem;
}
.ap-rich p {
  margin: 0 0 18px;
  line-height: 2.1;
}
.ap-rich > p:first-child {
  font-size: 1.07rem;
  color: #1c2942;
}
.ap-rich h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.16rem;
  font-weight: 800;
}
.ap-rich h3::before {
  content: "";
  flex: none;
  inline-size: 10px;
  block-size: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  transform: rotate(45deg);
  box-shadow: 0 4px 10px -4px rgba(245, 196, 0, 0.8);
}
.ap-rich ul {
  padding-inline-start: 0;
  margin: 0 0 18px;
}
.ap-rich ul li {
  position: relative;
  list-style: none;
  padding-inline-start: 32px;
  margin-block-end: 6px;
}
.ap-rich ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: 8px;
  inline-size: 19px;
  block-size: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  box-shadow: 0 4px 10px -4px rgba(0, 24, 64, 0.6);
}
.ap-rich ul li::after {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  inset-block-start: 12px;
  inline-size: 4px;
  block-size: 8px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}
.ap-rich ol {
  padding-inline-start: 26px;
}
.ap-rich ol li::marker {
  color: var(--gold);
  font-weight: 800;
}
.ap-rich blockquote p {
  margin: 0;
}

/* --- ۱۳٫۶) فهرست مطالب — رییل چسبان دسکتاپ --- */
.ap-card--toc {
  position: relative;
  overflow: hidden;
}
.ap-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  counter-reset: ap-toc;
}
.ap-toc li {
  counter-increment: ap-toc;
  margin: 0;
}
.ap-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ap-toc a::before {
  content: counter(ap-toc, decimal-leading-zero);
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--gold);
  background: rgba(245, 196, 0, 0.14);
  border-radius: 8px;
  inline-size: 24px;
  block-size: 24px;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.ap-toc a:hover {
  background: rgba(245, 196, 0, 0.1);
  transform: translateX(-4px);
}
.ap-toc a.is-active {
  background: linear-gradient(135deg, rgba(16, 42, 113, 0.08), rgba(245, 196, 0, 0.16));
  color: var(--navy-dark);
}
.ap-toc a.is-active::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-dark);
}
.ap-toc-bar {
  display: block;
  block-size: 4px;
  margin-block-start: 12px;
  border-radius: 999px;
  background: rgba(16, 42, 113, 0.1);
  overflow: hidden;
}
.ap-toc-bar i {
  display: block;
  block-size: 100%;
  inline-size: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 999px;
}

/* --- ۱۳٫۷) چیپ‌های فهرست موبایل --- */
.ap-toc-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ap-toc-rail::-webkit-scrollbar {
  display: none;
}
.ap-toc-rail-label {
  flex: none;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--navy);
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.4);
  padding: 8px 13px;
  border-radius: 999px;
}
.ap-toc-chip {
  flex: none;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -10px rgba(0, 24, 64, 0.5);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
.ap-toc-chip:hover {
  border-color: rgba(245, 196, 0, 0.55);
  transform: translateY(-2px);
}
.ap-toc-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-color: rgba(8, 26, 69, 0.9);
  box-shadow: 0 8px 18px -12px rgba(8, 26, 69, 0.55);
  transform: translateY(-1px);
}

/* --- ۱۳٫۸) کارت‌های مرتبط — شبکهٔ کشف --- */
.ap-rel-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy-dark);
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.22), rgba(245, 196, 0, 0.12));
  border: 1px solid rgba(245, 196, 0, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  margin-block-end: 8px;
}
.ap-rel-t {
  transition: color 0.2s ease;
}
.ap-rel:hover .ap-rel-t {
  color: var(--navy);
}

/* --- ۱۳٫۹) نوار مطالعهٔ درخشان --- */
.ap-readbar {
  border-radius: 0 999px 999px 0;
}
.ap-readbar > span {
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--gold-soft), var(--gold));
  box-shadow: 0 0 14px rgba(245, 196, 0, 0.85);
}

/* --- ۱۳٫۱۰) چیدمان موبایل برای مؤلفه‌های جدید --- */
@media (max-width: 900px) {
  .ap-card--toc {
    display: none;
  }
  .ap-toc-rail {
    display: flex;
    position: sticky;
    inset-block-start: 72px;
    z-index: 55;
    max-width: min(1120px, 92%);
    margin-inline: auto;
  }
}
@media (min-width: 901px) {
  .ap-toc-rail {
    display: none;
  }
}
@media (max-width: 720px) {
  .ap-head .ap-title {
    font-size: clamp(1.34rem, 5.9vw, 1.8rem);
  }
  .ap-topcover + .ap-head .container {
    padding: 26px 22px 24px;
    margin-block-start: 20px;
  }
  .ap-title {
    font-size: clamp(1.35rem, 6.4vw, 1.7rem);
  }
}

/* موبایل: تایپوگرافی جمع‌وجورتر برای صفحات مجزای اطلاعیه و دوره */
@media (max-width: 720px) {
  .ap-lead {
    font-size: 0.9rem;
    line-height: 1.9;
  }
  .ap-block-h {
    font-size: 1.12rem;
  }
  .ap-card-h {
    font-size: 0.95rem;
  }
  .ap-kf li {
    font-size: 0.85rem;
  }
  .ap-org-txt b {
    font-size: 1rem;
  }
  .ap-org-txt span {
    font-size: 0.78rem;
  }
  .ap-rich {
    font-size: 0.94rem;
    line-height: 1.95;
  }
  .ap-rich h2 {
    font-size: 1.16rem;
  }
  .ap-rich h3 {
    font-size: 1.05rem;
  }
  .ap-rich h4 {
    font-size: 0.95rem;
  }
  .cp-subtitle {
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .cp-meta-item {
    font-size: 0.8rem;
  }
  .cp-det i {
    font-size: 0.82rem;
  }
  .cp-sched-title h4 {
    font-size: 0.95rem;
  }
  .cp-tch-name {
    font-size: 1.02rem;
  }
  .cp-prices {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .ap-rich h3 {
    align-items: flex-start;
  }
  .ap-toc-rail-label {
    display: none;
  }
}

/* --- ۱۳٫۱۱) امنیت چاپ با حالت js --- */
@media print {
  .js .ap-block:not(.is-in),
  .js .ap-rel:not(.is-in),
  .js .ap-card:not(.is-in),
  .js .ap-figure:not(.is-in),
  .js .ap-video:not(.is-in),
  .js .ap-cover:not(.is-in) {
    opacity: 1 !important;
    transform: none !important;
  }
  .ap-toc-rail,
  .ap-card--toc {
    display: none !important;
  }
}

/* --- ۱۳٫۱۲) کین‌فریم هاله --- */
@keyframes ap-orb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  100% {
    transform: translate(-46px, 34px) scale(1.18);
    opacity: 0.9;
  }
}

/* --- ۱۳٫۱۳) بک‌گراندهای مهیج‌تر — شفق سپیده‌دم سرمه/طلا --- */
.ap {
  background:
    radial-gradient(1150px 560px at 86% -140px, rgba(245, 196, 0, 0.17), transparent 62%),
    radial-gradient(940px 520px at 4% 2%, rgba(16, 42, 113, 0.14), transparent 58%),
    radial-gradient(820px 500px at 50% 120%, rgba(27, 58, 139, 0.12), transparent 62%),
    radial-gradient(closest-side at 96% 55%, rgba(245, 196, 0, 0.07), transparent 70%),
    radial-gradient(rgba(16, 42, 113, 0.05) 1px, transparent 1.4px),
    linear-gradient(180deg, #fdfbf2 0%, var(--cream) 42%, #f6f9ff 100%);
  background-size: auto, auto, auto, auto, 24px 24px, auto;
}
.ap-topcover {
  background:
    radial-gradient(860px 320px at 76% -70px, rgba(245, 196, 0, 0.2), transparent 66%),
    radial-gradient(760px 360px at 12% 0%, rgba(27, 58, 139, 0.3), transparent 60%),
    radial-gradient(1200px 520px at 50% 140%, rgba(16, 42, 113, 0.6), transparent 72%),
    linear-gradient(115deg, transparent 40%, rgba(245, 196, 0, 0.08) 50%, transparent 62%),
    linear-gradient(180deg, rgba(0, 24, 64, 0.96), rgba(16, 42, 113, 0.9) 55%, rgba(8, 26, 69, 0.55) 130%);
}
/* درخشش عبوریِ طلایی روی کارت تیتر */
.ap-topcover + .ap-head .container::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-block-end: 0;
  inline-size: 46%;
  background: linear-gradient(105deg, transparent, rgba(245, 196, 0, 0.08), transparent);
  transform: translateX(-160%);
  animation: ap-sheen 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ap-sheen {
  55%, 100% {
    transform: translateX(210%);
  }
}
/* در موبایل‌ها دکورهای ::after هر دو کانتینر هدر حذف می‌شوند */
@media (max-width: 720px) {
  .ap-topcover .container::after,
  .ap-topcover + .ap-head .container::after {
    display: none;
  }
}
/* نوار چیپ‌های موبایل — شیشه‌ای خنثی برای پین‌شدن بالای صفحه */
.ap-toc-rail {
  background: rgba(253, 251, 242, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 10px 24px -18px rgba(0, 24, 64, 0.4);
}

/* --- ۱۳٫۱۴) نقشه و مسیر --- */
.ap-map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--ap-shadow-card);
  margin-block-start: 16px;
}
.ap-map iframe {
  display: block;
  inline-size: 100%;
  block-size: 320px;
  border: 0;
  background: var(--ap-soft);
}
.ap-map-tag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  background: rgba(8, 26, 69, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(245, 196, 0, 0.4);
}
.ap-loc-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 12px 24px -12px rgba(8, 26, 69, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ap-loc-dir:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(245, 196, 0, 0.55);
  background: linear-gradient(135deg, var(--navy), #1b3a8b);
}
.ap-loc-addr {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--navy-dark);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.1), transparent);
  border-radius: 12px;
  padding: 8px 12px;
}
/* کارت نقشه در نوار کناری */
.ap-kf a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: rgba(245, 196, 0, 0.7);
  text-underline-offset: 4px;
}
.ap-kf a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ---------- ۱۱) انیمیشن‌های ورود و جلوه‌های درخشان ---------- */
@keyframes ap-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ap-shine {
  0% {
    inset-inline-start: -80%;
  }
  55% {
    inset-inline-start: 130%;
  }
  100% {
    inset-inline-start: 130%;
  }
}

/* ---------- ۱۲) احترام به کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
  .ap *,
  .ap *::before,
  .ap *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- ۱۳) بنرهای تبلیغاتی مشترک با صفحهٔ اصلی (ads در home.json) ---------- */
.ap-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ap-ad {
  display: block;
  aspect-ratio: 388 / 100;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--ap-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ap-ad:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 196, 0, 0.55);
  box-shadow: var(--ap-shadow-lg);
}
.ap-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* نوار کنار (دسکتاپ): بین کارت فهرست مطالب و کارت اطلاعات کلی — ستونی */
.ap-ads--side {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  margin-block: 18px 8px;
}
.ap-ads--side + .ap-block,
.ap-ads--side + .ap-card { margin-block-start: 18px; }

/* جاسازی موبایل — موقعیت فقط از بلوک «تبلیغات موبایل» در داشبورد می‌آید؛ زیر هم و کمی بزرگ‌تر */
.ap-ads--inline {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-block: 8px 24px;
}
/* جاسازی مشترک موبایل و دسکتاپ — صفحه‌های بدون نوار کنار (عضویت) */
/* موبایل: زیر هم • دسکتاپ: کنار هم */
.ap-ads--flow {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-block: 4px 24px;
}
@media (min-width: 901px) {
  .ap-ads--inline { display: none; }
  .ap-ads--flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ap-ads--side { display: none; }
}

/* ==========================================================================
   ۱۴) قالب صفحهٔ دوره (amoozesh/) — .cp-* هم‌خانواده با .ap-*
   الهام از وبینارهای ایسمینار: کارت بلیت چسبان، هیروی اطلاعات، سرفصل، مخاطبین
   ========================================================================== */
.cp-art-emoji { font-size: 64px; line-height: 1; }

/* هیرو دوستونهٔ دوره — الهام از صفحهٔ وبینار ایسمینار: اطلاعات + تصویر بنددار کوچک */
.cp-head { padding-block: 18px 0; }
/* هدر دوره روی پس‌زمینهٔ روشن — متن و آیکون‌ها را تیره/مشخص می‌کنیم */
.cp-head .ap-crumbs { color: #6b79a0; }
.cp-head .ap-crumbs a { color: var(--navy); }
.cp-head .ap-crumbs a:hover { color: var(--navy-dark); }
.cp-head .ap-crumb-sep { opacity: 0.45; }
.cp-head .ap-chip.is-cat,
.cp-head .ap-chip.is-status.is-past {
  background: rgba(16, 42, 113, 0.07);
  color: var(--navy);
  border-color: rgba(16, 42, 113, 0.16);
  backdrop-filter: none;
}
.cp-head .ap-chip.is-org { border-color: rgba(16, 42, 113, 0.3); color: var(--navy); }
.cp-head .ap-chip.is-org:hover { background: rgba(16, 42, 113, 0.06); }
.cp-head .ap-chip.is-status.is-soon { color: #177a3c; background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.45); }
.cp-head .ap-chip.is-status.is-live { color: #8a6c00; background: rgba(245, 196, 0, 0.16); border-color: rgba(214, 158, 0, 0.5); }
.cp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-block: 10px 36px;
}
.cp-hero-media { position: relative; margin: 0; }
.cp-hero-media-box {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--ap-shadow-lg);
  border: 1px solid rgba(245, 196, 0, 0.3);
  background:
    radial-gradient(420px 220px at 18% 0%, rgba(245, 196, 0, 0.22), transparent 60%),
    linear-gradient(135deg, var(--cp-a, #001840), var(--cp-b, #102a71));
  cursor: zoom-in;
}
.cp-hero-media-img {
  display: block;
  width: 100%;
  height: auto;
}
.cp-hero-media-box.is-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  max-height: 410px;
  cursor: default;
}
.cp-hero-media-tag {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 26, 69, 0.88);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}
.cp-hero-media-tag svg { color: var(--gold); }

/* نوار جزئیات دوره (مثل کد/شروع/مدت/مکان در وبینار) — کارت روشن و مرتب */
.cp-detbar { padding-block: 10px; }
.cp-detbar-in {
  display: flex;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--ap-shadow-card);
  padding: 4px;
  overflow: hidden;
}
.cp-det {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  flex: 1 1 200px;
  min-inline-size: 0;
  border-inline-start: 1px dashed rgba(16, 42, 113, 0.14);
  transition: background 0.2s ease;
}
.cp-det:first-child { border-inline-start: 0; }
.cp-det:hover { background: rgba(16, 42, 113, 0.035); }
.cp-det-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 196, 0, 0.18);
  border: 1px solid rgba(214, 158, 0, 0.35);
  color: var(--navy);
}
.cp-det-ico svg { width: 20px; height: 20px; }
.cp-det > span:last-child { min-inline-size: 0; }
.cp-det b { display: block; color: #6b7a9f; font-size: 0.72rem; font-weight: 600; }
.cp-det i {
  display: block;
  color: var(--navy-dark);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

/* تب‌ها (بدون JS) */
.cp-tabs { margin-block: 6px 0; }
.cp-tabbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-block-end: 2px solid rgba(16, 42, 113, 0.12);
  margin-block-end: 22px;
}
.cp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  color: #5a6a8f;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  border: 0;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cp-tab-btn svg { color: #9ca9c8; }
.cp-tab-panel { display: none; }
.cp-tab-panel.is-empty { padding: 4px 0 0; }
.cp-tab-radio:checked ~ .cp-tab-panel { display: none; }
.cp-tab-radio:nth-of-type(1):checked ~ .cp-tab-panel[data-cp-tab-panel="0"] { display: block; }
.cp-tab-radio:nth-of-type(2):checked ~ .cp-tab-panel[data-cp-tab-panel="1"] { display: block; }
.cp-tab-radio:nth-of-type(3):checked ~ .cp-tab-panel[data-cp-tab-panel="2"] { display: block; }
.cp-tab-radio:nth-of-type(4):checked ~ .cp-tab-panel[data-cp-tab-panel="3"] { display: block; }
.cp-tab-radio:nth-of-type(5):checked ~ .cp-tab-panel[data-cp-tab-panel="4"] { display: block; }
.cp-tab-radio:nth-of-type(6):checked ~ .cp-tab-panel[data-cp-tab-panel="5"] { display: block; }
.cp-tab-radio:nth-of-type(7):checked ~ .cp-tab-panel[data-cp-tab-panel="6"] { display: block; }
.cp-tab-radio:nth-of-type(8):checked ~ .cp-tab-panel[data-cp-tab-panel="7"] { display: block; }
.cp-tab-radio:nth-of-type(9):checked ~ .cp-tab-panel[data-cp-tab-panel="8"] { display: block; }
.cp-tab-radio:nth-of-type(10):checked ~ .cp-tab-panel[data-cp-tab-panel="9"] { display: block; }
.cp-tab-radio:nth-of-type(1):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(1),
.cp-tab-radio:nth-of-type(2):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(2),
.cp-tab-radio:nth-of-type(3):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(3),
.cp-tab-radio:nth-of-type(4):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(4),
.cp-tab-radio:nth-of-type(5):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(5),
.cp-tab-radio:nth-of-type(6):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(6),
.cp-tab-radio:nth-of-type(7):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(7),
.cp-tab-radio:nth-of-type(8):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(8),
.cp-tab-radio:nth-of-type(9):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(9),
.cp-tab-radio:nth-of-type(10):checked ~ .cp-tabbar .cp-tab-btn:nth-of-type(10) {
  color: var(--navy);
  background: rgba(245, 196, 0, 0.2);
  box-shadow: inset 0 2.5px 0 var(--gold);
}

/* جدول قیمت‌ها / بلیت‌ها (مثل «بلیت‌های وبینار») */
.cp-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.cp-price {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--ap-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.cp-price::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #102a71, #081a45);
}
.cp-price.is-hot { border-color: rgba(245, 196, 0, 0.7); }
.cp-price.is-hot::before { background: var(--gold); }
.cp-price-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold);
  color: #1c1a05;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.cp-price-head { border-block-end: 1px dashed var(--line); padding-block-end: 14px; }
.cp-price-head h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.02rem; }
.cp-price-val {
  display: block;
  color: #9a7b00;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cp-price-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.cp-price-feats li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #47587b;
  font-size: 0.9rem;
}
.cp-price-feats svg { color: #10a54a; flex: 0 0 auto; margin-top: 3px; }
.cp-price-cta {
  margin-block-start: auto;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* هیرو در موبایل: تصویر اول، اطلاعات بعد */
@media (max-width: 900px) {
  .cp-hero { grid-template-columns: 1fr; gap: 24px; }
  .cp-hero-media { order: -1; }
  .cp-hero-media-box { max-height: none; aspect-ratio: auto; }
  .cp-hero-media-box.is-art { max-height: 300px; aspect-ratio: 3 / 2; }
  .cp-det { flex: 1 1 46%; padding: 12px 14px; }
  .cp-det:first-child { border-inline-start: 0; }
  .cp-tab-panel[data-cp-tab-panel] { display: block !important; }
  .cp-tabbar { display: none; }
}

.cp-title { max-width: 780px; color: var(--navy-dark); }
.cp-subtitle {
  color: #43527a;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 10px 0 6px;
  max-width: 720px;
}
.cp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 4px;
}
.cp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #59688c;
  font-size: 0.87rem;
}
.cp-meta-item svg { color: var(--navy); width: 17px; height: 17px; flex: 0 0 auto; }
.cp-meta-item b { color: var(--navy-dark); font-weight: 700; }
.cp-hero-back,
.cp-hero-back:hover { color: var(--navy); }

/* کارت بلیت/ثبت‌نام (نوار کنار) */
.cp-ticket {
  position: relative;
  border: 1px solid rgba(245, 196, 0, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2466, #081a45 70%);
  box-shadow: var(--ap-shadow-lg);
  color: #eef1fa;
  margin-block-end: 22px;
}
.cp-ticket-media {
  display: block;
  aspect-ratio: 388 / 140;
  background: linear-gradient(135deg, var(--cp-a, #001840), var(--cp-b, #102a71));
  overflow: hidden;
}
.cp-ticket-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cp-ticket-media.is-art {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
}
.cp-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 10px;
}
.cp-ticket-cat {
  font-size: 0.82rem;
  color: #cdd5ec;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
}
.cp-ticket-price {
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.cp-ticket-facts {
  list-style: none;
  margin: 0;
  padding: 0 18px 14px;
  display: grid;
  gap: 9px;
}
.cp-ticket-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #dfe4f5;
}
.cp-ticket-facts svg { color: var(--gold); }
.cp-ticket-cta {
  display: flex;
  width: calc(100% - 36px);
  margin: 0 18px 12px;
  box-sizing: border-box;
  justify-content: center;
}
.cp-ticket-back {
  display: block;
  text-align: center;
  padding: 4px 18px 16px;
  font-size: 0.85rem;
  color: #b9c4e4;
}
.cp-ticket-back:hover { color: var(--gold); }
.cp-teacher-card .cp-tch-avatar { display: block; }

/* کارت مدرس */
.cp-teacher {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 4px 0;
}
.cp-tch-media { flex: 0 0 auto; }
.cp-tch-avatar {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(245, 196, 0, 0.4);
}
.cp-tch-avatar.is-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #102a71, #081a45);
}
.cp-tch-info { min-width: 0; }
.cp-tch-kicker {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--navy);
  background: rgba(245, 196, 0, 0.22);
  border-radius: 999px;
  padding: 2px 10px;
  margin-block-end: 6px;
}
.cp-tch-name { margin: 0 0 4px; color: var(--navy); font-size: 1.1rem; }
.cp-tch-role { margin: 0 0 6px; color: #5a6a8f; font-size: 0.88rem; }
.cp-tch-bio { margin: 0 0 8px; color: #47587b; font-size: 0.9rem; line-height: 1.75; }
.cp-tch-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 0.85rem; }
.cp-tch-link:hover { color: #08123a; text-decoration: underline; }

/* سرفصل‌ها: زمان‌بندی مثل تایم‌لاین وبینار */
.cp-schedule { position: relative; margin-block-start: 4px; }
.cp-sched {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
.cp-sched::before {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #102a71, rgba(245, 196, 0, 0.6));
  opacity: 0.35;
}
.cp-sched-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-block-end: 1px dashed var(--line);
  position: relative;
}
.cp-sched-item:last-child { border-block-end: 0; }
.cp-sched-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #102a71, #081a45);
  box-shadow: 0 0 0 5px rgba(16, 42, 113, 0.12);
  z-index: 1;
}
.cp-sched-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}
.cp-sched-title h4 { margin: 0; color: var(--navy); font-size: 1.02rem; }
.cp-sched-tags { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.cp-sched-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #415379;
  background: var(--ap-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.cp-sched-tag.is-time svg { color: var(--navy); }
.cp-sched-tag.is-dur svg { color: #9a7b00; }
.cp-sched-note { margin: 6px 0 0; color: #5a6a8f; font-size: 0.9rem; line-height: 1.8; }

/* مخاطبین: دو ستون برای/برایِ ... (الگوی ایسمینار) */
.cp-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cp-aud-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: var(--ap-shadow-card);
}
.cp-aud-col.is-good { border-color: rgba(16, 165, 74, 0.35); }
.cp-aud-col.is-bad { border-color: rgba(225, 60, 60, 0.3); }
.cp-aud-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: var(--navy);
}
.cp-aud-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.is-good .cp-aud-ico { background: #10a54a; }
.is-bad .cp-aud-ico { background: #e13c3c; }
.cp-aud-col ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 7px; }
.cp-aud-col li { color: #47587b; font-size: 0.92rem; line-height: 1.7; }
.cp-aud-col.is-bad li { opacity: 0.85; }

/* دوره‌های مرتبط */
.cp-related { margin-block-start: 8px; }
.ap-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.cp-rel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ap-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cp-rel:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 196, 0, 0.55);
  box-shadow: var(--ap-shadow-lg);
}
.cp-rel-media {
  display: block;
  aspect-ratio: 388 / 150;
  background: linear-gradient(135deg, #001840, #102a71);
  overflow: hidden;
}
.cp-rel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-rel-media.is-art {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.cp-rel-body { padding: 0 14px 14px; display: grid; gap: 5px; }
.cp-rel-cat { font-size: 0.72rem; color: var(--navy); background: rgba(16, 42, 113, 0.08); border-radius: 999px; padding: 2px 10px; width: fit-content; }
.cp-rel-body b { color: var(--navy); font-size: 0.98rem; line-height: 1.5; }
.cp-rel-body small { color: #9a7b00; font-weight: 700; }

@media (max-width: 1020px) {
  .ap-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cp-audience { grid-template-columns: 1fr; }
  .cp-ticket {
    position: relative;
    inset-inline: auto;
    top: auto;
    border-radius: 0;
    margin: -10px -18px 18px;
    display: grid;
    grid-template-columns: 110px 1fr;
  }
  .cp-ticket-media { aspect-ratio: auto; height: 100%; min-height: 110px; }
  .cp-ticket-head { padding: 12px 14px 4px; }
  .cp-ticket-facts { padding: 4px 14px 8px; }
  .cp-ticket-cta { width: calc(100% - 28px); margin: 0 14px 8px; }
  .cp-ticket-back { display: none; }
}
@media (max-width: 560px) {
  .ap-related-grid { grid-template-columns: 1fr; }
  .cp-meta { gap: 7px 12px; }
  .cp-sched-item { grid-template-columns: 36px 1fr; gap: 10px; }
  .cp-sched::before { inset-inline-start: 14px; }
  .cp-hero { padding-block: 4px 20px; }
  .cp-det { flex: 1 1 100%; }
}
