/* ═══════════════════════════════════════════════════════════════
   The Omnia Signal · Magazine CSS v4.5.0
   Design System: Rajdhani · Outfit · JetBrains Mono · Playfair
   Glassmorphism dark · accent-green #00dc9b
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --mbg:     #050b10;
  --mbg2:    #080f16;
  --mcard:   #0c1520;
  --mcard2:  #101c28;
  --mglass:  rgba(12,21,32,0.82);
  --mborder: rgba(0,220,155,0.10);
  --mborder2:rgba(0,220,155,0.22);
  --mborder3:rgba(255,255,255,0.07);
  --mg:  #00dc9b;
  --mb:  #00b4d8;
  --mgo: #f5c842;
  --mr:  #ff4d6d;
  --mp:  #a855f7;
  --t1:  #e8f1f8;
  --t2:  #8fa3b4;
  --tm:  #4d6475;
  --fd:  'Rajdhani', sans-serif;
  --fb:  'Outfit', sans-serif;
  --ff:  'Playfair Display', serif;
  --fm:  'JetBrains Mono', monospace;
  --r1: 6px; --r2: 10px; --r3: 14px; --r4: 18px;
  --sh-card: 0 4px 24px rgba(0,0,0,.40), 0 0 0 1px rgba(0,220,155,.06);
  --sh-hover: 0 8px 40px rgba(0,0,0,.60), 0 0 0 1px rgba(0,220,155,.15);
  --glow: 0 0 20px rgba(0,220,155,.15);
}

/* ═══ TICKER BAR ═══ */
.mag-ticker-bar {
  background: rgba(5,11,16,.97);
  border-bottom: 1px solid rgba(0,220,155,.10);
  height: 34px; overflow: hidden;
  display: flex; align-items: center;
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 200;
}
/* TRENDING label — fixed left badge */
.mag-ticker-label {
  flex-shrink: 0;
  padding: 0 12px;
  height: 100%;
  display: flex; align-items: center;
  background: linear-gradient(90deg,rgba(0,220,155,.18),rgba(0,220,155,.04));
  border-right: 1px solid rgba(0,220,155,.20);
  font-family: var(--fm,'JetBrains Mono',monospace);
  font-size: 10px; font-weight: 700;
  letter-spacing: .10em; color: var(--mg,#00DCA0);
  text-transform: uppercase; white-space: nowrap;
}
.mag-ticker-inner { overflow: hidden; flex: 1; }
.mag-ticker-track {
  display: inline-flex; align-items: center;
  animation: magTicker 60s linear infinite;
  white-space: nowrap;
}
.mag-ticker-track:hover { animation-play-state: paused; }
.mag-ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 24px; font-family: var(--fd,'Rajdhani',sans-serif); font-size: 13.5px;
  border-right: 1px solid rgba(255,255,255,.04);
  height: 34px; cursor: default; transition: opacity .2s;
}
.mag-ticker-item:hover { opacity: .8; }
.mag-ticker-cat { font-family: var(--fm,'JetBrains Mono',monospace); font-size: 11px; }
.mag-ticker-headline { color: var(--t2,#A6B7B7); font-weight: 500; }
.mag-ticker-sym  { color: var(--t1); font-weight: 700; }
.mag-ticker-price{ color: var(--t2); }
.mag-ticker-up   { color: var(--mg); }
.mag-ticker-dn   { color: var(--mr); }
@keyframes magTicker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Ticker: LIVE badge inline in scroll track ── */
.mag-tick-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px 0 10px;
  height: 34px;
  background: linear-gradient(90deg, rgba(0,220,155,.14), rgba(0,220,155,.04));
  border-right: 1px solid rgba(0,220,155,.18);
  flex-shrink: 0;
}
.mag-tick-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cy, #00DCA0);
  animation: tickDot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
#mag-ticker-live-lbl {
  font-family: var(--fm, 'JetBrains Mono', monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cy, #00DCA0);
  text-transform: uppercase;
}
@keyframes tickDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
.mag-tick-sep { color: rgba(255,255,255,.1); padding: 0 12px; user-select: none; }
.mag-tick-item { /* already defined above */ }
.mag-tick-lbl   { font-family: var(--fd); font-size: 13px; font-weight: 600; color: #fff; }
.mag-tick-price { font-family: var(--fm); font-size: 12px; color: rgba(255,255,255,.72); }
.mag-tick-chg   { font-family: var(--fm); font-size: 11px; font-weight: 700; }
.mag-tick-chg.up { color: #00DCA0; }
.mag-tick-chg.dn { color: #ff4560; }

/* ═══ MASTHEAD ═══ */
.mag-masthead {
  background: var(--mbg2);
  border-bottom: 1px solid var(--mborder);
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.mag-mast-brand { display: flex; align-items: center; }
.mag-mast-logo  { display: flex; align-items: center; gap: 14px; }

/* OmniaCoin rotating logo wrapper */
.mag-mast-oc {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mag-mast-oc-fallback {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0,220,155,.18), rgba(0,180,216,.08));
  border: 1.5px solid rgba(0,220,155,.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--mg); box-shadow: var(--glow);
}
/* Hide fallback when OC logo is injected */
.mag-mast-oc.oc-loaded .mag-mast-oc-fallback { display: none; }
.mag-mast-oc .oc-coin { cursor: default !important; }
.mag-mast-oc .oc-coin:hover { transform: none !important; }

.mag-mast-text { display: flex; flex-direction: column; gap: 2px; }
.mag-mast-name {
  font-family: var(--fd); font-size: 26px; font-weight: 600;
  color: var(--t1); letter-spacing: .01em; line-height: 1;
}
.mag-mast-tagline {
  font-family: var(--fd); font-size: 9px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--tm);
  margin-top: 3px;
}
.mag-mast-right { text-align: right; }
.mag-mast-date  {
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t2); letter-spacing: .03em;
}
.mag-mast-edition {
  font-family: var(--fd); font-size: 10px; font-weight: 600;
  color: var(--tm); margin-top: 3px; letter-spacing: .12em;
  text-transform: uppercase;
}

/* ═══ CATEGORY NAV ═══ */
.mag-cat-nav {
  background: var(--mcard);
  border-bottom: 1px solid var(--mborder3);
  position: sticky; top: 34px; z-index: 190;
  overflow: hidden;
}
.mag-cat-nav-inner {
  display: flex; align-items: center; padding: 0 32px;
  gap: 0; overflow-x: auto; scrollbar-width: none;
}
.mag-cat-nav-inner::-webkit-scrollbar { display: none; }
.mag-tabs { display: flex; align-items: center; flex: 1; }
.mag-tab {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 11px 14px; cursor: pointer; white-space: nowrap;
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t2); border-bottom: 2px solid transparent;
  background: none; border-top: none; border-left: none; border-right: none;
  transition: all .2s; line-height: 1;
}
.mag-tab:hover  { color: var(--t1); }
.mag-tab.act    { color: var(--mg); border-bottom-color: var(--mg); }
.mag-tab-qn     { color: rgba(168,85,247,.8); }
.mag-tab-qn.act { color: var(--mp); border-bottom-color: var(--mp); }
.mag-tab-insight{ color: rgba(245,200,66,.8); }
.mag-tab-insight.act { color: var(--mgo); border-bottom-color: var(--mgo); }
.mag-archive-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; margin-left: 8px; white-space: nowrap; flex-shrink: 0;
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(245,200,66,.7); text-decoration: none;
  border: 1px solid rgba(245,200,66,.15); border-radius: var(--r1);
  transition: all .2s;
}
.mag-archive-btn:hover { color: var(--mgo); border-color: rgba(245,200,66,.35); background: rgba(245,200,66,.05); }

/* ═══ BREAKING BAR ═══ */
.mag-breaking-bar {
  background: rgba(0,220,155,.05);
  border-bottom: 1px solid rgba(0,220,155,.12);
  height: 32px; overflow: hidden;
}
.mag-bb-inner { display: flex; align-items: center; height: 100%; }
.mag-bb-label {
  background: var(--mg); color: #050b10;
  font-family: var(--fd); font-size: 9px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 0 14px; height: 100%;
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  white-space: nowrap;
}
.mag-bb-scroll { flex: 1; overflow: hidden; }
.mag-bb-track {
  display: inline-flex; align-items: center;
  animation: magTicker 40s linear infinite;
  white-space: nowrap;
}
.mag-bb-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; font-size: 11px; font-family: var(--fb);
  color: var(--t1); white-space: nowrap; height: 32px;
  border-right: 1px solid rgba(0,220,155,.10);
  cursor: pointer;
}
.mag-bb-item:hover { color: var(--mg); }
.mag-bb-cat  { font-size: 9px; color: var(--tm); font-weight: 600; letter-spacing: .1em; }
.mag-bb-time { font-size: 9px; color: var(--tm); font-family: var(--fm); }

