/* SanatMali Phase 29 | editorial multimedia templates. Scoped, RTL, no site-wide overrides. */
#sm29-multimedia{--m29:#1e1d5b;--m29-deep:#14143e;--m29-ink:#1d2850;--m29-faint:#eef0fb;--m29-blue:#7bb6f0;--m29-muted:#aeb6da;--m29-border:#e3e7f1;direction:rtl;background:#f6f7fb;color:#273354;padding:0 0 56px;font-size:15px;line-height:1.9;min-height:70vh;margin-top:-2px}
#sm29-multimedia *,#sm29-multimedia *::before,#sm29-multimedia *::after{box-sizing:border-box}
#sm29-multimedia .sm29-wrap{max-width:1320px;width:calc(100% - 36px);margin:0 auto;padding-top:12px}
#sm29-multimedia :is(h1,h2,h3,p,figure,ul){margin:0}
#sm29-multimedia a{text-decoration:none}
#sm29-multimedia :is(button,a,input):focus-visible{outline:3px solid #79bcff;outline-offset:3px}
#sm29-multimedia .sm29-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0,#fbfcff 100%);color:var(--m29-ink);border:1px solid var(--m29-border);border-radius:24px;padding:18px clamp(18px,3vw,34px) 20px;margin-bottom:22px;box-shadow:0 12px 32px rgba(30,29,91,.08)}
#sm29-multimedia .sm29-hero::after{content:none}
#sm29-multimedia .sm29-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px 18px;flex-wrap:wrap;margin-bottom:10px}#sm29-multimedia .sm29-crumb{display:flex;align-items:center;gap:9px;color:#6f7b99;font-size:12px;margin-bottom:0;flex-wrap:wrap}
#sm29-multimedia .sm29-crumb a{color:#46547b}
#sm29-multimedia .sm29-crumb a:hover{text-decoration:underline}
#sm29-multimedia .sm29-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--m29);border:1px solid #d6def5;background:#f4f6ff;padding:6px 12px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:.025em;margin-bottom:0}
#sm29-multimedia .sm29-kicker-dot{width:7px;height:7px;background:#4b63e6;border-radius:50%;box-shadow:0 0 0 4px #4b63e622}
#sm29-multimedia .sm29-eyebrow{font-size:13px;color:#677598;font-weight:700;margin:6px 0 8px}
#sm29-multimedia .sm29-hero h1{font-size:clamp(24px,2.2vw,34px);line-height:1.65;font-weight:900;max-width:1080px;letter-spacing:-.01em;color:var(--m29);overflow-wrap:anywhere}
#sm29-multimedia .sm29-lead{margin-top:10px;font-size:14px;line-height:2;color:#586684;max-width:860px}
#sm29-multimedia .sm29-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:14px;padding-top:0;color:#5c6784;font-size:12px}
#sm29-multimedia .sm29-meta span{display:inline-flex;align-items:center;gap:7px;background:#f7f8fd;border:1px solid #e8ecf7;border-radius:999px;padding:7px 11px}
#sm29-multimedia .sm29-meta a{color:var(--m29)}
#sm29-multimedia .sm29-meta a:hover{text-decoration:underline}
#sm29-multimedia .sm29-watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}
#sm29-multimedia .sm29-watch-main{min-width:0}
#sm29-multimedia .sm29-player-shell{overflow:hidden;border:1px solid #d9def1;background:#fff;border-radius:20px;box-shadow:0 12px 28px #15144512;color:#23345a}
#sm29-multimedia .sm29-player-top{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 16px;font-size:12px;font-weight:800;background:linear-gradient(90deg,#1e1d5b,#292775);color:#fff}
#sm29-multimedia .sm29-live-dot{width:8px;height:8px;border-radius:50%;background:#75bbfe;box-shadow:0 0 0 4px #8cbcff24}
#sm29-multimedia .sm29-player-brand{margin-right:auto;font-size:10px;letter-spacing:.12em;color:#aebbe5;direction:ltr}
#sm29-multimedia .sm29-player-frame{width:100%;aspect-ratio:16/9;background:#070714;display:grid;place-items:center;overflow:hidden;position:relative}
#sm29-multimedia .sm29-player-frame :is(video,iframe,.sm29-video-embed){display:block;width:100%;height:100%;max-width:100%;border:0;background:#05050d}
#sm29-multimedia .sm29-player-frame .sm29-video-embed :is(iframe,video){width:100%!important;height:100%!important;max-width:100%}
#sm29-multimedia .sm29-empty{text-align:center;color:#e5e6f9;padding:28px}
#sm29-multimedia .sm29-player-bottom{display:flex;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;padding:11px 15px;font-size:11px;color:#627093;background:#fbfcff;border-top:1px solid #edf0f8}
#sm29-multimedia .sm29-player-bottom i{color:#4c61d4}
#sm29-multimedia .sm29-aside{background:#fff;border:1px solid var(--m29-border);border-radius:20px;padding:16px;box-shadow:0 12px 28px #19194a0a;position:sticky;top:18px}
#sm29-multimedia .sm29-aside-heading{display:flex;align-items:center;gap:12px;padding-bottom:17px;border-bottom:1px solid #e8eafa}
#sm29-multimedia .sm29-aside-heading span:not(.sm29-aside-icon){font-size:11px;color:#7a86a3}
#sm29-multimedia .sm29-aside-heading h2{font-size:18px;color:var(--m29);font-weight:900;line-height:1.7}
#sm29-multimedia .sm29-aside-icon{display:grid;place-items:center;background:var(--m29);color:white;border-radius:12px;width:47px;height:47px;font-size:20px}
#sm29-multimedia .sm29-aside-list{display:grid;gap:13px;margin-top:17px}
#sm29-multimedia .sm29-aside-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:center;color:#233355;padding:7px;border:1px solid #edf0f6;border-radius:14px;background:#fafbfe;transition:transform .18s,box-shadow .18s,border-color .18s}
#sm29-multimedia .sm29-aside-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px #18194d14;border-color:#bbc8e6}
#sm29-multimedia .sm29-aside-thumb{position:relative;display:grid;place-items:center;aspect-ratio:16/10;overflow:hidden;border-radius:9px;background:#27265b;color:#d3dbf7}
#sm29-multimedia .sm29-aside-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#sm29-multimedia .sm29-aside-play{position:absolute;left:5px;bottom:3px;color:#fff;text-shadow:0 2px 6px #000;font-size:19px}
#sm29-multimedia .sm29-aside-info{min-width:0;display:block}
#sm29-multimedia .sm29-aside-info strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-clamp:3;overflow:hidden;font-size:12px;font-weight:800;line-height:1.75;color:#1b2754}
#sm29-multimedia .sm29-aside-info time{display:block;font-size:10px;color:#8691aa;margin-top:6px}
#sm29-multimedia .sm29-aside-none{font-size:13px;color:#7886a0;padding:20px 0}
#sm29-multimedia .sm29-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:14px;padding:13px 16px;background:#fff;border:1px solid var(--m29-border);border-radius:16px}
#sm29-multimedia .sm29-share,#sm29-multimedia .sm29-copy{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
#sm29-multimedia .sm29-action-label,#sm29-multimedia .sm29-copy>span:first-child{font-size:12px;color:#606b89;font-weight:800;margin-left:7px}
#sm29-multimedia .sm29-share a{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eef0fa;color:var(--m29);font-size:16px;transition:background .2s}
#sm29-multimedia .sm29-share a:hover{background:#cbd8f3}
#sm29-multimedia .sm29-copy input{width:145px;max-width:45vw;border:1px solid #e3e6f1;background:#f7f8fd;border-radius:9px;direction:ltr;text-align:center;padding:8px 6px;font-size:11px;color:#273353}
#sm29-multimedia .sm29-copy button{min-height:37px;border:0;border-radius:9px;background:var(--m29);color:#fff;cursor:pointer;padding:7px 12px;font:inherit;font-size:12px;font-weight:800}
#sm29-multimedia .sm29-copy button:hover{background:#343388}
#sm29-multimedia .sm29-copied{color:#246a46;font-size:11px}
#sm29-multimedia .sm29-story-body{margin-top:19px;padding:26px clamp(16px,3vw,32px);background:#fff;border:1px solid var(--m29-border);border-radius:19px}
#sm29-multimedia .sm29-story-body>h2{font-size:20px;color:var(--m29);font-weight:900;border-bottom:1px solid #e8eafa;padding-bottom:12px;margin-bottom:17px}
#sm29-multimedia .sm29-article-text{font-size:15px;color:#35425d;line-height:2.1;overflow-wrap:anywhere;min-width:0}
#sm29-multimedia .sm29-article-text p{margin:0 0 1em}
#sm29-multimedia .sm29-article-text :is(img,video){max-width:100%;height:auto}
#sm29-multimedia .sm29-article-text :is(h2,h3){color:#24245f;font-size:20px;margin:20px 0 10px;line-height:1.7}
#sm29-multimedia .sm29-meta-chip{background:#eef2ff;border-color:#d7dff8!important}
#sm29-multimedia .sm29-related{margin-top:28px}
#sm29-multimedia .sm29-section-head{display:flex;align-items:end;gap:18px;margin-bottom:14px}
#sm29-multimedia .sm29-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

