/*! سکان‌بازار — Phase 11: dossier archive, multimedia, single video — v1.0.5
 * Source of truth: Dossier & Multimedia canvas. Tokens from tokens.css.
 * Scoped under template roots .sb-dvp / .sb-mmp / .sb-vsp and loop items
 * .sb-card--dvrow / --ig / --vrow. Class prefixes dv- / mm- / vs- are new
 * (checked against the live CSS, 1 Oct 2026).
 */

/* ===== Shared ===== */
.sb-dvp .ie-sr,.sb-mmp .ie-sr,.sb-vsp .ie-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.dv-path{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;font-size:14px;line-height:22px;font-weight:500}
.dv-path>li{display:inline-flex;align-items:center;gap:6px}
.dv-path>li+li::before{content:"›";color:inherit;opacity:.7}
.dv-pnote{margin:0;font-size:14px;line-height:22px;color:var(--muted)}
.dv-note{font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
.sb-dvp .ie-icon,.sb-mmp .ie-icon,.sb-vsp .ie-icon,.sb-card--ig .ie-icon{width:18px;height:18px;flex:none}
.mm-dur{position:absolute;inset-block-end:8px;inset-inline-end:8px;display:inline-flex;align-items:center;height:22px;padding-inline:6px;border-radius:4px;background:var(--primary);color:#fff;font-size:12px;line-height:18px;font-weight:700;font-variant-numeric:tabular-nums}

/* ===== Dossier: cover band ===== */
.sb-dvp .dv-cover{position:relative;overflow:hidden;background:#334155;color:var(--on-primary)}
.sb-dvp .dv-cover>.dv-cover__layer{position:absolute;inset:0;margin:0;z-index:0}
.sb-dvp .dv-cover__layer>.elementor-widget-container,.sb-dvp .dv-cover__layer .dv-cover__img{position:absolute;inset:0}
.sb-dvp .dv-cover__img img{display:block;width:100%;height:100%;object-fit:cover}
.sb-dvp .dv-cover__tint{position:absolute;inset:0;background:linear-gradient(270deg,#111827f5 0%,#111827db 48%,#1118278c 100%)}
.sb-dvp .dv-cover__in{position:relative;z-index:1}
.sb-dvp .dv-cover__in>.e-con-inner{min-height:440px;box-sizing:border-box;padding-block:28px 40px;justify-content:space-between;gap:24px}
.sb-dvp .dv-cover__row{align-items:flex-end;justify-content:space-between;gap:48px}
.sb-dvp .dv-cover__txt{max-width:760px;gap:16px}
.sb-dvp .dv-crumbs .dv-path{color:var(--on-primary-muted)}
html .sb-dvp .dv-crumbs .dv-path a{color:var(--accent-on-dark);text-decoration:none}
html .sb-dvp .dv-crumbs .dv-path a:hover{text-decoration:underline}
.sb-dvp .dv-crumbs [aria-current]{color:var(--on-primary)}
.dv-labels{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.dv-lbl{display:inline-flex;align-items:center;gap:6px;height:28px;padding-inline:10px;border:1px solid var(--accent-on-dark);border-radius:4px;color:var(--accent-on-dark);font-size:12px;line-height:18px;font-weight:700}
.dv-lbl .ie-icon{width:14px;height:14px}
html .sb-dvp a.dv-cat{font-size:14px;line-height:22px;font-weight:500;color:var(--on-primary);text-decoration:underline;text-decoration-color:#ffffff59;text-underline-offset:4px}
html .sb-dvp a.dv-cat:hover{color:var(--accent-on-dark)}
html .sb-dvp .dv-h1 .elementor-heading-title{margin:0;color:var(--on-primary);text-wrap:balance}
.sb-dvp .dv-ctx p{margin:0;font-size:16px;line-height:28px;color:var(--on-primary)}
.sb-dvp .dv-ctx p+p{margin-top:8px}
.dv-meta{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;line-height:22px;font-weight:500;color:var(--on-primary-muted)}
.dv-meta .ie-icon{width:16px;height:16px}
.dv-meta b{color:var(--on-primary);font-weight:700}
.dv-actions{display:flex;gap:8px;flex:none}
html .sb-dvp .dv-dbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding-inline:16px;border:1px solid #ffffff59;border-radius:4px;background:transparent;color:var(--on-primary);font:inherit;font-size:14px;line-height:22px;font-weight:500;text-decoration:none;cursor:pointer;white-space:nowrap;box-sizing:border-box}
html .sb-dvp .dv-dbtn:hover,html .sb-dvp .dv-dbtn:focus-visible{background:var(--accent-on-dark);border-color:var(--accent-on-dark);color:var(--primary)}
html .sb-dvp .dv-dbtn:focus-visible{outline:2px solid var(--accent-on-dark);outline-offset:2px}
html .sb-dvp .dv-dbtn--icon{width:40px;padding:0}

/* ===== Dossier: body ===== */
.sb-dvp .dv-main>.e-con-inner{padding-block:40px 64px;gap:48px}
.dv-head{display:flex;align-items:center;gap:12px}
.dv-headico{display:inline-flex;align-items:center;gap:8px}
.dv-headico .ie-icon{width:20px;height:20px;color:var(--accent)}
.dv-note--end{margin-inline-start:auto}
.sb-dvp .dv-keygrid{padding-top:24px}
.sb-dvp .dv-key .elementor-widget-theme-post-featured-image{position:relative}
.sb-dvp .dv-key .elementor-widget-theme-post-featured-image::after{content:"کلیدی";position:absolute;inset-block-start:12px;inset-inline-start:12px;display:inline-flex;align-items:center;height:24px;padding-inline:8px;border-radius:4px;background:var(--primary);color:var(--on-primary);font-size:12px;line-height:18px;font-weight:700;pointer-events:none}
.sb-dv-nokey .sb-dvp .dv-key{display:none}

.sb-dvp .dv-cols{align-items:flex-start;gap:24px}
.sb-dvp .dv-col-tl{flex:0 0 264px;width:264px;position:sticky;top:72px}
.admin-bar .sb-dvp .dv-col-tl{top:104px}
.sb-dvp .dv-col-list{flex:1 1 0;min-width:0}
.sb-dvp .dv-col-side{flex:0 0 300px;width:300px;gap:32px}
.dv-box{display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
html .dv-boxh{margin:0;font-size:20px;line-height:28px;font-weight:700;color:var(--primary)}
.dv-tlhead{display:flex;flex-direction:column;gap:2px;position:relative}
.dv-tltoggle{display:none}
.dv-tl{margin:0;padding:0;list-style:none}
.dv-tl>li{position:relative;padding-inline-start:26px;padding-bottom:20px}
.dv-tl>li::before{content:"";position:absolute;inset-inline-start:5px;inset-block-start:10px;inset-block-end:-6px;width:2px;background:var(--border)}
.dv-tl>li:last-child{padding-bottom:0}
.dv-tl>li:last-child::before{display:none}
.dv-tl>li::after{content:"";position:absolute;inset-inline-start:0;inset-block-start:4px;width:12px;height:12px;box-sizing:border-box;border-radius:9999px;background:var(--bg);border:2px solid var(--accent)}
.dv-tl>li.is-new::after{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.dv-tl .d{display:flex;align-items:center;gap:6px;font-size:12px;line-height:20px;font-weight:700;color:var(--accent-hover)}
.dv-tl .d time{font-variant-numeric:tabular-nums}
html .dv-tl a,.dv-tl .t{display:block;margin-top:2px;font-size:14px;line-height:22px;font-weight:500;color:var(--text);text-decoration:none}
html .dv-tl a:hover{color:var(--accent);text-decoration:underline}
.dv-new{display:inline-flex;align-items:center;height:18px;padding-inline:6px;border-radius:4px;background:var(--accent);color:var(--on-accent);font-size:11px;line-height:18px;font-weight:700}

.sb-dvp .dv-filters{gap:12px;padding-block:16px;border-bottom:1px solid var(--border)}
.dv-types{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html .dv-types a.dv-tp{display:inline-flex;align-items:center;gap:6px;height:32px;padding-inline:12px;border:1px solid var(--border);border-radius:4px;background:var(--bg);color:var(--text);font-size:14px;line-height:22px;font-weight:500;text-decoration:none;white-space:nowrap}
html .dv-types a.dv-tp:hover{border-color:var(--accent);color:var(--accent)}
.dv-tp .c{font-size:12px;line-height:18px;color:var(--muted);font-variant-numeric:tabular-nums}
html .dv-types a.dv-tp[aria-current]{background:var(--primary);border-color:var(--primary);color:var(--on-primary);font-weight:700}
html .dv-types a.dv-tp[aria-current] .c{color:var(--on-primary-muted)}
.dv-sortrow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.dv-sortg{display:flex;align-items:center;gap:8px}
.dv-sortlbl{display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:22px;font-weight:500;color:var(--muted)}
.dv-sortlbl .ie-icon{width:16px;height:16px}
.dv-seg{display:inline-flex;border:1px solid var(--border-input);border-radius:4px;overflow:hidden}
html .dv-seg a{display:inline-flex;align-items:center;height:32px;padding-inline:12px;background:var(--bg);font-size:14px;line-height:22px;font-weight:500;color:var(--text);text-decoration:none;white-space:nowrap}
.dv-seg a+a{border-inline-start:1px solid var(--border-input)}
html .dv-seg a:hover{background:var(--accent-soft);color:var(--accent-hover)}
html .dv-seg a[aria-current]{background:var(--accent);color:var(--on-accent);font-weight:700}
.sb-dv-nolist .sb-dvp .dv-filters{display:none}

/* List + load more */
.sb-dvp .dv-list .elementor-loop-container{row-gap:0!important}
.sb-dvp .dv-list .e-loop-nothing-found-message{padding-block:32px;color:var(--muted);font-size:16px;line-height:28px}
.sb-dvp .dv-list .e-load-more-anchor+.elementor-button-wrapper,.sb-dvp .dv-list .elementor-button-wrapper{margin-top:8px;padding-top:24px;border-top:1px solid var(--border);display:flex;justify-content:center}
.sb-dvp .dv-list .e-load-more-pagination-end .elementor-button-wrapper,.sb-dvp .dv-list.e-load-more-pagination-end .elementor-button-wrapper{display:none}
html .sb-dvp .dv-list .elementor-button{height:44px;padding:0 24px;border:1px solid var(--primary);border-radius:4px;background:transparent;color:var(--primary);font-size:16px;font-weight:700;line-height:42px}
html .sb-dvp .dv-list .elementor-button:hover,html .sb-dvp .dv-list .elementor-button:focus-visible{background:var(--primary);color:var(--on-primary)}
.sb-dvp .dv-progress{text-align:center;margin-top:8px}

/* Loop item card-dossier-row */
.sb-card--dvrow{display:flex;flex-direction:column}
html .sb-card--dvrow .dv-mh{display:flex;align-items:center;gap:12px;margin:0;padding-block:24px 0;font-size:14px;line-height:22px;font-weight:700;color:var(--primary)}
html .sb-card--dvrow .dv-mh::after{content:"";flex:1;height:1px;background:var(--border)}
.sb-card--dvrow .dv-mh .c{font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
.sb-card--dvrow .dv-month-w:has(.dv-mh)+.dv-row{border-top:0}
.sb-card--dvrow .dv-row{align-items:flex-start;gap:20px;padding-block:20px;border-top:1px solid var(--border)}
.e-loop-item:first-of-type .sb-card--dvrow .dv-row{border-top:0}
.sb-card--dvrow .dv-month-w:not(:has(.dv-mh)){display:none}
.sb-card--dvrow .dv-row__media{flex:0 0 176px;width:176px}
.sb-card--dvrow .dv-row__media img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;border-radius:4px}
.sb-card--dvrow .dv-row__body{flex:1 1 0;min-width:0;gap:8px}
html .sb-card--dvrow .dv-row__title .elementor-heading-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0}
html .sb-card--dvrow .dv-row__title a{color:inherit;text-decoration:none}
html .sb-card--dvrow .dv-row__title a:hover{color:var(--accent)}
.sb-card--dvrow .ie-meta .elementor-heading-title{font-size:14px;line-height:22px;font-weight:400;color:var(--muted)}

/* Related dossiers + side */
.dv-rel{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.dv-rel>li{padding-block:12px;border-bottom:1px solid var(--border)}
.dv-rel>li:first-child{padding-top:0}
.dv-rel>li:last-child{border-bottom:0;padding-bottom:0}
html .dv-rel a.dv-relc{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:start;text-decoration:none}
.dv-relc__media{grid-row:span 2;width:88px;aspect-ratio:3/2;overflow:hidden;border-radius:4px;background:var(--border)}
.dv-relc__media img{display:block;width:100%;height:100%;object-fit:cover}
.dv-relc .t{font-size:16px;line-height:24px;font-weight:700;color:var(--primary)}
html .dv-rel a.dv-relc:hover .t{color:var(--accent)}
.dv-relc .m{font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
html .dv-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:22px;font-weight:700;color:var(--accent);text-decoration:none}
.sb-dvp .dv-sticky{position:sticky;top:72px}
.admin-bar .sb-dvp .dv-sticky{top:104px}
.sb-dvp .dv-ad-m{display:none}
.sb-dvp .elementor-widget-shortcode:not(:has(*)){display:none}

/* ===== Dossier ≤1024: one column; order = design phone order ===== */
@media (max-width:1024px){
	.sb-dvp .dv-cols{display:contents}
	.sb-dvp .dv-main>.e-con-inner{gap:32px}
	.sb-dvp .dv-ad-m{order:0}
	.sb-dvp .dv-col-tl{order:1;position:static;flex:none;width:100%}
	.sb-dvp .dv-key{order:2}
	.sb-dvp .dv-col-list{order:3;flex:none;width:100%}
	.sb-dvp .dv-col-side{order:4;flex:none;width:100%}
	.sb-dvp .dv-sticky{display:none}
}
@media (max-width:767px){
	.sb-dvp .dv-cover__tint{background:linear-gradient(0deg,#111827fa 0%,#111827e6 55%,#11182799 100%)}
	.sb-dvp .dv-cover__in>.e-con-inner{min-height:0;padding:20px 16px 24px;gap:16px}
	.sb-dvp .dv-cover__row{flex-direction:column;align-items:stretch;gap:16px}
	.sb-dvp .dv-labels{margin-top:40px}
	html .sb-dvp .dv-h1 .elementor-heading-title{font-size:32px;line-height:40px}
	.sb-dvp .dv-actions{width:100%}
	html .sb-dvp .dv-dbtn{height:44px}
	html .sb-dvp .dv-dbtn--follow{flex:1}
	html .sb-dvp .dv-dbtn--icon{width:44px}
	.sb-dvp .dv-main>.e-con-inner{padding:24px 16px 48px}
	.sb-dvp .dv-ad-m{display:flex;justify-content:center}
	/* timeline = accordion */
	.sb-dvp .dv-tlbox{padding:0 16px 20px;gap:16px}
	.dv-tlhead{flex-direction:row;align-items:center;gap:8px;min-height:56px;border-bottom:1px solid var(--border)}
	.dv-tlhead .dv-boxh{font-size:16px;line-height:24px}
	.dv-tlhead .dv-note{margin-inline-start:auto}
	.dv-tltoggle{display:inline-grid;place-items:center;position:static;width:44px;height:44px;margin-inline-end:-12px;padding:0;border:0;background:transparent;color:var(--primary);cursor:pointer}
	.dv-tltoggle::after{content:"";position:absolute;inset:0}
	.dv-tltoggle[aria-expanded="true"] .ie-icon{transform:rotate(180deg)}
	.dv-tlbox:has(.dv-tl[hidden]){padding-bottom:0}
	.dv-tlbox:has(.dv-tl[hidden]) .dv-tlhead{border-bottom:0}
	/* key posts = horizontal strip */
	.sb-dvp .dv-keygrid{padding-top:16px}
	.sb-dvp .dv-keygrid .elementor-loop-container{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:-16px;padding-inline:16px;position:relative}
	.sb-dvp .dv-keygrid .elementor-loop-container>.e-loop-item{flex:0 0 280px;width:280px;scroll-snap-align:start}
	.dv-types{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding-inline:16px}
	.dv-types>li{flex:none}
	html .dv-types a.dv-tp{height:40px}
	.dv-sortrow{flex-direction:column;align-items:flex-start;gap:8px}
	html .dv-seg a{height:40px}
	.sb-card--dvrow .dv-row{gap:12px;padding-block:16px}
	.sb-card--dvrow .dv-row__media{flex-basis:120px;width:120px}
	.sb-card--dvrow .dv-row__media img{border-radius:0}
	html .sb-card--dvrow .dv-row__title .elementor-heading-title{font-size:16px;line-height:24px;-webkit-line-clamp:3}
	.sb-card--dvrow .dv-row__author{display:none}
}

/* ===== Multimedia ===== */
.sb-mmp .mm-band{background:var(--surface)}
.sb-mmp .mm-band>.e-con-inner{padding-top:24px;gap:16px}
.mm-crumbs .dv-path{color:var(--muted)}
html .mm-crumbs .dv-path a{color:var(--accent);text-decoration:none}
html .mm-crumbs .dv-path a:hover{text-decoration:underline}
.mm-crumbs [aria-current]{color:var(--text)}
.mm-titles{display:flex;flex-direction:column;gap:8px;margin-top:16px}
html .sb-mmp .mm-h1{margin:0;font-size:40px;line-height:48px;font-weight:800;color:var(--primary);text-wrap:balance}
.mm-desc{margin:0;font-size:16px;line-height:28px;color:var(--muted)}
.mm-tabs{display:flex;margin:16px 0 -1px;padding:0;list-style:none;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}
.mm-tabs>li{flex:none}
html .mm-tabs a.mm-tab{display:inline-flex;align-items:center;gap:6px;height:48px;padding-inline:20px;font-size:16px;line-height:24px;font-weight:500;color:var(--text);text-decoration:none}
html .mm-tabs a.mm-tab .ie-icon{width:20px;height:20px}
html .mm-tabs a.mm-tab:hover{color:var(--accent)}
html .mm-tabs a.mm-tab[aria-current]{color:var(--primary);font-weight:700;box-shadow:inset 0 -3px 0 var(--accent)}
.mm-tab .c{font-size:12px;line-height:18px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.sb-mmp .mm-main>.e-con-inner{padding-block:32px 64px;gap:32px}
.sb-mmp .mm-bar{align-items:center;justify-content:space-between;gap:16px}
.sb-mmp .mm-bar .elementor-widget-taxonomy-filter{flex:1 1 auto;min-width:0}
.sb-mmp .e-filter{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none}
html .sb-mmp .e-filter-item{display:inline-flex;align-items:center;height:36px;padding-inline:16px;border:1px solid var(--border);border-radius:4px;background:var(--bg);color:var(--text);font:inherit;font-size:14px;line-height:22px;font-weight:500;white-space:nowrap;cursor:pointer}
html .sb-mmp .e-filter-item:hover{border-color:var(--accent);color:var(--accent)}
html .sb-mmp .e-filter-item[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:700}
.sb-mm--video .sb-mmp .sb-mm-only-info,.sb-mm--info .sb-mmp .sb-mm-only-video{display:none}
.sb-mmp .mm-vgrid .elementor-loop-container{row-gap:40px!important}
.sb-mmp .mm-igrid .elementor-loop-container{row-gap:32px}
.sb-mmp .e-loop-nothing-found-message{padding-block:32px;color:var(--muted);font-size:16px;line-height:28px}
html .sb-mmp .elementor-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}
html .sb-mmp .elementor-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding-inline:12px;border:1px solid var(--border);border-radius:4px;color:var(--text);text-decoration:none;font-size:14px;font-weight:500;box-sizing:border-box}
html .sb-mmp .elementor-pagination .page-numbers.current{background:var(--primary);border-color:var(--primary);color:var(--on-primary);font-weight:700}
html .sb-mmp .elementor-pagination a.page-numbers:hover{border-color:var(--accent);color:var(--accent)}
html .sb-mmp .elementor-pagination .page-numbers.dots{border:0}
.sb-mmp .elementor-button-wrapper{display:flex;justify-content:center;margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}
.sb-mmp .e-load-more-pagination-end .elementor-button-wrapper{display:none}
html .sb-mmp .elementor-button{height:44px;padding:0 24px;border:1px solid var(--primary);border-radius:4px;background:transparent;color:var(--primary);font-size:16px;font-weight:700;line-height:42px}
html .sb-mmp .elementor-button:hover{background:var(--primary);color:var(--on-primary)}
.sb-mmp .mm-ad{display:flex;justify-content:center}

/* Infographic card (loop item card-infographic-mm) */
.mm-ig{display:flex;flex-direction:column;gap:8px;min-width:0}
html .mm-ig .mm-ig__open{position:relative;display:block;border-radius:8px;overflow:hidden;cursor:zoom-in;line-height:0}
.mm-ig .mm-ig__img{display:block;width:100%;height:auto}
.mm-ig__ph{display:block;aspect-ratio:3/4;background:var(--border)}
.mm-zoom{position:absolute;inset-block-start:8px;inset-inline-end:8px;display:grid;place-items:center;width:36px;height:36px;border-radius:4px;background:var(--bg);border:1px solid var(--border);color:var(--primary);box-sizing:border-box}
.mm-ig__open:hover .mm-zoom,.mm-ig__open:focus-visible .mm-zoom{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.mm-ig__open:hover,.mm-ig__open:focus-visible{box-shadow:inset 0 0 0 3px var(--accent)}
.mm-ig__open:hover .mm-ig__img,.mm-ig__open:focus-visible .mm-ig__img{outline:3px solid var(--accent);outline-offset:-3px}
html .mm-ig .mm-ig__t{margin:0;font-size:16px;line-height:24px;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html .mm-ig .mm-ig__t a{color:var(--primary);text-decoration:none}
html .mm-ig .mm-ig__t a:hover{color:var(--accent)}
.mm-ig .ie-meta{flex-wrap:wrap}

@media (max-width:767px){
	.sb-mmp .mm-band>.e-con-inner{padding:16px 16px 0}
	html .sb-mmp .mm-h1{font-size:28px;line-height:36px}
	.mm-desc{font-size:14px;line-height:22px}
	html .mm-tabs a.mm-tab{padding-inline:14px;font-size:15px}
	.sb-mmp .mm-main>.e-con-inner{padding:20px 16px 48px;gap:20px}
	.sb-mmp .mm-bar{flex-direction:column;align-items:stretch;gap:8px}
	.sb-mmp .mm-bar .e-filter{margin-inline:-16px;padding-inline:16px}
	html .sb-mmp .e-filter-item{height:44px}
	.sb-mmp .mm-vgrid .elementor-loop-container{row-gap:24px!important}
	.sb-mmp .mm-igrid .elementor-loop-container{column-gap:12px!important;row-gap:20px}
	html .mm-ig .mm-ig__t{font-size:14px;line-height:22px;-webkit-line-clamp:3}
	.mm-zoom{width:32px;height:32px}
}

/* ===== Single video ===== */
.sb-vsp .vs-main>.e-con-inner{padding-block:24px 64px;gap:24px}
.sb-vsp .vs-cols{align-items:flex-start;gap:24px}
.sb-vsp .vs-art{flex:0 0 calc((100% - 264px)/12*8 + 168px);width:calc((100% - 264px)/12*8 + 168px);min-width:0;gap:20px}
.sb-vsp .vs-side{flex:1 1 0;min-width:0;gap:32px}
.vs-pl{position:relative;aspect-ratio:16/9;background:#1E293B;overflow:hidden;border-radius:8px;color:#fff}
.vs-pl__poster,.vs-pl__poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vs-pl__poster::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#1118278c 0%,#11182700 50%)}
.vs-pl__big{position:absolute;inset:0;display:grid;place-items:center}
.vs-pl__big button{display:grid;place-items:center;width:80px;height:80px;padding:0;border:0;border-radius:9999px;background:var(--accent);color:#fff;cursor:pointer;box-shadow:0 0 0 8px #0f766e40}
.vs-pl__big button:hover,.vs-pl__big button:focus-visible{background:var(--accent-hover)}
.vs-pl__big button:focus-visible{outline:3px solid var(--accent-on-dark);outline-offset:4px}
.vs-pl .mm-pi{width:34px;height:34px;fill:currentColor;transform:translateX(3px)}
[dir=rtl] .vs-pl .mm-pi{transform:translateX(3px)}
.vs-pl__via{position:absolute;inset-block-end:12px;inset-inline-start:12px;font-size:12px;line-height:18px;font-weight:500;color:#E2E8F0}
.vs-pl iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vs-pl--still{margin:0}
.vs-pl--still img{width:100%;height:100%;object-fit:cover;display:block}
.sb-vsp .vs-kick{align-items:center;gap:8px;flex-wrap:wrap}
.vs-fmt{display:inline-flex;align-items:center;gap:6px;height:24px;padding-inline:8px;border-radius:4px;background:var(--primary);color:var(--on-primary);font-size:12px;line-height:18px;font-weight:700}
.vs-fmt .ie-icon{width:14px;height:14px}
html .sb-vsp .vs-h1 .elementor-heading-title{margin:0;text-wrap:balance}
html .sb-vsp .vs-lead .elementor-heading-title{margin:0;font-size:18px;line-height:32px;font-weight:500;color:var(--text)}
.sb-vsp .vs-bar{align-items:center;justify-content:space-between;gap:16px;padding-block:16px;border-block:1px solid var(--border);flex-wrap:wrap}
html .sb-vsp .vs-desc p{margin:0 0 12px;font-size:16px;line-height:28px;color:var(--text)}
html .sb-vsp .vs-desc p:last-child{margin-bottom:0}
.vs-dur{font-size:14px;line-height:22px;color:var(--muted)}
.vs-tr{border-top:1px solid var(--border)}
.vs-acc{display:flex;align-items:center;gap:8px;width:100%;min-height:56px;padding:0;border:0;background:transparent;font:inherit;color:var(--primary);cursor:pointer;text-align:start}
.vs-acc .k{display:inline-flex;align-items:center;gap:8px;font-size:16px;line-height:24px;font-weight:700}
.vs-acc .v{margin-inline-start:auto;font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
.vs-acc[aria-expanded="true"] .vs-acc__chev{transform:rotate(180deg)}
.vs-acc:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.vs-tr__body p{margin:0 0 12px;font-size:16px;line-height:28px;color:var(--text)}
.sb-vsp .vs-rel .elementor-loop-container{row-gap:0!important}
.vs-rc{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:12px;align-items:start;padding-block:12px;border-bottom:1px solid var(--border)}
.sb-vsp .vs-rel .e-loop-item:first-of-type .vs-rc{padding-top:0}
.sb-vsp .vs-rel .e-loop-item:last-child .vs-rc{border-bottom:0;padding-bottom:0}
html .vs-rc .vs-rc__media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:4px;background:var(--border)}
.vs-rc__media img{display:block;width:100%;height:100%;object-fit:cover}
.vs-rc .mm-dur{inset-block-end:4px;inset-inline-end:4px;height:20px;font-size:11px}
.vs-rc__b{display:flex;flex-direction:column;gap:4px;min-width:0}
html .vs-rc .vs-rc__t{margin:0;font-size:14px;line-height:22px;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html .vs-rc .vs-rc__t a{color:var(--primary);text-decoration:none}
html .vs-rc .vs-rc__t a:hover{color:var(--accent)}
.vs-next{display:none;font-size:12px;line-height:18px;font-weight:700;color:var(--accent-hover)}
.sb-vsp .vs-rel .e-loop-item:first-of-type .vs-next{display:block}
.sb-vsp .vs-rel .e-loop-item:first-of-type .vs-rc__media{box-shadow:inset 0 0 0 2px var(--accent)}
.sb-vsp .vs-rel .e-loop-nothing-found-message{color:var(--muted)}
.sb-vsp .elementor-widget-shortcode:not(:has(*)){display:none}

@media (max-width:1024px){
	.sb-vsp .vs-cols{flex-direction:column}
	.sb-vsp .vs-art,.sb-vsp .vs-side{flex:none;width:100%}
}
@media (max-width:767px){
	.sb-vsp .vs-main>.e-con-inner{padding:16px 0 48px;gap:16px}
	.sb-vsp .vs-crumbs{padding-inline:16px}
	.sb-vsp .vs-art{padding-inline:16px;box-sizing:border-box}
	html body .sb-vsp .vs-art>.elementor-widget.vs-player-w{margin-inline:-16px;max-width:none;width:calc(100% + 32px)}
	.sb-vsp .vs-side{padding-inline:16px;box-sizing:border-box}
	.vs-pl{border-radius:0}
	html .sb-vsp .vs-h1 .elementor-heading-title{font-size:24px;line-height:32px}
	html .sb-vsp .vs-lead .elementor-heading-title{font-size:16px;line-height:28px}
	.vs-rc{grid-template-columns:144px minmax(0,1fr)}
}

/* ===== v1.0.1 (live check 2 Oct) ===== */
.sb-dvp .e-loop-nothing-found-message:empty,.sb-mmp .e-loop-nothing-found-message:empty,.sb-vsp .e-loop-nothing-found-message:empty{display:none}
.dv-empty{margin:0;padding-block:32px;font-size:16px;line-height:28px;color:var(--muted)}
.sb-mmp .mm-empty{padding-block:0}
.sb-dvp .elementor-widget-shortcode:has(.dv-empty){display:block}
.sb-mmp .mm-ad{flex-direction:column;align-items:center}
.sb-mmp .mm-ad>.elementor-widget{width:100%}
html body .sb-dvp button.dv-tltoggle,html body .sb-dvp button.dv-tltoggle:hover,html body .sb-dvp button.dv-tltoggle:focus{background:transparent;border:0;box-shadow:none;color:var(--primary);padding:0}
html body .sb-dvp button.dv-tltoggle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@media (max-width:767px){
	/* v1.0.2: Elementor's per-element rule (0,4,0) reads the global var; redefine it on the widget */
	.sb-dvp .dv-h1{--e-global-typography-primary-font-size:32px;--e-global-typography-primary-line-height:40px}
}

/* ===== v1.0.3: /dossier/ index (page «پرونده‌ها», [sb_dv_index]) ===== */
.sb-dvx-page #content>.ast-container{max-width:none;padding:0}
.sb-dvx .dvx-band{background:var(--surface);border-bottom:1px solid var(--border)}
.sb-dvx .dvx-wrap{width:100%;max-width:1200px;margin-inline:auto;box-sizing:border-box}
.sb-dvx .dvx-band .dvx-wrap{padding:24px 0 32px;display:flex;flex-direction:column;gap:8px}
.sb-dvx .mm-titles{margin-top:8px}
html .sb-dvx .mm-h1{margin:0;font-size:40px;line-height:48px;font-weight:800;color:var(--primary);text-wrap:balance}
.sb-dvx .dvx-count{margin-top:8px}
.sb-dvx .dvx-main{padding:40px 0 64px}
.dvx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px;margin:0;padding:0;list-style:none}
.dvx-card{display:flex;flex-direction:column;gap:10px;min-width:0}
html .sb-dvx a.dvx-media{position:relative;display:block;aspect-ratio:3/2;overflow:hidden;border-radius:8px;background:#334155;text-decoration:none}
.dvx-img{display:block;width:100%;height:100%;object-fit:cover}
.dvx-media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#1118278c 0%,#11182700 55%)}
.dvx-lbl{position:absolute;inset-block-end:12px;inset-inline-start:12px;z-index:1;background:#111827cc}
html .sb-dvx .dvx-t{margin:4px 0 0;font-size:20px;line-height:28px;font-weight:700}
html .sb-dvx .dvx-t a{color:var(--primary);text-decoration:none}
html .sb-dvx .dvx-t a:hover,html .sb-dvx .dvx-t a:focus-visible{color:var(--accent);text-decoration:underline}
html .sb-dvx .dvx-card:has(.dvx-t a:hover) .dvx-media{box-shadow:inset 0 0 0 3px var(--accent)}
.dvx-intro{margin:0;font-size:14px;line-height:22px;color:var(--text);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.dvx-meta{margin:0;font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
@media (max-width:1247px){.sb-dvx .dvx-wrap{padding-inline:24px}.sb-dvx .dvx-band .dvx-wrap{padding-inline:24px}}
@media (max-width:1024px){.dvx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
	.sb-dvx .dvx-wrap,.sb-dvx .dvx-band .dvx-wrap{padding-inline:16px}
	.sb-dvx .dvx-band .dvx-wrap{padding-block:16px 24px}
	html .sb-dvx .mm-h1{font-size:28px;line-height:36px}
	.sb-dvx .dvx-main{padding-block:24px 48px}
	.dvx-grid{grid-template-columns:minmax(0,1fr);gap:28px}
	html .sb-dvx .dvx-t{font-size:18px;line-height:28px}
}

/* ===== v1.0.5 (content test 2 Oct) ===== */
.sb-card--dvrow .dv-row__media a{display:block}
@media (max-width:767px){
	.sb-card--dvrow .dv-row__title{--e-global-typography-h4-font-size:16px;--e-global-typography-h4-line-height:24px}
	html body .sb-card--dvrow .elementor-widget.dv-row__author{display:none}
}