/* ═══ AD HERO BANNER ═══ */
.mag-ad-hero-wrap {
  max-width: 1440px; margin: 0 auto; padding: 8px 32px;
}

/* ═══════════════════════════════════════════════
   FULL-WIDTH LAYOUT
═══════════════════════════════════════════════ */
.mag-fw-layout {
  max-width: 1440px; margin: 0 auto;
  padding: 0 32px 40px;
}

/* ── HERO FULL WIDTH — homepage card grid ── */
.mag-hw-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  border-radius: var(--r3); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 24px;
}
.mag-hw-card {
  position: relative; overflow: hidden;
  cursor: pointer; transition: all .3s;
}
.mag-hw-card:hover { z-index: 2; }
.mag-hw-card:hover .mag-hw-img { transform: scale(1.03); }
.mag-hw-card.big { grid-row: 1 / 3; }
.mag-hw-card.big .mag-hw-img-wrap { height: 380px; }
.mag-hw-card.sm  .mag-hw-img-wrap { height: 189px; }
.mag-hw-img-wrap {
  position: relative; overflow: hidden; background: rgba(0,0,0,.3);
}
.mag-hw-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s;
}
.mag-hw-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg,rgba(0,220,155,.04),rgba(84,132,255,.06));
}
.mag-hw-card.sm .mag-hw-img-ph { font-size: 1.5rem; }
.mag-hw-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .85rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.88) 35%);
}
.mag-hw-card.sm .mag-hw-overlay { padding: .55rem .8rem; }
.mag-hw-cat {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  color: #0a0f1c; margin-bottom: .3rem;
}
.mag-hw-title {
  font-family: var(--fd); font-size: 1.15rem; font-weight: 500; line-height: 1.3;
  color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.mag-hw-card.sm .mag-hw-title { font-size: .92rem; -webkit-line-clamp: 2; }
.mag-hw-meta {
  display: flex; align-items: center; gap: 6px;
  margin-top: .3rem; font-size: .75rem; color: rgba(255,255,255,.7);
}
.mag-hw-card.sm .mag-hw-meta { font-size: .68rem; }

/* ── SIDEBARS 50/50 ── */
.mag-sidebars-50 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin: 32px 0;
}
.mag-sidebar-l { padding: 0 20px 0 0; }
.mag-sidebar-r { padding: 0 0 0 4px; }

/* ── DUAL SECTION — homepage column style ── */
.mag-hw-dual {
  background: rgba(8,15,22,.45);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r3); overflow: hidden; margin: 0 0 24px;
}
.mag-hw-3col { display: grid; grid-template-columns: 1fr 1fr; }
.mag-hw-col {
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.06); min-width: 0;
}
.mag-hw-col:last-child { border-right: none; }
.mag-hw-col-hdr {
  padding: .6rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.015);
}
.mag-hw-col-label {
  font-family: var(--fd); font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; gap: 4px;
}
.mag-hw-col-label-int { color: var(--cy,#00DCA0); }
.mag-hw-col-label-loc { color: var(--mg,#00DCA0); }
.mag-hw-col-body { flex: 1; }
.mag-hw-item {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .55rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer; transition: background .2s;
}
.mag-hw-item:hover { background: rgba(255,255,255,.025); }
.mag-hw-item:last-child { border-bottom: none; }
.mag-hw-thumb {
  flex-shrink: 0; width: 80px; height: 56px;
  border-radius: 5px; overflow: hidden; background: rgba(0,0,0,.2);
}
.mag-hw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-hw-thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,rgba(0,220,155,.06),rgba(5,11,16,.8));
}
.mag-hw-body { flex: 1; min-width: 0; }
.mag-hw-item-title {
  font-family: var(--fd); font-size: .88rem; font-weight: 500; line-height: 1.35;
  color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .2rem;
}
.mag-hw-item-meta {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.mag-hw-src { font-size: .72rem; font-weight: 700; }
.mag-hw-time { font-size: .68rem; color: var(--tm); }

/* ═══ WIDGETS ═══ */
.mag-widget { margin-bottom: 28px; }
.mag-widget-ad { margin-bottom: 20px; }
.mag-widget-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--tm); margin-bottom: 14px;
}
.mag-widget-bar {
  width: 3px; height: 12px; border-radius: 2px;
  background: var(--mg); opacity: .6; flex-shrink: 0;
}
.mag-widget-bar-purple { background: var(--mp); }
.mag-widget-bar-red    { background: var(--mr); }
.mag-widget-sub { opacity: .5; font-weight: 400; letter-spacing: .08em; }

/* ═══ SKELETON ═══ */
.mag-skeleton-sm {
  height: 48px; background: rgba(255,255,255,.04);
  border-radius: var(--r1); margin-bottom: 8px;
  animation: magPulse 1.5s infinite;
}
.mag-skeleton-card {
  height: 80px; background: rgba(255,255,255,.04);
  border-radius: var(--r2); margin-bottom: 8px;
  animation: magPulse 1.5s infinite;
}
@keyframes magPulse { 0%,100%{opacity:.5} 50%{opacity:.25} }

/* ═══════════════════════════════════════════════
   TRENDING WIDGET
═══════════════════════════════════════════════ */
.mag-trending-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer; transition: all .2s;
}
.mag-trending-item:last-child { border-bottom: none; }
.mag-trending-item:hover .mag-trending-title { color: var(--mg); }
.mag-trending-rank {
  font-family: var(--fm); font-size: 20px; font-weight: 700;
  color: rgba(0,220,155,.15); width: 26px; flex-shrink: 0; line-height: 1.1;
}
.mag-trending-item:first-child .mag-trending-rank { color: rgba(0,220,155,.40); }
.mag-trending-body { flex: 1; min-width: 0; }
.mag-trending-cat  { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.mag-trending-title {
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t1); line-height: 1.3; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-trending-meta {
  font-size: 10px; color: var(--tm); margin-top: 4px;
  font-family: var(--fm);
}

/* ═══════════════════════════════════════════════
   QN MINI CARD
═══════════════════════════════════════════════ */
.mag-qn-mini {
  background: linear-gradient(135deg, rgba(168,85,247,.08), rgba(0,180,216,.05));
  border: 1px solid rgba(168,85,247,.18);
  border-radius: var(--r2); padding: 14px;
  cursor: pointer; transition: all .2s; margin-bottom: 10px;
}
.mag-qn-mini:hover { border-color: rgba(168,85,247,.30); background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(0,180,216,.08)); }
.mag-qn-mini-asset {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.mag-qn-mini-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(168,85,247,.12); border: 1px solid rgba(168,85,247,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}
.mag-qn-mini-sym  { font-family: var(--fm); font-size: 13px; font-weight: 700; color: var(--t1); }
.mag-qn-mini-name { font-size: 10px; color: var(--tm); }
.mag-qn-signal {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--fd); font-size: 9px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
}
.mag-qn-bull { background: rgba(0,220,155,.15); color: var(--mg); border: 1px solid rgba(0,220,155,.25); }
.mag-qn-bear { background: rgba(255,77,109,.15); color: var(--mr); border: 1px solid rgba(255,77,109,.25); }
.mag-qn-neut { background: rgba(245,200,66,.15); color: var(--mgo); border: 1px solid rgba(245,200,66,.25); }
.mag-qn-mini-title {
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t1); line-height: 1.35; margin: 10px 0 6px;
}
.mag-qn-mini-excerpt {
  font-size: 11px; color: var(--t2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-qn-mini-foot {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,.05);
}
.mag-qn-mini-time { font-family: var(--fm); font-size: 10px; color: var(--tm); }
.mag-qn-mini-link {
  font-size: 11px; color: var(--mp);
  font-family: var(--fd); font-weight: 600; cursor: pointer;
}
/* Compact QN items below the featured */
.mag-qn-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer; transition: all .2s;
}
.mag-qn-item:last-child { border-bottom: none; }
.mag-qn-item:hover .mag-qn-title { color: var(--mp); }
.mag-qn-symbol-pill {
  font-family: var(--fm); font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(168,85,247,.12); color: var(--mp);
  border: 1px solid rgba(168,85,247,.20);
  flex-shrink: 0; margin-top: 2px;
}
.mag-qn-body { flex: 1; min-width: 0; }
.mag-qn-title {
  font-family: var(--fd); font-size: 11px; font-weight: 500;
  color: var(--t1); line-height: 1.3; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-qn-meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 10px; color: var(--tm); }