#sm29-multimedia .sm29-section-head{display:flex;align-items:center;gap:18px;margin-bottom:16px}
#sm29-multimedia .sm29-section-sub{font-size:11px;font-weight:800;color:#7a80b0}
#sm29-multimedia .sm29-section-head h2{font-size:clamp(19px,2vw,25px);font-weight:900;color:var(--m29);line-height:1.65}
#sm29-multimedia .sm29-section-rule{height:1px;background:#dce1f0;flex:1}
#sm29-multimedia .sm29-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#sm29-multimedia .sm29-related-card{overflow:hidden;border-radius:15px;background:#fff;border:1px solid #e3e6f0;min-width:0;transition:transform .2s,box-shadow .2s}
#sm29-multimedia .sm29-related-card:hover{transform:translateY(-3px);box-shadow:0 11px 23px #15164b1d}
#sm29-multimedia .sm29-related-card a{display:block;color:#263255}
#sm29-multimedia .sm29-related-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:#292863}
#sm29-multimedia .sm29-related-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
#sm29-multimedia .sm29-related-card:hover .sm29-related-cover img{transform:scale(1.035)}
#sm29-multimedia .sm29-cover-icon{position:absolute;right:11px;bottom:11px;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#1e1d5be5;color:#fff}
#sm29-multimedia .sm29-image-fallback{display:grid;place-items:center;width:100%;height:100%;color:#d7e0fa;font-size:35px}
#sm29-multimedia .sm29-related-info{padding:14px 16px}
#sm29-multimedia .sm29-related-info h3{font-size:14px;font-weight:850;line-height:1.85;color:#25335a;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.7em}
#sm29-multimedia .sm29-related-info time{font-size:11px;color:#858ba5;display:block;margin-top:9px}
#sm29-multimedia .sm29-existing-news{margin-top:28px}
#sm29-multimedia .sm29-gallery-stage{border:1px solid #dce2f6;border-radius:24px;padding:clamp(16px,2.2vw,24px);background:linear-gradient(180deg,#ffffff 0,#f7f8ff 100%);box-shadow:0 14px 30px #19194912;color:var(--m29-ink)}
#sm29-multimedia .sm29-stage-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #edf0f8}
#sm29-multimedia .sm29-stage-kicker{color:#7582a7;font-size:10px;font-weight:800;letter-spacing:.14em;direction:ltr;display:inline-block}
#sm29-multimedia .sm29-stage-top h2{font-size:20px;color:var(--m29);font-weight:900;line-height:1.65}
#sm29-multimedia .sm29-photo-counter{background:#eef2ff;border:1px solid #dae2fc;color:var(--m29);padding:7px 13px;border-radius:99px;font-size:12px;white-space:nowrap}
#sm29-multimedia .sm29-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#sm29-multimedia .sm29-photo{display:block;width:100%;position:relative;aspect-ratio:4/3;overflow:hidden;border:1px solid #dbe1f5;border-radius:12px;background:#343469;color:#fff;padding:0;cursor:zoom-in;box-shadow:0 6px 18px rgba(17,23,59,.08)}
#sm29-multimedia .sm29-photo-first{grid-column:span 2;grid-row:span 2;aspect-ratio:auto;min-height:260px}
#sm29-multimedia .sm29-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s;position:absolute;inset:0}
#sm29-multimedia .sm29-photo:hover img{transform:scale(1.05)}
#sm29-multimedia .sm29-photo-overlay{position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;gap:8px;align-items:center;background:linear-gradient(transparent,rgba(7,10,33,.92));padding:28px 12px 10px;font-size:11px;opacity:.95}
#sm29-multimedia .sm29-photo-overlay span:first-child{display:flex;gap:6px;align-items:center}
#sm29-multimedia .sm29-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;color:#637091;font-size:11px}
#sm29-multimedia .sm29-download{display:inline-flex;align-items:center;gap:7px;color:#fff;background:var(--m29);border:1px solid var(--m29);border-radius:10px;padding:7px 13px;font-size:12px}
#sm29-multimedia .sm29-download:hover{background:#2d2d87}
#sm29-multimedia .sm29-gallery-empty{padding:60px 20px;text-align:center;color:#d6daf2}
#sm29-multimedia .sm29-lightbox{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:16px 18px 22px;border:0;background:#080819f5;color:white;z-index:999999;overflow:auto}
#sm29-multimedia .sm29-lightbox:not([open]){display:none}
#sm29-multimedia .sm29-lightbox::backdrop{background:#02020af0}
#sm29-multimedia .sm29-lightbox-bar{display:flex;align-items:center;justify-content:space-between;color:#d4dbf3;font-size:13px;margin-bottom:10px}
#sm29-multimedia .sm29-lightbox-bar button{display:grid;place-items:center;border:1px solid #ffffff50;background:#ffffff22;color:#fff;width:41px;height:41px;border-radius:50%;cursor:pointer}
#sm29-multimedia .sm29-lightbox-view{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:10px;align-items:center;justify-items:center;min-height:calc(100vh - 140px)}
#sm29-multimedia .sm29-lightbox-view img{max-width:100%;max-height:calc(100vh - 155px);height:auto;width:auto;object-fit:contain;border-radius:4px}
#sm29-multimedia .sm29-lightbox-view button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff4d;border-radius:50%;background:#ffffff20;color:#fff;cursor:pointer}
#sm29-multimedia .sm29-lightbox-view button:hover{background:#ffffff40}
#sm29-multimedia .sm29-lightbox-caption{text-align:center;font-size:12px;line-height:1.8;color:#cbd2e9;padding-top:8px}
@media(max-width:1080px){#sm29-multimedia .sm29-watch-layout{grid-template-columns:minmax(0,1fr) 270px;gap:15px}#sm29-multimedia .sm29-aside-card{grid-template-columns:83px minmax(0,1fr);gap:9px}}
@media(max-width:900px){#sm29-multimedia .sm29-watch-layout{grid-template-columns:minmax(0,1fr)}#sm29-multimedia .sm29-aside-list{grid-template-columns:repeat(2,minmax(0,1fr))}#sm29-multimedia .sm29-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#sm29-multimedia{padding-bottom:36px}#sm29-multimedia .sm29-wrap{width:calc(100% - 18px)}#sm29-multimedia .sm29-hero{padding:16px 14px 18px;border-radius:18px;margin-bottom:14px}#sm29-multimedia .sm29-hero-top{align-items:flex-start}#sm29-multimedia .sm29-kicker{order:-1}#sm29-multimedia .sm29-hero h1{font-size:22px;line-height:1.7}#sm29-multimedia .sm29-meta{gap:7px 15px}#sm29-multimedia .sm29-player-shell{border-radius:14px}#sm29-multimedia .sm29-player-top{min-height:42px;padding:9px 12px}#sm29-multimedia .sm29-player-bottom{padding:11px 12px}#sm29-multimedia .sm29-player-bottom span:last-child{display:none}#sm29-multimedia .sm29-actions{padding:13px;align-items:flex-start;gap:16px}#sm29-multimedia .sm29-share,#sm29-multimedia .sm29-copy{width:100%}#sm29-multimedia .sm29-aside{padding:13px;border-radius:15px}#sm29-multimedia .sm29-aside-list{grid-template-columns:minmax(0,1fr)}#sm29-multimedia .sm29-related-grid{gap:9px}#sm29-multimedia .sm29-related-info{padding:10px}#sm29-multimedia .sm29-related-info h3{font-size:12px}#sm29-multimedia .sm29-gallery-stage{border-radius:15px;padding:12px}#sm29-multimedia .sm29-stage-top{padding:4px 2px 10px}#sm29-multimedia .sm29-stage-top h2{font-size:19px}#sm29-multimedia .sm29-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#sm29-multimedia .sm29-photo-first{grid-column:span 2;grid-row:auto;aspect-ratio:16/10;min-height:0}#sm29-multimedia .sm29-photo{border-radius:7px}#sm29-multimedia .sm29-photo-overlay{font-size:10px}#sm29-multimedia .sm29-story-body{padding:18px 14px}#sm29-multimedia .sm29-lightbox{padding:10px}#sm29-multimedia .sm29-lightbox-view{grid-template-columns:30px minmax(0,1fr) 30px;gap:2px}#sm29-multimedia .sm29-lightbox-view button{width:30px;height:34px}}
@media(prefers-reduced-motion:reduce){#sm29-multimedia .sm29-related-card,#sm29-multimedia .sm29-related-cover img,#sm29-multimedia .sm29-photo img,#sm29-multimedia .sm29-aside-card{transition:none}}

/* Phase 29.2 — editorial masthead instead of a large card; compact single-row content rails. */
#sm29-multimedia .sm30-story-head{background:transparent;border:0;border-radius:0;box-shadow:none;padding:8px 0 14px;margin-bottom:17px;overflow:visible;position:relative}
#sm29-multimedia .sm30-story-head::before{content:none}
#sm29-multimedia .sm30-story-nav{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e2e6f1}
#sm29-multimedia .sm30-story-head .sm29-crumb{font-size:11px;color:#7b849b}
#sm29-multimedia .sm30-story-type{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:#e9ebf8;color:#1e1d5b;border-radius:7px;padding:5px 10px;font-size:11px;font-weight:800}
#sm29-multimedia .sm30-story-heading{border-right:3px solid #1e1d5b;padding:0 17px 2px 0}
#sm29-multimedia .sm30-story-head .sm29-eyebrow{font-size:12px;color:#747fa2;margin:0 0 3px}
#sm29-multimedia .sm30-story-head h1{font-size:clamp(23px,2.15vw,33px);line-height:1.52;letter-spacing:0;font-weight:900;color:#1e1d5b;max-width:1050px}
#sm29-multimedia .sm30-story-head .sm29-lead{font-size:13px;line-height:1.85;color:#63718d;margin-top:7px;max-width:1000px}
#sm29-multimedia .sm30-story-head .sm29-meta{margin-top:11px;gap:6px 18px;padding:0 20px}
#sm29-multimedia .sm30-story-head .sm29-meta span{background:transparent;border:0;padding:0;color:#7b8497;font-size:11px}
#sm29-multimedia .sm30-story-head .sm29-meta a{color:#434b75}
#sm29-multimedia .sm30-rail-section{margin-top:25px}
#sm29-multimedia .sm30-rail-section .sm29-section-head{align-items:center;justify-content:space-between;margin-bottom:11px}
#sm29-multimedia .sm30-rail-section .sm29-section-head h2{font-size:19px}
#sm29-multimedia .sm30-rail-controls{display:flex;gap:7px}
#sm29-multimedia .sm30-rail-controls button{display:grid;place-items:center;cursor:pointer;width:32px;height:32px;border:1px solid #dce2f1;background:#fff;color:#1e1d5b;border-radius:9px;font-size:13px}
#sm29-multimedia .sm30-rail-controls button:hover{background:#ebeefc}
#sm29-multimedia .sm30-rail{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(166px,18%,220px);grid-template-columns:none;gap:11px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 11px;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#bfc7db transparent}
#sm29-multimedia .sm30-rail .sm29-related-card{scroll-snap-align:start;border-radius:12px;box-shadow:none;min-width:0}
#sm29-multimedia .sm30-rail .sm29-related-cover{aspect-ratio:16/9}
#sm29-multimedia .sm30-rail .sm29-related-info{padding:9px 10px 10px}
#sm29-multimedia .sm30-rail .sm29-related-info h3{font-size:11.5px;line-height:1.65;min-height:3.3em;max-height:3.3em;font-weight:800}
#sm29-multimedia .sm30-rail .sm29-related-info time{font-size:10px;margin-top:4px}
#sm29-multimedia .sm30-rail .sm29-cover-icon{width:26px;height:26px;right:7px;bottom:7px;font-size:12px;border-radius:7px}
#sm29-multimedia .sm30-rail:focus-visible{outline:2px solid #6377db;outline-offset:2px}
@media(max-width:900px){#sm29-multimedia .sm30-rail{grid-auto-columns:clamp(165px,29%,210px)}#sm29-multimedia .sm29-aside{position:static}}
@media(max-width:640px){#sm29-multimedia .sm30-story-head{padding:4px 0 12px;margin-bottom:12px}#sm29-multimedia .sm30-story-nav{padding-bottom:9px;margin-bottom:10px;gap:6px}#sm29-multimedia .sm30-story-heading{padding-right:10px;border-right-width:3px}#sm29-multimedia .sm30-story-head h1{font-size:21px;line-height:1.55}#sm29-multimedia .sm30-story-head .sm29-meta{padding:0 13px;gap:6px 13px}#sm29-multimedia .sm30-story-head .sm29-meta span{font-size:10px}#sm29-multimedia .sm30-rail{grid-auto-columns:minmax(150px,47%);gap:9px}#sm29-multimedia .sm30-rail .sm29-related-info h3{font-size:11px}#sm29-multimedia .sm30-rail-controls button{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){#sm29-multimedia .sm30-rail{scroll-behavior:auto}}

/* Phase 29.3 | precise media fit, compact H1, scrollbar-free editorial rails. */
#sm29-multimedia .sm30-story-head h1 {
  font-size: 20px;
  line-height: 1.75;
  max-width: 1080px;
}
/* Position native controls within the video viewport, regardless of global theme media rules. */
#sm29-multimedia .sm29-player-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  line-height: 0;
}
#sm29-multimedia .sm29-player-frame > video,
#sm29-multimedia .sm29-player-frame > iframe,
#sm29-multimedia .sm29-player-frame > .sm29-video-embed {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}
#sm29-multimedia .sm29-player-frame > video {
  object-fit: contain;
}
/* Embedded third-party player nodes also occupy the same reserved viewport. */
#sm29-multimedia .sm29-player-frame .sm29-video-embed > :is(iframe,video) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
}
/* Scrolling remains available with touch, trackpad, keyboard and arrow buttons. */
#sm29-multimedia .sm30-rail {
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#sm29-multimedia .sm30-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (max-width: 640px) {
  #sm29-multimedia .sm30-story-head h1 { font-size: 20px; line-height: 1.7; }
}

