/* ==========================================================================
   مجلهٔ سلامت آرکامد — طراحی «ضربان»
   سربرگِ EKG + بدنهٔ تایپوگرافیِ مجله‌ای + ریلِ چسبان + کارت‌های مجله
   ========================================================================== */

.bl-single,
.bl-archive { background: var(--canvas); }

/* ---------- نوار پیشرفتِ مطالعه ---------- */
.bl-prog {
	position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 60;
	background: transparent; pointer-events: none;
}
.bl-prog i {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, var(--petrol), var(--pulse));
	box-shadow: 0 0 12px rgba(255, 59, 78, .5);
	transition: width .1s linear;
}

/* ---------- مسیر (breadcrumb) ---------- */
.bl-crumbs { border-block-end: 1px solid var(--line); background: var(--card); }
.bl-crumbs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-block: 13px; font-size: 12.5px; }
.bl-crumbs a { color: var(--txt2); font-weight: 600; transition: color .15s; }
.bl-crumbs a:hover { color: var(--petrol); }
.bl-crumbs .sep { color: #B7C7D0; }
.bl-crumbs .cur {
	color: var(--txt); font-weight: 700; max-width: 46ch;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- سربرگِ ضربان ---------- */
.bl-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 62%, #0d4a67 100%);
	color: #fff;
	padding-block: clamp(40px, 6.4vw, 78px);
	isolation: isolate;
}
.bl-hero::before { /* گریدِ نقشه‌ای */
	content: ''; position: absolute; inset: 0; z-index: -2; opacity: .5;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 30%, transparent 78%);
	mask-image: radial-gradient(120% 100% at 80% 0%, #000 30%, transparent 78%);
}
.bl-hero-glow {
	position: absolute; z-index: -1; inset-block-start: -40%; inset-inline-end: -12%;
	width: 62%; height: 180%;
	background: radial-gradient(closest-side, rgba(15, 166, 142, .28), transparent 70%),
		radial-gradient(closest-side, rgba(255, 59, 78, .16), transparent 72%);
	filter: blur(6px); pointer-events: none;
}
.bl-ekg {
	position: absolute; z-index: -1; inset-inline: 0; inset-block-end: 0; height: 60%;
	display: block; opacity: .5; pointer-events: none;
}
.bl-ekg svg { width: 100%; height: 100%; display: block; }
.bl-ekg path { fill: none; stroke: rgba(15, 166, 142, .75); stroke-width: 2; }

.bl-kicker {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
	color: #7FE0CC; margin-block-end: 16px;
	font-family: 'JBMono', monospace; direction: ltr;
}
.bl-kicker .dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--pulse);
	box-shadow: 0 0 0 4px rgba(255, 59, 78, .22); animation: bl-beat 1.7s infinite;
}
@keyframes bl-beat { 0%, 70%, 100% { transform: scale(1); } 35% { transform: scale(1.35); } }
.bl-hero h1 {
	font-family: 'Estedad'; font-weight: 900; line-height: 1.3;
	font-size: clamp(26px, 4.2vw, 50px); letter-spacing: -.01em;
	max-width: 24ch; text-wrap: balance;
}
.bl-hero--index h1 { font-size: clamp(30px, 5vw, 58px); }
.bl-hero--index p, .bl-hero--post + .bl-main p.bl-lede {
	margin-block-start: 16px; max-width: 62ch; font-size: clamp(14px, 1.5vw, 17px);
	line-height: 2; color: #C7DEE9;
}
.bl-hero--index p { margin-block-start: 16px; max-width: 62ch; font-size: clamp(14px, 1.5vw, 17px); line-height: 2; color: #C7DEE9; }

/* بلوکِ عنوانِ سربرگ مقاله */
.bl-tb {
	display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px;
}
.bl-tb .f {
	display: flex; flex-direction: column; gap: 3px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px; padding: 11px 16px; backdrop-filter: blur(4px);
}
.bl-tb .f i { font-style: normal; font-size: 11px; color: #8FC6DD; }
.bl-tb .f b { font-size: 13.5px; font-weight: 700; color: #fff; }

/* ---------- بدنه ---------- */
.bl-main { padding-block: clamp(28px, 4vw, 52px); }
.bl-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 316px;
	gap: clamp(24px, 3.4vw, 46px); align-items: start;
}

/* ---------- کاورِ مقاله ---------- */
.bl-cover {
	margin: 0 0 30px; border-radius: var(--r-l); overflow: hidden;
	border: 1px solid var(--line); box-shadow: var(--shadow-m);
	background: var(--petrol-soft); position: relative;
}
.bl-cover img { display: block; width: 100%; height: auto; }
.bl-cover::after { /* هایلایتِ ظریف بالای کاور */
	content: ''; position: absolute; inset: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); border-radius: inherit; pointer-events: none;
}

/* ==========================================================================
   تایپوگرافیِ بدنهٔ مقاله (bl-doc) — هستهٔ مجله‌ای‌کردنِ محتوای خام
   ========================================================================== */
.bl-doc {
	font-size: 16.5px; line-height: 2.15; color: #223c4b;
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r-l); padding: clamp(20px, 3.4vw, 46px);
	box-shadow: var(--shadow-s);
}
.bl-doc > *:first-child { margin-block-start: 0 !important; }
.bl-doc p { margin: 0 0 18px; }
.bl-doc a {
	color: var(--petrol); font-weight: 600;
	text-decoration: underline; text-decoration-color: rgba(14, 99, 144, .3);
	text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .15s;
}
.bl-doc a:hover { color: var(--pulse); text-decoration-color: rgba(255, 59, 78, .4); }
.bl-doc strong, .bl-doc b { font-weight: 800; color: var(--ink); }

