/*
Theme Name: Sadadahie TV News v30
Theme URI: https://sadadahie.com
Author: OpenAI for Sadadahie
Description: قالب إخباري عربي حديث لصدى الضاحية بهوية تركوازية، عاجل متحرك، علامة مائية أصلية، وصفحة بث مباشر OBS/HLS.
Version: 30.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sadadahie-tv
*/
:root{--sd-primary:#087e91;--sd-primary-dark:#07566a;--sd-ink:#07141d;--sd-muted:#66747e;--sd-bg:#f4f7f8;--sd-white:#fff;--sd-alert:#d71920;--sd-radius:14px;--sd-shadow:0 10px 30px rgba(5,34,45,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:hidden}body{margin:0;overflow-x:hidden;background:var(--sd-bg);color:var(--sd-ink);font-family:Tahoma,Arial,sans-serif;line-height:1.75}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.sd-container{width:min(1460px,calc(100% - 36px));margin:auto}.screen-reader-text{position:absolute;left:-9999px}
.sd-top{background:linear-gradient(110deg,#04131d,#063848);color:#fff}.sd-top-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}.sd-brand{display:flex;align-items:center;gap:14px}.sd-brand img{width:64px;height:64px;object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important}.sd-brand-text strong{font-size:30px;display:block;line-height:1.2}.sd-brand-text small{opacity:.86}.sd-social{display:flex;gap:14px;font-size:20px}.sd-live-button{background:var(--sd-primary);color:#fff;padding:12px 20px;border-radius:8px;font-weight:700}.sd-live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#fff;margin-left:8px;animation:sdPulse 1.1s infinite}@keyframes sdPulse{50%{opacity:.25;box-shadow:0 0 0 8px rgba(255,255,255,.1)}}
.sd-nav{background:#fff;border-bottom:1px solid #dce5e8;position:sticky;top:0;z-index:50}.sd-nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:62px}.sd-menu{display:flex;align-items:center;gap:28px;font-weight:700}.sd-menu ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}.sd-menu a:hover,.sd-menu .current-menu-item>a{color:var(--sd-primary)}.sd-weather{font-weight:700}.sd-mobile-toggle{display:none;border:0;background:var(--sd-primary);color:#fff;border-radius:8px;padding:9px 12px;font-size:20px}
.sd-breaking{margin:12px auto;display:grid;grid-template-columns:78px 1fr;background:linear-gradient(90deg,var(--sd-primary-dark),var(--sd-primary));color:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--sd-shadow)}.sd-breaking-label{background:var(--sd-alert);font-size:16px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 6px;position:relative;z-index:2}.sd-breaking-track{overflow:hidden;display:flex;align-items:center;white-space:nowrap}.sd-breaking-content{display:inline-flex;align-items:center;min-width:max-content;will-change:transform;animation:sdTicker var(--sd-ticker-speed,38s) linear infinite;font-size:17px;font-weight:700}.sd-breaking:hover .sd-breaking-content{animation-play-state:paused}.sd-ticker-item{display:inline-flex;align-items:center;padding:0 18px;min-height:40px;transition:background .2s}.sd-ticker-item:hover{background:rgba(255,255,255,.12)}.sd-ticker-separator{width:44px;height:44px;display:inline-grid;place-items:center;flex:0 0 44px}.sd-ticker-separator img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.28))}@keyframes sdTicker{from{transform:translateX(0)}to{transform:translateX(50%)}}
.sd-hero-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,.75fr);gap:14px}.sd-hero{position:relative;min-height:470px;border-radius:var(--sd-radius);overflow:hidden;background:#123;border:2px solid var(--sd-primary);box-shadow:var(--sd-shadow)}.sd-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sd-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,.86))}.sd-hero-content{position:absolute;inset:auto 0 0 0;padding:44px;color:#fff;z-index:2}.sd-hero h1{font-size:42px;line-height:1.4;margin:12px 0}.sd-badge{display:inline-block;background:var(--sd-primary);color:#fff;border-radius:6px;padding:4px 11px;font-weight:700}.sd-badge.alert{background:var(--sd-alert)}.sd-watermark{position:absolute!important;top:26px!important;right:26px!important;width:58px!important;height:58px!important;object-fit:contain!important;z-index:3;opacity:.9}.sd-meta{font-size:14px;opacity:.86}.sd-side-panel,.sd-panel{background:#fff;border-radius:var(--sd-radius);box-shadow:var(--sd-shadow);overflow:hidden}.sd-panel-title{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:3px solid var(--sd-primary);font-size:21px;font-weight:900}.sd-side-list{padding:0 15px}.sd-side-item{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #e7edef}.sd-thumb{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:16/10;background:#dfe8ea}.sd-thumb img{width:100%;height:100%;object-fit:cover}.sd-thumb .sd-watermark{top:7px!important;right:7px!important;width:26px!important;height:26px!important}.sd-side-item h3{font-size:15px;line-height:1.55;margin:3px 0}.sd-side-item time{font-size:12px;color:var(--sd-muted)}
.sd-category-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0 18px}.sd-mini-card{position:relative;min-height:130px;border-radius:12px;overflow:hidden;border:1px solid var(--sd-primary);background:#07151d;color:#fff}.sd-mini-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sd-mini-card .sd-overlay{background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.1))}.sd-mini-card-content{position:absolute;inset:auto 0 0;padding:14px;z-index:2;font-weight:700}.sd-mini-card .sd-watermark{top:10px!important;right:10px!important;width:32px!important;height:32px!important}
.sd-content-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:16px;margin-bottom:24px}.sd-latest-list{padding:8px 20px}.sd-latest-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid #e8edef;padding:11px 0}.sd-dot{width:7px;height:7px;border-radius:50%;background:var(--sd-primary)}.sd-feature{padding:15px}.sd-feature-main{position:relative;border-radius:11px;overflow:hidden;min-height:250px;background:#123}.sd-feature-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sd-feature-main h2{position:absolute;bottom:0;right:0;left:0;margin:0;color:#fff;padding:26px;background:linear-gradient(0deg,rgba(0,0,0,.92),transparent);font-size:27px;z-index:2}.sd-feature-main .sd-watermark{top:14px!important;right:14px!important;width:40px!important;height:40px!important}.sd-video-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.sd-video-card .sd-thumb{aspect-ratio:16/9}.sd-video-card h4{font-size:13px;line-height:1.5;margin:6px 2px}.sd-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.65);display:grid;place-items:center;color:#fff;font-size:18px}
.sd-live-page{padding:28px 0}.sd-live-shell{background:#04131d;color:#fff;border-radius:16px;padding:18px;box-shadow:var(--sd-shadow)}.sd-live-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.sd-live-head h1{margin:0}.sd-live-status{background:var(--sd-alert);padding:7px 13px;border-radius:7px;font-weight:800}.sd-player{position:relative;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}.sd-player video{width:100%;height:100%;background:#000}.sd-offline{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,#0d5365,#05141d)}.sd-offline img{width:130px}.sd-offline strong{display:block;font-size:26px;margin-top:12px}.sd-live-note{margin-top:12px;background:rgba(255,255,255,.08);padding:10px;border-radius:8px}
.sd-single{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;padding:24px 0}.sd-article{background:#fff;border-radius:14px;padding:28px;box-shadow:var(--sd-shadow)}.sd-article h1{font-size:38px;line-height:1.45;margin:10px 0}.sd-featured-image{position:relative;border-radius:12px;overflow:hidden;margin:20px 0}.sd-featured-image img:not(.sd-watermark){display:block;width:100%;max-height:650px;object-fit:cover}.sd-article-content{font-size:19px;line-height:2}.sd-footer{background:#061924;color:#fff;padding:38px 0;margin-top:25px}.sd-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px}.sd-footer-logo{width:88px;background:transparent!important;border:0!important;box-shadow:none!important}.sd-copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:25px;padding-top:15px;text-align:center;color:#b7c9cf}
@media(max-width:1000px){.sd-hero-grid,.sd-content-grid,.sd-single{grid-template-columns:1fr}.sd-category-row{grid-template-columns:repeat(2,1fr)}.sd-menu ul{gap:14px}.sd-brand-text strong{font-size:24px}}
@media(max-width:720px){.sd-container{width:min(100% - 20px,100%)}.sd-top-inner{min-height:78px}.sd-brand img{width:50px;height:50px}.sd-brand-text strong{font-size:20px}.sd-brand-text small,.sd-social{display:none}.sd-live-button{font-size:13px;padding:9px 11px}.sd-mobile-toggle{display:block}.sd-nav-inner{min-height:54px}.sd-menu ul{display:none;position:absolute;top:54px;right:0;left:0;background:#fff;padding:15px;flex-direction:column;box-shadow:var(--sd-shadow)}.sd-menu ul.open{display:flex}.sd-breaking{grid-template-columns:72px 1fr}.sd-breaking-label{font-size:16px;padding:5px 6px;gap:3px}.sd-breaking-content{font-size:16px}.sd-hero{min-height:470px}.sd-hero-content{padding:24px}.sd-hero h1{font-size:29px}.sd-watermark{width:42px!important;height:42px!important;top:18px!important;right:18px!important}.sd-side-panel{display:none}.sd-category-row{grid-template-columns:1fr 1fr}.sd-mini-card{min-height:115px}.sd-content-grid{grid-template-columns:1fr}.sd-video-row{grid-template-columns:1fr 1fr}.sd-footer-grid{grid-template-columns:1fr}.sd-article{padding:18px}.sd-article h1{font-size:28px}.sd-article-content{font-size:17px}}

.sd-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #e3eaed;margin-top:28px;padding-top:18px}.sd-share a{background:var(--sd-primary);color:#fff;border-radius:7px;padding:7px 13px;font-weight:700}.sd-related{margin-top:30px;border-top:1px solid #e3eaed;padding-top:10px}.sd-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:16px}.sd-related-card h3{font-size:16px;line-height:1.6;margin:8px 2px}.sd-page-links{margin:20px 0;font-weight:700}
@media(max-width:720px){.sd-ticker-item{padding:0 14px;min-height:42px}.sd-ticker-separator{width:43px;height:43px;flex-basis:43px}.sd-ticker-separator img{width:30px;height:30px}.sd-related-grid{grid-template-columns:1fr}}

.sd-listen-wrap{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 8px}.sd-listen-button,.sd-listen-stop{border:0;border-radius:8px;cursor:pointer;font-family:inherit;font-weight:800;transition:transform .15s ease,background .2s ease}.sd-listen-button{display:inline-flex;align-items:center;gap:8px;background:var(--sd-primary);color:#fff;padding:9px 15px;font-size:15px}.sd-listen-button:hover{background:var(--sd-primary-dark);transform:translateY(-1px)}.sd-listen-button:disabled{opacity:.55;cursor:not-allowed}.sd-listen-stop{background:#edf2f3;color:var(--sd-ink);padding:9px 13px}.sd-listen-note{font-size:13px;color:var(--sd-muted)}.sd-listen-icon{font-size:17px;line-height:1}
@media(max-width:720px){.sd-listen-wrap{margin:13px 0 6px}.sd-listen-button{padding:8px 12px;font-size:14px}.sd-listen-note{flex-basis:100%}}

.sd-edit-post-wrap{margin:24px 0 4px;padding-top:18px;border-top:1px solid #e4e9eb}.sd-edit-post-link{display:inline-flex;align-items:center;gap:7px;background:#eef4f5;color:var(--sd-primary-dark);border:1px solid #c9dfe2;border-radius:8px;padding:9px 14px;font-weight:800;text-decoration:none}.sd-edit-post-link:hover{background:var(--sd-primary);color:#fff;border-color:var(--sd-primary)}

/* v8 article order */
.sd-article h1{margin-bottom:8px}.sd-article h1 + .sd-listen-wrap{margin-top:8px;margin-bottom:18px}.sd-featured-image + .sd-meta{margin-top:-4px;margin-bottom:16px}.sd-meta{color:var(--sd-muted);font-size:14px}.sd-article-content{clear:both}


/* v9: article layout and tags */
.sd-article-header{display:block}
.sd-post-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:24px 0 6px;padding-top:18px;border-top:1px solid #e4e9eb}
.sd-post-tags strong{font-weight:900;margin-left:4px}
.sd-post-tags a{display:inline-flex;background:#eef6f7;color:var(--sd-primary-dark);border:1px solid #c9e1e4;border-radius:999px;padding:5px 11px;font-size:14px;font-weight:700}
.sd-post-tags a:hover{background:var(--sd-primary);color:#fff;border-color:var(--sd-primary)}
.sd-edit-post-wrap{margin-top:14px}
/* Final article order: title, listen, image, details, article */
.sd-article h1{order:1}
.sd-article .sd-listen-wrap{order:2}
.sd-article .sd-featured-image{order:3}
.sd-article .sd-meta{order:4}
.sd-article .sd-article-content{order:5}
@media(max-width:720px){.sd-post-tags{gap:6px}.sd-post-tags a{font-size:13px;padding:4px 9px}}


/* v10: always-visible keywords and reliable editor link */
.sd-no-tags{color:var(--sd-muted);font-size:14px}
.sd-edit-post-wrap{display:flex;justify-content:flex-start;margin:16px 0 8px}

/* v11: prominent tags, working editor shortcut and stable listen controls */
.sd-post-tags{display:block;background:#f7fbfc;border:1px solid #d7e8eb;border-right:5px solid var(--sd-primary);border-radius:10px;padding:16px 18px;margin:28px 0 12px}
.sd-post-tags strong{display:block;font-size:18px;margin:0 0 10px;color:var(--sd-primary-dark)}
.sd-post-tags-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sd-post-tags a{background:#fff;box-shadow:0 2px 8px rgba(5,34,45,.06)}
.sd-edit-post-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff8e7;border:1px solid #f0d58a;border-radius:10px;padding:14px 16px;margin:14px 0 8px}
.sd-edit-post-link{background:#e8a000;color:#fff;border-color:#e8a000}
.sd-edit-post-link:hover{background:#c98700;border-color:#c98700}
.sd-edit-post-help{font-size:13px;color:#6b5a2e}
.sd-listen-wrap{position:relative;z-index:2}
.sd-listen-button.is-playing{box-shadow:0 0 0 4px rgba(8,126,145,.14)}
@media(max-width:720px){.sd-post-tags{padding:14px}.sd-edit-post-help{flex-basis:100%}}


/* v12: صفحة الخبر النهائية */
.sd-article-title{margin-bottom:10px!important}
.sd-listen-wrap{margin:8px 0 18px!important;padding:10px 0;border-bottom:1px solid #e7edef}
.sd-listen-button{min-width:155px;justify-content:center}
.sd-listen-icon{font-size:19px;font-weight:900}
.sd-post-tags{display:block!important;visibility:visible!important;opacity:1!important}
.sd-post-tags-list{display:flex;gap:8px;flex-wrap:wrap}
.sd-edit-post-wrap{display:flex!important;visibility:visible!important;opacity:1!important;justify-content:flex-start}
.sd-edit-post-link{font-size:16px}
.sd-featured-image{margin-top:6px}

/* v14: صفحة خبر مستقرة وصفحة رئيسية حسب التصنيفات */
.sd-post-tags-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sd-no-tags{background:#fff7dc;border:1px solid #ead492;padding:6px 11px;border-radius:8px;color:#6d5817}.sd-edit-post-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff8db;border:1px solid #ead27b;border-radius:10px;padding:14px;margin-top:18px}.sd-edit-post-link{background:#f0b400!important;color:#171300!important;border-color:#d69f00!important}.sd-edit-post-help{font-size:13px;color:#665b38}.sd-related-open{display:inline-block;color:var(--sd-primary);font-size:13px;font-weight:800}
.sd-home-v14{padding-bottom:30px}.sd-home-slider{position:relative;height:520px;border-radius:16px;overflow:hidden;background:#07151d;box-shadow:var(--sd-shadow);border:2px solid var(--sd-primary)}.sd-home-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease}.sd-home-slide.is-active{opacity:1;visibility:visible}.sd-home-slide-image{width:100%;height:100%;object-fit:cover}.sd-home-slide-content{position:absolute;z-index:3;right:0;left:0;bottom:0;padding:50px;color:#fff;background:linear-gradient(0deg,rgba(0,0,0,.9),transparent)}.sd-home-slide-content h1{font-size:42px;line-height:1.35;margin:10px 0}.sd-home-slide-content p{max-width:850px;font-size:17px;margin:0}.sd-slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);border:0;width:46px;height:58px;border-radius:9px;background:rgba(0,0,0,.55);color:#fff;font-size:38px;cursor:pointer}.sd-prev{right:18px}.sd-next{left:18px}.sd-slider-note{text-align:center;background:#e8f5f6;color:var(--sd-primary-dark);padding:8px;border-radius:0 0 10px 10px;font-size:14px}.sd-home-section{margin-top:24px;background:#fff;border-radius:15px;box-shadow:var(--sd-shadow);overflow:hidden}.sd-home-section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:4px solid var(--sd-primary);padding:13px 18px}.sd-home-section-head h2{margin:0;font-size:25px}.sd-home-section-head a{color:var(--sd-primary);font-weight:800}.sd-home-section-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:18px}.sd-section-image{position:relative;height:300px;border-radius:11px;overflow:hidden}.sd-section-image>img:first-child{width:100%;height:100%;object-fit:cover}.sd-section-lead h3{font-size:25px;line-height:1.45;margin:10px 0 3px}.sd-section-lead p{color:var(--sd-muted);margin:0}.sd-section-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sd-section-item{display:grid;grid-template-columns:115px 1fr;gap:10px;border-bottom:1px solid #e5ecee;padding-bottom:10px}.sd-section-item h4{font-size:15px;line-height:1.5;margin:0}.sd-section-item time{font-size:12px;color:var(--sd-muted)}.sd-latest-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:18px}.sd-latest-card h3{font-size:16px;line-height:1.55;margin:7px 0}
@media(max-width:900px){.sd-home-slider{height:440px}.sd-home-slide-content h1{font-size:32px}.sd-home-section-grid{grid-template-columns:1fr}.sd-latest-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.sd-home-slider{height:390px}.sd-home-slide-content{padding:25px}.sd-home-slide-content h1{font-size:25px}.sd-home-slide-content p{display:none}.sd-section-list{grid-template-columns:1fr}.sd-section-image{height:230px}.sd-latest-cards{grid-template-columns:1fr 1fr}.sd-slider-arrow{width:38px;height:48px}}

/* v17: fallback tools injected from wp_footer for custom article templates */
.sd-v17-post-tools[hidden]{display:none!important}
.sd-v17-installed{display:block!important}

/* v18 post tools */
.sd-v18-listen{margin:18px 0 22px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sd-v18-tags{margin:28px 0 14px;padding:18px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.sd-v18-tags .sd-post-tags-list{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:12px}
.sd-v18-tags a{font-weight:800;text-decoration:none}
.sd-v18-edit{margin:14px 0 24px}
.sd-v18-edit .sd-edit-post-link{display:inline-block;padding:10px 16px;background:#333;color:#fff!important;text-decoration:none;font-weight:800;border-radius:4px}


/* v19: stable article layout — title, centred image, article body. */
body.single-post .sd-single-v19{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:24px!important;
  align-items:start!important;
  width:min(1280px,calc(100% - 36px))!important;
  margin:26px auto!important;
}
body.single-post .sd-article-v19{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:30px 38px!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:var(--sd-shadow)!important;
  overflow:visible!important;
}
body.single-post .sd-article-v19 > *{
  float:none!important;
  clear:both!important;
  max-width:100%!important;
}
body.single-post .sd-article-header-v19{
  width:100%!important;
  text-align:right!important;
  margin:0 0 20px!important;
}
body.single-post .sd-article-v19 .sd-article-title{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:10px 0 0!important;
  font-size:clamp(32px,4vw,54px)!important;
  line-height:1.35!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
}
body.single-post .sd-featured-image-v19{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:960px!important;
  margin:0 auto 18px!important;
  padding:0!important;
  text-align:center!important;
  overflow:hidden!important;
  border-radius:12px!important;
}
body.single-post .sd-featured-image-v19 > img:first-child{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:680px!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
body.single-post .sd-article-v19 .sd-meta{
  display:block!important;
  width:100%!important;
  margin:8px 0 20px!important;
  text-align:right!important;
}
body.single-post .sd-article-v19 .sd-article-content{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:19px!important;
  line-height:2!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
}
body.single-post .sd-article-v19 .sd-article-content p,
body.single-post .sd-article-v19 .sd-article-content div,
body.single-post .sd-article-v19 .sd-article-content figure,
body.single-post .sd-article-v19 .sd-article-content img{
  max-width:100%!important;
}
body.single-post .sd-article-v19 .sd-post-tags,
body.single-post .sd-article-v19 .sd-edit-post-wrap{
  width:100%!important;
  max-width:none!important;
}
body.single-post #sd-v17-post-tools,
body.single-post #sd-v18-post-data,
body.single-post .sd-v18-listen,
body.single-post .sd-listen-wrap{
  display:none!important;
}
@media(max-width:980px){
  body.single-post .sd-single-v19{grid-template-columns:1fr!important;width:min(100% - 22px,900px)!important;}
  body.single-post .sd-single-v19 > aside{display:none!important;}
  body.single-post .sd-article-v19{padding:24px!important;}
}
@media(max-width:600px){
  body.single-post .sd-article-v19{padding:18px 15px!important;border-radius:10px!important;}
  body.single-post .sd-article-v19 .sd-article-title{font-size:30px!important;line-height:1.42!important;}
  body.single-post .sd-article-v19 .sd-article-content{font-size:17px!important;line-height:1.95!important;}
  body.single-post .sd-featured-image-v19{border-radius:8px!important;}
}

/* v21: hard-stable single article layout. Exact visual order: title, image, body. */
body.single-post .sd-single-v21{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:24px!important;
  align-items:start!important;
  width:min(1280px,calc(100% - 36px))!important;
  margin:26px auto!important;
}
body.single-post .sd-article-v21{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  padding:30px 38px!important;
  margin:0!important;
  overflow:visible!important;
}
body.single-post .sd-v21-header{order:1!important;display:block!important;width:100%!important;text-align:right!important;}
body.single-post .sd-v21-title{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:10px 0 8px!important;
  padding:0!important;
  font-size:44px!important;
  line-height:1.35!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
}
body.single-post .sd-v21-header .sd-meta{margin:0 0 18px!important;text-align:right!important;}
body.single-post .sd-v21-image{
  order:2!important;
  display:block!important;
  position:relative!important;
  width:100%!important;
  max-width:920px!important;
  margin:0 auto 26px!important;
  padding:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
body.single-post .sd-v21-image > img:first-child{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:680px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
body.single-post .sd-v21-content{
  order:3!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:19px!important;
  line-height:2!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
}
body.single-post .sd-v21-content > *{max-width:100%!important;}
body.single-post .sd-article-v21 > .sd-post-tags{order:4!important;width:100%!important;}
body.single-post .sd-article-v21 > .sd-edit-post-wrap{order:5!important;width:100%!important;}
body.single-post .sd-article-v21 > .sd-page-links{order:6!important;}
body.single-post .sd-article-v21 > .sd-share{order:7!important;}
body.single-post .sd-article-v21 > .sd-related{order:8!important;}
@media(max-width:1000px){
 body.single-post .sd-single-v21{grid-template-columns:1fr!important;width:min(100% - 22px,920px)!important;}
 body.single-post .sd-single-v21 > aside{display:none!important;}
 body.single-post .sd-article-v21{padding:24px!important;}
}
@media(max-width:720px){
 body.single-post .sd-article-v21{padding:18px 15px!important;border-radius:10px!important;}
 body.single-post .sd-v21-title{font-size:30px!important;line-height:1.42!important;}
 body.single-post .sd-v21-content{font-size:17px!important;line-height:1.95!important;}
 body.single-post .sd-v21-image{border-radius:8px!important;margin-bottom:20px!important;}
}


/* v22: clean homepage with 3 stories per requested category */
.sd-home-v22{padding:20px 0 34px}.sd-home-slider-v22{height:540px;margin-bottom:26px}.sd-home-slider-v22 .sd-home-slide-content{padding-bottom:64px}.sd-slider-dots{position:absolute;z-index:7;bottom:20px;right:50%;transform:translateX(50%);display:flex;gap:9px}.sd-slider-dots button{width:10px;height:10px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.55);cursor:pointer;transition:.25s}.sd-slider-dots button.is-active{width:30px;background:#fff}.sd-home-sections-v22{display:grid;gap:26px}.sd-section-v22{margin:0}.sd-section-v22 .sd-home-section-head{background:linear-gradient(90deg,#fff,#f4fbfc)}.sd-section-v22 .sd-home-section-head h2{position:relative;padding-right:15px}.sd-section-v22 .sd-home-section-head h2:before{content:"";position:absolute;right:0;top:20%;bottom:20%;width:5px;border-radius:6px;background:var(--sd-primary)}.sd-three-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px}.sd-news-card-v22{min-width:0;border:1px solid #e2eaed;border-radius:12px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}.sd-news-card-v22:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(5,34,45,.12)}.sd-news-card-image{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#dfe8ea}.sd-news-card-image>img:first-child{width:100%;height:100%;object-fit:cover;transition:transform .35s}.sd-news-card-v22:hover .sd-news-card-image>img:first-child{transform:scale(1.035)}.sd-news-card-image .sd-watermark{top:12px!important;right:12px!important;width:38px!important;height:38px!important}.sd-news-card-body{padding:13px 14px 16px}.sd-news-card-body time{font-size:12px;color:var(--sd-muted)}.sd-news-card-body h3{font-size:18px;line-height:1.55;margin:5px 0 0}.sd-news-card-body h3 a:hover{color:var(--sd-primary)}
.sd-live-page-v22{padding:28px 0}.sd-live-hero-v22{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 34px;margin-bottom:18px;border-radius:18px;color:#fff;background:linear-gradient(120deg,#04131d,#087e91);box-shadow:var(--sd-shadow)}.sd-live-hero-v22 h1{font-size:38px;line-height:1.35;margin:7px 0}.sd-live-hero-v22 p{max-width:760px;margin:0;color:#d8edf1}.sd-live-hero-v22>img{width:140px;height:140px;object-fit:contain}.sd-live-kicker{display:inline-flex;align-items:center;gap:8px;font-weight:800}.sd-live-kicker i{width:10px;height:10px;border-radius:50%;background:#ef3340;box-shadow:0 0 0 7px rgba(239,51,64,.15)}.sd-live-shell-v22{padding:22px}.sd-live-shell-v22 .sd-live-head h2{margin:0}.sd-live-status.is-offline{background:#56636a}.sd-live-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.sd-live-info-grid>div{padding:15px;border-radius:10px;background:rgba(255,255,255,.07)}.sd-live-info-grid strong,.sd-live-info-grid span{display:block}.sd-live-info-grid span{color:#bcd0d6;font-size:14px;margin-top:4px}
@media(max-width:900px){.sd-home-slider-v22{height:440px}.sd-three-news-grid{gap:12px}.sd-news-card-body h3{font-size:16px}.sd-live-hero-v22 h1{font-size:30px}.sd-live-hero-v22>img{width:100px;height:100px}}
@media(max-width:720px){body{overflow-x:hidden}.sd-container{width:calc(100% - 20px)}.sd-home-v22{padding-top:12px}.sd-home-slider-v22{height:390px;margin-bottom:18px;border-radius:12px}.sd-home-slider-v22 .sd-home-slide-content{padding:22px 20px 50px}.sd-home-slider-v22 .sd-home-slide-content h1{font-size:25px;line-height:1.45}.sd-home-slider-v22 .sd-slider-arrow{top:auto;bottom:14px;transform:none;width:34px;height:34px;font-size:28px}.sd-home-slider-v22 .sd-prev{right:14px}.sd-home-slider-v22 .sd-next{left:14px}.sd-slider-dots{bottom:25px}.sd-home-sections-v22{gap:18px}.sd-section-v22{border-radius:12px}.sd-section-v22 .sd-home-section-head{padding:11px 13px}.sd-section-v22 .sd-home-section-head h2{font-size:21px}.sd-section-v22 .sd-home-section-head a{font-size:13px}.sd-three-news-grid{grid-template-columns:1fr;padding:12px;gap:12px}.sd-news-card-v22{display:grid;grid-template-columns:125px 1fr;min-height:100px}.sd-news-card-image{height:100%;aspect-ratio:auto}.sd-news-card-image .sd-watermark{width:27px!important;height:27px!important;top:7px!important;right:7px!important}.sd-news-card-body{padding:9px 11px}.sd-news-card-body h3{font-size:15px;line-height:1.5}.sd-live-hero-v22{padding:22px;display:block}.sd-live-hero-v22 h1{font-size:27px}.sd-live-hero-v22>img{display:none}.sd-live-shell-v22{padding:12px}.sd-live-info-grid{grid-template-columns:1fr}.sd-player{border-radius:8px}}


/* v23: compact footer, clickable phone, and sharing directly below article image */
.sd-footer a{color:inherit}.sd-footer-phone{font-weight:800;letter-spacing:.04em}
body.single-post .sd-article-v21 > .sd-share-v23{order:3!important;margin:12px 0 22px!important;padding:0!important;border:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sd-share-v23 a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:9px;padding:9px 12px;color:#fff!important;font-weight:800;text-align:center}
.sd-share-v23 .sd-share-facebook{background:#1877f2}.sd-share-v23 .sd-share-x{background:#111}.sd-share-v23 .sd-share-whatsapp{background:#25d366}
.sd-share-v23 a:hover{filter:brightness(.94);transform:translateY(-1px)}
@media(max-width:720px){
 .sd-footer{padding:20px 0 14px;margin-top:18px}
 .sd-footer-grid{gap:13px;text-align:center}
 .sd-footer-grid>div{margin:0}
 .sd-footer-logo{width:58px}
 .sd-footer h3{font-size:18px;margin:3px 0 7px}
 .sd-footer p{font-size:14px;line-height:1.55;margin:4px 0}
 .sd-footer ul{margin:4px 0;padding:0;list-style:none}
 .sd-footer li{margin:2px 0}
 .sd-copyright{margin-top:13px;padding-top:10px;font-size:13px;line-height:1.5}
 body.single-post .sd-article-v21 > .sd-share-v23{gap:7px;margin:9px 0 17px!important}
 .sd-share-v23 a{min-height:43px;padding:7px 5px;font-size:14px;border-radius:8px}
}


/* v24: full 12-section mobile navigation and compact scrollable menu */
@media(max-width:720px){
 .sd-menu ul{max-height:calc(100vh - 125px);overflow-y:auto;overscroll-behavior:contain;gap:0!important;padding:8px 14px!important}
 .sd-menu ul li{width:100%;border-bottom:1px solid #edf2f3}
 .sd-menu ul li:last-child{border-bottom:0}
 .sd-menu ul a{display:block;width:100%;padding:9px 5px;text-align:center;font-size:17px;line-height:1.45}
}


/* v26: keep v25 layout; replace Economy homepage section with Secretary General and trim footer bottom only */
.sd-footer{padding-bottom:10px}
.sd-copyright{padding-bottom:0;margin-bottom:0}
@media(max-width:720px){
 .sd-footer{padding-bottom:6px}
 .sd-copyright{padding-bottom:0;margin-bottom:0}
}

/* v27: choose the populated matching category so Secretary General posts appear on the homepage and category links. */


/* v28: functional fixes only — robust category archives and no horizontal off-screen layout */
html,body,#page,.site,.sd-top,.sd-nav,main,.sd-footer{max-width:100%;}
.sd-category-page{padding:18px 0 30px;overflow:hidden;}
.sd-category-page .sd-panel{width:100%;max-width:100%;padding:0;margin:0;}
.sd-category-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:4px solid var(--sd-primary);background:#fff;}
.sd-category-page-head h1{margin:0;font-size:28px;line-height:1.4;}
.sd-category-grid-v28{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px;}
.sd-category-card-v28{min-width:0;border:1px solid #e1e9ec;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(5,34,45,.06);}
.sd-category-card-v28 .sd-news-card-image{aspect-ratio:16/9;}
.sd-category-card-v28 .sd-news-card-body{padding:13px 14px 16px;}
.sd-category-empty-v28{padding:32px 18px;text-align:center;font-size:18px;color:var(--sd-muted);}
.sd-category-pagination-v28{padding:0 18px 20px;overflow-wrap:anywhere;}
.sd-category-pagination-v28 .nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;}
.sd-category-pagination-v28 a,.sd-category-pagination-v28 span{display:inline-grid;place-items:center;min-width:38px;min-height:38px;padding:4px 9px;border-radius:7px;border:1px solid #d5e2e5;background:#fff;}
.sd-category-pagination-v28 .current{background:var(--sd-primary);border-color:var(--sd-primary);color:#fff;}
@media(max-width:900px){.sd-category-grid-v28{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){
 html,body{width:100%;max-width:100%;overflow-x:hidden!important;}
 .sd-container,.sd-nav-inner,.sd-top-inner,.sd-breaking,.sd-category-page,.sd-category-page .sd-panel{max-width:100%!important;min-width:0!important;}
 .sd-category-page{padding-top:12px;}
 .sd-category-page-head{padding:13px 14px;}
 .sd-category-page-head h1{font-size:23px;}
 .sd-category-grid-v28{grid-template-columns:1fr;padding:12px;gap:12px;}
 .sd-category-card-v28{display:grid;grid-template-columns:125px minmax(0,1fr);min-height:102px;}
 .sd-category-card-v28 .sd-news-card-image{height:100%;aspect-ratio:auto;}
 .sd-category-card-v28 .sd-news-card-body{min-width:0;padding:9px 11px;}
 .sd-category-card-v28 .sd-news-card-body h2{font-size:16px;line-height:1.55;margin:4px 0 0;overflow-wrap:anywhere;}
 .sd-category-card-v28 .sd-news-card-body time{font-size:12px;}
}

/* v29 — hard containment for category pages on phones; no horizontal off-screen canvas. */
.sd-category-panel-v29{width:100%;max-width:100%;min-width:0;overflow:hidden}
.sd-category-panel-v29 *{max-width:100%}
@media(max-width:720px){
 body.category,body.archive{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
 body.category #page,body.category .site,body.category main,body.archive main{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;transform:none!important}
 body.category .sd-container,body.archive .sd-container{width:calc(100% - 20px)!important;margin-right:auto!important;margin-left:auto!important}
 .sd-category-grid-v28{width:100%!important;max-width:100%!important;min-width:0!important}
 .sd-category-card-v28{width:100%!important;max-width:100%!important;min-width:0!important}
}


/* v30: only two changes — a compact, replaceable homepage cover and a definitive mobile category-page viewport fix. */
.sd-site-cover-wrap{margin:12px auto 8px}
.sd-site-cover{display:block;width:100%;height:120px;border-radius:12px;overflow:hidden;background:#061924 center center/cover no-repeat;border:1px solid rgba(8,126,145,.55);box-shadow:0 7px 20px rgba(5,34,45,.08)}
.sd-site-cover:focus-visible{outline:3px solid var(--sd-primary);outline-offset:3px}
@media(max-width:720px){
 .sd-site-cover-wrap{margin:9px auto 7px}
 .sd-site-cover{height:82px;border-radius:9px;background-position:center center}
}

/* Category/archive pages: anchor the mobile canvas at x=0, then restore RTL only inside visible sections. */
@media(max-width:720px){
 body.category,body.archive{direction:ltr!important;overflow-x:clip!important;width:100%!important;max-width:100%!important}
 body.category>*,body.archive>*{direction:rtl!important;max-width:100%!important}
 body.category .sd-top,body.category .sd-nav,body.category .sd-breaking,body.category main,body.category .sd-footer,
 body.archive .sd-top,body.archive .sd-nav,body.archive .sd-breaking,body.archive main,body.archive .sd-footer{
  position:relative!important;inset-inline:0!important;left:0!important;right:0!important;transform:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important
 }
 body.category .sd-category-page,body.archive .sd-category-page{
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:12px 10px 28px!important
 }
 body.category .sd-category-panel-v29,body.archive .sd-category-panel-v29{margin:0!important;width:100%!important}
 body.category .sd-breaking,body.archive .sd-breaking{width:calc(100% - 20px)!important;margin:12px auto!important}
}