/* Phase 29.4 — intentional mouse-drag rails and mobile editorial refinement. */
#sm29-multimedia .sm30-rail{cursor:grab;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
#sm29-multimedia .sm30-rail.sm30-is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none;-webkit-user-select:none}
#sm29-multimedia .sm30-rail.sm30-is-dragging a,#sm29-multimedia .sm30-rail.sm30-is-dragging img{user-select:none;-webkit-user-drag:none}
#sm29-multimedia .sm30-rail a{touch-action:pan-x pan-y}
@media(max-width:640px){
 #sm29-multimedia{font-size:14px;line-height:1.85;padding-bottom:28px}
 #sm29-multimedia .sm29-wrap{width:calc(100% - 24px);padding-top:8px}
 #sm29-multimedia .sm30-story-head{padding:2px 0 10px;margin-bottom:10px}
 #sm29-multimedia .sm30-story-nav{gap:7px;padding-bottom:7px;margin-bottom:9px}
 #sm29-multimedia .sm30-story-head .sm29-crumb{font-size:10px;gap:5px;line-height:1.7}
 #sm29-multimedia .sm30-story-type{font-size:10px;padding:4px 8px}
 #sm29-multimedia .sm30-story-heading{padding-right:10px;border-right-width:2px}
 #sm29-multimedia .sm30-story-head h1{font-size:18px;line-height:1.65;font-weight:850;overflow-wrap:break-word}
 #sm29-multimedia .sm30-story-head .sm29-eyebrow{font-size:11px;line-height:1.7}
 #sm29-multimedia .sm30-story-head .sm29-lead{font-size:12.5px;line-height:1.9;margin-top:6px}
 #sm29-multimedia .sm30-story-head .sm29-meta{padding:0 12px;margin-top:8px;gap:4px 12px;line-height:1.7}
 #sm29-multimedia .sm30-story-head .sm29-meta span{font-size:10px;gap:5px}
 #sm29-multimedia .sm29-watch-layout{gap:12px}
 #sm29-multimedia .sm29-player-shell{border-radius:12px}
 #sm29-multimedia .sm29-player-top{min-height:36px;padding:7px 11px;font-size:11px}
 #sm29-multimedia .sm29-player-brand{font-size:9px}
 #sm29-multimedia .sm29-player-bottom{padding:8px 10px;font-size:10px}
 #sm29-multimedia .sm29-aside{padding:12px;border-radius:13px}
 #sm29-multimedia .sm29-aside-heading{padding-bottom:10px;gap:9px}
 #sm29-multimedia .sm29-aside-icon{width:36px;height:36px;font-size:16px;border-radius:10px}
 #sm29-multimedia .sm29-aside-heading h2{font-size:15px}
 #sm29-multimedia .sm29-aside-list{gap:8px;margin-top:10px}
 #sm29-multimedia .sm29-aside-card{grid-template-columns:104px minmax(0,1fr);gap:10px;padding:5px;border-radius:10px}
 #sm29-multimedia .sm29-aside-info strong{font-size:11.5px;line-height:1.7;-webkit-line-clamp:2;line-clamp:2}
 #sm29-multimedia .sm29-actions{padding:10px 12px;gap:10px;margin-top:11px;border-radius:12px}
 #sm29-multimedia .sm29-share{gap:7px}
 #sm29-multimedia .sm29-share a{width:34px;height:34px;border-radius:9px}
 #sm29-multimedia .sm29-action-label,#sm29-multimedia .sm29-copy>span:first-child{font-size:11px;margin-left:4px}
 #sm29-multimedia .sm29-copy{min-width:0;gap:7px}
 #sm29-multimedia .sm29-copy input{flex:1 1 110px;min-width:0;width:auto;max-width:none;font-size:10px}
 #sm29-multimedia .sm29-copy button{min-height:34px;font-size:11px;padding:7px 10px}
 #sm29-multimedia .sm29-gallery-stage{padding:10px;border-radius:13px}
 #sm29-multimedia .sm29-stage-top{margin-bottom:10px;gap:6px}
 #sm29-multimedia .sm29-stage-top h2{font-size:17px}
 #sm29-multimedia .sm29-photo-counter{font-size:10px;padding:5px 8px}
 #sm29-multimedia .sm29-photo-grid{gap:5px}
 #sm29-multimedia .sm29-photo{border-radius:7px}
 #sm29-multimedia .sm29-photo-overlay{padding:22px 7px 6px;font-size:9px}
 #sm29-multimedia .sm29-gallery-footer{margin-top:10px;font-size:10px}
 #sm29-multimedia .sm29-story-body{padding:15px 12px;margin-top:12px;border-radius:12px}
 #sm29-multimedia .sm29-story-body>h2{font-size:17px;padding-bottom:8px;margin-bottom:10px}
 #sm29-multimedia .sm29-article-text{font-size:14px;line-height:2}
 #sm29-multimedia .sm30-rail-section{margin-top:21px}
 #sm29-multimedia .sm30-rail-section .sm29-section-head{margin-bottom:9px}
 #sm29-multimedia .sm30-rail-section .sm29-section-head h2{font-size:17px;line-height:1.5}
 #sm29-multimedia .sm29-section-sub{font-size:10px}
 #sm29-multimedia .sm30-rail{grid-auto-columns:minmax(148px,61%);gap:9px;padding-bottom:2px}
 #sm29-multimedia .sm30-rail .sm29-related-info{padding:8px 9px}
 #sm29-multimedia .sm30-rail .sm29-related-info h3{font-size:11.5px;line-height:1.7}
 #sm29-multimedia .sm30-rail-controls button{width:29px;height:29px}
 #sm29-multimedia .sm29-lightbox-view{min-height:calc(100dvh - 112px)}
 #sm29-multimedia .sm29-lightbox-view img{max-height:calc(100dvh - 125px)}
}
@media(max-width:380px){
 #sm29-multimedia .sm29-wrap{width:calc(100% - 18px)}
 #sm29-multimedia .sm30-story-head h1{font-size:17px;line-height:1.7}
 #sm29-multimedia .sm30-story-nav{align-items:flex-start}
 #sm29-multimedia .sm29-player-brand{font-size:8px;letter-spacing:.05em}
 #sm29-multimedia .sm29-aside-card{grid-template-columns:89px minmax(0,1fr)}
 #sm29-multimedia .sm30-rail{grid-auto-columns:73%}
 #sm29-multimedia .sm29-action-label{font-size:10px}
}