/* سرتیترها — پلاکِ ضربان */
.bl-doc h2, .bl-doc h3, .bl-doc h4 {
	font-family: 'Estedad'; font-weight: 900; color: var(--ink);
	line-height: 1.55; scroll-margin-block-start: 140px; position: relative;
}
.bl-doc h2 {
	font-size: clamp(20px, 2.5vw, 27px); margin: 40px 0 16px;
	padding-inline-start: 16px;
}
.bl-doc h2::before {
	content: ''; position: absolute; inset-inline-start: 0; inset-block: 4px auto;
	top: .18em; height: .82em; width: 5px; border-radius: 5px;
	background: linear-gradient(var(--pulse), var(--petrol));
}
.bl-doc h3 {
	font-size: clamp(17px, 2vw, 21px); margin: 30px 0 12px;
	padding-inline-start: 14px;
}
.bl-doc h3::before {
	content: ''; position: absolute; inset-inline-start: 0; top: .28em;
	height: .68em; width: 4px; border-radius: 4px; background: var(--petrol);
}
.bl-doc h4 { font-size: 17px; margin: 24px 0 10px; }

/* لیست‌ها */
.bl-doc ul, .bl-doc ol { margin: 0 0 20px; padding-inline-start: 4px; list-style: none; }
.bl-doc li { position: relative; padding-inline-start: 30px; margin-block-end: 11px; }
.bl-doc ul > li::before {
	content: ''; position: absolute; inset-inline-start: 6px; top: .72em;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--pulse); box-shadow: 0 0 0 4px rgba(255, 59, 78, .12);
}
.bl-doc ol { counter-reset: bl; }
.bl-doc ol > li { counter-increment: bl; }
.bl-doc ol > li::before {
	content: counter(bl); position: absolute; inset-inline-start: 0; top: .2em;
	width: 22px; height: 22px; border-radius: 7px;
	background: var(--petrol-soft); color: var(--petrol);
	font-family: 'JBMono', monospace; font-weight: 700; font-size: 12px;
	display: grid; place-items: center;
}
.bl-doc li ul, .bl-doc li ol { margin-block: 10px 6px; }

/* تصاویرِ درون‌متنی */
.bl-doc img {
	max-width: 100%; height: auto; border-radius: var(--r-m);
	border: 1px solid var(--line); box-shadow: var(--shadow-s);
	display: block; margin: 22px auto;
}
.bl-doc p > img, .bl-doc a > img { margin: 6px auto; }
.bl-doc figure { margin: 24px 0; }
.bl-doc figure img { margin: 0 auto; }
.bl-doc figcaption { text-align: center; font-size: 12.5px; color: var(--txt2); margin-block-start: 9px; }

/* نقل‌قول */
.bl-doc blockquote {
	margin: 24px 0; padding: 18px 22px; border-radius: 16px;
	background: var(--petrol-soft); border: 1px solid #cfe4ef;
	border-inline-start: 4px solid var(--petrol);
	font-size: 17px; color: var(--ink); font-weight: 500;
}
.bl-doc blockquote p:last-child { margin-block-end: 0; }

