/* ==========================================================================
   न्यूज़ आज — newsaaj.com
   Hindi news portal stylesheet
   ========================================================================== */

:root {
  --red: #b81f24;
  --red-d: #8e1519;
  --red-l: #e8353b;
  --ink: #16181d;
  --ink-2: #3d434f;
  --ink-3: #6b7280;
  --line: #e3e6ea;
  --line-2: #eef1f4;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --bg-3: #fbfcfd;
  --gold: #c8901a;
  --radius: 6px;
  --wrap: 1240px;
  --hd: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --bd: 'Noto Sans Devanagari', 'Mukta', system-ui, sans-serif;
  --shadow: 0 1px 3px rgba(16,18,29,.08), 0 1px 2px rgba(16,18,29,.04);
  --shadow-lg: 0 10px 28px rgba(16,18,29,.10);
}

[data-theme="dark"] {
  --ink: #eef1f5;
  --ink-2: #c3c9d4;
  --ink-3: #949cab;
  --line: #2b303a;
  --line-2: #242932;
  --bg: #14161b;
  --bg-2: #1b1f26;
  --bg-3: #1a1e25;
  --red-l: #ff5a60;
  --shadow: 0 1px 3px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 30px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bd);
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--hd); line-height: 1.28; margin: 0; font-weight: 800; letter-spacing: -.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red-l); outline-offset: 2px; }

/* ---------------------------------------------------------------- ticker */
.ticker {
  background: linear-gradient(90deg, var(--red-d), var(--red));
  color: #fff; font-size: 14.5px; border-bottom: 1px solid rgba(0,0,0,.12);
}
.ticker-in { display: flex; align-items: center; gap: 14px; height: 40px; }
.tick-tag {
  font-family: var(--hd); font-weight: 800; font-size: 12.5px; letter-spacing: .09em;
  background: #fff; color: var(--red-d); padding: 3px 11px; border-radius: 3px;
  flex-shrink: 0; text-transform: uppercase;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .62 } }
.tick-view { overflow: hidden; flex: 1; height: 40px; position: relative; }
.tick-track { display: flex; gap: 42px; align-items: center; height: 40px; white-space: nowrap; will-change: transform; }
.tick-track a { color: #fff; opacity: .96; font-weight: 500; }
.tick-track a:hover { text-decoration: underline; }
.tick-track .bull { opacity: .5; }

/* ---------------------------------------------------------------- header */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 78px; }

/* Latin wordmark. Devanagari and Latin sit differently in the em box, so the
   boxed word needs its own padding and both halves are baseline-aligned. */
.logo {
  display: inline-flex; align-items: baseline; flex-shrink: 0;
  font-family: var(--hd); font-weight: 800; font-size: 33px;
  letter-spacing: -.02em; line-height: 1;
}
.logo-mark {
  background: var(--red); color: #fff;
  padding: 6px 13px 7px; border-radius: 5px 5px 2px 5px;
  box-shadow: 0 2px 0 var(--red-d);
}
.logo-rest { color: var(--ink); margin-inline-start: 8px; }

.head-meta { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 9px; align-items: center; margin-inline-start: auto; }
.head-meta .sep { opacity: .4; }

