:root {
  --blue: #0d43e6;
  --blue-dark: #0a35bd;
  --ink: #0b0d12;
  --text: #262b38;
  --muted: #6b7284;
  --line: #e6e8ee;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --wrap: 1416px;
  --font: Inter, "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.muted { color: var(--muted); }
.meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.meta .dot, .ticker .dot { margin: 0 6px; font-size: 10px; }
.meta .author { color: var(--blue); font-weight: 600; }

/* ticker */
.ticker { display: flex; align-items: stretch; background: #0b0c10; color: #fff; height: 36px; font-size: 13px; font-weight: 600; overflow: hidden; }
.ticker-label { background: var(--blue); padding: 0 18px; display: flex; align-items: center; font-weight: 800; letter-spacing: .3px; white-space: nowrap; font-size: 13px; z-index: 1; }
.ticker-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
.ticker-move { display: inline-flex; align-items: center; white-space: nowrap; gap: 0; padding-left: 48px; animation: tick 60s linear infinite; will-change: transform; }
.ticker-move.paused { animation-play-state: paused; }
.ticker-move.static { animation: none; }
.ticker-move a { color: #fff; }
.ticker-move a:hover { color: #9db6ff; }
.ticker-move .dot { margin: 0 26px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-pause { background: #0b0c10; color: #fff; border: 0; width: 44px; cursor: pointer; font-size: 10px; letter-spacing: -2px; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } }

/* header */
.site-header { background: #fff; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 116px; }
.logo { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "a b" ". c"; align-items: baseline; line-height: 1; color: var(--ink); font-family: "Arial Black", Impact, "Helvetica Neue", Arial, sans-serif; font-weight: 900; }
.logo img { height: 56px; width: auto; }
.logo-a { grid-area: a; font-size: clamp(30px, 4vw, 52px); letter-spacing: 1px; transform: skewX(-6deg); }
.logo-b { grid-area: b; font-size: clamp(30px, 4vw, 52px); color: var(--blue); letter-spacing: 1px; }
.logo-c { grid-area: c; justify-self: end; font-size: 15px; color: var(--blue); letter-spacing: 11px; margin-top: 4px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav > a:not(.btn), .nav summary { color: var(--ink); }
.nav > a:not(.btn):hover { color: var(--blue); }
.nav-search { display: flex; align-items: center; }
.nav-search input { width: 0; opacity: 0; border: 0; padding: 0; transition: width .2s, opacity .2s; font: inherit; }
.nav-search:focus-within input, .nav-search input:not(:placeholder-shown) { width: 170px; opacity: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); display: flex; }
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.more summary::-webkit-details-marker { display: none; }
.more .menu { position: absolute; right: 0; top: 34px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 24px rgba(10, 20, 50, .12); min-width: 170px; padding: 6px; z-index: 5; }
.more .menu a { display: block; padding: 8px 12px; border-radius: 3px; }
.more .menu a:hover { background: var(--soft); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.btn { display: inline-block; background: #fff; color: var(--ink); border: 1px solid var(--line); font: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 3px; cursor: pointer; line-height: 1.2; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

.flash { text-align: center; padding: 12px 24px; font-weight: 600; }
.flash.ok { background: #e8f7ee; color: #14703a; }
.flash.err { background: #fdeceb; color: #a12622; }

/* layout */
main.wrap { padding-top: 8px; padding-bottom: 56px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.card.pad, .pad { padding: 28px 32px; }
.narrow { max-width: 760px; margin: 24px auto; padding: 32px; }
.sidebar { display: grid; gap: 24px; }
.main-col { overflow: hidden; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.2fr) minmax(0, .82fr); gap: 28px; padding: 24px 24px 22px; align-items: start; }
.chip { display: inline-block; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .4px; padding: 5px 8px; border-radius: 2px; }
.pkg-label { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .5px; }
.hero h1 { font-size: clamp(28px, 2.7vw, 40px); font-weight: 800; letter-spacing: -.5px; line-height: 1.16; margin: 22px 0 18px; }
.pkg-label + h1 { margin-top: 10px; }
.lede { font-size: 15.5px; line-height: 1.6; color: var(--text); margin: 0 0 16px; }
.by { margin: 0 0 22px; }
.hero-img { display: block; border-radius: 3px; overflow: hidden; aspect-ratio: 1 / .98; background: var(--soft); }
.hero-img img, .hero-img .ph { width: 100%; height: 100%; object-fit: cover; }
.side-h { font-size: 12px; font-weight: 800; letter-spacing: .6px; margin: 0 0 12px; }
.pkg-sum { font-size: 13px; color: var(--text); margin: 0 0 12px; }
.ts { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; align-items: start; }
.ts-img { aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--soft); display: block; }
.ts-img img, .ts-img .ph { width: 100%; height: 100%; object-fit: cover; }
.ts h3 { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ts .meta { margin-top: 5px; font-size: 11px; }

/* columns */
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.col { padding: 20px 18px 8px; border-left: 1px solid var(--line); min-width: 0; }
.col:first-child { border-left: 0; }
.col-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.col-h h2 { font-size: 13px; font-weight: 800; letter-spacing: .3px; }
.col-h a { font-size: 12px; color: var(--blue); font-weight: 500; }
.card-story { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.card-img { display: block; aspect-ratio: 16 / 9.4; overflow: hidden; border-radius: 3px; background: var(--soft); margin-bottom: 12px; }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; }
.card-story h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 12px; padding: 4px 0 14px; align-items: start; }
.row + .row { border-top: 1px solid var(--line); padding-top: 14px; }
.row h3 { font-size: 12.5px; font-weight: 600; line-height: 1.32; }
.row .meta { font-size: 11px; margin-top: 8px; }
.row-img { display: block; width: 56px; height: 56px; border-radius: 3px; overflow: hidden; background: var(--soft); }
.row-img img, .row-img .ph { width: 100%; height: 100%; object-fit: cover; }
.ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0b1b4d, #0d43e6); color: rgba(255, 255, 255, .85); font-weight: 800; font-size: 28px; }

/* sidebar */
.trending { padding: 20px 20px 8px; }
.trending ol { list-style: none; }
.trending li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px; padding: 0 0 20px; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.trending .num { color: var(--blue); font-weight: 800; font-size: 14px; }
.trending .meta { display: block; margin-top: 8px; font-size: 11.5px; }
.subscribe { padding: 22px 20px; background: var(--soft); }
.sub-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }
.sub-ico { width: 44px; height: 44px; border-radius: 50%; background: #dfe8ff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.subscribe h2 { font-size: 16px; font-weight: 800; }
.subscribe p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.subscribe input[type=email] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: 13px; margin-bottom: 12px; background: #fff; }
.subscribe .fine { font-size: 11.5px; margin-top: 14px; }

/* listing pages */
.page-h { margin-bottom: 22px; }
.page-h h1 { font-size: 34px; font-weight: 800; letter-spacing: -.4px; }
.page-h p { color: var(--muted); margin: 8px 0 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; }
.grid .card-story { border: 0; margin: 0; padding: 0; }
.search-big { display: flex; gap: 10px; margin-top: 14px; max-width: 560px; }
.search-big input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
.pager { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pager a { color: var(--blue); font-weight: 600; }
.empty { padding: 80px 32px; text-align: center; }
.empty h1 { font-size: 30px; }
.empty p { color: var(--muted); }

/* article */
.article { max-width: none; }
.article > * { max-width: 760px; }
.article .crumb { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.article .crumb a { color: var(--blue); }
.article h1 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.6px; line-height: 1.12; margin-bottom: 14px; }
.article .lede { font-size: 19px; line-height: 1.55; color: var(--text); }
.art-hero { margin: 22px 0 26px; max-width: 100%; }
.art-hero img { width: 100%; height: auto; border-radius: 3px; }
.art-hero figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.body { font-size: 17.5px; line-height: 1.75; color: var(--text); }
.body p { margin: 0 0 1.15em; }
.body h2 { font-size: 26px; margin: 1.6em 0 .6em; color: var(--ink); }
.body h3 { font-size: 21px; margin: 1.4em 0 .5em; color: var(--ink); }
.body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.body ul, .body ol { margin: 0 0 1.2em 1.4em; }
.body li { margin-bottom: .4em; }
.body blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--blue); color: var(--ink); font-size: 1.05em; }
.body figure { margin: 1.4em 0; }
.body figcaption { font-size: 13px; color: var(--muted); }
.pkg-box { margin: 18px 0; padding: 14px 18px; background: var(--soft); border-left: 4px solid var(--blue); border-radius: 3px; }
.pkg-title { margin: 0 0 6px; font-size: 14px; }
.pkg-box ul { list-style: none; }
.pkg-box li { padding: 4px 0; font-size: 14.5px; }
.pkg-box a { color: var(--blue); font-weight: 600; }
.disclosure { margin: 28px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 3px; font-size: 13.5px; color: var(--muted); background: #fbfcfe; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chips a { background: var(--soft); border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; }
.sources { margin-top: 26px; }
.sources h2, .related .side-h { font-size: 12px; letter-spacing: .6px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.sources ul { list-style: none; font-size: 14px; }
.sources li { padding: 3px 0; }
.sources a { color: var(--blue); }
.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: none !important; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 32px 0; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr auto; gap: 24px; align-items: start; }
.foot strong { color: var(--ink); }
.foot p { margin: 6px 0 0; max-width: 520px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--blue); }

/* responsive */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .top-stories { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .top-stories .side-h, .top-stories .pkg-sum { grid-column: 1 / -1; }
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col:nth-child(3) { border-left: 0; }
  .col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 24px; z-index: 20; }
  .nav-open .nav { display: flex; }
  .site-header { position: relative; }
  .site-header .bar { min-height: 84px; }
  .nav-search input { width: 180px; opacity: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; }
  .more .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .hero-img { order: -1; aspect-ratio: 16 / 10; }
  .top-stories { grid-template-columns: minmax(0, 1fr); }
  .columns, .grid, .sidebar { grid-template-columns: minmax(0, 1fr); }
  .col { border-left: 0; border-top: 1px solid var(--line); }
  .col:first-child { border-top: 0; }
  .card.pad, .pad { padding: 20px 18px; }
  .foot { grid-template-columns: 1fr; }
  .ticker-label { padding: 0 10px; font-size: 11px; }
}
