:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --text: #14213d;
  --muted: #65708a;
  --line: #e4e9f2;
  --accent: #e63946;
  --navy: #10213f;
  --shadow: 0 8px 28px rgba(18, 35, 65, .08);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; font-family: Inter, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.5;
}
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.header { background: var(--navy); color: #fff; border-bottom: 3px solid var(--accent); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); border-radius: 5px; letter-spacing: 0; }
.header-status { font-size: 13px; color: #c7d3e8; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #55d18d; box-shadow: 0 0 0 4px rgba(85, 209, 141, .14); }
.hero { padding: 56px 0 28px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.035em; line-height: 1.08; }
.subtitle { max-width: 690px; color: var(--muted); margin: 16px 0 10px; font-size: 17px; }
.updated { margin: 0; color: #8490a7; font-size: 13px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 50px; }
.card {
  display: flex; flex-direction: column; min-height: 250px; padding: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(15, 30, 55, .02);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd7e7; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: #758199; font-size: 12px; margin-bottom: 14px; }
.card-source { color: var(--accent); font-weight: 750; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card h2 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 12px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-bottom { margin-top: auto; padding-top: 18px; color: var(--accent); font-size: 13px; font-weight: 700; }
.error { padding: 20px; margin-bottom: 45px; border: 1px solid #f5bec3; background: #fff4f4; color: #9d1822; border-radius: 10px; }
.footer { border-top: 1px solid var(--line); padding: 24px 0; color: #7c879c; font-size: 13px; }
.footer a { color: inherit; }
.footer-separator { margin: 0 8px; }
.legal { max-width: 800px; padding-top: 56px; }
.legal p { color: var(--muted); font-size: 16px; }
.legal a { color: var(--accent); font-weight: 700; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 60px; }
  .header-status { display: none; }
  .hero { padding-top: 38px; }
  .news-grid { grid-template-columns: 1fr; gap: 13px; }
  .card { min-height: 210px; }
}