.mag-qn-signal.bull,.mag-qn-signal.bear,.mag-qn-signal.neut { font-size: 9px; padding: 1px 6px; }

/* ═══════════════════════════════════════════════
   FOCUS ON WIDGET
═══════════════════════════════════════════════ */
.mag-focus-card {
  background: rgba(255,77,109,.05);
  border: 1px solid rgba(255,77,109,.15);
  border-radius: var(--r2); padding: 14px;
  cursor: pointer; transition: all .2s;
}
.mag-focus-card:hover { border-color: rgba(255,77,109,.28); background: rgba(255,77,109,.08); }
.mag-focus-trending-tag {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mr); margin-bottom: 8px;
}
.mag-focus-title {
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  color: var(--t1); line-height: 1.35; margin-bottom: 6px;
}
.mag-focus-summary {
  font-size: 11px; color: var(--t2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.mag-focus-cta {
  font-size: 11px; color: var(--mr);
  font-family: var(--fd); font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
}

/* ═══════════════════════════════════════════════
   HERO ROW (colonna centrale)
═══════════════════════════════════════════════ */
.mag-hero-row {
  display: grid; grid-template-columns: 60% 40%;
  gap: 2px; margin-bottom: 32px;
  border-radius: var(--r3); overflow: hidden;
  box-shadow: var(--sh-card);
}

/* HERO MAIN (58%) */
.mag-hero-main {
  position: relative; overflow: hidden; cursor: pointer;
  min-height: 340px; background: var(--mcard2);
  transition: opacity .2s;
}
.mag-hero-main:hover { opacity: .95; }
.mag-hero-chart-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,220,155,.06) 0%, transparent 40%),
    linear-gradient(225deg, rgba(0,180,216,.08) 0%, transparent 50%);
}
.mag-hero-chart-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,220,155,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,220,155,.03) 40px);
}
.mag-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,11,16,.97) 0%, rgba(5,11,16,.60) 45%, transparent 70%);
}
.mag-hero-img-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.mag-hero-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .12; color: var(--mg);
}
.mag-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px; z-index: 2;
}
.mag-hero-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mag-hero-title {
  font-family: var(--ff); font-size: 22px; font-weight: 700;
  color: var(--t1); line-height: 1.25; margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.mag-hero-summary {
  font-size: 13px; color: var(--t2); line-height: 1.55;
  margin-bottom: 14px; max-width: 90%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-hero-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 11px; color: var(--tm);
}
.mag-meta-sep { opacity: .4; }
.mag-meta-time,.mag-meta-read { color: var(--tm); }

/* HERO RIGHT — 3 card piccole */
.mag-hero-right {
  display: flex; flex-direction: column; gap: 2px;
}
.mag-hero-stack-card {
  flex: 1; display: flex; flex-direction: row; align-items: stretch;
  overflow: hidden; cursor: pointer;
  background: var(--mcard2); min-height: 110px; transition: all .3s;
  border-left: 1px solid rgba(255,255,255,.04);
}
.mag-hero-stack-card:hover { background: var(--mcard); }
.mag-hero-stack-bg { display: none; } /* replaced by thumb */
.mag-hero-stack-grad { display: none; }
.mag-hsc-img {
  width: 90px; min-width: 90px; height: 100%;
  flex-shrink: 0; overflow: hidden; position: relative;
}
.mag-hsc-img-ph {
  display: flex; align-items: center; justify-content: center;
}
.mag-hero-stack-body {
  flex: 1; padding: 10px 12px; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden;
}
.mag-hero-stack-cat { display: flex; gap: 5px; margin-bottom: 4px; }
.mag-hero-stack-title {
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t1); line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-hero-stack-meta {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  font-size: 10px; color: var(--t2); margin-top: auto;
}

/* ═══════════════════════════════════════════════
   SEP LABEL
═══════════════════════════════════════════════ */
.mag-sep-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--t2);
}
.mag-sep-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(0,220,155,.15), transparent);
}
/* ══════════════════════════════════════════════
   SERVIZI OMNIA — Left Sidebar Promo Cards
══════════════════════════════════════════════ */
.mag-svc-cards {
  display: flex; flex-direction: column; gap: 6px;
}
.mag-svc-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 11px; border-radius: var(--r2);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  text-decoration: none; cursor: pointer;
  transition: all .25s; position: relative;
  overflow: hidden;
}
.mag-svc-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(0,220,160,.04));
  opacity: 0; transition: opacity .25s;
}
.mag-svc-card:hover { border-color: rgba(0,220,160,.22); transform: translateX(2px); }
.mag-svc-card:hover::before { opacity: 1; }
.mag-svc-card-highlight {
  border-color: rgba(255,176,32,.18);
  background: rgba(255,176,32,.04);
}
.mag-svc-card-highlight:hover { border-color: rgba(255,176,32,.38); }
.mag-svc-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
}
.mag-svc-body { flex: 1; min-width: 0; }
.mag-svc-name {
  font-family: var(--fd); font-size: 12px; font-weight: 600;
  color: var(--t1); margin-bottom: 2px; line-height: 1.2;
}
.mag-svc-desc {
  font-size: 10px; color: var(--tm); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mag-svc-arrow {
  font-size: 12px; color: var(--mg); opacity: .6;
  transition: transform .2s, opacity .2s; flex-shrink: 0;
}
.mag-svc-card:hover .mag-svc-arrow { transform: translateX(3px); opacity: 1; }

.mag-sep-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mg); opacity: .7; flex-shrink: 0;
}
.mag-live-dot {
  color: var(--mr); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  animation: magBlink 1.2s infinite;
}
@keyframes magBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ═══════════════════════════════════════════════
   NEWS CARD (feed principale)
═══════════════════════════════════════════════ */
.mag-news-card {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 14px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer; transition: all .2s;
}
.mag-news-card:hover .mag-nc-title { color: var(--mg); }
.mag-nc-img {
  width: 80px; height: 60px; border-radius: var(--r1);
  background: var(--mcard2); overflow: hidden; flex-shrink: 0;
}
.mag-nc-img img { width: 100%; height: 100%; object-fit: cover; }
.mag-nc-img .mag-nc-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; opacity: .5;
  background: linear-gradient(135deg, rgba(0,220,155,.06), rgba(0,180,216,.04));
}
.mag-nc-body { flex: 1; min-width: 0; }
.mag-nc-pills { display: flex; gap: 5px; margin-bottom: 5px; flex-wrap: wrap; }
.mag-nc-title {
  font-family: var(--fd); font-size: 13px; font-weight: 500;
  color: var(--t1); line-height: 1.35; transition: color .2s; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-nc-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 11px; color: var(--t2);
}

/* ══ FEATURED NEWS CARD (first item in feed) ══ */
.mag-news-card-feat {
  display: flex; flex-direction: column; gap: 0;
  padding: 0 0 16px 0;
  border-bottom: 2px solid rgba(0,220,160,.15);
  margin-bottom: 4px;
}
.mag-nc-img-feat {
  width: 100%; height: 200px;
  border-radius: var(--r2); overflow: hidden;
  background: var(--mcard2); margin-bottom: 12px;
  flex-shrink: 0;
}
.mag-nc-img-feat img { width:100%; height:100%; object-fit:cover; }
.mag-nc-img-feat .mag-nc-ph {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:40px; opacity:.25;
  background: linear-gradient(135deg, rgba(0,220,155,.08), rgba(0,180,216,.06));
}
.mag-nc-title-feat {
  font-family: var(--fd); font-size: 18px; font-weight: 600;
  color: var(--t1); line-height: 1.3; margin-bottom: 8px;
  transition: color .2s;
}
.mag-news-card-feat:hover .mag-nc-title-feat { color: var(--mg); }