/* جدول */
.bl-doc table {
	width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px;
	border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
	display: block; overflow-x: auto;
}
.bl-doc thead th, .bl-doc tr th {
	background: var(--ink); color: #fff; font-weight: 700; text-align: start;
	padding: 12px 14px; white-space: nowrap;
}
.bl-doc td { padding: 11px 14px; border-block-start: 1px solid var(--line); }
.bl-doc tbody tr:nth-child(even) td { background: #f6fafc; }

.bl-doc hr { border: 0; border-block-start: 1px dashed var(--line); margin: 30px 0; }

/* «فهرست مطالب»ِ درون‌متنی — فقط موبایل (دسکتاپ ریلِ چسبان دارد) */
.bl-inline-toc {
	margin: 0 0 26px; padding: 18px 20px; border-radius: var(--r-m);
	background: linear-gradient(160deg, var(--petrol-soft), #fff); border: 1px solid #cfe4ef;
}
.bl-inline-toc > p:first-child {
	font-family: 'Estedad'; font-weight: 900; font-size: 15px; color: var(--ink);
	margin: 0 0 10px; padding-inline-start: 14px; position: relative;
}
.bl-inline-toc > p:first-child::before {
	content: ''; position: absolute; inset-inline-start: 0; top: .12em; height: .8em; width: 4px;
	border-radius: 4px; background: var(--pulse);
}
.bl-inline-toc > p:first-child strong { font-weight: 900; color: var(--ink); }
.bl-inline-toc img { display: none; } /* تصویرِ تکراریِ داخلِ باکسِ فهرست */
.bl-inline-toc ol, .bl-inline-toc ul { margin: 0; }
@media (min-width: 1001px) { .bl-single .bl-inline-toc { display: none; } }

/* امبدِ ویدئوِ آپارات (ریسپانسیو) */
.bl-video {
	position: relative; padding-block-end: 56.25%; height: 0; margin: 24px 0;
	border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line);
	box-shadow: var(--shadow-s); background: var(--ink);
}
.bl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- ریلِ محصولاتِ زنده درونِ مقاله ---------- */
.bl-prods {
	margin: 34px 0; padding: 22px; border-radius: var(--r-l);
	background: linear-gradient(160deg, #f2f9fc, var(--card));
	border: 1px solid var(--line);
}
.bl-prodhead { display: flex; flex-direction: column; gap: 4px; margin-block-end: 16px; }
.bl-prodhead .k {
	font-family: 'JBMono', monospace; font-size: 11px; color: var(--pulse);
	font-weight: 700; letter-spacing: .04em; direction: ltr;
}
.bl-prodhead b { font-family: 'Estedad'; font-weight: 900; font-size: 18px; color: var(--ink); }
.bl-prodgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bl-pc {
	display: grid; grid-template-columns: 84px 1fr; gap: 13px; align-items: center;
	background: var(--card); border: 1px solid var(--line); border-radius: 16px;
	padding: 12px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bl-pc:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #bcd8e6; }
.bl-pc .im {
	position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden;
	background: var(--petrol-soft); display: grid; place-items: center; flex-shrink: 0;
}
.bl-pc .im img { width: 100%; height: 100%; object-fit: cover; }
.bl-pc .im .vb {
	position: absolute; inset-block-end: 5px; inset-inline-start: 5px;
	background: rgba(7, 41, 58, .82); color: #fff; font-size: 9.5px; font-weight: 700;
	padding: 2px 7px; border-radius: 999px;
}
.bl-pc .bd { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bl-pc .nm {
	font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-pc .pr { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.bl-pc .pr b { font-family: 'JBMono', monospace; font-weight: 700; font-size: 15px; color: var(--petrol); direction: ltr; }
.bl-pc .pr span { font-size: 11px; color: var(--txt2); }
.bl-pc .pr .ask { font-family: 'Vazirmatn'; font-size: 13px; color: var(--txt2); }
.bl-pc .pr .oos { font-size: 11px; color: var(--pulse); font-weight: 700; }
.bl-pc .go {
	display: inline-flex; align-items: center; gap: 4px; margin-block-start: 2px;
	font-size: 12.5px; font-weight: 700; color: var(--petrol);
}
.bl-pc .go svg { width: 14px; height: 14px; }
.bl-pc:hover .go { color: var(--pulse); }

/* ---------- پاورقیِ مقاله: برچسب‌ها + هم‌رسانی ---------- */
.bl-foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 18px; margin-block-start: 26px; padding-block-start: 22px;
	border-block-start: 1px dashed var(--line);
}
.bl-tags, .bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bl-tags .tk, .bl-share .tk { font-size: 12px; font-weight: 700; color: var(--txt2); margin-inline-end: 2px; }
.bl-tags a {
	font-size: 12.5px; font-weight: 600; color: var(--petrol);
	background: var(--petrol-soft); padding: 6px 12px; border-radius: 999px; transition: .15s;
}
.bl-tags a:hover { background: var(--petrol); color: #fff; }
.bl-share a, .bl-share button {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12.5px; font-weight: 700; color: var(--txt);
	background: var(--card); border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px;
	transition: .15s;
}
.bl-share a svg, .bl-share button svg { width: 15px; height: 15px; }
.bl-share .tg:hover { color: #229ED9; border-color: #229ED9; }
.bl-share .wa:hover { color: #25D366; border-color: #25D366; }
.bl-share .cp:hover { color: var(--petrol); border-color: var(--petrol); }
.bl-share .cp.ok { color: var(--teal); border-color: var(--teal); }

/* ---------- ریلِ چسبان: فهرست + مشاوره ---------- */
.bl-rail { position: sticky; inset-block-start: 140px; display: flex; flex-direction: column; gap: 18px; }
.bl-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; box-shadow: var(--shadow-s); }
.bl-toc .th { display: flex; align-items: center; gap: 9px; margin-block-end: 12px; }
.bl-toc .th .pl { width: 9px; height: 9px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 0 4px rgba(255, 59, 78, .14); }
.bl-toc .th b { font-family: 'Estedad'; font-weight: 900; font-size: 15px; color: var(--ink); }
.bl-toc ol { list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 2px; }
.bl-toc li { counter-increment: t; }
.bl-toc li.lv-h3 { padding-inline-start: 16px; }
.bl-toc a {
	display: flex; gap: 9px; padding: 8px 10px; border-radius: 10px;
	font-size: 13px; font-weight: 600; color: var(--txt2); line-height: 1.6; transition: .15s;
	border-inline-start: 2px solid transparent;
}
.bl-toc li.lv-h2 > a::before {
	content: counter(t, decimal); font-family: 'JBMono', monospace; font-size: 11px;
	color: var(--petrol); font-weight: 700; flex-shrink: 0;
}
.bl-toc a:hover { color: var(--petrol); background: var(--petrol-soft); }
.bl-toc a.on { color: var(--petrol); background: var(--petrol-soft); border-inline-start-color: var(--pulse); }

.bl-cta {
	position: relative; overflow: hidden;
	background: linear-gradient(165deg, var(--ink), var(--ink-2)); color: #fff;
	border-radius: var(--r-l); padding: 22px 20px; box-shadow: var(--shadow-m);
}
.bl-cta .ekg { position: absolute; inset-inline: 0; inset-block-start: 0; height: 40px; color: rgba(15, 166, 142, .5); opacity: .8; pointer-events: none; }
.bl-cta .ekg svg { width: 100%; height: 100%; display: block; }
.bl-cta .t { display: block; font-size: 12px; color: #8FC6DD; font-weight: 700; margin-block-start: 12px; }
.bl-cta b { display: block; font-family: 'Estedad'; font-weight: 900; font-size: 19px; margin-block: 6px 8px; }
.bl-cta p { font-size: 13px; line-height: 1.95; color: #C7DEE9; margin-block-end: 16px; }
.bl-cta .assist, .bl-cta .call, .bl-cta .shop {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; border-radius: 13px; font-weight: 800; font-size: 14px; transition: .18s;
}
.bl-cta .assist svg, .bl-cta .call svg { width: 18px; height: 18px; }
.bl-cta .assist {
	background: linear-gradient(90deg, var(--pulse), var(--pulse-deep)); color: #fff;
	padding: 13px; box-shadow: 0 8px 22px rgba(255, 59, 78, .32); margin-block-end: 9px;
}
.bl-cta .assist:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 59, 78, .42); }
.bl-cta .call {
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
	padding: 12px; direction: ltr; margin-block-end: 9px; font-family: 'JBMono', monospace;
}
.bl-cta .call:hover { background: rgba(255, 255, 255, .16); }
.bl-cta .shop { color: #9FD3E6; font-size: 13px; font-weight: 700; }
.bl-cta .shop:hover { color: #fff; }

/* ---------- ناوبریِ قبلی/بعدی ---------- */
.bl-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-start: 36px; }
.bl-nav a {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
	padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; transition: .2s;
}
.bl-nav a.nx { text-align: start; align-items: flex-start; }
.bl-nav a:not(.nx) { grid-column: 1; }
.bl-nav a.nx { grid-column: 2; }
.bl-nav a:hover { border-color: #bcd8e6; box-shadow: var(--shadow-m); transform: translateY(-2px); }
.bl-nav span { font-size: 12px; color: var(--petrol); font-weight: 700; }
.bl-nav b {
	font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.7;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- مطالب مرتبط + آرشیو: کارت‌های مجله ---------- */
.bl-rel { margin-block-start: 46px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bl-grid--lg { grid-template-columns: repeat(3, 1fr); }

.bl-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l);
	box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.bl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: #cfe4ef; }
.bl-card .th {
	position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
	background: var(--petrol-soft);
}
.bl-card .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bl-card:hover .th img { transform: scale(1.06); }
.bl-card .th .scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(7, 41, 58, .58) 0%, rgba(7, 41, 58, .12) 34%, transparent 60%);
}
.bl-card .cat {
	position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 2;
	background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(4px);
	font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
	box-shadow: 0 2px 8px rgba(7, 41, 58, .18);
}
.bl-card .rd {
	position: absolute; inset-block-end: 11px; inset-inline-end: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 5px;
	color: #fff; font-size: 11.5px; font-weight: 700;
}
.bl-card .rd svg { width: 14px; height: 14px; stroke: #fff; }
.bl-card .bd { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bl-card .dt { font-size: 11.5px; color: var(--txt2); font-family: 'Vazirmatn'; font-weight: 600; }
.bl-card h2, .bl-card h3 {
	font-family: 'Estedad'; font-weight: 900; font-size: 16px; color: var(--ink); line-height: 1.68;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card p {
	font-size: 13px; color: var(--txt2); line-height: 1.95;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card .more {
	margin-block-start: auto; display: inline-flex; align-items: center; gap: 5px;
	font-size: 12.5px; font-weight: 700; color: var(--petrol);
}
.bl-card .more svg { width: 14px; height: 14px; }
.bl-card:hover .more { color: var(--pulse); }

/* کارتِ شاخص (اولین مقالهٔ آرشیو) — تمام‌عرض */
.bl-card--feat { grid-column: 1 / -1; flex-direction: row; }
.bl-card--feat .th { width: 54%; aspect-ratio: auto; flex-shrink: 0; }
.bl-card--feat .th .scrim { background: linear-gradient(to top, rgba(7, 41, 58, .5), transparent 55%); }
.bl-card--feat .bd { flex: 1; justify-content: center; padding: clamp(20px, 3vw, 40px); gap: 12px; }
.bl-card--feat h2 { font-size: clamp(20px, 2.4vw, 30px); -webkit-line-clamp: 3; }
.bl-card--feat p { font-size: 14.5px; -webkit-line-clamp: 3; }

/* ---------- صفحه‌بندی ---------- */
.bl-pag { margin-block-start: 34px; }
.bl-pag .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bl-pag .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--card); border: 1px solid var(--line); border-radius: 12px;
	font-weight: 700; font-size: 14px; color: var(--txt); transition: .15s;
}
.bl-pag .page-numbers:hover { border-color: var(--petrol); color: var(--petrol); }
.bl-pag .page-numbers.current {
	background: linear-gradient(90deg, var(--petrol), var(--ink-2)); color: #fff; border-color: transparent;
}
.bl-pag .page-numbers.dots { border: 0; background: none; }

/* ---------- حالتِ خالی ---------- */
.bl-empty {
	text-align: center; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r-l); padding: 56px 24px; box-shadow: var(--shadow-s);
}
.bl-empty .ic {
	width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px;
	background: var(--petrol-soft); display: grid; place-items: center;
}
.bl-empty .ic svg { width: 30px; height: 30px; stroke: var(--petrol); }
.bl-empty b { display: block; font-family: 'Estedad'; font-weight: 900; font-size: 19px; color: var(--ink); margin-block-end: 8px; }
.bl-empty p { color: var(--txt2); font-size: 14px; }

/* ==========================================================================
   ریسپانسیو
   ========================================================================== */
@media (max-width: 1000px) {
	.bl-layout { grid-template-columns: 1fr; }
	.bl-rail { position: static; flex-direction: column; }
	.bl-toc { display: none; } /* در موبایل، فهرستِ داخلِ مقاله کافی است */
	.bl-cta { margin-block-start: 4px; }
}
@media (max-width: 860px) {
	.bl-grid, .bl-grid--lg { grid-template-columns: repeat(2, 1fr); }
	.bl-card--feat { flex-direction: column; }
	.bl-card--feat .th { width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
	.bl-grid, .bl-grid--lg { grid-template-columns: 1fr; }
	.bl-prodgrid { grid-template-columns: 1fr; }
	.bl-nav { grid-template-columns: 1fr; }
	.bl-nav a, .bl-nav a.nx { grid-column: 1 !important; }
	.bl-doc { padding: 18px 15px; font-size: 16px; }
	.bl-tb .f { flex: 1 1 42%; }
	.bl-foot { flex-direction: column; align-items: flex-start; }
}