.search { display: flex; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 40px; overflow: hidden; }
.search input {
  border: 0; background: transparent; padding: 9px 8px 9px 16px; width: 178px;
  font-family: var(--bd); font-size: 14.5px; color: var(--ink); outline: none;
}
.search input::placeholder { color: var(--ink-3); }
.search button {
  border: 0; background: var(--red); color: #fff; padding: 9px 14px; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.search button:hover { background: var(--red-d); }

.burger { display: none; flex-direction: column; gap: 4.5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 23px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- nav */
.mainnav { background: var(--ink); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
[data-theme="dark"] .mainnav { background: #0e1014; }
.mainnav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav ul::-webkit-scrollbar { display: none; }
.mainnav a {
  display: block; color: #e8eaee; font-family: var(--hd); font-weight: 600; font-size: 15.5px;
  padding: 13px 15px; white-space: nowrap; position: relative; transition: color .15s, background .15s;
}
.mainnav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.mainnav a.on { color: #fff; }
.mainnav a.on::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; background: var(--red-l); border-radius: 3px 3px 0 0; }

/* ---------------------------------------------------------------- hero */
main { padding: 26px 0 50px; }

.hero { display: grid; grid-template-columns: 1.62fr 1fr; gap: 22px; margin-bottom: 38px; }

/* hero: text overlaid on the visual with a scrim, so the lead story wins */
.hero-main {
  position: relative; display: flex; align-items: flex-end;
  min-height: 460px; border-radius: var(--radius); overflow: hidden;
  color: #fff; isolation: isolate;
}
.hero-main::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,9,12,.93) 0%, rgba(8,9,12,.72) 34%, rgba(8,9,12,.18) 66%, rgba(8,9,12,.05) 100%);
  transition: background .25s;
}
.hero-main:hover::after {
  background: linear-gradient(to top, rgba(8,9,12,.96) 0%, rgba(8,9,12,.78) 34%, rgba(8,9,12,.24) 66%, rgba(8,9,12,.08) 100%);
}
.hero-main .live {
  position: absolute; top: 15px; inset-inline-start: 15px; z-index: 3;
  background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; padding: 4px 11px; border-radius: 3px;
  font-family: var(--hd); animation: pulse 1.6s infinite;
}
.hero-txt { position: relative; z-index: 2; padding: 26px 28px 24px; width: 100%; }
.hero-txt .chip-hot { margin-bottom: 11px; }
.hero-txt h2 {
  font-size: 39px; line-height: 1.34; margin: 0 0 12px; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero-main:hover .hero-txt h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-txt p { color: rgba(255,255,255,.88); margin: 0 0 13px; font-size: 16.5px; line-height: 1.7; max-width: 60ch; }
.hero-txt .c-meta { color: rgba(255,255,255,.72); }
.hero-txt .c-meta .dot { color: rgba(255,255,255,.45); }

.hero-side { display: grid; gap: 15px; align-content: start; }

/* ---------------------------------------------------------------- cards */
.card { background: var(--bg); }
.c-img {
  display: grid; place-items: center; border-radius: var(--radius); overflow: hidden;
  color: rgba(255,255,255,.88); font-family: var(--hd); font-weight: 700; font-size: 14px;
  letter-spacing: .05em; position: relative;
}
.c-img::after {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s;
}
.card:hover .c-img::after { background: rgba(0,0,0,.14); }

.c-sm { display: grid; grid-template-columns: 118px 1fr; gap: 13px; align-items: start; }
.c-sm .c-img { aspect-ratio: 4/3; }
.c-sm .c-title { font-size: 16.5px; }
.c-sm .c-lead { display: none; }

.c-lg .c-img { aspect-ratio: 16/9; margin-bottom: 14px; }
.c-lg .c-title { font-size: 25px; }
.c-lg .c-lead { color: var(--ink-2); font-size: 16px; margin: 9px 0 0; }

/* Devanagari needs extra leading — matras sit above and below the baseline */
.c-title { margin: 6px 0 0; font-weight: 700; line-height: 1.52; }
.c-title a { transition: color .15s; }
.c-title a:hover { color: var(--red); }

/* even card rows: clamp headline and dek to fixed line counts */
.c-title a, .c-lead {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.c-title a { -webkit-line-clamp: 3; }
.c-lead { -webkit-line-clamp: 3; }
.c-lg .c-title a { -webkit-line-clamp: 2; }

.c-meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.c-meta a:hover { color: var(--red); }
.dot { opacity: .45; }

.chip {
  display: inline-block; font-family: var(--hd); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; color: var(--red); background: color-mix(in srgb, var(--red) 9%, transparent);
  padding: 3px 10px; border-radius: 3px; border: 1px solid color-mix(in srgb, var(--red) 22%, transparent);
}
.chip:hover { background: var(--red); color: #fff; }
.chip-hot { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------------------------------------------------------------- grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.grid3 .c-sm { grid-template-columns: 1fr; }
.grid3 .c-sm .c-img { aspect-ratio: 16/10; margin-bottom: 11px; }
.grid3 .c-sm .c-lead { display: block; color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }

.cols { display: grid; grid-template-columns: 1fr 328px; gap: 40px; align-items: start; }
.col-side { position: sticky; top: 62px; }

/* ---------------------------------------------------------------- sections */
.sec { margin-bottom: 42px; }
.sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 2px solid var(--ink); margin-bottom: 20px; padding-bottom: 0;
}
.sec-head h2 { font-size: 24px; margin: 0; }
.sec-head h2 span {
  display: inline-block; background: var(--ink); color: var(--bg);
  padding: 6px 15px 7px; border-radius: var(--radius) var(--radius) 0 0;
}
.sec-head .more { font-family: var(--hd); font-size: 14px; font-weight: 600; color: var(--red); padding-bottom: 7px; }
.sec-head .more:hover { text-decoration: underline; }

/* full-width section band below the sidebar column */
.full-secs { margin-top: 8px; }
.full-secs .sec:first-child { border-top: 1px solid var(--line); padding-top: 32px; }

.sec-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 30px; align-items: start; }
.sec-mid { display: grid; gap: 16px; align-content: start; }
.sec-flat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sec-flat .c-sm { grid-template-columns: 1fr; }
.sec-flat .c-sm .c-img { aspect-ratio: 16/10; margin-bottom: 11px; }
.sec-flat .c-sm .c-lead { display: block; color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; }

ul.plain, ol.plain { list-style: none; margin: 0; padding: 0; }
.row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.row-t {
  font-family: var(--hd); font-weight: 600; font-size: 16px; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.row-t:hover { color: var(--red); }
.ranked .rank {
  font-family: var(--hd); font-weight: 800; font-size: 21px; color: var(--red);
  opacity: .38; min-width: 26px; line-height: 1.3;
}

/* ---------------------------------------------------------------- sidebar */
.box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 17px 18px; margin-bottom: 22px;
}
.box-h {
  font-size: 16.5px; margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red); display: inline-block;
}
.box .row { border-color: var(--line-2); }
.box p { margin: 0 0 11px; font-size: 15px; color: var(--ink-2); }

.box-news { background: linear-gradient(150deg, color-mix(in srgb, var(--red) 8%, var(--bg-2)), var(--bg-2)); }
.nl { display: flex; gap: 7px; }
.nl input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--bd); font-size: 14.5px; background: var(--bg); color: var(--ink);
}
.nl button {
  background: var(--red); color: #fff; border: 0; padding: 9px 15px; border-radius: var(--radius);
  font-family: var(--hd); font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.nl button:hover { background: var(--red-d); }
.nl-msg { font-size: 13.5px; color: var(--red); margin: 9px 0 0; min-height: 1em; font-weight: 600; }

.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center; padding: 9px 0;
  border-bottom: 1px dashed var(--line-2); font-family: var(--hd); font-weight: 600; font-size: 15.5px;
}
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--red); }
.cat-list span {
  font-size: 12.5px; color: var(--ink-3); background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; padding: 1px 9px; font-weight: 600;
}