/* ══ 2-COLUMN PAIR GRID (items 2-3) ══ */
.mag-news-pair-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-bottom: 4px;
}
.mag-news-pair-grid .mag-news-card {
  border-bottom: none; padding: 12px;
  background: var(--mcard2); border-radius: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.mag-news-pair-grid .mag-news-card .mag-nc-img {
  width: 100%; height: 80px; margin-bottom: 6px;
}
.mag-news-pair-grid .mag-news-card .mag-nc-body { flex: 1; }
.mag-news-pair-grid .mag-news-card .mag-nc-title {
  -webkit-line-clamp: 3;
}

/* ═══════════════════════════════════════════════
   OMNIA CARD (analisi OmniaCoin)
═══════════════════════════════════════════════ */
.mag-omnia-card {
  background: rgba(8,15,22,.6);
  border: 1px solid rgba(0,220,155,.12);
  border-radius: var(--r2); padding: 16px;
  cursor: pointer; margin-bottom: 12px;
  transition: all .2s;
}
.mag-omnia-card:hover { border-color: rgba(0,220,155,.22); background: rgba(8,15,22,.8); }
.mag-omnia-card h4 {
  font-family: var(--fd); font-size: 14px; font-weight: 500;
  color: var(--t1); line-height: 1.35; margin: 8px 0;
}
.mag-oc-excerpt {
  font-size: 12px; color: var(--t2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-oc-footer {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
}
.mag-oc-read-btn {
  font-size: 11px; color: var(--mg); font-family: var(--fd); font-weight: 600;
  letter-spacing: .05em; cursor: pointer;
}

/* ═══════════════════════════════════════════════
   DUAL SECTION (Int · Local)
═══════════════════════════════════════════════ */
.mag-dual-section {
  background: rgba(8,15,22,.5);
  border: 1px solid var(--mborder3);
  border-radius: var(--r3); padding: 16px 20px; margin: 24px 0;
}
.mag-dual-lang-badge {
  font-family: var(--fm); font-size: 10px; color: var(--mg);
  background: rgba(0,220,155,.10); border: 1px solid rgba(0,220,155,.18);
  border-radius: 4px; padding: 2px 7px;
}
.mag-dual-updated { font-size: 10px; color: var(--tm); margin-left: auto; font-family: var(--fd); }
.mag-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mag-dual-col-head {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tm);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
/* dual items */
.mag-dual-item {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
  cursor: pointer; transition: all .2s;
}
.mag-dual-item:last-child { border-bottom: none; }
.mag-dual-item:hover .mag-dual-title { color: var(--mg); }
.mag-dual-thumb-wrap {
  width: 50px; height: 40px; border-radius: 4px;
  background: var(--mcard2); flex-shrink: 0; overflow: hidden;
}
.mag-dual-thumb-wrap img,.mag-dual-img { width: 100%; height: 100%; object-fit: cover; }
.mag-dual-thumb-fb {
  display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: .5;
  background: linear-gradient(135deg, rgba(0,220,155,.08), rgba(0,180,216,.05));
}
.mag-dual-body { flex: 1; min-width: 0; }
.mag-dual-cat-row { margin-bottom: 4px; }
.mag-dual-title {
  font-family: var(--fd); font-size: 11px; font-weight: 500;
  color: var(--t1); line-height: 1.3; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.mag-dual-meta {
  font-size: 10px; color: var(--tm);
  display: flex; align-items: center; gap: 4px;
}

/* ═══════════════════════════════════════════════
   LOAD MORE
═══════════════════════════════════════════════ */
.mag-loadmore-wrap { text-align: center; padding: 24px 0 8px; }
.mag-loadmore-btn {
  background: rgba(0,220,155,.08);
  border: 1px solid rgba(0,220,155,.20);
  color: var(--mg); font-family: var(--fd); font-size: 12px; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase;
  padding: 10px 32px; border-radius: 99px; cursor: pointer;
  transition: all .2s;
}
.mag-loadmore-btn:hover { background: rgba(0,220,155,.14); border-color: rgba(0,220,155,.35); }

/* ═══════════════════════════════════════════════
   SIDEBAR RIGHT — PRICE WIDGET
═══════════════════════════════════════════════ */
.mag-prices-wrap {
  background: var(--mcard);
  border: 1px solid var(--mborder3);
  border-radius: var(--r2); padding: 12px;
}
.mag-price-mini {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); gap: 8px;
}
.mag-price-mini:last-child { border-bottom: none; }
.mag-pm-left { display: flex; align-items: center; gap: 8px; }
.mag-pm-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(245,200,66,.12); border: 1px solid rgba(245,200,66,.20);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
  flex-shrink: 0;
}
.mag-pm-sym  { font-family: var(--fm); font-size: 12px; font-weight: 700; color: var(--t1); }
.mag-pm-name { font-size: 10px; color: var(--tm); }
.mag-pm-right { text-align: right; }
.mag-pm-price{ font-family: var(--fm); font-size: 12px; color: var(--t1); }
.mag-pm-up   { font-family: var(--fm); font-size: 11px; color: var(--mg); font-weight: 700; }
.mag-pm-dn   { font-family: var(--fm); font-size: 11px; color: var(--mr); font-weight: 700; }
/* Rotator panels — absolute overlap, no layout jump, pure opacity */
.mag-pr-panel {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease;
}
.mag-pr-panel.mag-pr-active {
  opacity: 1; pointer-events: auto;
  transition: opacity 1.1s ease;
}
.mag-pr-tabs  { display: flex; gap: 4px; margin-bottom: 10px; }
.mag-pr-tab {
  font-family: var(--fd); font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px; cursor: pointer;
  color: var(--tm); border: 1px solid transparent; background: none; transition: all .2s;
}
.mag-pr-tab:hover { color: var(--t1); }
.mag-pr-tab.mag-pr-active { color: var(--mg); border-color: rgba(0,220,155,.25); background: rgba(0,220,155,.07); }

/* ═══ NEWSLETTER BOX ═══ */
.mag-nl-box {
  background: linear-gradient(135deg, rgba(0,180,216,.08), rgba(0,220,155,.04));
  border: 1px solid rgba(0,180,216,.18);
  border-radius: var(--r2); padding: 16px;
}
.mag-nl-icon { font-size: 20px; margin-bottom: 8px; }
.mag-nl-title {
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  color: var(--t1); margin-bottom: 6px;
}
.mag-nl-sub { font-size: 11px; color: var(--t2); margin-bottom: 12px; line-height: 1.5; }
.mag-nl-input {
  width: 100%; padding: 8px 12px; border-radius: var(--r1);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  color: var(--t1); font-size: 12px; font-family: var(--fb);
  outline: none; margin-bottom: 8px; box-sizing: border-box;
}
.mag-nl-input:focus { border-color: rgba(0,220,155,.30); }
.mag-nl-input::placeholder { color: var(--tm); }
.mag-nl-btn {
  width: 100%; padding: 9px; border-radius: var(--r1);
  background: linear-gradient(135deg, var(--mg), #00b87c);
  color: #050b10; font-family: var(--fd); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; cursor: pointer; border: none; text-transform: uppercase;
  transition: all .2s;
}
.mag-nl-btn:hover { opacity: .9; transform: translateY(-1px); }
.mag-nl-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.mag-nl-success {
  font-size: 12px; color: var(--mg); padding: 8px;
  background: rgba(0,220,155,.08); border-radius: var(--r1); margin-top: 8px;
}
.mag-nl-error { font-size: 11px; color: var(--mr); margin-top: 6px; }

/* ═══ BROKER WIDGET ═══ */
.mag-broker-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; margin-bottom: 4px;
  background: var(--mcard); border: 1px solid var(--mborder3);
  border-radius: var(--r2); transition: all .2s;
}
.mag-broker-card:hover { border-color: rgba(0,220,155,.20); background: var(--mcard2); }
.mag-broker-logo {
  width: 32px; height: 32px; border-radius: 6px; object-fit: contain;
  background: rgba(255,255,255,.06); flex-shrink: 0;
}
.mag-broker-info { flex: 1; min-width: 0; }
.mag-broker-name { font-family: var(--fd); font-size: 12px; font-weight: 600; color: var(--t1); }
.mag-broker-tag  { font-size: 10px; color: var(--tm); }
.mag-broker-cta  {
  font-size: 11px; color: var(--mg); font-family: var(--fd); font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: opacity .2s;
}
.mag-broker-cta:hover { opacity: .8; }
.mag-broker-all {
  display: block; text-align: center; margin-top: 10px;
  font-size: 11px; color: var(--mg); font-family: var(--fd); font-weight: 500;
  text-decoration: none; transition: opacity .2s;
}
.mag-broker-all:hover { opacity: .8; }

/* ═══ AD BOXES ═══ */
.mag-ad-wrap { display: block; }
.mag-ad-hero-banner, .mag-ad-sidebar, .mag-ad-infeed {
  width: 100%; min-height: 32px;
  background: linear-gradient(135deg, rgba(0,220,155,.04), rgba(0,180,216,.02));
  border: 1px dashed rgba(0,220,155,.12);
  border-radius: var(--r2); overflow: hidden;
}
.mag-ad-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 20px;
  color: var(--tm); font-family: var(--fd); font-size: 10px;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.mag-ad-placeholder:hover { border-color: rgba(0,220,155,.25); background: rgba(0,220,155,.06); }
.mag-ad-size  { font-family: var(--fm); font-size: 13px; color: rgba(0,220,155,.5); }
.mag-ad-price { font-size: 12px; color: var(--mg); font-weight: 600; letter-spacing: 0; }
.mag-ad-cta {
  background: var(--mg); color: #050b10;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  padding: 5px 14px; border-radius: 99px; text-transform: uppercase; margin-top: 4px;
}
.mag-ad-label { min-height: 0; }

/* ═══ FOOTER CATEGORIES ═══ */
.mag-footer-cats {
  border-top: 1px solid var(--mborder3);
  background: var(--mcard);
}
.mag-footer-cats-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 24px 32px;
}
.mag-footer-cats-title {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tm);
  margin-bottom: 16px;
}
.mag-footer-cats-grid {
  display: grid; grid-template-columns: repeat(8,1fr); gap: 8px;
}
.mag-footer-cat {
  text-align: center; padding: 12px 8px;
  background: var(--mcard2); border: 1px solid var(--mborder3);
  border-radius: var(--r2); cursor: pointer; transition: all .2s;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.mag-footer-cat:hover { border-color: rgba(0,220,155,.25); background: rgba(0,220,155,.04); }
.mag-fc-icon { font-size: 20px; }
.mag-footer-cat span:last-child { font-family: var(--fd); font-size: 11px; font-weight: 600; color: var(--t2); }

/* ═══ ARCHIVE SECTION ═══ */
.mag-archive-section {
  background: var(--mbg2);
  border-top: 1px solid var(--mborder3);
  padding: 40px 0;
}
.mag-archive-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
}
.mag-archive-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.mag-archive-title {
  font-family: var(--fd); font-size: 16px; font-weight: 600;
  color: var(--t1); display: flex; align-items: center; gap: 8px;
}
.mag-archive-sub { font-size: 12px; color: var(--tm); margin-top: 2px; }
.mag-archive-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.mag-archive-tab {
  font-size: 11px; font-family: var(--fd); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px; cursor: pointer;
  color: var(--tm); border: 1px solid rgba(255,255,255,.08); background: none;
  transition: all .2s;
}
.mag-archive-tab:hover { color: var(--t1); }
.mag-archive-tab.act { color: var(--mg); border-color: rgba(0,220,155,.25); background: rgba(0,220,155,.06); }
.mag-archive-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.mag-archive-card {
  background: var(--mcard); border: 1px solid var(--mborder3);
  border-radius: var(--r3); overflow: hidden; cursor: pointer;
  transition: all .2s;
}
.mag-archive-card:hover { border-color: rgba(0,220,155,.18); box-shadow: var(--sh-hover); }
.mag-archive-card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--mcard2);
}
.mag-archive-card-body { padding: 14px; }
.mag-archive-card-type {
  font-family: var(--fd); font-size: 10px; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase; color: var(--tm);
  margin-bottom: 6px;
}
.mag-archive-card-title {
  font-family: var(--fd); font-size: 13px; font-weight: 500;
  color: var(--t1); line-height: 1.35; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-archive-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--tm); font-family: var(--fm);
}

