:root{
  --nav:#0b2b4a;
  --accent:#d9202c;
  --muted:#6b7280;
  --bg:#f4f6f8;
  --card:#fff;
  --maxw:1100px;
  --content-width:820px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Inter','Noto Sans Devanagari',system-ui,Arial;
  background:var(--bg);
  color:#0b1220;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}

.container{max-width:var(--maxw);margin:0 auto;padding:12px 16px}

/* Header */
header.site{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:space-between;
  padding:12px;
  background:var(--nav);
  color:#fff;
  border-radius:8px;
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:46px;height:46px;border-radius:8px;
  background:linear-gradient(135deg,#ff6b6b,#7c3aed);
  display:flex;align-items:center;justify-content:center;
  font-weight:800
}
.site-title h1{margin:0;font-size:18px}
.site-title p{margin:0;font-size:12px;opacity:.9}

.search-wrap{flex:1 1 480px;display:flex;justify-content:center;padding:0 8px}
.search-form{
  width:100%;
  max-width:720px;
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.08);
  padding:6px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.06)
}
.search-form input{
  border:0;
  background:transparent;
  color:#fff;
  padding:8px 10px;
  font-size:14px;
  width:100%;
  outline:none
}
.search-form button{
  border:0;
  background:rgba(255,255,255,0.12);
  color:#fff;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600
}

.icons{display:flex;gap:8px;align-items:center}
.icon{
  width:36px;height:36px;border-radius:8px;
  background:rgba(255,255,255,0.06);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px
}

@media(max-width:640px){
  header.site{flex-wrap:wrap}
  .search-wrap{flex-basis:100%;order:3;padding-top:8px}
  .brand{order:1}
  .icons{order:2}
  .search-form input{font-size:13px}
  .search-form button{padding:7px 9px}
}

/* Breaking */
.breaking{
  margin-top:12px;
  background:var(--accent);
  color:#fff;
  padding:8px;
  border-radius:8px;
  overflow:hidden
}
.marquee{display:inline-block;white-space:nowrap;animation:scroll 20s linear infinite}
.marquee span{display:inline-block;padding:0 22px;font-weight:700}
@keyframes scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Article container */
.article-wrap{display:flex;gap:24px;margin-top:18px}
.main{
  width:100%;
  max-width:var(--content-width);
  margin:0 auto;
  background:var(--card);
  border-radius:12px;
  box-shadow:0 12px 40px rgba(11,17,34,0.06);
  overflow:hidden;
}

/* Hero image */
.hero-img{width:100%;height:420px;background-size:cover;background-position:center}
.hero-body{padding:20px}
.title{font-size:28px;margin:0 0 12px;line-height:1.08}
.meta{
  color:var(--muted);
  font-size:14px;
  margin-bottom:16px;
  display:flex;
  gap:12px;
  align-items:center
}
.meta .tag{
  background:#eef2ff;
  color:#2b2560;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px
}

/* Article content */
.content{
  padding:0 20px 28px 20px;
  line-height:1.9;
  color:#111;
  font-size:16px
}
.content p{margin:0 0 16px}
.content img{max-width:100%;height:auto;border-radius:8px;display:block;margin:12px 0}
.content h2,.content h3{margin:18px 0 8px}
.content ul{margin:8px 0 16px;padding-left:20px}
.share{display:flex;gap:10px;margin-top:10px}

/* Sidebar */
.sidebar{width:320px;flex-shrink:0}
.related{
  background:var(--card);
  padding:12px;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(11,17,34,0.04)
}
.related h4{margin:0 0 10px}
.related-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:6px 0;
  border-bottom:1px dashed rgba(11,17,34,0.06)
}
.related-item img{width:72px;height:48px;object-fit:cover;border-radius:6px}
.related-item:last-child{border-bottom:0}

/* Footer */
footer.site{
  margin-top:20px;
  padding:14px;
  border-radius:8px;
  background:#071228;
  color:#cfe1ef;
  text-align:center
}

/* Responsive */
@media(max-width:1000px){
  .hero-img{height:320px}
  .sidebar{display:none}
  .main{max-width:100%}
  .content{padding:0 16px 28px 16px}
}
@media(max-width:600px){
  .hero-img{height:220px}
  .title{font-size:22px}
  .content{font-size:15px}
}
