*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--orange:#D4772A;--orange-lt:rgba(212,119,42,0.12);--orange-bd:rgba(212,119,42,0.3);--bg:#0f172a;--white:#1e293b;--text:#f1f5f9;--text2:#cbd5e1;--text3:#94a3b8;--border:#334155;--green:#1D9E75;--green-lt:rgba(29,158,117,0.12);--green-bd:rgba(29,158,117,0.3);--blue:#2563EB;--blue-lt:rgba(37,99,235,0.12);--red:#ef4444;--red-lt:rgba(239,68,68,0.12);--red-bd:rgba(239,68,68,0.3);--sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;--shadow:0 1px 4px rgba(0,0,0,0.3),0 0 0 0.5px rgba(0,0,0,0.15);--bg-hover:#253347}
html,body{background:var(--bg);font-family:var(--sans);font-size:14px;color:var(--text);min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}

/* === AVATARS === */
.avatar{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0}
.avatar--sm{width:24px;height:24px;font-size:9px}

/* Old nav removed — now using shared la-header from nav.css */

/* === TICKER === */
.ticker{background:var(--bg-hover);border-bottom:1px solid var(--border);height:38px;overflow:hidden;font-size:12px;position:relative}
.ticker-track{display:flex;align-items:center;gap:20px;height:38px;animation:tickerScroll 40s linear infinite;white-space:nowrap;width:max-content}
.ticker:hover .ticker-track{animation-play-state:paused}
@keyframes tickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.ticker-item{display:flex;align-items:center;gap:6px;flex-shrink:0}
.ticker-label{color:var(--text3);font-weight:500}
.ticker-val{color:var(--text);font-weight:700;font-variant-numeric:tabular-nums}
.ticker-chg{font-weight:600;font-size:11px;font-variant-numeric:tabular-nums}
.ticker-chg.up{color:var(--green)}.ticker-chg.down{color:var(--red)}.ticker-chg.flat{color:var(--text3)}
.ticker-sep{width:1px;height:16px;background:var(--border);flex-shrink:0}

/* === LAYOUT === */
.page{max-width:1280px;margin:0 auto;padding:28px 32px 60px}
.content-grid{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:start}

/* === HERO === */
.hero{margin-bottom:32px;position:relative;border-radius:14px;overflow:hidden;background:var(--white);border:1px solid var(--border);cursor:pointer;transition:border-color .2s,box-shadow .2s;display:grid;grid-template-columns:1fr 1fr;min-height:360px}
.hero:hover{border-color:var(--orange-bd);box-shadow:0 8px 32px rgba(0,0,0,0.25)}
.hero-img{background-size:cover;background-position:center;position:relative}
.hero-img-overlay{position:absolute;inset:0;background:linear-gradient(90deg,transparent 60%,var(--white) 100%)}
.hero-body{padding:40px 36px;display:flex;flex-direction:column;justify-content:center}
.hero-cat{font-size:11px;font-weight:700;letter-spacing:0.8px;text-transform:uppercase;color:var(--orange);margin-bottom:14px}
.hero-title{font-size:28px;font-weight:800;line-height:1.22;letter-spacing:-0.5px;color:var(--text);margin-bottom:16px}
.hero:hover .hero-title{color:var(--orange)}
.hero-excerpt{font-size:14px;color:var(--text2);line-height:1.7;margin-bottom:20px}
.hero-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text3)}
.hero-author{display:flex;align-items:center;gap:8px}
.hero-meta-sep{width:3px;height:3px;border-radius:50%;background:var(--text3)}

/* === SECTION HEADERS === */
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.section-title{font-size:16px;font-weight:700;color:var(--text);letter-spacing:-0.2px}

/* === ARTICLE CARDS === */
.articles{display:flex;flex-direction:column;gap:18px}
.article-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:2px}

/* Featured (vertical image card) */
.article-card--featured{background:var(--white);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:all .2s;overflow:hidden;display:flex;flex-direction:column}
.article-card--featured:hover{border-color:var(--orange-bd);transform:translateY(-2px);box-shadow:0 6px 24px rgba(0,0,0,0.2)}
.article-card-img{height:180px;background-size:cover;background-position:center;position:relative}
.article-card--featured .article-card-body{padding:18px 20px;flex:1;display:flex;flex-direction:column}
.article-card--featured .article-title{font-size:15px;margin-bottom:8px}
.article-card--featured .article-excerpt{-webkit-line-clamp:2}
.article-card--featured:hover .article-title{color:var(--orange)}

/* List card (horizontal with thumb) */
.article-card--list{background:var(--white);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:all .2s;overflow:hidden;display:flex;flex-direction:row}
.article-card--list:hover{border-color:var(--orange-bd);transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,0.2)}
.article-card-thumb{width:200px;min-height:160px;background-size:cover;background-position:center;flex-shrink:0}
.article-card--list .article-card-body{padding:18px 22px;flex:1;display:flex;flex-direction:column}
.article-card--list:hover .article-title{color:var(--orange)}

