/* =====================================================================
   تجكانت المغرب — الثيم الإخباري (بأسلوب البوابات الإخبارية، بألوان الموقع البنية)
   ===================================================================== */
body.tz{
  --bg:#eceef1; --card:#ffffff; --text:#1b1410; --muted:#6f655c; --line:#e6e1da;
  --tz-top:#2b1810; --tz-head:#1f120b; --tz-nav1:#2b1810; --tz-nav2:#4a2c17;
  --tz-accent:var(--navy-deep); --tz-hot:var(--red);
  background:#eceef1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23000' stroke-opacity='.025'/%3E%3C/svg%3E");
  color:var(--text);
}
.tz-wrap{max-width:1460px;margin:0 auto;padding:0 16px}
@media (min-width:1024px){.tz-wrap{padding:0 24px}}

/* ---------- الشريط العلوي ---------- */
.tz-topbar{background:var(--tz-top);color:#f3e7d6;font-size:14px;font-weight:600}
.tz-topbar .tz-wrap{min-height:42px}
.tz-topbar a{color:#fff;opacity:.9;transition:.15s;display:inline-flex}
.tz-topbar a:hover{opacity:1;color:var(--gold-light)}
.tz-date{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- الترويسة ---------- */
.tz-header{background:var(--tz-head) radial-gradient(60% 120% at 85% 50%,rgba(201,151,60,.18),transparent 60%);border-top:1px solid rgba(255,255,255,.04)}
.tz-header .tz-wrap{padding-top:18px;padding-bottom:18px}
.tz-brand{display:flex;align-items:center;gap:14px;color:#fff;flex-shrink:0}
.tz-brand img{width:84px;height:84px;border-radius:999px;object-fit:cover;border:3px solid var(--gold);box-shadow:0 4px 14px rgba(0,0,0,.35)}
.tz-brand-name{display:block;font-size:30px;font-weight:900;line-height:1.15;color:#fff;margin:0}
.tz-brand-latin{display:block;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--gold-light)}
.tz-brand-tag{display:block;font-size:13px;font-weight:700;color:var(--sand)}
.tz-header-ad{max-width:910px;width:100%;min-width:0;flex:1 1 auto;display:flex;justify-content:flex-end}
.tz-header-ad > *{max-width:100%}
.tz-header-ad img{max-width:100%;height:auto;border-radius:4px}
@media (max-width:767px){.tz-brand img{width:64px;height:64px}.tz-brand-name{font-size:24px}.tz-header-ad{justify-content:center}}

/* ---------- القائمة ---------- */
.tz-nav{background:linear-gradient(90deg,var(--tz-nav1),var(--tz-nav2));position:sticky;top:0;z-index:50;box-shadow:0 3px 10px rgba(0,0,0,.25)}
.tz-nav > .tz-wrap{min-height:58px}
.tz-nav > .tz-wrap{position:relative}
.tz-menu{list-style:none;margin:0;padding:0;display:none;align-items:stretch;flex-wrap:wrap}
@media (min-width:1024px){.tz-menu{display:flex}}
.tz-menu > li{position:static}
.tz-menu > li > a{display:flex;align-items:center;gap:6px;height:58px;padding:0 14px;color:#fff;font-weight:800;font-size:15px;white-space:nowrap;transition:.15s;border-bottom:3px solid transparent}
.tz-menu > li > a:hover,.tz-menu > li.active > a{background:rgba(255,255,255,.08);border-bottom-color:var(--gold)}
.tz-caret{opacity:.75}
.tz-drop{position:absolute;top:100%;right:16px;left:16px;display:none;grid-template-columns:repeat(4,1fr);gap:12px;padding:14px;background:#fff;border-top:3px solid var(--gold);box-shadow:0 18px 40px rgba(0,0,0,.18);z-index:60;animation:tzDrop .18s ease}
.tz-menu > li:hover .tz-drop,.tz-menu > li:focus-within .tz-drop{display:grid}
@keyframes tzDrop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tz-drop-item{display:block;color:var(--text);font-size:13px;font-weight:700;line-height:1.5}
.tz-drop-item > div{border-radius:4px;margin-bottom:6px}
.tz-drop-item:hover span{color:var(--gold-dark)}
.tz-search{max-height:0;overflow:hidden;background:#fff;transition:max-height .25s}
.tz-search.open{max-height:90px;border-bottom:1px solid var(--line)}
@media (max-width:1279px){.tz-menu > li > a{padding:0 10px;font-size:14px}}

/* ---------- آخر المستجدات ---------- */
.tz-ticker{background:#fff;border-bottom:1px solid var(--line)}
.tz-ticker .tz-wrap{min-height:52px}
.tz-ticker-label{color:var(--tz-accent);font-size:16px;font-weight:900;white-space:nowrap}
.tz-cursor{animation:tzBlink 1s steps(2) infinite;color:var(--gold-dark)}
@keyframes tzBlink{50%{opacity:0}}
.tz-ticker-link{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:15px;color:var(--text);transition:opacity .4s}
.tz-ticker-link:hover{color:var(--gold-dark)}

/* ---------- صفحة المحتوى ---------- */
.tz-page{max-width:1460px;margin:0 auto 0;background:#fff;padding:20px 16px 26px;box-shadow:0 0 0 1px rgba(0,0,0,.03)}
@media (min-width:1024px){.tz-page{padding:28px 24px 34px}}
.tz-main{min-height:40vh}

/* ---------- عناوين الأقسام ---------- */
.tz-h{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);margin-bottom:14px}
.tz-h h2,.tz-h .tz-h-t{position:relative;margin:0;padding:0 0 10px;font-size:22px;font-weight:900;color:var(--tz-accent);line-height:1.3}
.tz-h h2::after,.tz-h .tz-h-t::after{content:"";position:absolute;right:0;left:0;bottom:-2px;height:3px;background:var(--tz-accent)}
.tz-h h2 a:hover{color:var(--gold-dark)}
.tz-h.hot h2,.tz-h.hot .tz-h-t{color:var(--tz-hot)}
.tz-h.hot h2::after{background:var(--tz-hot)}
.tz-more{color:var(--muted);font-size:20px;line-height:1;letter-spacing:2px;padding-bottom:12px;font-weight:900}
.tz-more:hover{color:var(--gold-dark)}
.tz-box{border:1px solid var(--line);background:#fff}

/* ---------- تخطيط الأعمدة الثلاثة ---------- */
.tz-grid{display:grid;gap:22px;grid-template-areas:"center" "right" "left"}
.tz-col-r{grid-area:right;min-width:0}.tz-col-c{grid-area:center;min-width:0}.tz-col-l{grid-area:left;min-width:0}
@media (min-width:768px){.tz-grid{grid-template-columns:1fr 1fr;grid-template-areas:"center center" "right left"}}
@media (min-width:1100px){.tz-grid{grid-template-columns:minmax(0,410fr) minmax(0,750fr) minmax(0,262fr);grid-template-areas:"right center left"}}
.tz-section{margin-bottom:26px}

/* ---------- السلايدر الرئيسي ---------- */
.tz-hero{position:relative;background:#140b06;overflow:hidden}
.tz-hero .swiper-slide{position:relative;aspect-ratio:750/438;background:#1a0f08}
.tz-hero .swiper-slide > a{display:block;position:absolute;inset:0}
.tz-hero img,.tz-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tz-hero .tz-grad{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,8,4,.92) 0%,rgba(15,8,4,.35) 32%,transparent 55%)}
.tz-hero .tz-hero-ph{position:absolute;inset:0;background:linear-gradient(135deg,var(--brown),var(--gold-dark))}
.tz-hero-cap{position:absolute;right:0;left:0;bottom:0;padding:18px 18px 16px;z-index:3}
.tz-hero-cap h2,.tz-hero-cap h3{color:#fff;font-size:clamp(17px,2.2vw,25px);font-weight:900;line-height:1.5;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.tz-hero .play-badge{top:44%}
.tz-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:16px 0 4px;position:static!important}
.tz-pager .tz-num{width:50px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:#ececec;color:#333;font-weight:800;font-size:15px;cursor:pointer;opacity:1;border-radius:0;margin:0!important;transition:.15s}
.tz-pager .tz-num:hover{background:#dcd6cf}
.tz-pager .tz-num.swiper-pagination-bullet-active{background:var(--tz-accent);color:#fff}
@media (max-width:639px){.tz-pager{gap:4px}.tz-pager .tz-num{width:30px;height:30px;font-size:13px}}

/* ---------- 24 ساعة ---------- */
.tz-24{border:1px solid var(--line);padding:6px 14px 6px 10px}
.tz-24 ul{list-style:none;margin:0;padding:0;max-height:430px;overflow-y:auto}
.tz-24 li{border-bottom:1px solid var(--line)}
.tz-24 li:last-child{border-bottom:0}
.tz-24 a{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:15px;font-weight:700;color:var(--text)}
.tz-24 a:hover span:last-child{color:var(--gold-dark)}
.tz-24 time{flex-shrink:0;min-width:50px;text-align:center;font-size:14px;font-weight:800;color:#3b3029;border:1px solid var(--line);padding:2px 6px;font-variant-numeric:tabular-nums}
.tz-24 span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tz-24 ul::-webkit-scrollbar{width:5px}.tz-24 ul::-webkit-scrollbar-thumb{background:#b9b0a6;border-radius:4px}

/* ---------- قائمة أفقية (صورة + نص) ---------- */
.tz-list{border:1px solid var(--line);padding:0 12px}
.tz-list article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.tz-list article:last-child{border-bottom:0}
.tz-list .tz-list-img{grid-column:1;grid-row:1;aspect-ratio:363/262;overflow:hidden}
.tz-list .tz-list-img > div{height:100%!important}
.tz-list .tz-list-body{grid-column:2;grid-row:1}
.tz-meta{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:4px;font-variant-numeric:tabular-nums}
.tz-list h3{font-size:19px;font-weight:900;line-height:1.6;margin:0 0 6px}
.tz-list h3 a:hover,.tz-t a:hover{color:var(--gold-dark)}
.tz-list p{font-size:15px;color:var(--muted);line-height:1.75;margin:0}
@media (max-width:639px){.tz-list article{grid-template-columns:1fr}.tz-list .tz-list-body{grid-column:1;grid-row:2}.tz-list h3{font-size:17px}}

/* ---------- شبكة صور بعنوان ---------- */
.tz-cards{display:grid;gap:14px 10px}
.tz-cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tz-cards.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tz-card{min-width:0}
.tz-card .tz-card-img{position:relative;aspect-ratio:237/158;overflow:hidden;margin-bottom:8px}
.tz-card .tz-card-img > div{height:100%!important}
.tz-card .tz-card-img img,.tz-card .tz-card-img video{transition:transform .4s}
.tz-card:hover .tz-card-img img{transform:scale(1.05)}
.tz-badge-date{position:absolute;bottom:8px;right:8px;z-index:3;background:rgba(20,12,6,.78);color:#fff;font-size:13px;font-weight:700;padding:3px 10px;border-radius:3px;font-variant-numeric:tabular-nums}
.tz-t{font-size:16px;font-weight:800;line-height:1.65;margin:0;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tz-cards.c2 .tz-card .tz-card-img{aspect-ratio:189/106}
.tz-cards.c2 .tz-t{font-size:15px}
@media (max-width:639px){.tz-cards.c3{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- بطاقة سلايدر مع تراكب ---------- */
.tz-overlay{position:relative;aspect-ratio:386/232;overflow:hidden;display:block}
.tz-overlay > div{height:100%!important}
.tz-overlay .tz-grad{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,8,4,.9),transparent 60%);z-index:2}
.tz-overlay h3{position:absolute;right:0;left:0;bottom:0;padding:14px;color:#fff;font-size:18px;font-weight:900;line-height:1.6;margin:0;z-index:3}
.tz-dots{position:static!important;display:flex;justify-content:center;gap:8px;padding:12px 0 2px}
.tz-dots .swiper-pagination-bullet{width:22px!important;height:22px!important;border:1px solid #bdb5ab;background:#f1efec!important;opacity:1!important;border-radius:999px!important;margin:0!important}
.tz-dots .swiper-pagination-bullet-active{background:#bdb5ab!important}

/* ---------- العمود الأيسر: بالصوت والصورة ---------- */
.tz-vlist{border:1px solid var(--line);padding:12px}
.tz-vlist .tz-v-img{position:relative;overflow:hidden;background:#1a0f07}
.tz-vlist .tz-v-img > div{height:100%!important}
.tz-vlist video{display:block;pointer-events:none}
.tz-vlist .play-badge{background:rgba(0,0,0,.35);border:2px solid #fff;transition:transform .2s,background .2s}
.tz-vlist a:hover .play-badge{background:var(--gold-dark);transform:translate(-50%,-50%) scale(1.08)}
.tz-v-main{display:block;margin-bottom:12px}
.tz-v-main .tz-v-img{aspect-ratio:16/10;margin-bottom:8px}
.tz-v-tag{position:absolute;top:8px;inset-inline-start:8px;background:var(--red,#b42318);color:#fff;font-size:12px;font-weight:800;padding:2px 8px;border-radius:3px;z-index:2}
.tz-v-main h3{font-size:16px;font-weight:800;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tz-v-row{display:flex;gap:10px;align-items:flex-start;padding-top:10px;margin-top:10px;border-top:1px solid var(--line)}
.tz-v-row .tz-v-img{flex:0 0 112px;aspect-ratio:16/10}
.tz-v-row .play-badge{width:30px!important;height:30px!important}
.tz-v-row h3{font-size:14px;font-weight:800;line-height:1.65;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tz-vlist a:hover h3{color:var(--gold-dark)}

/* ---------- الإعلان الجانبي ---------- */
.tz-side-ad{margin-bottom:26px;display:flex;justify-content:center}
.tz-side-ad img,.ad-widget img{max-width:100%;height:auto}
.ad-widget{max-width:100%;overflow:hidden}

/* ---------- شريط "بالصوت والصورة" الداكن ---------- */
.tz-band{background:#1a120d;padding:16px 14px 18px;margin-top:8px}
.tz-band .tz-h{border-bottom-color:rgba(255,255,255,.12)}
.tz-band .tz-h h2{color:#fff}
.tz-band .tz-h h2::after{background:var(--gold)}
.tz-band .tz-more{color:#fff}
.tz-band .swiper-slide{height:auto}
.tz-band .tz-band-card{display:block;color:#fff}
.tz-band .tz-band-img{position:relative;aspect-ratio:470/300;overflow:hidden}
.tz-band .tz-band-img > div{height:100%!important}
.tz-band .tz-band-img .tz-grad{position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,6,3,.88),transparent 55%);z-index:2}
.tz-band .play-badge{top:auto;left:auto;transform:none;bottom:14px;inset-inline-end:14px;background:rgba(0,0,0,.3);border:2px solid #fff;width:46px!important;height:46px!important;z-index:4}
.tz-band h3{position:absolute;right:0;left:0;bottom:0;padding:14px 16px 16px 70px;font-size:17px;font-weight:900;line-height:1.6;margin:0;z-index:3;color:#fff}
.tz-band .tz-dots .swiper-pagination-bullet{width:12px!important;height:12px!important;background:#5b4b40!important;border:0}
.tz-band .tz-dots .swiper-pagination-bullet-active{background:var(--gold)!important}

/* ---------- التذييل ---------- */
.tz-footer{background:#1a120d;color:#e9ddcf;padding:26px 0 30px}
.tz-foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;margin-bottom:18px}
.tz-foot-links a{color:#fff;font-weight:700;font-size:16px}
.tz-foot-links a:hover{color:var(--gold-light)}
.tz-foot-social{display:flex;justify-content:center;gap:18px;margin-bottom:16px}
.tz-foot-social a{color:#fff;display:inline-flex}
.tz-foot-social a:hover{color:var(--gold-light)}
.tz-foot-social svg{width:22px;height:22px}
.tz-copy{font-size:16px;font-weight:700;margin:0 0 8px;color:#fff}
.tz-credit{font-size:15px;margin:0;color:#cfc2b4;direction:ltr}
.tz-credit a{color:var(--gold-light);font-weight:800}
.tz-credit a:hover{text-decoration:underline}
.tz-totop{position:fixed;left:20px;bottom:20px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:var(--tz-nav2);color:#fff;z-index:40;opacity:0;visibility:hidden;transition:.2s;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.tz-totop.show{opacity:1;visibility:visible}
.tz-totop:hover{background:var(--gold-dark)}

/* ---------- صفحات المقال والأقسام داخل الثيم ---------- */
body.tz .card{background:#fff;border-color:var(--line)}
body.tz .site-title{color:var(--navy-deep)}
/* سطر المصدر ونسبة الصورة أسفل المقال */
.tjk-source,.tjk-credit{font-size:14px!important;color:#7a6a5c!important;margin:6px 0!important;line-height:1.8!important}
.tjk-source{margin-top:22px!important;padding-top:12px;border-top:1px dashed #e4d9cc}
.tjk-source a,.tjk-credit a{color:var(--gold-dark);text-decoration:underline}
/* ===== التسلسل الطباعي للنص العربي (مقالات وصفحات) ===== */
.prose-ar{font-size:17.5px;line-height:2.05;font-weight:500;color:var(--text);word-wrap:break-word;overflow-wrap:anywhere;text-align:start}
.prose-ar p{margin:0 0 1.2em}
.prose-ar h2{font-size:1.5rem;line-height:1.6;font-weight:800;margin:1.7em 0 .65em;padding-inline-start:.6em;border-inline-start:4px solid var(--gold,#c79a3b)}
.prose-ar h3{font-size:1.25rem;line-height:1.65;font-weight:800;margin:1.5em 0 .55em}
.prose-ar h4{font-size:1.1rem;line-height:1.7;font-weight:700;margin:1.3em 0 .5em}
.prose-ar strong,.prose-ar b{font-weight:800}
.prose-ar li{margin-bottom:.45em}
.prose-ar em{font-style:normal;color:var(--muted)}
@media (max-width:640px){.prose-ar{font-size:16.5px;line-height:1.95}.prose-ar h2{font-size:1.3rem}.prose-ar h3{font-size:1.15rem}}
body{overflow-x:clip}
/* ===== كتل الملء الجانبية + محاذاة نهايات الأعمدة ===== */
.tz-mlist{padding:4px 12px}
.tz-mlist a{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.tz-mlist a:last-child{border-bottom:0}
.tz-ml-img{flex:0 0 96px;aspect-ratio:16/11;overflow:hidden}
.tz-ml-img > div{height:100%!important}
.tz-ml-img .play-badge{width:28px!important;height:28px!important}
.tz-mlist h3{font-size:15px;font-weight:800;line-height:1.65;margin:0 0 3px;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tz-mlist time{font-size:12.5px;font-weight:700;color:var(--muted)}
.tz-mlist a:hover h3{color:var(--gold-dark)}
.tz-rank{list-style:none;margin:0;padding:4px 12px}
.tz-rank li{border-bottom:1px solid var(--line)}
.tz-rank li:last-child{border-bottom:0}
.tz-rank a{display:flex;gap:10px;align-items:flex-start;padding:11px 0}
.tz-rank-n{flex:0 0 30px;height:30px;display:grid;place-items:center;border-radius:999px;background:var(--brown,#4a2a14);color:#fff;font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.tz-rank li:nth-child(-n+3) .tz-rank-n{background:var(--gold-dark,#a8741f)}
.tz-rank-t{font-size:14.5px;font-weight:800;line-height:1.7;color:var(--text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tz-rank a:hover .tz-rank-t{color:var(--gold-dark)}
.tz-fill-item[hidden]{display:none!important}
@media (min-width:1100px){
  .tz-grid{align-items:start}
  .tz-grid > * > .tz-section:last-child,.tz-grid > * > :last-child{margin-bottom:0}
  .tz-fill .tz-box{box-sizing:border-box}
}
