/* Eridu theme. Clean, white, three columns. Colours are variables: news-core reads --mx-accent and --mx-alert too. */

@font-face{font-family:"IBM Plex Sans Arabic";font-weight:400 500;font-display:swap;src:url(fonts/plex-400-arabic.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-weight:400 500;font-display:swap;src:url(fonts/plex-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-weight:600 800;font-display:swap;src:url(fonts/plex-600-arabic.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-weight:600 800;font-display:swap;src:url(fonts/plex-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --mx-accent:#1b3a8a; --mx-alert:#c8102e;
  --ink:#111318; --ink-2:#4a505c; --ink-3:#8a909c;
  --line:#e6e8ec; --bg:#fff; --soft:#f5f6f8; --card:#fff;
  --r:10px; --gut:20px; --max:1240px;
  --font:"IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
}
body.aft-dark-mode{
  --mx-accent:#9fb0ff; --ink:#eceef2; --ink-2:#b6bcc8; --ink-3:#858c99;
  --line:#2a2e38; --bg:#0f1116; --soft:#171a21; --card:#0f1116;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.6 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
h1,h2,h3,h4{margin:0}
.ed-wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.ed-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ed-skip{position:absolute;inset-inline-start:8px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:8px 14px;border-radius:8px}
.ed-skip:focus{top:8px}
.ed-topline{height:3px;background:var(--ink)}
.admin-bar .ed-header{top:32px}
@media (max-width:782px){.admin-bar .ed-header{top:46px}}
@media (max-width:600px){.admin-bar .ed-header{top:0}}

/* ---------- header ---------- */
.ed-header{background:var(--bg);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.ed-header__row{display:flex;align-items:center;gap:28px;height:72px}
.ed-logo{display:flex;align-items:baseline;gap:8px;flex:none}
.ed-logo b{font-size:30px;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
.ed-logo i{font-style:normal;font-size:13px;font-weight:600;color:var(--mx-accent);border:1px solid currentColor;border-radius:999px;padding:0 8px;line-height:20px}
.ed-logo--img{align-items:center}.ed-logo__img{height:40px;width:auto}
.ed-nav{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.ed-nav::-webkit-scrollbar{display:none}
.ed-nav a{white-space:nowrap;font-weight:500;font-size:15.5px;padding:8px 12px;border-radius:8px;color:var(--ink-2);position:relative}
.ed-nav a:hover{color:var(--ink);background:var(--soft)}
.ed-nav a.on{color:var(--ink);font-weight:700}
.ed-nav a.on::after{content:"";position:absolute;inset-inline:12px;bottom:0;height:2px;background:var(--mx-accent);border-radius:2px}
.ed-header__tools{display:flex;align-items:center;gap:8px;flex:none}
.ed-ico{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:0;background:none;cursor:pointer;color:var(--ink)}
.ed-ico:hover{background:var(--soft)}
.ed-ico svg{width:20px;height:20px}
.ed-mode .sun{display:none}.ed-mode .moon{display:block}
body.aft-dark-mode .ed-mode .sun{display:block}body.aft-dark-mode .ed-mode .moon{display:none}
.ed-btn{display:inline-flex;align-items:center;gap:8px;font:600 14px var(--font);padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer}
.ed-btn--dark{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.ed-btn svg{width:14px;height:14px;color:var(--mx-alert)}
.ed-search{border-top:1px solid var(--line);background:var(--soft);padding:12px 0}
.ed-search .ed-wrap{display:flex;gap:8px}
.ed-search input{flex:1;font:inherit;font-size:16px;padding:10px 16px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}
.ed-search button,.ed-404__form button{font:inherit;font-weight:700;padding:0 22px;border-radius:999px;border:0;background:var(--ink);color:var(--bg);cursor:pointer}
.ed-mobnav{display:none;gap:6px;overflow-x:auto;padding:8px var(--gut);border-bottom:1px solid var(--line);scrollbar-width:none;background:var(--bg)}
.ed-mobnav::-webkit-scrollbar{display:none}
.ed-mobnav a{white-space:nowrap;font-weight:600;font-size:14px;padding:6px 14px;border-radius:999px;background:var(--soft);color:var(--ink-2)}
.ed-mobnav a.on{background:var(--ink);color:var(--bg)}

/* ---------- headline strip (breaking ones in red) ---------- */
.ed-ticker{background:var(--soft);border-bottom:1px solid var(--line)}
.ed-ticker__row{display:flex;align-items:center;gap:14px;height:46px}
.ed-ticker__label{flex:none;background:var(--ink);color:var(--bg);font-weight:700;font-size:12.5px;padding:3px 11px;border-radius:4px}
.ed-ticker__label.is-brk{background:var(--mx-alert);color:#fff}
.ed-ticker__track{flex:1;min-width:0;overflow:hidden;height:100%;display:flex;align-items:center}
.ed-ticker__move{display:flex;align-items:center;height:100%;width:max-content;animation:edTick var(--d,60s) linear infinite;will-change:transform}
.ed-ticker:hover .ed-ticker__move{animation-play-state:paused}
.ed-ticker.off .ed-ticker__move{animation-play-state:paused}
.ed-ticker__move a{flex:none;font-size:14.5px;font-weight:500;padding-inline:22px;white-space:nowrap;position:relative;display:inline-flex;align-items:center}
.ed-ticker__move a::after{content:"";position:absolute;inset-inline-end:-3px;top:50%;width:5px;height:5px;border-radius:1px;background:var(--ink-3);transform:translateY(-50%) rotate(45deg)}
.ed-ticker__dup{display:flex}
.ed-ticker a.brk{color:var(--mx-alert);font-weight:700}
.ed-ticker a.brk b{background:var(--mx-alert);color:#fff;font-size:11.5px;padding:1px 8px;border-radius:4px;margin-inline-end:8px}
.ed-ticker a.brk::after{display:none}
@keyframes edTick{from{transform:translate3d(0,0,0)}to{transform:translate3d(50%,0,0)}}   /* RTL: the strip moves rightwards; at +50% the copy lines up with the start */
.ed-today{flex:none;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--ink-3)}
.ed-today .t{display:inline-flex;align-items:center;gap:5px;color:var(--ink);font-weight:600}
.ed-today svg{width:15px;height:15px}
@media (max-width:1060px){.ed-today .d,.ed-today .h{display:none}}
@media (max-width:640px){.ed-today{display:none}}
.ed-zubda{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:8px var(--gut);font-size:14px;background:var(--bg);border-bottom:1px solid var(--line);color:var(--ink-2)}
.ed-zubda .go{font-weight:700;color:var(--mx-accent)}

/* ---------- breaking banner (homepage) ---------- */
.ed-brk{display:flex;align-items:center;gap:14px;margin:18px 0 0;padding:11px 16px;border-radius:var(--r);background:var(--mx-alert);color:#fff}
.ed-brk__tag{flex:none;display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--mx-alert);font-weight:700;font-size:13.5px;padding:2px 12px;border-radius:999px}
.ed-brk__tag i{width:8px;height:8px;border-radius:50%;background:var(--mx-alert);animation:edBeat 1.6s ease-in-out infinite}
.ed-brk__t{flex:1;min-width:0;font-weight:600;font-size:clamp(15px,1.5vw,18px);line-height:1.5}
@keyframes edBeat{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.55}}

/* ---------- tabs ---------- */
.ed-tabs{display:flex;justify-content:center;margin:26px 0 22px}
.ed-tabs__in{display:inline-flex;background:var(--soft);border-radius:999px;padding:4px;gap:2px}
.ed-tabs button{font:600 14px var(--font);border:0;background:none;color:var(--ink-2);padding:7px 20px;border-radius:999px;cursor:pointer}
.ed-tabs button.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.14)}
body.aft-dark-mode .ed-tabs button.on{background:#262a35}
.ed-panel[hidden]{display:none}
.ed-box--narrow{max-width:640px;margin:0 auto}
.ed-latestlist{max-width:760px;margin:0 auto}
.ed-empty{text-align:center;color:var(--ink-3);padding:80px 0}

/* ---------- pictures ---------- */
.ed-noimg{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#dfe3ea,#c9cfda);color:rgba(17,19,24,.35);font-weight:700;font-size:15px}
body.aft-dark-mode .ed-noimg{background:linear-gradient(135deg,#232733,#1a1d26);color:rgba(255,255,255,.25)}
.ed-card__img{display:block;position:relative;overflow:hidden;border-radius:var(--r);background:var(--soft)}
.ed-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){.ed-card:hover .ed-card__img img{transform:scale(1.04)}}
.r16{aspect-ratio:16/9}.r43{aspect-ratio:4/3}.r11{aspect-ratio:1/1}.r45{aspect-ratio:4/5}
/* a tall photo is shown whole on a soft, blurred copy of itself */
.is-tall::before{content:"";position:absolute;inset:-12%;background:var(--tall-bg) center/cover;filter:blur(18px) saturate(1.2);opacity:.9}
.is-tall img{position:relative;object-fit:contain!important}

/* ---------- cards ---------- */
.ed-card__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ed-k{font-size:12.5px;font-weight:700;color:var(--mx-accent)}
.ed-pill--brk{font-size:11.5px;font-weight:700;background:var(--mx-alert);color:#fff;padding:1px 8px;border-radius:4px}
.ed-card__t{font-weight:700;line-height:1.55;font-size:17px;margin:5px 0 4px}
.ed-card__t a{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:100% 100%;transition:background-size .3s}
@media (hover:hover){.ed-card:hover .ed-card__t a{background-size:100% 1px}}
.ed-ago{font-size:13px;color:var(--ink-3)}.ed-ago.fresh{color:var(--ink-2);font-weight:500}
.ed-card--lead .ed-ago.fresh{color:var(--mx-alert);font-weight:600}
.ed-card--vert .ed-card__body,.ed-card--second .ed-card__body{padding-top:12px}
.ed-card--vert .ed-card__t{font-size:19px}
.ed-card--lead .ed-card__body{padding-top:14px}
.ed-card--lead .ed-card__t{font-size:30px;line-height:1.5;margin:6px 0 8px}
.ed-card--second{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.ed-card--second .ed-card__t{font-size:23px}
.ed-card--hero .ed-card__body{padding-top:14px}
.ed-card--hero .ed-card__t{font-size:30px;line-height:1.5}
.ed-card--tile{position:relative;border-radius:var(--r);overflow:hidden;margin-bottom:22px}
.ed-card--tile .ed-card__img{border-radius:0}
.ed-card--tile .ed-card__meta{display:none}
.ed-card--tile .ed-card__body{position:absolute;inset-inline:0;bottom:0;padding:70px 18px 18px;background:linear-gradient(to top,rgba(0,0,0,.74),rgba(0,0,0,0));pointer-events:none}
.ed-card--tile .ed-card__t{color:#fff;font-size:22px;margin:0}
.ed-card--tile .ed-card__t a{pointer-events:auto}
.ed-card--row{display:grid;grid-template-columns:1fr 112px;gap:14px;padding:16px 0;border-top:1px solid var(--line);align-items:start}
.ed-card--row .ed-card__img{order:2;border-radius:8px}
.ed-card--row .ed-card__body{order:1}
.ed-card--row .ed-card__t{font-size:16.5px;margin-top:3px}
.ed-card--wide{grid-template-columns:1fr 200px;padding:18px 0}
.ed-list .ed-card--row:first-child{border-top:0;padding-top:0}
.ed-latestlist .ed-card--row:first-child{border-top:0}

/* ---------- homepage grid ---------- */
.ed-grid3{display:grid;grid-template-columns:3fr 6fr 3fr;align-items:start}
.ed-col{padding:0 26px}
.ed-col:first-child{padding-inline-start:0}.ed-col:last-child{padding-inline-end:0}
.ed-col + .ed-col{border-inline-start:1px solid var(--line)}
.ed-list{margin-top:18px}
.ed-sec{margin-top:54px}
.ed-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink);padding-bottom:10px;margin-bottom:22px}
.ed-head__t{font-size:22px;font-weight:700}
.ed-head__more{font-size:14px;font-weight:600;color:var(--mx-accent)}
.ed-row4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ed-row4 .ed-card__t{font-size:17px;margin:12px 0 6px}

/* ---------- editor picks as stories ---------- */
.ed-spot{--dur:3.5s}
.ed-spot__wrap{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px;align-items:center}
.ed-spot__stage{position:relative;width:100%;min-width:0;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:#0d1020}
.ed-spot__slide{position:absolute;inset:0;display:block;color:#fff;opacity:0;visibility:hidden;transition:opacity .4s ease,visibility 0s linear .4s}
.ed-spot__slide.on{opacity:1;visibility:visible;transition:opacity .4s ease}
.ed-spot__slide img,.ed-spot__slide .ed-noimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (prefers-reduced-motion:no-preference){.ed-spot__slide.on img{animation:edSpotIn .65s cubic-bezier(.2,.7,.2,1)}}
@keyframes edSpotIn{from{transform:scale(1.1)}to{transform:scale(1)}}
.ed-spot__slide .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,transparent 26%,transparent 44%,rgba(0,0,0,.85) 100%)}
.ed-spot__slide .txt{position:absolute;inset:auto 0 0 0;z-index:1;padding:22px 24px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;opacity:0;transform:translateY(8px)}
.ed-spot__slide.on .txt{opacity:1;transform:none;transition:opacity .35s ease .15s,transform .35s ease .15s}
.ed-spot__slide .tag{font-size:12.5px;font-weight:700;background:var(--mx-alert);padding:2px 11px;border-radius:4px}
.ed-spot__slide .t{font-weight:700;font-size:clamp(20px,2vw,27px);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ed-spot__slide .go{font-size:14px;font-weight:600;opacity:.85}
.ed-spot__bars{position:absolute;z-index:3;inset:14px 16px auto;display:flex;gap:6px}
.ed-spot__bars i{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.3);overflow:hidden}
.ed-spot__bars b{display:block;height:100%;width:100%;background:#fff;border-radius:3px;transform:scaleX(0);transform-origin:right}
.ed-spot__bars i.done b{transform:scaleX(1)}
.ed-spot__bars i.run b{animation:edFill var(--dur,3.5s) linear forwards}
.ed-spot.hold .ed-spot__bars i.run b,.ed-spot.away .ed-spot__bars i.run b{animation-play-state:paused}
.ed-spot.still .ed-spot__bars i.run b{animation:none;transform:scaleX(1)}
@keyframes edFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ed-spot__tap{position:absolute;z-index:2;top:0;bottom:38%;width:30%;border:0;background:none;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ed-spot__tap.prev{right:0}.ed-spot__tap.next{left:0}
.ed-spot__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.ed-spot__list button{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.ed-spot__list button:hover{background:var(--soft)}
.ed-spot__list button.on{background:var(--soft)}
.ed-spot__list .th{display:none}
.ed-spot__list .n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:14px;background:var(--bg);border:1px solid var(--line);color:var(--ink-2)}
.ed-spot__list button.on .n{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.ed-spot__list .t{font-weight:600;font-size:15px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- video band ---------- */
.ed-videos{background:var(--soft);margin-top:54px;padding:38px 0}
.ed-videos .ed-head{border-color:var(--line)}
.ed-videos__dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--mx-alert);margin-inline-end:10px;vertical-align:middle}
.ed-videos__grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}
.ed-videos__list{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-content:start}
.ed-vcard{display:block}
.ed-vcard__img{display:block;position:relative;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:#14161c}
.ed-vcard__img img{width:100%;height:100%;object-fit:cover}
.ed-play{position:absolute;inset-inline-start:12px;bottom:12px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;display:grid;place-items:center}
.ed-play svg{width:18px;height:18px}
.ed-vlen{position:absolute;inset-inline-end:10px;bottom:12px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;font-weight:600;padding:1px 8px;border-radius:4px}
.ed-vcard__t{display:block;font-weight:700;font-size:16px;line-height:1.55;margin-top:10px}
.ed-vcard--big .ed-vcard__t{font-size:21px}

/* ---------- boxes and follow ---------- */
.ed-box{margin-top:0}
.ed-box > h2,.ed-box > .wp-block-heading{font-size:22px;font-weight:700;border-bottom:1px solid var(--ink);padding-bottom:10px;margin:0 0 14px!important}
.ed-home--end{margin-top:54px}
.ed-follow{max-width:520px}
.ed-follow__tg{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg)}
.ed-follow__tg:hover{border-color:var(--mx-accent)}
.ed-follow__tg .ic{flex:none;width:42px;height:42px;border-radius:50%;background:#229ed9;color:#fff;display:grid;place-items:center}
.ed-follow__tg .ic svg{width:22px;height:22px}
.ed-follow__tg .tx{flex:1;display:flex;flex-direction:column}
.ed-follow__tg small{color:var(--ink-3);font-size:13px}
.ed-follow__tg .go{color:var(--mx-accent);font-weight:700}
.ed-soc{display:flex;gap:8px;flex-wrap:wrap}
.ed-follow__soc,.ed-footer__soc{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.ed-follow__soc a,.ed-footer__soc a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line)}
.ed-follow__soc a:hover{background:var(--soft)}
.ed-follow__soc svg,.ed-footer__soc svg{width:19px;height:19px}

/* ---------- story page ---------- */
.ed-story-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start;padding-top:24px}
.ed-page-wrap{max-width:900px;padding-top:24px}
.ed-crumbs{display:flex;gap:8px;font-size:13.5px;color:var(--ink-3);margin-bottom:14px}
.ed-crumbs a:hover{color:var(--ink)}
.ed-story__title{font-size:clamp(26px,3vw,38px);line-height:1.5;font-weight:700;margin:8px 0 14px}
.ed-story__by{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;font-size:14px;color:var(--ink-3);padding-bottom:18px;border-bottom:1px solid var(--line)}
.ed-story__by .by{color:var(--ink);font-weight:600}
.ed-edit{display:inline-flex;align-items:center;gap:6px;color:var(--mx-accent);font-weight:600}
.ed-edit svg{width:15px;height:15px}
.ed-story__photo{margin:22px 0 0}
.ed-story__frame{display:block;position:relative;border-radius:var(--r);overflow:hidden;background:var(--soft)}
.ed-story__frame img{width:100%;height:auto;max-height:620px;object-fit:cover}
.ed-story__frame.is-tall{aspect-ratio:16/10}
.ed-story__frame.is-tall img{height:100%}
.ed-story__photo figcaption{font-size:14px;color:var(--ink-3);margin-top:8px}
.ed-story__body{font-size:18.5px;line-height:1.95;margin-top:24px}
.ed-story__body p{margin:0 0 20px}
.ed-story__body h2,.ed-story__body h3{margin:30px 0 12px;line-height:1.5}
.ed-story__body a{color:var(--mx-accent);text-decoration:underline;text-underline-offset:3px}
.ed-story__body img{border-radius:var(--r)}
.ed-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:30px 0;padding:16px 0;border-block:1px solid var(--line)}
.ed-share__t{font-weight:700;margin-inline-end:6px}
.mx-sh{width:40px;height:40px;border-radius:50%;display:inline-grid;place-items:center;color:#fff;border:0;cursor:pointer;background:#444}
.mx-sh svg{width:19px;height:19px}
.mx-sh-x{background:#000}.mx-sh-fb{background:#1877f2}.mx-sh-copy{background:var(--soft);color:var(--ink)}
.mx-sh-copy.done{background:#16a34a;color:#fff}
.ed-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:10px}
.ed-pn{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--r);align-items:center}
.ed-pn:hover{border-color:var(--mx-accent)}
.ed-pn__img{display:block;position:relative;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:var(--soft)}
.ed-pn__img img{width:100%;height:100%;object-fit:cover}
.ed-pn__k{display:block;font-size:12.5px;font-weight:600;color:var(--ink-3)}
.ed-pn__t{display:-webkit-box;font-weight:700;font-size:15px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0}
.ed-pn__c{font-size:12.5px;font-weight:700;color:var(--mx-accent)}
.ed-side{display:grid;gap:36px;position:sticky;top:96px}
.ed-progress{position:fixed;top:0;inset-inline:0;height:3px;z-index:60;pointer-events:none}
.admin-bar .ed-progress{top:32px}
.ed-progress i{display:block;height:100%;background:var(--mx-alert);transform-origin:right;transform:scaleX(0)}
@supports (animation-timeline:scroll()){
  .ed-progress i{animation:edProg linear both;animation-timeline:scroll(root)}
  @keyframes edProg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}

/* ---------- section / archive pages ---------- */
.ed-cathead{border-bottom:1px solid var(--line);background:var(--soft)}
.ed-cathead__in{padding-block:34px}
.ed-cathead__kicker{font-size:13px;font-weight:700;color:var(--mx-accent)}
.ed-cathead__t{font-size:clamp(28px,3.4vw,40px);font-weight:700;margin:4px 0 6px}
.ed-cathead__d{margin:0;color:var(--ink-2);max-width:700px}
.ed-page{padding-top:26px;padding-bottom:20px}
.ed-page--cat .ed-card--hero{margin-bottom:34px;padding-bottom:34px;border-bottom:1px solid var(--line)}
.ed-row4--list{row-gap:34px}
.ed-pager{display:flex;justify-content:center;margin-top:36px}
.ed-pager .page-numbers{display:inline-block;min-width:40px;text-align:center;padding:8px 14px;margin:0 3px;border-radius:999px;font-weight:600;color:var(--ink-2)}
.ed-pager .page-numbers.current{background:var(--ink);color:var(--bg)}
.ed-pager a.page-numbers:hover{background:var(--soft)}
.ed-404{text-align:center;padding:48px 20px}
.ed-404__code{margin:0;font-size:clamp(64px,12vw,110px);font-weight:700;line-height:1;color:var(--mx-accent)}
.ed-404__t{font-size:clamp(22px,3vw,30px);margin:10px 0}
.ed-404__p{color:var(--ink-2);margin:0 0 22px}
.ed-404__form{display:flex;gap:8px;max-width:520px;margin:0 auto 18px}
.ed-404__form input{flex:1;font:inherit;font-size:16px;padding:11px 18px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}
.ed-404__home{font-weight:700;color:var(--mx-accent)}

/* ---------- footer ---------- */
.ed-footer{position:relative;overflow:hidden;margin-top:70px;background:#101217;color:#c3c7cf}
.ed-footer__line{height:3px;background:linear-gradient(90deg,var(--mx-accent),#6f86d8 60%,var(--mx-alert))}
.ed-footer__in{position:relative;z-index:1;padding-top:54px;padding-bottom:22px}
.ed-footer__top{display:flex;flex-wrap:wrap;gap:44px 56px;justify-content:space-between;align-items:flex-start;padding-bottom:38px;border-bottom:1px solid #262a33}
.ed-footer__brand{flex:1 1 320px;max-width:440px}
.ed-footer__name{display:block;font-size:36px;line-height:1.2;color:#fff;font-weight:700;letter-spacing:-.5px}
.ed-footer__brand p{margin:10px 0 0;color:#8f95a1;font-size:15px;line-height:1.8}
.ed-footer__cta{display:inline-flex;align-items:center;gap:10px;margin-top:20px;padding:11px 20px;border-radius:999px;background:#229ed9;color:#fff;font-weight:600;font-size:14.5px}
.ed-footer__cta svg{width:18px;height:18px}
.ed-footer__cta:hover{background:#1c8dc4}
.ed-footer__soc{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}
.ed-footer__soc a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid #2c313b;color:#c3c7cf;transition:background .2s,color .2s,border-color .2s}
.ed-footer__soc a:hover{background:#fff;color:#101217;border-color:#fff}
.ed-footer__soc svg{width:19px;height:19px}
.ed-footer__col{flex:0 1 auto;min-width:130px}
.ed-footer__col h3{font-size:14px;font-weight:700;color:#fff;margin:0 0 16px;letter-spacing:.2px}
.ed-footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:11px;font-size:14.5px}
.ed-footer__col--secs ul{grid-template-columns:repeat(2,minmax(0,auto));gap:11px 40px}
.ed-footer__col a{color:#aeb3bd;transition:color .15s}
.ed-footer__col a:hover{color:#fff}
.ed-footer__bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:20px}
.ed-footer__copy{margin:0;font-size:13px;color:#7c828e}
.ed-footer__up{font-size:13px;font-weight:600;color:#aeb3bd}
.ed-footer__up:hover{color:#fff}
.ed-footer__mark{position:absolute;inset-inline:0;bottom:-.22em;text-align:center;font-size:clamp(110px,19vw,260px);font-weight:700;line-height:1;letter-spacing:-.02em;color:rgba(255,255,255,.035);pointer-events:none;user-select:none;white-space:nowrap}

/* ---------- back to top ---------- */
.ed-top{position:fixed;inset-inline-end:18px;bottom:18px;width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility 0s linear .25s;z-index:40;box-shadow:0 6px 18px -6px rgba(0,0,0,.45)}
.ed-top.on{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s}
.ed-top svg{width:20px;height:20px}

/* ---------- responsive ---------- */
@media (max-width:1060px){
  .ed-grid3{grid-template-columns:1fr 1fr}
  .ed-col--c{grid-column:1/-1;order:-1;padding:0 0 26px;border:0}
  .ed-col{padding:0 0 0 22px}.ed-col + .ed-col{border-inline-start:0}
  .ed-col:first-child{padding-inline-start:0;padding-inline-end:22px;border-inline-start:0}
  .ed-row4{grid-template-columns:repeat(2,1fr)}
  .ed-story-wrap{grid-template-columns:1fr}.ed-side{position:static}
  .ed-spot__wrap,.ed-videos__grid{grid-template-columns:1fr}
  .ed-footer__brand{flex-basis:100%;max-width:none}
}
@media (max-width:640px){
  :root{--gut:16px}
  .ed-header__row{height:60px;gap:12px}
  .ed-logo b{font-size:25px}.ed-logo i{display:none}
  .ed-nav,.ed-btn--live{display:none}
  .ed-header__tools{margin-inline-start:auto}
  .ed-mobnav{display:flex}
  .ed-grid3{grid-template-columns:1fr}.ed-col,.ed-col:first-child{padding:0 0 10px}
  .ed-card--lead .ed-card__t{font-size:23px}.ed-card--hero .ed-card__t{font-size:23px}
  .ed-card--tile .ed-card__t{font-size:19px}
  .r45{aspect-ratio:16/10}
  .ed-row4{grid-template-columns:1fr 1fr;gap:18px}.ed-row4 .ed-card__t{font-size:15.5px}
  .ed-sec{margin-top:40px}
  .ed-card--row{grid-template-columns:1fr 96px}.ed-card--wide{grid-template-columns:1fr 112px}
  .ed-story__body{font-size:20px;line-height:1.9}
  .ed-prevnext{grid-template-columns:1fr}
  .ed-videos__list{grid-template-columns:1fr 1fr}
  .ed-spot__list{flex-direction:row;overflow-x:auto;scrollbar-width:none}
  .ed-spot__list li{flex:none;width:72%}
  .ed-footer__top{gap:32px}.ed-footer__col{flex:1 1 40%}.ed-footer__name{font-size:30px}.ed-footer__bar{flex-direction:column;align-items:flex-start;gap:8px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ed-card__img img{transition:none}}