/* ═══ ADV BANNER ═══ */
.mag-adv-banner {
  background: linear-gradient(135deg, rgba(0,220,155,.06), rgba(0,180,216,.04));
  border-top: 1px solid rgba(0,220,155,.12);
  border-bottom: 1px solid rgba(0,220,155,.12);
  padding: 20px 32px;
}
.mag-adv-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.mag-adv-icon { font-size: 24px; color: var(--mg); }
.mag-adv-title { font-family: var(--fd); font-size: 14px; font-weight: 600; color: var(--t1); }
.mag-adv-sub   { font-size: 11px; color: var(--t2); margin-top: 2px; }
.mag-adv-btn {
  margin-left: auto; background: var(--mg); color: #050b10;
  font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 8px 20px; border-radius: 99px;
  text-decoration: none; transition: opacity .2s;
}
.mag-adv-btn:hover { opacity: .85; }

/* ═══ BADGES & PILLS ═══ */
.mag-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--fd); font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; line-height: 1;
  white-space: nowrap;
}
.mag-badge-editorial { background: rgba(245,200,66,.18); color: var(--mgo); border: 1px solid rgba(245,200,66,.28); }
.mag-badge-qn        { background: rgba(168,85,247,.18); color: var(--mp);  border: 1px solid rgba(168,85,247,.28); }
.mag-badge-focus     { background: rgba(255,77,109,.18);  color: var(--mr);  border: 1px solid rgba(255,77,109,.28); }
.mag-badge-news      { background: rgba(0,180,216,.18);   color: var(--mb);  border: 1px solid rgba(0,180,216,.28); }
.mag-badge-week      { background: transparent; color: rgba(245,200,66,.55); border: 1px solid rgba(245,200,66,.18); font-size: 9px; }
.mag-news-pill {
  display: inline-flex; align-items: center;
  font-family: var(--fd); font-size: 9px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 99px; line-height: 1.2;
}

/* ═══ SOURCE BADGES ═══ */
.mag-omnia-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--fd); font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px 2px 4px; border-radius: 99px;
  background: rgba(0,220,155,.12); color: var(--mg);
  border: 1px solid rgba(0,220,155,.22);
}
.mag-omnia-coin {
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.15), rgba(0,220,155,.06));
  border: 1px solid rgba(0,220,155,.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: var(--mg);
}
.mag-src-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--t2);
}
.mag-src-flag { font-size: 12px; }
.mag-src-name { color: var(--t2); }
.mag-meta-sep  { opacity: .5; font-size: 10px; color: var(--t2); }

/* ═══ READER OVERLAY (preserve existing) ═══ */
/* ═══════════════════════════════════════════════════════════
   ARTICLE READER — spec v3 layout 2 colonne
═══════════════════════════════════════════════════════════ */
.mag-reader-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--mbg); overflow: hidden;
}

/* progress bar fixed top */
.mag-rd-prog-wrap {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.06); z-index: 10002;
}
.mag-rd-prog-fill {
  height: 100%; width: 0;
  background: linear-gradient(to right, var(--mg), var(--mb));
  transition: width .1s linear;
}

