/* सतना न्यूज़ 0.1 */
:root {
  --bg: #faf8f5; --surface: #fff; --ink: #1b1714; --ink-2: #3f3832; --ink-3: #75695f; --line: #e9e2da; --line-2: #f1ece6;
  --brand: #7a1f12; --brand-2: #a8321e; --accent: #d9822b; --soft: #fbf1e7;
  --font: "Noto Sans Devanagari", "Mukta", "Hind", "Nirmala UI", "Mangal", system-ui, sans-serif;
  --head: "Noto Serif Devanagari", "Tiro Devanagari Hindi", "Nirmala UI", "Mangal", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

.in, .wrap { max-width: 1180px; margin: 0 auto; padding-left: 18px; padding-right: 18px; }
.top { background: var(--brand); color: #fff; }
.top > .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 var(--head); color: #fff; }
.brand:hover { color: #fff; }
.brand b { color: #ffd9a8; font-weight: 700; }
.mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--brand); font-size: 24px; line-height: 1; }
.date { font-size: 14px; color: #f6d9cf; }
.nav { background: #5e170d; }
.nav .in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .in::-webkit-scrollbar { display: none; }
.nav a { padding: 10px 14px; font-size: 16px; font-weight: 600; color: #f6e2da; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.on { color: #fff; border-bottom-color: var(--accent); }

.wrap { padding-top: 24px; padding-bottom: 48px; min-height: 60vh; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sec-h { font: 700 22px/1.3 var(--head); margin: 6px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--brand); }
.sec-h a:hover { color: var(--brand); }
.main-col .sec-h + .nc.lead { margin-top: 0; }
.side-col .sec-h { font-size: 19px; }
.intro { margin: 0 0 18px; }
.intro h1 { font: 700 30px/1.25 var(--head); margin: 0 0 6px; }
.intro p { margin: 0; color: var(--ink-3); }
.intro p a { color: var(--brand); text-decoration: underline; }
.intro .zl { margin-top: 12px; }
.intro .zl a { color: inherit; text-decoration: none; }
.crumbs { font-size: 14px; color: var(--ink-3); margin: 0 0 8px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.dv { margin: 0 0 22px; }
.empty { color: var(--ink-3); }
.list { max-width: 820px; }

.nc { padding: 14px 0; border-bottom: 1px solid var(--line); }
.nc h3 { margin: 0 0 4px; font: 700 19px/1.4 var(--head); }
.nc.lead { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 4px 0 8px; }
.nc.lead h3 { font-size: 25px; line-height: 1.35; }
.side-col .nc h3 { font-size: 17px; }
.nc .ds { margin: 0 0 6px; color: var(--ink-2); font-size: 16px; }
.nc .mt { margin: 0; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.nc .mt b { color: var(--ink-2); font-weight: 600; }
.chip { display: inline-block; padding: 0 9px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 13px; font-weight: 600; line-height: 22px; }
.chip:hover { background: #f6e0cb; }
.more { margin-top: 6px; font-size: 14px; }
.more summary { cursor: pointer; color: var(--brand-2); font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+ "; }
.more[open] summary::before { content: "− "; }
.more ul { margin: 6px 0 0; padding: 0 0 0 12px; list-style: none; border-left: 2px solid var(--line); }
.more li { padding: 3px 0; }
.more li b { margin-right: 6px; }

.zl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.zl a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; }
.zl a:hover { border-color: var(--brand-2); }
.dl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.dl a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.dl b { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.btn { display: inline-block; padding: 9px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; }
.btn:hover { color: #fff; background: var(--brand-2); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); margin-top: 12px; }
.text { max-width: 760px; }
.text h1 { font: 700 30px/1.3 var(--head); margin: 0 0 12px; }
.text h2 { font: 700 21px/1.35 var(--head); margin: 22px 0 6px; }
.text p { color: var(--ink-2); }
.text a { text-decoration: underline; }
.msg { max-width: 640px; padding: 36px 0; }
.msg h1 { font: 700 28px/1.3 var(--head); margin: 0 0 10px; }

.foot { background: #241d19; color: #d8cfc7; }
.foot .in { padding-top: 22px; padding-bottom: 26px; font-size: 15px; }
.foot p { margin: 0 0 8px; }
.foot b { color: #fff; }
.foot .links a { margin-right: 16px; color: #f0e6dd; }
.foot .links a:hover { text-decoration: underline; color: #fff; }
.foot .c { color: #9c9087; font-size: 13px; }

/* 0.3.0: weather and day digests */
.wx { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 10px; margin: 0 0 22px; }
.wx .sec-h { border-bottom-width: 1px; }
.wx-now { display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; }
.wx-sym { font-size: 38px; line-height: 1; }
.wx-now b { font: 700 36px/1 var(--font); }
.wx-now span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.35; }
.wx-now small { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.wx-days li { background: var(--soft); border-radius: 10px; padding: 6px 4px; display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
.wx-days b { font-size: 17px; }
.wx-days small { color: var(--ink-3); }
.wx-more { margin: 8px 0 0; font-size: 14px; }
.wx-more a, .ai a { color: var(--brand); text-decoration: underline; }
.wx-big { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 0 0 22px; }
.wx-big .wx-sym { font-size: 64px; }
.wx-big b { font: 700 56px/1 var(--font); }
.wx-big p { margin: 4px 0 0; font-weight: 600; font-size: 18px; }
.wx-big ul { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.wx-big ul b { font-size: 15px; font-weight: 700; }
.wx-tab { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 14px; font-size: 16px; }
.wx-tab th, .wx-tab td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.wx-tab thead th { background: var(--soft); font-size: 14px; color: var(--ink-3); }
.wx-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.wx-list.grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.wx-list a { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.wx-list a span:first-child { flex: 1; font-weight: 600; }
.wx-list small { color: var(--ink-3); font-size: 13px; }
.wx-dv { margin-bottom: 18px; }
.ai { font-size: 13.5px; color: var(--ink-3); }
.dgbox { background: var(--soft); border-radius: 14px; padding: 4px 18px 8px; margin: 0 0 22px; }
.dgbox .sec-h small { font: 400 14px/1 var(--font); color: var(--ink-3); margin-left: 6px; }
.dg { margin: 0 0 8px; padding-left: 22px; }
.dg li { margin: 0 0 10px; }
.dg .src { color: var(--ink-3); font-size: 13.5px; }
.dg .src a { text-decoration: underline; }
.days { list-style: none; margin: 0 0 20px; padding: 0; }
.days li { padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.days a { color: var(--brand); }
.days small { color: var(--ink-3); }

@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wx-big { grid-template-columns: auto 1fr; } .wx-big ul { grid-column: 1 / -1; } .wx-big b { font-size: 44px; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand { font-size: 22px; } .mark { width: 32px; height: 32px; font-size: 20px; }
  .date { display: none; }
  .nc.lead h3 { font-size: 21px; } .nc h3 { font-size: 18px; }
  .intro h1, .text h1 { font-size: 25px; }
  .in, .wrap { padding-left: 14px; padding-right: 14px; }
}
