:root {
  --ink: #1a2332;
  --ink-soft: #2c3a4f;
  --accent: #1e5a8a;
  --accent-light: #2a7ab8;
  --gold: #b8860b;
  --text: #3a4555;
  --muted: #6b7a8a;
  --bg: #f4f6f9;
  --white: #fff;
  --border: #dde3ea;
  --font: "Source Sans 3", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(26,35,50,.07);
  --header-h: 64px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{font-family:var(--font);font-size:16px;line-height:1.65;color:var(--text);background:var(--bg)}
img{display:block;max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none;transition:.2s}
a:hover{color:var(--accent-light)}
ul{list-style:none}

.container{max-width:1100px;margin:0 auto;padding:0 20px}
.section{padding:56px 0}

.header{position:sticky;top:0;z-index:200;height:var(--header-h);background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:100%;gap:16px}
.logo{font-size:17px;font-weight:800;color:var(--ink);line-height:1.2}
.logo span{display:block;font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.04em}
.nav{display:flex;gap:4px}
.nav__link{padding:8px 12px;font-size:14px;font-weight:600;color:var(--text);border-radius:6px}
.nav__link:hover{color:var(--accent);background:rgba(30,90,138,.06)}
.burger{display:none;flex-direction:column;gap:5px;padding:4px}
.burger span{width:22px;height:2px;background:var(--ink);transition:.25s}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.hero{padding:48px 0 40px;background:var(--ink);color:#fff}
.hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.hero__tag{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#7eb8e8;margin-bottom:12px}
.hero__title{font-family:var(--serif);font-size:clamp(28px,4vw,40px);font-weight:600;line-height:1.15;margin-bottom:14px}
.hero__desc{color:rgba(255,255,255,.65);font-size:17px;margin-bottom:20px}
.hero__img{border-radius:var(--radius-lg);overflow:hidden}
.hero__img img{width:100%;height:280px;object-fit:cover}

.sponsor{background:linear-gradient(135deg,#f0f7fc,#e8f0f8);border:1px solid #c5d9eb;border-radius:var(--radius-lg);padding:24px 28px;margin:32px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.sponsor__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-bottom:6px}
.sponsor__title{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:4px}
.sponsor__desc{font-size:14px;color:var(--muted)}
.sponsor__btn{padding:10px 20px;background:var(--accent);color:#fff!important;border-radius:var(--radius);font-weight:700;font-size:14px}
.sponsor__btn:hover{background:var(--accent-light)}

.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px}
.article-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.article-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.article-card__img{height:180px;overflow:hidden}
.article-card__img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.article-card:hover .article-card__img img{transform:scale(1.03)}
.article-card__body{padding:20px;flex:1;display:flex;flex-direction:column}
.article-card__meta{font-size:12px;color:var(--muted);margin-bottom:8px;display:flex;gap:12px;flex-wrap:wrap}
.article-card__tag{background:#e8f0f8;color:var(--accent);padding:2px 8px;border-radius:4px;font-weight:600}
.article-card__title{font-family:var(--serif);font-size:20px;font-weight:600;color:var(--ink);line-height:1.3;margin-bottom:8px}
.article-card__title a{color:inherit}
.article-card__title a:hover{color:var(--accent)}
.article-card__excerpt{font-size:14px;color:var(--muted);flex:1;margin-bottom:12px}
.article-card__read{font-size:13px;font-weight:700;color:var(--accent)}

/* Article page */
.breadcrumb{font-size:13px;color:var(--muted);padding:20px 0;display:flex;gap:8px;flex-wrap:wrap}
.breadcrumb a{color:var(--muted)}
.article-header{margin-bottom:32px}
.article-header__meta{font-size:13px;color:var(--muted);margin-bottom:12px;display:flex;gap:16px;flex-wrap:wrap}
.article-header__title{font-family:var(--serif);font-size:clamp(26px,4vw,38px);font-weight:600;color:var(--ink);line-height:1.2;margin-bottom:14px}
.article-header__lead{font-size:18px;color:var(--muted);line-height:1.6}
.article-cover{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:36px}
.article-cover img{width:100%;max-height:420px;object-fit:cover}
.article-body{max-width:720px;margin:0 auto 48px}
.article-body h2{font-family:var(--serif);font-size:24px;font-weight:600;color:var(--ink);margin:32px 0 12px}
.article-body h3{font-size:18px;font-weight:700;color:var(--ink);margin:24px 0 10px}
.article-body p{margin-bottom:16px;line-height:1.75}
.article-body ul,.article-body ol{margin:0 0 16px 24px}
.article-body li{margin-bottom:8px}
.article-body blockquote{border-left:4px solid var(--accent);padding:14px 20px;margin:24px 0;background:#f0f7fc;border-radius:0 var(--radius) var(--radius) 0;font-style:italic}
.article-body .sponsor{margin:32px 0}

.sidebar{position:sticky;top:calc(var(--header-h) + 20px)}
.sidebar__block{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;margin-bottom:16px}
.sidebar__title{font-size:14px;font-weight:800;color:var(--ink);margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}
.sidebar__links a{display:block;font-size:14px;padding:8px 0;border-bottom:1px solid var(--border);color:var(--text)}
.sidebar__links a:last-child{border-bottom:none}
.sidebar__links a:hover{color:var(--accent)}

.layout-article{display:grid;grid-template-columns:1fr 280px;gap:40px;align-items:start}

.footer{background:var(--ink);color:rgba(255,255,255,.5);padding:40px 0 20px;margin-top:40px}
.footer__inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer .logo{color:#fff}
.footer__links a{display:block;font-size:14px;padding:4px 0;color:rgba(255,255,255,.5)}
.footer__links a:hover{color:#fff}
.footer__bottom{padding-top:16px;font-size:12px;text-align:center}

@media(max-width:900px){
  .hero__grid,.layout-article{grid-template-columns:1fr}
  .sidebar{position:static}
}
@media(max-width:640px){
  .nav{position:fixed;top:var(--header-h);left:0;right:0;background:#fff;flex-direction:column;padding:12px;transform:translateY(-110%);opacity:0;pointer-events:none;transition:.25s;border-bottom:1px solid var(--border)}
  .nav.open{transform:translateY(0);opacity:1;pointer-events:all}
  .burger{display:flex}
  .articles-grid{grid-template-columns:1fr}
}