/* ---------------------------------------------------------------- breadcrumb + category head */
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 16px; }
.crumb a:hover { color: var(--red); text-decoration: underline; }

.cat-head { border-bottom: 3px solid var(--red); padding-bottom: 14px; margin-bottom: 26px; }
.cat-head h1 { font-size: 33px; }
.cat-head p { color: var(--ink-3); margin: 7px 0 0; font-size: 16px; }

/* ---------------------------------------------------------------- article */
.art-wrap { display: grid; grid-template-columns: minmax(0,1fr) 328px; gap: 42px; align-items: start; }
.art { max-width: 760px; }
.art h1 { font-size: 37px; margin: 13px 0 15px; line-height: 1.25; }
.art-lead {
  font-size: 19.5px; color: var(--ink-2); font-weight: 500; line-height: 1.65;
  margin: 0 0 20px; padding-inline-start: 15px; border-inline-start: 4px solid var(--red);
}

.byline {
  display: flex; align-items: center; gap: 13px; padding: 15px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.av {
  width: 43px; height: 43px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--hd); font-weight: 800; font-size: 20px; flex-shrink: 0;
}
.by-n { font-family: var(--hd); font-weight: 700; font-size: 16px; }
.by-m { font-size: 13px; color: var(--ink-3); display: flex; gap: 7px; flex-wrap: wrap; }
.share { margin-inline-start: auto; display: flex; gap: 7px; }
.share button {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer;
  font-family: var(--hd); font-weight: 600; font-size: 13.5px; padding: 7px 14px; border-radius: 30px;
  transition: .15s;
}
.share button:hover { background: var(--red); color: #fff; border-color: var(--red); }

.art-hero {
  aspect-ratio: 16/9; border-radius: var(--radius); display: grid; place-items: center;
  position: relative; margin-bottom: 8px; color: rgba(255,255,255,.9);
  font-family: var(--hd); font-weight: 800; font-size: 21px; letter-spacing: .04em;
}
.art-hero .cap {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12.5px; font-family: var(--bd); font-weight: 400; letter-spacing: 0;
  margin: 0; padding: 7px 12px; border-radius: 0 0 var(--radius) var(--radius);
}

.art-body { font-size: 18px; line-height: 1.92; margin: 26px 0 0; }
.art-body p { margin: 0 0 21px; }
.art-body p:first-of-type::first-letter {
  font-family: var(--hd); font-size: 3.05em; font-weight: 800; float: inline-start;
  line-height: .84; margin: 5px 9px 0 0; color: var(--red);
}
.art-page h1 { font-size: 33px; }
.art-page h2 { font-size: 22px; margin: 30px 0 11px; }
.art-page p { margin: 0 0 17px; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.art-page a { color: var(--red); text-decoration: underline; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 20px; }
.tag {
  font-size: 13.5px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
  padding: 5px 12px; border-radius: 30px; font-weight: 500;
}
.tag:hover { background: var(--red); color: #fff; border-color: var(--red); }

.src-note, .notice {
  font-size: 14px; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold); border-radius: var(--radius);
  padding: 13px 16px; margin: 22px 0;
}
.src-note a, .notice a { color: var(--red); text-decoration: underline; }
.notice { color: var(--ink-2); font-size: 15px; }

.pn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 32px; }
.pn {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 16px;
  font-family: var(--hd); font-weight: 600; font-size: 15px; line-height: 1.5;
  background: var(--bg-2); transition: .15s;
}
.pn:hover { border-color: var(--red); color: var(--red); }
.pn span { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; letter-spacing: .03em; }
.pn.next { text-align: end; }
.pn.next:only-child { grid-column: 2; }

/* ---------------------------------------------------------------- search */
.big-search { margin-bottom: 20px; }
.big-search input {
  width: 100%; padding: 15px 20px; font-size: 18px; font-family: var(--bd);
  border: 2px solid var(--line); border-radius: 40px; background: var(--bg); color: var(--ink); outline: none;
  transition: border-color .15s;
}
.big-search input:focus { border-color: var(--red); }
.s-count { color: var(--ink-3); font-size: 15px; margin: 0 0 22px; }
.s-empty { text-align: center; padding: 50px 20px; color: var(--ink-3); grid-column: 1/-1; }
.s-empty strong { color: var(--ink); font-size: 19px; display: block; margin-bottom: 7px; font-family: var(--hd); }

/* ---------------------------------------------------------------- contact / forms */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 24px 0 34px; }
.contact-grid .box { margin: 0; }
.cform { display: grid; gap: 15px; max-width: 620px; }
.cform label { display: grid; gap: 6px; font-family: var(--hd); font-weight: 600; font-size: 15px; }
.cform input, .cform textarea {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--bd); font-size: 15.5px; background: var(--bg); color: var(--ink); outline: none;
}
.cform input:focus, .cform textarea:focus { border-color: var(--red); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cform button {
  background: var(--red); color: #fff; border: 0; padding: 12px 30px; border-radius: var(--radius);
  font-family: var(--hd); font-weight: 700; font-size: 16px; cursor: pointer; justify-self: start;
}
.cform button:hover { background: var(--red-d); }

/* ---------------------------------------------------------------- 404 */
.err { text-align: center; padding: 70px 20px 90px; }
.err-code { font-family: var(--hd); font-size: 94px; font-weight: 800; color: var(--red); line-height: 1; opacity: .9; }
.err h1 { font-size: 31px; margin: 12px 0; }
.err p { color: var(--ink-3); font-size: 17px; }
.btn {
  display: inline-block; background: var(--red); color: #fff; padding: 11px 26px; border-radius: var(--radius);
  font-family: var(--hd); font-weight: 700; margin: 16px 5px 0; transition: .15s;
}
.btn:hover { background: var(--red-d); }
.btn-o { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-o:hover { background: var(--red); color: #fff; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: #c9ced8; padding: 42px 0 0; margin-top: 40px; }
[data-theme="dark"] .foot { background: #0e1014; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; padding-bottom: 32px; }
.foot h4 { color: #fff; font-size: 16px; margin: 0 0 13px; }
.foot-logo { font-size: 27px; margin-bottom: 13px; }
.foot-logo .logo-rest { color: #fff; }
.foot-about { font-size: 15px; line-height: 1.8; margin: 0 0 15px; color: #a8b0bd; max-width: 46ch; }
.foot-links { font-size: 14.5px; line-height: 2.15; color: #a8b0bd; margin: 0; }
.foot-links a:hover, .foot-about a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 9px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.09);
  display: grid; place-items: center; font-family: var(--hd); font-weight: 700; font-size: 14px; color: #fff;
  transition: background .15s;
}
.social a:hover { background: var(--red); }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.11); padding: 17px 0 22px; font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #8b93a1;
}
.demo-note a { color: #b9c0cc; text-decoration: underline; }

/* ---------------------------------------------------------------- theme toggle */
.theme-btn {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); cursor: pointer; font-size: 20px;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: transform .18s;
}
.theme-btn:hover { transform: scale(1.09); }

.top-btn {
  position: fixed; inset-block-end: 22px; inset-inline-end: 78px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff;
  cursor: pointer; font-size: 20px; box-shadow: var(--shadow-lg); display: none; place-items: center;
}
.top-btn.show { display: grid; }
.top-btn:hover { background: var(--red-d); }

/* ---------------------------------------------------------------- category placeholder art */
.ph-desh       { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.ph-rajniti    { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.ph-duniya     { background: linear-gradient(135deg, #065f46, #10b981); }
.ph-khel       { background: linear-gradient(135deg, #14532d, #65a30d); }
.ph-manoranjan { background: linear-gradient(135deg, #831843, #ec4899); }
.ph-business   { background: linear-gradient(135deg, #134e4a, #0d9488); }
.ph-apradh     { background: linear-gradient(135deg, #450a0a, #b91c1c); }
.ph-tech       { background: linear-gradient(135deg, #312e81, #6366f1); }
.ph-shiksha    { background: linear-gradient(135deg, #713f12, #ca8a04); }
.ph-lifestyle  { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .cols, .art-wrap { grid-template-columns: 1fr; gap: 30px; }
  .col-side, .art-side { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; align-items: start; }
  .col-side { position: static; }
  .col-side .box, .art-side .box { margin: 0; }
  .art { max-width: none; }
  .sec-grid { grid-template-columns: 1.2fr 1fr; }
  .sec-grid .sec-mid { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; display: grid; gap: 18px; }
  .sec-flat { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 380px; }
  .hero-txt { padding: 22px 20px 20px; }
  .hero-txt h2 { font-size: 30px; }
  .sec-grid { grid-template-columns: 1fr; gap: 24px; }
  .sec-grid .sec-mid { grid-column: auto; }
  .grid3 { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .head-in { flex-wrap: wrap; min-height: 0; padding: 12px 0; gap: 12px; }
  .burger { display: flex; order: 1; }
  .logo { order: 2; font-size: 27px; }
  .head-meta { display: none; }
  .search { order: 4; width: 100%; }
  .search input { width: 100%; }

  .mainnav ul { display: none; flex-direction: column; padding: 6px 0; }
  .mainnav ul.open { display: flex; }
  .mainnav a { padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mainnav a.on::after { display: none; }

  .hero-main { min-height: 320px; }
  .hero-txt h2 { font-size: 24px; }
  .hero-txt p { font-size: 15.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .grid3 { grid-template-columns: 1fr; gap: 22px; }
  .sec-flat { grid-template-columns: 1fr; gap: 22px; }
  .sec-flat .c-sm { grid-template-columns: 108px 1fr; }
  .sec-flat .c-sm .c-img { aspect-ratio: 4/3; margin-bottom: 0; }
  .sec-flat .c-sm .c-lead { display: none; }
  .sec-grid .sec-mid { grid-template-columns: 1fr; }
  .c-sm { grid-template-columns: 108px 1fr; }
  .grid3 .c-sm { grid-template-columns: 108px 1fr; }
  .grid3 .c-sm .c-img { aspect-ratio: 4/3; margin-bottom: 0; }
  .grid3 .c-sm .c-lead { display: none; }
  .c-lg .c-title { font-size: 21px; }

  .art h1 { font-size: 27px; }
  .art-lead { font-size: 17.5px; }
  .art-body { font-size: 17px; line-height: 1.88; }
  .cat-head h1 { font-size: 26px; }
  .col-side, .art-side { grid-template-columns: 1fr; }
  .pn-wrap { grid-template-columns: 1fr; }
  .pn.next { text-align: start; }
  .pn.next:only-child { grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .frow { grid-template-columns: 1fr; }
  .err-code { font-size: 68px; }
  .byline { flex-wrap: wrap; }
  .share { margin-inline-start: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .ticker, .mainnav, .search, .share, .col-side, .art-side, .foot, .theme-btn, .top-btn, .pn-wrap, .burger { display: none !important; }
  body { font-size: 12pt; }
  .art { max-width: none; }
}
