/* Wamda 2.4.0: new isolated Shorts compositions. No override of classic Wamda. */
.wtx-wamda.wtx-wamda--shorts{
 --wamda-media:48%;--wamda-title-lines:3;--wamda-brief-lines:2;
 --wamda-head-slot:26%;--wamda-foot-slot:26%;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card{
 display:grid!important;grid-template-areas:"head" "media" "foot";
 grid-template-columns:minmax(0,1fr);
 grid-template-rows:minmax(0,calc((100% - var(--wamda-media))/2)) minmax(0,var(--wamda-media)) minmax(0,calc((100% - var(--wamda-media))/2));
 isolation:isolate;overflow:hidden;overflow:clip;
 background:#08131b;color:#fff;
}
.wtx-wamda--shorts .wtx-wamda-card-head,
.wtx-wamda--shorts .wtx-wamda-card-foot{position:relative;z-index:5;min-width:0;min-height:0;text-align:start;overflow:hidden}
.wtx-wamda--shorts .wtx-wamda-card-head{
 grid-area:head;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:4px;
 padding:calc(68px + env(safe-area-inset-top,0px)) 19px 12px;
 background:linear-gradient(180deg,#071017,#0d1a25);
}
.wtx-wamda--shorts .wtx-wamda-card-head .wtx-wamda-card-section{
 color:#f2f5f6;font-size:11px;line-height:1.45;font-weight:750;
 padding:3px 10px;border:1px solid #ffffff33;background:#ffffff11;border-radius:999px;
}
.wtx-wamda--shorts .wtx-wamda-card-head .wtx-wamda-card-section.is-breaking{background:#991f29;color:#fff;border-color:#e78b83}
.wtx-wamda--shorts .wtx-wamda-card-byline{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.4;color:#c8d4dc;font-variant-numeric:tabular-nums}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2{
 font-size:clamp(17px,4.8vw,23px)!important;line-height:1.35!important;
 color:#fff!important;font-weight:790!important;margin:0!important;max-width:100%;overflow:hidden;overflow-wrap:anywhere;
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2 a{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--wamda-title-lines);
 overflow:hidden;color:#fff!important;text-decoration:none;
}
.wtx-wamda--shorts .wtx-wamda-card-head h2 a:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:3px}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media{
 grid-area:media;position:relative!important;inset:auto!important;display:grid;place-items:center;min-width:0;min-height:0;
 background:#152732;overflow:hidden;margin:0;border:0;
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media::after{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
 background:linear-gradient(180deg,transparent 75%,#0005);
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media>.wtx-wamda-photo{
 display:block;position:relative!important;inset:auto!important;
 left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
 transform:none!important;width:100%!important;height:100%!important;max-height:none!important;
 max-width:100%!important;object-fit:contain!important;object-position:center!important;z-index:1;
 border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media[data-wamda-image-mode="cover"]>.wtx-wamda-photo,
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media.wtx-wamda-media--cover>.wtx-wamda-photo{object-fit:cover!important}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-backdrop-image{
 position:absolute!important;inset:-12%!important;width:124%!important;height:124%!important;
 filter:blur(20px) brightness(.48) saturate(.80);transform:scale(1.02);z-index:0;
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-video{
 position:relative;z-index:1;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#05090c
}
.wtx-wamda--shorts .wtx-wamda-media figcaption{
 position:absolute!important;inset-block-end:22px!important;inset-inline-start:12px!important;inset-inline-end:auto!important;
 max-width:72%;font-size:9px;line-height:1.35;color:#fff;z-index:3;text-shadow:0 1px 5px #000
}
.wtx-wamda--shorts .wtx-wamda-card-foot{
 grid-area:foot;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;
 padding:10px 17px calc(12px + env(safe-area-inset-bottom,0px));
 background:linear-gradient(180deg,#0c1922,#03090f);
}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-foot .wtx-wamda-brief{
 margin:0!important;color:#e7edf0!important;display:-webkit-box;-webkit-box-orient:vertical;
 -webkit-line-clamp:var(--wamda-brief-lines);overflow:hidden;
 font-size:clamp(12px,3.35vw,14px)!important;line-height:1.7!important;
 text-shadow:none!important;text-align:start;max-width:100%;overflow-wrap:anywhere;
}
.wtx-wamda--shorts .wtx-wamda-foot-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%;margin-top:3px}
.wtx-wamda--shorts .wtx-wamda-foot-links .wtx-wamda-read{
 display:inline-flex;align-items:center;justify-content:center;min-height:43px;max-width:100%;gap:6px;
 border-radius:999px;background:#fff;color:#091621!important;text-shadow:none;
 padding:8px 14px;box-shadow:0 4px 13px #0005;font-size:12px!important;font-weight:800;text-decoration:none;
}
.wtx-wamda--shorts .wtx-wamda-original-short,
.wtx-wamda--shorts .wtx-wamda-story-button{
 display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;
 border:1px solid #ffffff52;border-radius:999px;background:#ffffff10;color:#fff;
 font-size:13px;font-weight:750;padding:5px 12px;text-decoration:none;cursor:pointer;
}
.wtx-wamda--shorts .wtx-wamda-original-short{font-size:21px;line-height:1;padding:0}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions{
 grid-area:media;position:relative!important;inset:auto!important;z-index:7;
 display:flex;flex-direction:column;align-items:center;gap:7px;
 justify-self:end;align-self:end;min-width:0;max-height:98%;margin:0 8px 10px;
 pointer-events:none;
}
.wtx-wamda--shorts[data-wamda-action-side="start"] .wtx-wamda-side-actions{justify-self:start}
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action{
 position:relative!important;inset:auto!important;display:flex;align-items:center;justify-content:center;flex-direction:column;
 width:48px;min-width:46px;min-height:47px;padding:4px;border:1px solid #ffffff44;border-radius:14px;
 color:#fff;background:#06111aaa;box-shadow:0 3px 12px #0005;backdrop-filter:blur(4px);
 line-height:1.15;font-size:9px;pointer-events:auto;cursor:pointer;max-width:100%;
}
.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action svg{width:23px;height:23px}
.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action[hidden]{display:none!important}
.wtx-wamda--shorts .wtx-wamda-photo-fallback{display:flex;place-items:center;justify-content:center;width:100%;height:100%;background:linear-gradient(125deg,#132b36,#243d40);color:#fff}
/* Floating reading controls share the same media slot; buttons never obscure the article copy. */
.wtx-wamda--shorts .wtx-wamda-sound{
 z-index:8;inset-block-start:8px!important;inset-inline-end:8px!important;min-width:42px;min-height:42px;
}
.wtx-wamda--shorts .wtx-wamda-video-progress{
 position:absolute;z-index:8;inset-inline:12px;bottom:5px;width:calc(100% - 24px);height:22px;
 margin:0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:none;
}
.wtx-wamda--shorts .wtx-wamda-video-progress::before{
 content:"";position:absolute;inset-inline:0;top:10px;height:3px;background:#ffffff77;border-radius:99px;
}
.wtx-wamda--shorts .wtx-wamda-video-progress span{
 position:absolute;inset-inline-start:0;top:10px;height:3px;width:0%;border-radius:99px;background:#fff;
}
.wtx-wamda--shorts .wtx-wamda-video-progress:focus-visible{outline:3px solid #fff;outline-offset:1px;border-radius:6px}
/* Overlay / Compact continue to cover the whole card; only explicit new slots are arranged. */
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card--overlay,
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card--compact{
 display:grid!important;grid-template-areas:"media";grid-template-rows:minmax(0,1fr);background:#071019;
}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-media{
 grid-area:media;position:absolute!important;inset:0!important;display:grid;place-items:center
}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-card-head{
 grid-area:media;align-self:end;justify-content:end;z-index:5;
 background:linear-gradient(180deg,transparent,#000b 37%,#000b);padding:32px 80px 134px 17px;pointer-events:none;
}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-card-head a{pointer-events:auto}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-card-foot{
 grid-area:media;align-self:end;justify-content:end;z-index:5;
 background:linear-gradient(180deg,transparent,#000c 38%,#000e);padding:8px 80px calc(18px + env(safe-area-inset-bottom,0px)) 17px;pointer-events:none;
}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-card-foot :is(a,button){pointer-events:auto}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact) .wtx-wamda-media>.wtx-wamda-photo{object-fit:cover!important}
.wtx-wamda--shorts :is(.wtx-wamda-card--overlay,.wtx-wamda-card--compact)[data-wamda-media-fit="contain"] .wtx-wamda-media>.wtx-wamda-photo{object-fit:contain!important}
.wtx-wamda--shorts .wtx-wamda-card--compact .wtx-wamda-card-head h2{font-size:clamp(16px,4vw,20px)!important}
.wtx-wamda--shorts .wtx-wamda-card--compact .wtx-wamda-card-foot .wtx-wamda-brief{display:none}
.wtx-wamda--shorts .wtx-wamda-card--compact .wtx-wamda-card-head{padding-bottom:84px}
.wtx-wamda--shorts .wtx-wamda-card--compact .wtx-wamda-card-foot{padding-bottom:calc(15px + env(safe-area-inset-bottom,0px))}
/* Remove global theme height/column constraints for the new markup. */
.wtx-wamda-immersive>.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card{grid-template-columns:minmax(0,1fr)!important}
.wtx-wamda--shorts .wtx-wamda-footer{position:absolute;bottom:22%;inset-inline:0;z-index:15;pointer-events:none;padding:0}
.wtx-wamda--shorts .wtx-wamda-status:not(:empty){
 display:block;width:max-content;max-width:min(330px,80vw);margin:0 auto;
 background:#08131be8;color:#fff;font-size:12px;line-height:1.55;padding:9px 12px;border:1px solid #ffffff3a;
 border-radius:12px;box-shadow:0 5px 25px #0008;pointer-events:none;
}
.wtx-wamda--shorts.is-loading .wtx-wamda-deck{cursor:progress}
.wtx-wamda--shorts.is-loading .wtx-wamda-footer::before{
 content:"";display:block;width:32px;height:32px;margin:0 auto 8px;border:3px solid #ffffff44;
 border-top-color:#fff;border-radius:50%;animation:wamda-spin .8s linear infinite;
}
@keyframes wamda-spin{to{transform:rotate(360deg)}}
@media(max-width:379px){
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head{padding-inline:12px;padding-block-end:8px;gap:3px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2{font-size:clamp(16px,4.7vw,19px)!important}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-foot{padding-inline:12px;gap:5px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions{margin-inline:3px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action{min-height:43px;width:44px}
 .wtx-wamda--shorts .wtx-wamda-foot-links{gap:5px}
 .wtx-wamda--shorts .wtx-wamda-foot-links .wtx-wamda-read{padding:6px 9px;font-size:11px!important}
}
@media(max-height:690px){
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head{padding-block-start:64px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-byline{display:none}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2{font-size:clamp(15px,4vw,19px)!important;line-height:1.3!important}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card--editorial .wtx-wamda-card-foot .wtx-wamda-brief{display:-webkit-box!important;-webkit-line-clamp:1;font-size:12px!important}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action{min-height:43px;width:43px;gap:0}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action svg{width:21px;height:21px}
}
@media(min-width:760px){
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2{font-size:22px!important}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-foot .wtx-wamda-brief{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){.wtx-wamda--shorts.is-loading .wtx-wamda-footer::before{animation:none}}
@media(prefers-reduced-transparency:reduce){
 .wtx-wamda--shorts .wtx-wamda-backdrop-image{opacity:.18;filter:none}
 .wtx-wamda--shorts .wtx-wamda-side-actions .wtx-wamda-action{backdrop-filter:none}
}
@media print{
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card{height:auto!important;min-height:0!important;display:block!important;background:#fff;color:#111}
 .wtx-wamda--shorts .wtx-wamda-card-head,.wtx-wamda--shorts .wtx-wamda-card-foot{color:#111;background:#fff;padding:12px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2,.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card-head h2 a{color:#111!important}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-media{height:220px}
 .wtx-wamda.wtx-wamda--shorts .wtx-wamda-side-actions{display:none}
}

/* The legacy short-height media rule must never suppress the editorial summary. */
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-card--editorial .wtx-wamda-card-foot .wtx-wamda-brief{display:-webkit-box!important}

/* Prevent oversized interpolation of genuinely small images; retain an unobtrusive backdrop. */
.wtx-wamda.wtx-wamda--shorts .wtx-wamda-media[data-wamda-small-photo="1"]>.wtx-wamda-photo{
 width:min(100%,var(--wamda-small-w))!important;
 height:auto!important;
 max-width:100%!important;
 max-height:min(100%,var(--wamda-small-h))!important;
 object-fit:contain!important;
}