/* breadcrumb header */
.mag-rd-breadcrumb {
  position: absolute; top: 3px; left: 0; right: 0; z-index: 10001;
  background: rgba(5,11,16,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 10px 28px; display: flex; align-items: center; gap: 10px;
  height: 48px;
}
.mag-rd-back {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: var(--t2); font-family: var(--fd); font-size: 11px; font-weight: 500;
  padding: 5px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  transition: all .18s; flex-shrink: 0;
}
.mag-rd-back:hover { background: rgba(0,220,155,.1); border-color: rgba(0,220,155,.2); color: var(--mg); }
.mag-rd-bc-sep { color: var(--tm); font-size: 14px; opacity: .5; }
.mag-rd-bc-title {
  font-family: var(--fd); font-size: 12px; color: var(--t2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 480px;
}

/* scrollable body */
.mag-reader-body {
  position: absolute; top: 51px; left: 0; right: 0; bottom: 0;
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(0,220,155,.2) transparent;
}

/* 2-column layout */
.mag-rd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  max-width: 1200px; margin: 0 auto; padding: 0 32px 60px;
  align-items: start;
}

/* MAIN */
.mag-rd-main { padding: 32px 40px 32px 0; border-right: 1px solid rgba(255,255,255,.06); }

/* hero */
.mag-rd-hero {
  width: 100%; aspect-ratio: 16/7; border-radius: var(--r3);
  position: relative; overflow: hidden; margin-bottom: 28px;
}
.mag-rd-hero-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 29px,rgba(0,220,155,.035) 30px),
    repeating-linear-gradient(90deg,transparent,transparent 29px,rgba(0,220,155,.025) 30px);
}
.mag-rd-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .65;
}
.mag-rd-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,11,16,.9) 0%, transparent 50%);
}
.mag-rd-hero-label {
  position: absolute; top: 16px; left: 20px;
  display: flex; align-items: center; gap: 8px;
}
.mag-rd-edition {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  color: rgba(245,200,66,.65); letter-spacing: .04em;
}
.mag-rd-hero-src {
  position: absolute; bottom: 14px; left: 20px;
  font-family: var(--fd); font-size: 11px; color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

/* meta bar */
.mag-rd-meta-bar {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.mag-rd-mi { font-family: var(--fb); font-size: 12px; color: var(--tm); }

/* title & subtitle */
.mag-rd-title {
  font-family: var(--ff); font-size: clamp(22px,3vw,30px);
  font-weight: 500; color: var(--t1); line-height: 1.2;
  margin: 0 0 14px; letter-spacing: -.02em;
}
.mag-rd-subtitle {
  font-family: var(--fb); font-size: 16px; color: var(--t2);
  line-height: 1.65; margin-bottom: 24px; font-style: italic;
  border-left: 3px solid rgba(0,220,155,.3); padding-left: 16px;
}

/* author bar */
.mag-rd-author-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 28px;
}
.mag-rd-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,rgba(0,220,155,.25),rgba(56,189,248,.15));
  border: 1px solid rgba(0,220,155,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--mg);
}
.mag-rd-author-info { flex: 1; }
.mag-rd-author-name {
  font-family: var(--fd); font-size: 13px; font-weight: 500; color: var(--t1);
}
.mag-rd-author-role {
  font-family: var(--fb); font-size: 11px; color: var(--tm); margin-top: 2px;
}
.mag-rd-social-row { display: flex; gap: 8px; margin-left: auto; }
.mag-rd-soc-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: var(--t2); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .18s;
}
.mag-rd-soc-btn:hover { background: rgba(0,220,155,.12); border-color: rgba(0,220,155,.2); color: var(--mg); }

/* body content typography */
.mag-rd-body-content p {
  font-family: var(--fb); font-size: 15.5px; color: var(--t2);
  line-height: 1.8; margin-bottom: 22px;
}
.mag-rd-body-content h3 {
  font-family: var(--fd); font-size: 19px; font-weight: 500;
  color: var(--t1); margin: 36px 0 16px; letter-spacing: -.01em;
}
.mag-rd-body-content h2 {
  font-family: var(--ff); font-size: 22px; font-weight: 500;
  color: var(--t1); margin: 40px 0 18px; letter-spacing: -.015em;
}
.mag-rd-body-content blockquote,
.mag-rd-body-content .highlight-box {
  background: rgba(0,220,155,.06); border-left: 3px solid var(--mg);
  border-radius: 0 var(--r1) var(--r1) 0;
  padding: 16px 20px; margin: 24px 0;
}
.mag-rd-body-content blockquote p,
.mag-rd-body-content .highlight-box p { color: var(--t1); font-weight: 500; margin-bottom: 0; }
.mag-rd-body-content strong { color: var(--t1); }
.mag-rd-body-content a { color: var(--mg); text-decoration: underline; text-decoration-style: dotted; }
.mag-rd-body-content table,
.mag-rd-body-content .data-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-family: var(--fm); font-size: 12px;
}
.mag-rd-body-content table th,
.mag-rd-body-content .data-table th {
  background: rgba(255,255,255,.04); color: var(--tm);
  padding: 10px 14px; text-align: left; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; font-size: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mag-rd-body-content table td,
.mag-rd-body-content .data-table td {
  padding: 10px 14px; color: var(--t2); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mag-rd-body-content table tr:hover td,
.mag-rd-body-content .data-table tr:hover td { background: rgba(255,255,255,.02); }
.mag-rd-body-content .qn-signal {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: .04em; font-family: var(--fm);
}
.mag-rd-body-content .qn-signal.qn-bullish { background:rgba(0,220,155,.15); color:var(--mg); }
.mag-rd-body-content .qn-signal.qn-bearish { background:rgba(255,77,109,.15); color:var(--mr); }
.mag-rd-body-content .qn-signal.qn-neutral  { background:rgba(255,255,255,.08); color:var(--t2); }

/* source button */
.mag-rd-source-row { margin-top: 28px; }
.mag-rd-source-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: var(--t2); font-size: 13px; font-family: var(--fd); text-decoration: none;
  transition: all .18s;
}
.mag-rd-source-btn:hover { background: rgba(0,220,155,.1); border-color: rgba(0,220,155,.2); color: var(--mg); }

/* tags */
.mag-rd-tags-section {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); margin-top: 32px;
}
.mag-rd-tags-lbl {
  font-family: var(--fd); font-size: 10px; color: var(--tm);
  text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0;
}
.mag-rd-tag {
  font-size: 11px; font-family: var(--fd); color: var(--tm);
  padding: 4px 11px; border-radius: 5px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  cursor: pointer; transition: all .18s;
}
.mag-rd-tag:hover { color: var(--mg); border-color: rgba(0,220,155,.25); background: rgba(0,220,155,.06); }

/* related grid */
.mag-rd-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mag-rd-rel-card {
  background: var(--mcard); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); padding: 16px; cursor: pointer; transition: all .2s;
}
.mag-rd-rel-card:hover { border-color: rgba(0,220,155,.2); background: rgba(0,220,155,.04); }
.mag-rd-rel-pills { display: flex; gap: 6px; margin-bottom: 8px; }
.mag-rd-rel-title {
  font-family: var(--fd); font-size: 13px; font-weight: 500;
  color: var(--t1); line-height: 1.35; margin-bottom: 10px;
}
.mag-rd-rel-meta { display: flex; align-items: center; gap: 6px; }

/* ── SIDEBAR ── */
.mag-rd-sidebar {
  padding: 32px 0 32px 32px;
  position: sticky; top: 0;
  max-height: calc(100vh - 51px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(0,220,155,.15) transparent;
  display: flex; flex-direction: column; gap: 16px;
}

/* QN mini card */
.mag-rd-qn-mini {
  background: var(--mcard); border: 1px solid rgba(0,220,155,.18);
  border-radius: var(--r2); padding: 16px;
}
.mag-rd-qn-hdr {
  font-family: var(--fd); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--p);
  margin-bottom: 12px;
}
.mag-rd-qn-price {
  font-family: var(--fm); font-size: 22px; font-weight: 700;
  color: var(--t1); margin-bottom: 4px;
}
.mag-rd-qn-chg {
  font-family: var(--fm); font-size: 12px; margin-bottom: 14px;
}
.mag-rd-qn-chg.up { color: var(--mg); }
.mag-rd-qn-chg.dn { color: var(--mr); }
.mag-rd-sup-res { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mag-rd-sr-box {
  border-radius: 6px; padding: 10px; text-align: center;
}
.mag-rd-sr-box.red { background:rgba(255,77,109,.07); border:1px solid rgba(255,77,109,.15); }
.mag-rd-sr-box.grn { background:rgba(0,220,155,.07); border:1px solid rgba(0,220,155,.15); }
.mag-rd-sr-lbl { font-family:var(--fm); font-size:9px; color:var(--tm); margin-bottom:5px; letter-spacing:.06em; }
.mag-rd-sr-box.red .mag-rd-sr-val { font-family:var(--fm); font-size:14px; font-weight:700; color:var(--mr); }
.mag-rd-sr-box.grn .mag-rd-sr-val { font-family:var(--fm); font-size:14px; font-weight:700; color:var(--mg); }

/* newsletter box */
.mag-rd-nl-box {
  background: var(--mcard); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); padding: 18px;
}
.mag-rd-nl-title {
  font-family: var(--fd); font-size: 14px; font-weight: 500;
  color: var(--t1); margin: 0 0 6px;
}
.mag-rd-nl-sub { font-family:var(--fb); font-size:12px; color:var(--tm); margin:0 0 12px; }
.mag-rd-nl-input {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 7px;
  padding: 9px 12px; font-size: 12px; color: var(--t1);
  font-family: var(--fb); box-sizing: border-box; margin-bottom: 8px;
}
.mag-rd-nl-input:focus { outline: none; border-color: rgba(0,220,155,.3); }
.mag-rd-nl-btn {
  width: 100%; padding: 10px;
  background: linear-gradient(135deg,rgba(0,220,155,.2),rgba(56,189,248,.15));
  border: 1px solid rgba(0,220,155,.25); border-radius: 8px;
  color: var(--mg); font-family: var(--fd); font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.mag-rd-nl-btn:hover { background: linear-gradient(135deg,rgba(0,220,155,.3),rgba(56,189,248,.2)); }

/* ad box */
.mag-rd-ad-box {
  background: var(--mcard); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); aspect-ratio: 300/250; overflow: hidden;
}