.article-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.article-cat{font-size:9px;font-weight:700;letter-spacing:0.6px;text-transform:uppercase;padding:3px 9px;border-radius:4px;display:inline-block}
.article-cat.treasury{background:var(--blue-lt);color:var(--blue)}
.article-cat.funding{background:var(--green-lt);color:var(--green)}
.article-cat.markets{background:var(--orange-lt);color:var(--orange)}
.article-cat.analysis{background:rgba(124,58,237,0.12);color:#a78bfa}
.article-cat.policy{background:var(--red-lt);color:var(--red)}
.article-date{font-size:11px;color:var(--text3)}
.article-title{font-size:16px;font-weight:700;line-height:1.35;color:var(--text);margin-bottom:8px;letter-spacing:-0.2px;transition:color .15s}
.article-excerpt{font-size:13px;color:var(--text2);line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.article-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.article-author-info{display:flex;align-items:center;gap:8px}
.article-author{font-size:12px;color:var(--text2);font-weight:500}
.article-read-time{font-size:11px;color:var(--text3)}
.article-tags{display:flex;gap:6px}
.article-tag{font-size:9px;color:var(--text3);border:1px solid var(--border);padding:2px 8px;border-radius:4px}

/* === SIDEBAR === */
.sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:76px}
.sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.sidebar-head{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.sidebar-title{font-size:13px;font-weight:700;color:var(--text)}
.sidebar-badge{font-size:9px;font-weight:600;color:var(--green);background:var(--green-lt);border:1px solid var(--green-bd);padding:2px 8px;border-radius:4px;animation:livePulse 2s ease-in-out infinite}
@keyframes livePulse{0%,100%{opacity:1}50%{opacity:0.6}}
.sidebar-body{padding:14px 16px}

/* Market data */
.market-row{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--border)}
.market-row:last-child{border-bottom:none}
.market-label{font-size:12px;color:var(--text2)}
.market-vals{display:flex;align-items:center;gap:10px}
.market-rate{font-size:13px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.market-chg{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.market-chg.up{color:var(--red)}.market-chg.down{color:var(--green)}.market-chg.flat{color:var(--text3)}

/* Trending */
.trending-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);cursor:pointer;transition:opacity .15s}
.trending-item:last-child{border-bottom:none}
.trending-item:hover{opacity:0.8}
.trending-num{font-size:22px;font-weight:800;color:var(--orange);opacity:0.35;min-width:28px;line-height:1}
.trending-text{flex:1}
.trending-title{font-size:12px;font-weight:600;color:var(--text);line-height:1.35;margin-bottom:4px}
.trending-meta{font-size:10px;color:var(--text3);display:flex;align-items:center;gap:6px}

/* Calendar events */
.cal-event-item{padding:10px 0;border-bottom:1px solid var(--border);display:flex;gap:12px;align-items:flex-start}
.cal-event-item:last-child{border-bottom:none}
.cal-event-date{min-width:44px;text-align:center;flex-shrink:0;background:var(--bg-hover);border-radius:6px;padding:6px 4px}
.cal-event-day{font-size:18px;font-weight:800;color:var(--text);line-height:1}
.cal-event-month{font-size:9px;font-weight:600;color:var(--text3);text-transform:uppercase;letter-spacing:0.5px}
.cal-event-info{flex:1}
.cal-event-name{font-size:12px;font-weight:600;color:var(--text);margin-bottom:2px}
.cal-event-detail{font-size:11px;color:var(--text3)}
.cal-event-impact{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;vertical-align:middle}
.cal-event-impact.high{background:var(--red)}
.cal-event-impact.medium{background:var(--orange)}
.cal-event-impact.low{background:var(--text3)}

/* Newsletter CTA */
.newsletter{background:linear-gradient(135deg,rgba(212,119,42,0.1) 0%,rgba(212,119,42,0.03) 100%);border:1px solid var(--orange-bd);border-radius:10px;padding:24px 20px;text-align:center}
.newsletter-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:6px}
.newsletter-desc{font-size:12px;color:var(--text2);margin-bottom:16px;line-height:1.5}
.newsletter-form{display:flex;gap:8px}
.newsletter-input{flex:1;padding:9px 14px;border:1px solid var(--border);border-radius:6px;background:var(--white);color:var(--text);font-size:12px;font-family:var(--sans);outline:none}
.newsletter-input:focus{border-color:var(--orange)}
.newsletter-input::placeholder{color:var(--text3)}
.newsletter-btn{padding:9px 20px;background:var(--orange);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--sans);transition:opacity .15s;white-space:nowrap}
.newsletter-btn:hover{opacity:0.85}

/* === CATEGORY FILTERS === */
.filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.filter-btn{padding:7px 16px;font-size:12px;font-weight:500;border:1px solid var(--border);border-radius:8px;background:var(--white);color:var(--text2);cursor:pointer;font-family:var(--sans);transition:all .15s}
.filter-btn:hover{border-color:var(--orange-bd);color:var(--text)}
.filter-btn.active{background:var(--orange);color:#fff;border-color:var(--orange)}

/* === FOOTER === */
.footer{border-top:1px solid var(--border);margin-top:48px;padding:28px 32px}
.footer-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--text3)}
.footer-links{display:flex;gap:16px}
.footer-links a{color:var(--text3);transition:color .15s}
.footer-links a:hover{color:var(--orange)}
.footer-brand{display:flex;align-items:center;gap:8px}
.footer-brand svg{opacity:0.5}

/* === RESPONSIVE === */
@media(max-width:1000px){
  .content-grid{grid-template-columns:1fr}
  .sidebar{position:static}
  .hero{grid-template-columns:1fr}
  .hero-img{min-height:220px}
  .hero-img-overlay{background:linear-gradient(180deg,transparent 40%,var(--white) 100%)}
}
@media(max-width:700px){
  .nav{padding:0 16px}
  .nav-links{display:none}
  .nav-search input{width:100px}
  .page{padding:20px 16px 40px}
  .hero{min-height:auto}
  .hero-body{padding:24px 20px}
  .hero-title{font-size:22px}
  .article-pair{grid-template-columns:1fr}
  .article-card--list{flex-direction:column}
  .article-card-thumb{width:100%;min-height:140px;height:140px}
  .footer-inner{flex-direction:column;gap:12px}
}
