/* سلايدر الرئيسية الجديد */
.drz-hero { padding: 26px 0 30px; background: linear-gradient(180deg, #fff 0%, #f3f5f8 100%); border-bottom: 1px solid #e3e7ec; }
.drz-hero-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }

.drz-hero-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1e2328; box-shadow: 0 20px 44px rgba(30, 35, 40, .22); isolation: isolate; }
.drz-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.drz-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
.drz-hero-media { position: absolute; inset: 0; display: block; }
.drz-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 7s ease-out; }
.drz-hero-slide.is-active .drz-hero-media img { transform: scale(1.1); }
.drz-hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 14, 20, .92) 0%, rgba(10, 14, 20, .55) 38%, rgba(10, 14, 20, 0) 68%), linear-gradient(270deg, rgba(10, 14, 20, .35) 0%, rgba(10, 14, 20, 0) 50%); }
.drz-hero-copy { position: absolute; right: 0; left: 0; bottom: 0; padding: 0 34px 74px; color: #fff; z-index: 2; }
.drz-hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.drz-hero-slide.is-active .drz-hero-copy > * { opacity: 1; transform: none; }
.drz-hero-slide.is-active .drz-hero-copy > :nth-child(2) { transition-delay: .12s; }
.drz-hero-slide.is-active .drz-hero-copy > :nth-child(3) { transition-delay: .22s; }
.drz-hero-slide.is-active .drz-hero-copy > :nth-child(4) { transition-delay: .32s; }
.drz-hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.drz-hero-cat { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: #c8323c; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none !important; }
.drz-hero-cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: drzHeroDot 1.6s ease-in-out infinite; }
@keyframes drzHeroDot { 50% { opacity: .35; } }
.drz-hero-meta time { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 700; }
.drz-hero-copy h2 { margin: 0; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.35; font-weight: 800; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.drz-hero-copy h2 a { color: #fff !important; -webkit-text-fill-color: #fff !important; text-decoration: none !important; background: linear-gradient(#fff, #fff) 100% 100% / 0 2px no-repeat; transition: background-size .35s ease; }
.drz-hero-copy h2 a:hover { background-size: 100% 2px; }
.drz-hero-copy p { margin: 10px 0 0; max-width: 680px; color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drz-hero-read { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 20px; border-radius: 999px; background: #fff; color: #1e2328 !important; -webkit-text-fill-color: #1e2328 !important; font-weight: 800; text-decoration: none !important; transition: background-color .2s ease, color .2s ease, gap .2s ease; }
.drz-hero-read:hover { background: #c8323c; color: #fff !important; -webkit-text-fill-color: #fff !important; gap: 14px; }

.drz-hero-controls { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.drz-hero-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s ease; }
.drz-hero-btn:hover { background: rgba(255, 255, 255, .3); }
.drz-hero-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.drz-hero-btn .i-pause, .drz-hero-btn .i-play { fill: #fff; stroke: none; }
.drz-hero-btn .i-play { display: none; }
.drz-hero.is-paused .drz-hero-btn .i-play { display: block; }
.drz-hero.is-paused .drz-hero-btn .i-pause { display: none; }
.drz-hero-count { color: #fff; font-size: 14px; font-weight: 700; margin-inline-start: 6px; opacity: .9; }
.drz-hero-count b { font-size: 18px; }

/* القايمة الجانبية */
.drz-hero-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 8px; }
.drz-hero-list li { min-height: 0; }
.drz-hero-item { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 7px; border: 1px solid #e1e5ea; border-radius: 14px; background: #fff; cursor: pointer; text-align: right; font: inherit; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.drz-hero-item:hover { border-color: #c9d1db; transform: translateX(-3px); box-shadow: 0 8px 18px rgba(30, 35, 40, .08); }
.drz-hero-item.is-active { border-color: #c8323c; box-shadow: 0 10px 22px rgba(200, 50, 60, .14); }
.drz-hero-thumb { height: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #e9edf2; max-height: 74px; }
.drz-hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drz-hero-item-text { display: grid; gap: 3px; min-width: 0; }
.drz-hero-item-text em { font-style: normal; font-size: 12px; font-weight: 800; color: #1f66c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drz-hero-item.is-active .drz-hero-item-text em { color: #c8323c; }
.drz-hero-item-text strong { font-size: 15px; line-height: 1.5; color: #1e2328; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drz-hero-progress { position: absolute; right: 0; left: 0; bottom: 0; height: 3px; background: transparent; }
.drz-hero-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c8323c, #e0525b); margin-inline-start: 0; }
.drz-hero-item.is-running .drz-hero-progress i { animation: drzHeroBar var(--drz-hero-dur, 6500ms) linear forwards; }
@keyframes drzHeroBar { from { width: 0; } to { width: 100%; } }

@media (max-width: 1024px) {
	.drz-hero-grid { grid-template-columns: 1fr; }
	.drz-hero-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.drz-hero-list li { flex: 0 0 72%; max-width: 320px; scroll-snap-align: start; }
	.drz-hero-item { min-height: 84px; }
}
@media (max-width: 640px) {
	.drz-hero { padding: 14px 0 18px; }
	.drz-hero-stage { aspect-ratio: 4 / 3.4; border-radius: 16px; }
	.drz-hero-copy { padding: 0 18px 66px; }
	.drz-hero-copy p { display: none; }
	.drz-hero-read { padding: 8px 16px; font-size: 14px; margin-top: 12px; }
	.drz-hero-controls { left: 12px; bottom: 14px; }
	.drz-hero-btn { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.drz-hero-media img, .drz-hero-slide, .drz-hero-copy > * { transition: none !important; transform: none !important; }
}

/* ---------- القائمة الثابتة وانت نازل ---------- */
.drz-nav-spacer { display: none; }
body.drz-nav-fixed .drz-nav-spacer { display: block; }
@media (min-width: 901px) {
	:is(html,#drzb) body.drz-nav-fixed nav.drzos-nyt-nav {
		position: fixed !important; top: 0 !important; right: 0 !important; left: 0 !important; z-index: 9990 !important; margin: 0 !important;
		padding: 8px 0 !important; background: rgba(255, 255, 255, .94) !important; backdrop-filter: saturate(1.4) blur(10px);
		box-shadow: 0 8px 24px rgba(30, 35, 40, .12) !important; border-bottom: 1px solid #e1e5ea !important;
		animation: drzNavIn .35s ease;
	}
	:is(html,#drzb) body.admin-bar.drz-nav-fixed nav.drzos-nyt-nav { top: 32px !important; }
	:is(html,#drzb) body.drz-nav-fixed nav.drzos-nyt-nav ul.drzos-nyt-menu > li > a { padding: 8px 12px !important; font-size: 15px !important; }
}
@keyframes drzNavIn { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- الهيدر: مسافات أنضف ---------- */
@media (min-width: 901px) {
	:is(html,#drzb) body:is(body,#drzx) header.drzos-nyt-brand { padding-top: 14px !important; padding-bottom: 14px !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-brand-card { border-radius: 18px !important; box-shadow: 0 14px 34px rgba(30, 35, 40, .14) !important; overflow: hidden; }
	:is(html,#drzb) body:is(body,#drzx) nav.drzos-nyt-nav { padding: 10px 0 !important; }
}

/* القايمة الجانبية للسلايدر بطول الشريحة بالظبط */
@media (min-width: 1025px) {
	.drz-hero-list { contain: size; height: 100%; grid-template-rows: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
	.drz-hero-thumb { max-height: none; }
}

/* ---------- الفوتر ---------- */
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer {
	position: relative; overflow: hidden;
	background: radial-gradient(50% 120% at 100% 0%, rgba(31, 102, 194, .08) 0%, rgba(31, 102, 194, 0) 70%), radial-gradient(40% 120% at 0% 100%, rgba(200, 50, 60, .06) 0%, rgba(200, 50, 60, 0) 70%), linear-gradient(180deg, #f1f4f7 0%, #e8ecf1 100%) !important;
	border-top: 0 !important; color: #3d4650 !important;
}
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, #1f66c2, #566372 50%, #c8323c); }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer h3 { color: #141920 !important; -webkit-text-fill-color: #141920 !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-brand-mini p { color: #4a535e !important; -webkit-text-fill-color: #4a535e !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer :is(.drzos-footer-links-row, .drzos-footer-social-row) a {
	background: #fff !important; border: 1px solid #d9dfe6 !important; color: #1e2328 !important; -webkit-text-fill-color: #1e2328 !important; box-shadow: 0 2px 6px rgba(30, 35, 40, .05) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-links-row a:hover { background: #4b5562 !important; border-color: #4b5562 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-social-row a:hover { background: #1f66c2 !important; border-color: #1f66c2 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-nyt-copy {
	background: linear-gradient(180deg, #3b444f 0%, #2e353e 100%) !important; border-top: 0 !important; border-radius: 0 !important; color: #c9d0d8 !important; margin-top: 28px !important;
}
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-nyt-copy :is(div, p, span, small) { color: #c9d0d8 !important; -webkit-text-fill-color: #c9d0d8 !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-nyt-copy :is(a, button) { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; background: transparent !important; border: 0 !important; opacity: .92; text-decoration: none !important; padding: 4px 6px !important; font-weight: 600 !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-nyt-copy :is(a, button):hover { color: #ffb9be !important; -webkit-text-fill-color: #ffb9be !important; opacity: 1; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-legal-row { gap: 6px 14px !important; }
:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-legal-row > * + *::before { content: none !important; }


/* ---------- v3: الموبايل ---------- */
@media (max-width: 700px) {
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline { padding: 8px 0 !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline > .drzos-nyt-shell { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; align-items: center !important; justify-content: space-between !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline .drzos-nyt-date { display: none !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline nav.drzos-nyt-toplinks { order: 1; width: 100% !important; display: flex !important; flex-wrap: nowrap !important; gap: 6px !important; overflow-x: auto; scrollbar-width: none; justify-content: center !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline nav.drzos-nyt-toplinks::-webkit-scrollbar { display: none; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline nav.drzos-nyt-toplinks > a { flex: 0 0 auto; font-size: 13px !important; padding: 6px 12px 6px 10px !important; white-space: nowrap !important; min-height: 0 !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline form.drzos-nyt-search { order: 2; width: 100% !important; margin: 0 !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline form.drzos-nyt-search input { height: 38px !important; font-size: 14px !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-topline form.drzos-nyt-search button { height: 38px !important; padding: 0 16px !important; }
	:is(html,#drzb) body:is(body,#drzx) header.drzos-nyt-brand { padding: 10px 0 !important; }
	:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-brand-card { border-radius: 14px !important; }
	/* بلوكات الرئيسية */
	:is(html,#drzb) :is(body,#drzx) .drz-ytb-panel { padding: 18px 14px !important; border-radius: 18px !important; }
	:is(html,#drzb) body:is(body,#drzx) #drzos-main-content a.drzos-nyt-flash-strip strong { font-size: 20px !important; }
	:is(html,#drzb) body:is(body,#drzx) #drzos-main-content .drzos-files-tabs { overflow-x: auto; flex-wrap: nowrap !important; justify-content: flex-start !important; scrollbar-width: none; }
	:is(html,#drzb) body:is(body,#drzx) #drzos-main-content .drzos-files-tabs a { flex: 0 0 auto; }
	/* الفوتر */
	:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-links-row { grid-template-columns: 1fr 1fr !important; }
	:is(html,#drzb) body:is(body,#drzx) footer.drzos-nyt-footer .drzos-footer-legal-row { justify-content: center !important; font-size: 13px; }
}

/* sticky fix: overflow clip بدل hidden */
:is(html,#drzb) body:is(body,#drzx) .drzos-nyt-wrap { overflow: visible !important; overflow-x: clip !important; }