/* trending */
.mag-rd-trending-box {
  background: var(--mcard); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); padding: 16px;
}
.mag-rd-widget-title {
  font-family: var(--fd); font-size: 11px; font-weight: 500;
  color: var(--t1); letter-spacing: .04em; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mag-rd-tr-list { display: flex; flex-direction: column; gap: 0; }
.mag-rd-tr-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer; transition: opacity .2s;
}
.mag-rd-tr-item:last-child { border-bottom: none; padding-bottom: 0; }
.mag-rd-tr-item:hover { opacity: .8; }
.mag-rd-tr-num {
  font-family: var(--fm); font-size: 16px; font-weight: 700;
  color: rgba(0,220,155,.25); flex-shrink: 0; line-height: 1;
  padding-top: 2px; min-width: 18px;
}
.mag-rd-tr-body { flex: 1; min-width: 0; }
.mag-rd-tr-pills { display: flex; gap: 4px; margin-bottom: 5px; }
.mag-rd-tr-title {
  font-family: var(--fd); font-size: 12px; font-weight: 500;
  color: var(--t2); line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}


/* ── Reader responsive ── */
@media (max-width: 960px) {
  .mag-rd-layout { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .mag-rd-main { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .mag-rd-sidebar { position: static; max-height: none; padding: 24px 0 0; flex-direction: row; flex-wrap: wrap; }
  .mag-rd-qn-mini, .mag-rd-nl-box, .mag-rd-trending-box { flex: 1 1 280px; }
  .mag-rd-ad-box { display: none; }
}
@media (max-width: 600px) {
  .mag-rd-breadcrumb { padding: 10px 16px; }
  .mag-rd-bc-title { display: none; }
  .mag-rd-layout { padding: 0 16px 32px; }
  .mag-rd-related-grid { grid-template-columns: 1fr; }
  .mag-rd-sidebar { flex-direction: column; }
  .mag-rd-qn-mini, .mag-rd-nl-box, .mag-rd-trending-box { flex: 1 1 auto; }
}
/* ═══ RESPONSIVE ═══ */
@media (max-width: 1280px) {
  .mag-fw-layout { padding: 0 24px 32px; }
  .mag-footer-cats-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 1024px) {
  .mag-fw-layout { padding: 0 20px 24px; }
  .mag-news-pair-grid { grid-template-columns: 1fr; }
  .mag-hw-hero-grid { grid-template-columns: 1fr; }
  .mag-hw-card.big { grid-row: auto; }
  .mag-hw-card.big .mag-hw-img-wrap { height: 260px; }
  .mag-hw-card.sm  .mag-hw-img-wrap { height: 180px; }
  .mag-sidebars-50 { grid-template-columns: 1fr; gap: 0; }
  .mag-sidebar-l { padding: 0 0 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .mag-sidebar-r { padding: 24px 0 0; }
}
@media (max-width: 768px) {
  .mag-fw-layout { padding: 0 16px 24px; }
  .mag-masthead { padding: 12px 16px; }
  .mag-mast-oc { width: 36px; height: 36px; }
  .mag-mast-oc-fallback { width: 36px; height: 36px; font-size: 15px; }
  .mag-mast-name { font-size: 18px; letter-spacing: 0; }
  .mag-mast-tagline { display: none; }
  .mag-mast-date { font-size: 10px; }
  .mag-cat-nav-inner { padding: 0 16px; }
  .mag-hw-3col { grid-template-columns: 1fr; }
  .mag-hw-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .mag-hw-col:last-child { border-bottom: none; }
  .mag-footer-cats-grid { grid-template-columns: repeat(4,1fr); }
  .mag-bb-time { display: none; }
}
@media (max-width: 480px) {
  .mag-footer-cats-grid { grid-template-columns: repeat(3,1fr); }
  .mag-archive-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT ENGINE v2 — CoinDesk 3-column page layout
   LEFT: compact news list · CENTER: content · RIGHT: widgets
══════════════════════════════════════════════════════════════ */

/* ── Layout root ── */
.mag-layout-root {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ── Skeleton ── */
.mag-layout-skeleton { display: flex; gap: 20px; padding: 20px 0; }
.mag-sk-hero  { flex: 2; height: 360px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%; animation: mag-shimmer 1.4s infinite; }
.mag-sk-col   { flex: 1; height: 360px; border-radius: 10px;
  background: rgba(255,255,255,.04); animation: mag-shimmer 1.4s .2s infinite; }
@keyframes mag-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ════════════════════════════════════════════════════════════
   3-COLUMN PAGE GRID
════════════════════════════════════════════════════════════ */
.mag-3col-page {
  display: grid;
  grid-template-columns: 230px 1fr 260px;
  gap: 24px;
  align-items: start;
}

/* ════════════════════════════════════════════════════════════
   LEFT SIDEBAR
════════════════════════════════════════════════════════════ */
.mag-3col-left {
  position: sticky;
  top: 68px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 14px 12px;
}
.mag-3col-left::-webkit-scrollbar { display: none; }

/* ── LEFT SIDEBAR: header ── */
.mag-3l-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mag-3l-bar {
  width: 3px; height: 14px;
  border-radius: 2px;
  background: var(--cy);
  flex-shrink: 0;
}
.mag-3l-title {          /* section header only */
  font-family: var(--fd);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tm);
}

.mag-3l-list { display: flex; flex-direction: column; gap: 0; }

/* ── Each news item ── */
.mag-3l-item {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: background .15s, padding-left .15s;
  border-radius: 6px;
  margin: 1px 0;
}
.mag-3l-item:last-child { border-bottom: none; }
.mag-3l-item:hover {
  background: rgba(255,255,255,.048);
  padding-left: 10px;
}

/* ── Meta row (pill + source + time) ── */
.mag-3l-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.mag-3l-pill {
  font-family: var(--fd);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 1px 5px 1px 4px;
  border-radius: 3px;
  border: 1px solid;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}
.mag-3l-src {
  font-family: var(--fm);
  font-size: .64rem;
  color: var(--tm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.mag-3l-time {
  font-family: var(--fm);
  font-size: .6rem;
  color: rgba(255,255,255,.3);
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── News TITLE (not uppercase) ── */
.mag-3l-news-title {
  font-family: var(--fb);
  font-size: .8rem;
  font-weight: 450;
  color: rgba(255,255,255,.88);
  line-height: 1.42;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
}
.mag-3l-item:hover .mag-3l-news-title {
  color: #fff;
}

.mag-3l-skeleton {
  height: 58px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  margin-bottom: 6px;
  animation: mag-shimmer 1.4s infinite;
  background-size: 200% 100%;
}

/* ════════════════════════════════════════════════════════════
   CENTER: FEATURED HERO — 1 big + 3 small (CoinDesk grid)
════════════════════════════════════════════════════════════ */
.mag-cs-hero { margin-bottom: 28px; }

.mag-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 420px;
}
.mag-hero-loading { grid-column: 1/-1; text-align: center; color: var(--tm); padding: 3rem; }

.mag-hg-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
}
.mag-hg-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.mag-hg-card.big { grid-row: 1 / 3; }

.mag-hg-img-wrap { position: absolute; inset: 0; }
.mag-hg-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mag-hg-card:hover .mag-hg-img { transform: scale(1.04); }

.mag-hg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,16,.92) 30%, rgba(6,9,16,.08) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px 14px 14px;
  gap: 6px;
}
.mag-hg-cat {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 3px;
  font-family: var(--fd); font-size: 8.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  width: fit-content;
}
.mag-hg-title {
  font-family: var(--fb); font-weight: 500; color: #fff; line-height: 1.35;
  font-size: 1rem;
}
.mag-hg-card.sm .mag-hg-title { font-size: .84rem; }
.mag-hg-meta {
  font-family: var(--fm); font-size: .68rem;
  color: rgba(255,255,255,.5); display: flex; gap: 4px; align-items: center;
}

/* ════════════════════════════════════════════════════════════
   CENTER: THEMATIC ROW — horizontal 4 cards
════════════════════════════════════════════════════════════ */
.mag-cs-thematic {
  margin-bottom: 28px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 16px 16px 14px;
}

.mag-th-hdr {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mag-th-icon  { font-size: 1rem; }
.mag-th-label {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mag-th-arrow { color: var(--tm); font-size: .75rem; }
.mag-th-more {
  margin-left: auto;
  font-family: var(--fd);
  font-size: .68rem;
  color: var(--cy);
  text-decoration: none;
  letter-spacing: .05em;
  transition: opacity .15s;
}
.mag-th-more:hover { opacity: .65; }

.mag-th-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mag-th-skeleton {
  height: 160px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  animation: mag-shimmer 1.4s infinite;
  background-size: 200% 100%;
}

.mag-th-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: opacity .18s;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
}
.mag-th-card:hover { opacity: .82; }

.mag-th-card-img {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}
.mag-th-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.mag-th-card:hover .mag-th-card-img img { transform: scale(1.05); }

.mag-th-card-body {
  padding: 0 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mag-th-card-title {
  font-family: var(--fb);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-th-card-meta {
  font-family: var(--fm);
  font-size: .65rem;
  color: var(--tm);
  margin-top: auto;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   CENTER: AD LEADERBOARD
════════════════════════════════════════════════════════════ */
.mag-cs-ad {
  margin-bottom: 24px;
  min-height: 50px;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,.015);
  padding: 8px;
}
.mag-cs-ad .mag-ad-label {
  font-family: var(--fd);
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
}
.mag-ad-inner-bar { width: 100%; min-height: 30px; }

/* ════════════════════════════════════════════════════════════
   CENTER: NEWS FEED section header
════════════════════════════════════════════════════════════ */
.mag-cs-newsfeed { margin-bottom: 28px; }
.mag-nf-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--fd);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--tm);
}

/* ════════════════════════════════════════════════════════════
   CENTER: INT/LOCAL DUAL (inherited)
════════════════════════════════════════════════════════════ */
.mag-cs-intllocal { margin-bottom: 28px; }

/* ════════════════════════════════════════════════════════════
   RIGHT SIDEBAR
════════════════════════════════════════════════════════════ */
.mag-3col-right {
  position: sticky;
  top: 68px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mag-3col-right::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════════════════════════
   LOCAL NEWS: language name in widget header
════════════════════════════════════════════════════════════ */
.mag-local-lang-name {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .01em;
}
#mag-local-news-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — full range including 120% zoom
════════════════════════════════════════════════════════════ */
@media (max-width: 1380px) {
  .mag-3col-page {
    grid-template-columns: 210px 1fr 250px;
    gap: 18px;
  }
}
@media (max-width: 1200px) {
  .mag-3col-page {
    grid-template-columns: 180px 1fr 230px;
    gap: 14px;
  }
  .mag-th-card-img { height: 90px; }
}
@media (max-width: 1060px) {
  /* 120% zoom breakpoint */
  .mag-3col-page {
    grid-template-columns: 1fr 220px;
    grid-template-areas: "center right";
  }
  .mag-3col-left  { display: none; }
  .mag-3col-center { grid-area: center; }
  .mag-3col-right  { grid-area: right; }
  .mag-th-row { grid-template-columns: repeat(2, 1fr); }
  .mag-hero-grid { min-height: 340px; }
}
@media (max-width: 780px) {
  .mag-3col-page {
    grid-template-columns: 1fr;
    grid-template-areas: "center" "right";
  }
  .mag-3col-right { position: static; max-height: none; overflow-y: visible; }
  .mag-th-row { grid-template-columns: repeat(2, 1fr); }
  .mag-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .mag-hg-card.big { grid-row: 1; grid-column: 1 / -1; min-height: 260px; }
  .mag-hg-card.sm  { min-height: 180px; }
}
@media (max-width: 520px) {
  .mag-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .mag-hg-card.big { grid-column: auto; min-height: 220px; }
  .mag-hg-card.sm  { min-height: 160px; }
  .mag-th-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mag-th-card-img { height: 80px; }
}
@media (max-width: 380px) {
  .mag-th-row { grid-template-columns: 1fr; }
  .mag-layout-root { padding: 0 8px 24px; }
  .mag-hg-title { font-size: .82rem; }
}

/* ════════════════════════════════════════════════════════════
   v4.3.0 — LEFT SIDEBAR CTA + AD ZONES + SIDEBAR BOT
════════════════════════════════════════════════════════════ */

/* Left sidebar mid-ad (between news items) */
.mag-3l-ad-mid {
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  border: 1px dashed rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  color: rgba(255,255,255,.15);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Left sidebar bottom ad */
.mag-3l-ad-bot {
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  border: 1px dashed rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  color: rgba(255,255,255,.15);
}

/* Left sidebar CTA block — after news list */
.mag-3l-cta-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mag-3l-cta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: background .18s, border-color .18s;
  cursor: pointer;
}
.mag-3l-cta-link:hover {
  background: rgba(0,220,160,.06);
  border-color: rgba(0,220,160,.2);
}
.mag-3l-cta-link.mag-3l-cta-qn:hover {
  background: rgba(168,85,247,.06);
  border-color: rgba(168,85,247,.2);
}
.mag-3l-cta-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
}
.mag-3l-cta-name {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text, #e8edf2);
  letter-spacing: .02em;
  font-family: 'Rajdhani', sans-serif;
}
.mag-3l-cta-desc {
  font-size: .6rem;
  color: var(--tm, #6b7280);
  margin-top: 1px;
}

/* Right sidebar bottom ad — 300×600 zone */
.mag-sidebar-ad-bot {
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.07);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mag-sidebar-ad-bot::before {
  content: 'AD';
  font-size: .55rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.1);
  font-family: 'JetBrains Mono', monospace;
  position: absolute;
  top: 8px;
  right: 10px;
}

/* ════════════════════════════════════════════════════════════
   v4.3.0 — MOBILE IMPROVEMENTS
════════════════════════════════════════════════════════════ */

/* Category tabs — momentum scroll + snap */
@media (max-width: 900px) {
  .mag-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .mag-tabs::-webkit-scrollbar { display: none; }
  .mag-tab-btn {
    scroll-snap-align: start;
    flex-shrink: 0;
    min-height: 40px;
    padding: 8px 14px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* Left sidebar — hide on mobile, show center full width */
@media (max-width: 900px) {
  .mag-3col-page {
    grid-template-columns: 1fr;
  }
  .mag-3col-left {
    display: none;
  }
  .mag-3col-right {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .mag-3col-page {
    grid-template-columns: 200px 1fr;
  }
  .mag-3col-right {
    display: none;
  }
}

@media (min-width: 1200px) {
  .mag-3col-page {
    grid-template-columns: 230px 1fr 260px;
  }
}

/* Touch-friendly cards on mobile */
@media (max-width: 768px) {
  .mag-3l-item {
    min-height: 44px;
  }
  .mag-loadmore-btn {
    min-height: 48px;
    font-size: .9rem;
  }
  .mag-broker-all {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

.mag-cs-ad[style*="display:none"],
.mag-cs-thematic[style*="display:none"] { margin-bottom: 0 !important; min-height: 0 !important; }
