/* ==========================================================================
   आज का कानपुर — स्टाइलशीट
   Aaj Ka Kanpur — stylesheet
   ========================================================================== */

:root {
  color-scheme: light;

  /* रंग */
  --red: #c8102e;
  --red-dark: #9c0c23;
  --red-soft: #fdeef0;
  --ink: #16181d;
  --ink-2: #3b414a;
  --muted: #6d7580;
  --line: #e2e6ea;
  --line-2: #eef1f4;
  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --dark: #14171c;

  /* टाइपोग्राफी */
  --sans: 'Noto Sans Devanagari', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Noto Serif Devanagari', 'Nirmala UI', Georgia, 'Times New Roman', serif;

  /* नाप */
  --wrap: 1280px;
  --radius: 3px;
  --shadow: 0 1px 3px rgba(16, 20, 28, .08), 0 1px 1px rgba(16, 20, 28, .04);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.35; }

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

.dot { color: var(--line); margin-inline: 6px; }
.muted { color: var(--muted); }

/* ===== ऊपरी पट्टी ===== */

.topbar {
  background: var(--dark);
  color: #cfd4da;
  font-size: 12.5px;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 34px; flex-wrap: wrap;
}
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__date { color: #fff; font-weight: 500; }
.topbar__sep { color: #4a505a; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__right a:hover { color: #fff; }
.topbar__social { display: flex; gap: 6px; }
.soc {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #262b33; color: #cfd4da;
  font-size: 11px; text-transform: uppercase; font-weight: 600;
}
.soc:hover { background: var(--red); color: #fff; }

/* ===== मास्टहेड ===== */

.masthead { border-bottom: 1px solid var(--line); background: var(--bg); }
.masthead__in {
  display: grid;
  grid-template-columns: auto minmax(180px, 320px) auto;
  align-items: center; gap: 24px;
  padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand__mark {
  display: grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  background: var(--red); color: #fff;
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  border-radius: var(--radius);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1;
  color: var(--red); letter-spacing: -.01em;
}
.brand__tag { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.search { display: flex; }
.search input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 9px 12px; background: var(--bg-2); color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search button {
  border: 0; background: var(--red); color: #fff;
  padding: 9px 16px; cursor: pointer; font-weight: 600;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.search button:hover { background: var(--red-dark); }
.search--page { max-width: 560px; margin-bottom: 20px; }

.adslot {
  display: grid; place-content: center; gap: 2px;
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(135deg, #fafbfc 0 10px, #f3f5f7 10px 20px);
  color: var(--muted); text-align: center;
  font-size: 12px; letter-spacing: .04em;
}
.adslot small { font-size: 10.5px; opacity: .75; }
.adslot--top { width: 320px; height: 76px; }
.adslot--side { height: 230px; margin-bottom: 24px; }
.adslot--inline { height: 90px; margin: 22px 0; }

/* ===== मुख्य मेन्यू ===== */

.mainnav {
  background: var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 6px rgba(16, 20, 28, .14);
}
.mainnav__in { display: flex; align-items: center; }
.mainnav__toggle {
  display: none;
  background: transparent; border: 0; color: #fff;
  padding: 11px 4px; font-weight: 600; cursor: pointer;
}
.mainnav__list {
  display: flex; align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__list a {
  display: block; white-space: nowrap;
  padding: 11px 13px;
  color: #fff; font-size: 15px; font-weight: 500;
}
.mainnav__list a:hover { background: var(--red-dark); color: #fff; }
.mainnav__list a.is-active {
  background: var(--red-dark); color: #fff;
  box-shadow: inset 0 -3px 0 #ffd9df;
}

/* ===== ब्रेकिंग न्यूज़ ===== */

.ticker { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ticker__in { display: flex; align-items: center; gap: 0; min-height: 40px; }
.ticker__label {
  flex: none; align-self: stretch;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  padding-inline: 12px;
  position: relative;
}
.ticker__label::after {
  content: ''; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
  border: 7px solid transparent; border-left-color: var(--red);
}
.ticker__viewport { overflow: hidden; flex: 1; padding-left: 18px; }
.ticker__track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__track li { display: flex; align-items: center; }
.ticker__track li::after {
  content: '•'; color: var(--red); margin-inline: 14px; font-size: 14px;
}
.ticker__track a { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; }
}

/* ===== मुख्य ढांचा ===== */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
  padding-block: 22px 40px;
}
.main { min-width: 0; }

/* ===== हीरो ===== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 3px double var(--line);
}
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* ===== कार्ड ===== */

.card__media {
  display: block; position: relative;
  background: var(--bg-2); overflow: hidden;
  border-radius: var(--radius);
}
.card__media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .35s ease;
}
.card:hover .card__media img { transform: scale(1.03); }

.card__play {
  position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(200, 16, 46, .92); color: #fff; font-size: 16px;
  padding-left: 3px;
}
.card__dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .78); color: #fff;
  font-size: 11.5px; padding: 2px 6px; border-radius: 2px;
}
.card__badge {
  position: absolute; left: 8px; top: 8px;
  background: rgba(0, 0, 0, .72); color: #fff;
  font-size: 11.5px; padding: 3px 8px; border-radius: 2px;
}

.card__body { padding-top: 10px; }

.card__kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.card__cat {
  color: var(--red); font-size: 12px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
}
.card__loc {
  font-size: 11.5px; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 1px 7px; border-radius: 20px;
}

.card__title { font-size: 17px; letter-spacing: -.005em; }
.card__title a:hover { color: var(--red); }
.card__sum { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.card__meta { color: var(--muted); font-size: 12.5px; margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; }

.card--lead .card__title { font-size: clamp(23px, 2.6vw, 33px); line-height: 1.28; }
.card--lead .card__sum { font-size: 16px; margin-top: 10px; }
.card--lead .card__media img { aspect-ratio: 16 / 9; }

.card--grid .card__title { font-size: 16px; }

.card--wide { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: start; }
.card--wide .card__body { padding-top: 0; }
.card--wide .card__title { font-size: 19px; }

.card--list { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: start; }
.card--list .card__body { padding-top: 0; }
.card--list .card__title { font-size: 14.5px; }

.card--text { padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }

/* ===== सेक्शन शीर्षक ===== */

.sechead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}
.sechead__title {
  font-size: 21px; position: relative; padding-left: 13px;
}
.sechead__title::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; background: var(--red);
}
.sechead__more { font-size: 13.5px; color: var(--red); font-weight: 600; white-space: nowrap; }

.block { padding-block: 30px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block--tint {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-block: 30px;
}
.block--dark {
  background: var(--dark); color: #fff;
  border-radius: var(--radius); padding: 22px; margin-block: 30px;
  border-bottom: 0;
}
.block--dark .sechead { border-bottom-color: #343a44; }
.block--dark .sechead__title { color: #fff; }
.block--dark .card__title a { color: #fff; }
.block--dark .card__title a:hover { color: #ff8e9f; }
.block--dark .card__loc { background: #22272f; border-color: #343a44; color: #c3c9d1; }
.block--dark .card__meta { color: #949ba5; }
.block--dark .card__cat { color: #ff8e9f; }

/* ===== ग्रिड ===== */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; }
.split__main { min-width: 0; }

.stack { display: flex; flex-direction: column; }
.stack li { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.stack li:first-child { padding-top: 0; }
.stack li:last-child { border-bottom: 0; }
.stack__link {
  font-family: var(--serif); font-weight: 600; font-size: 15.5px; line-height: 1.45;
  display: block;
}
.stack__meta { color: var(--muted); font-size: 12px; margin-top: 4px; }

.results { display: flex; flex-direction: column; gap: 22px; }
.results .card--wide { padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }

.catlead { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 3px double var(--line); }

/* ===== चिप ===== */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--row { margin-bottom: 20px; }
.chip {
  display: inline-block;
  border: 1px solid var(--line); background: var(--bg);
  padding: 5px 12px; border-radius: 20px;
  font-size: 13px; color: var(--ink-2);
}
.chip:hover { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.chip--static:hover { border-color: var(--line); background: var(--bg); color: var(--ink-2); }

/* ===== साइडबार विजेट ===== */

.sidebar { min-width: 0; }

.widget {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 24px; background: var(--bg);
}
.widget__head {
  font-size: 17px; margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 2px solid var(--ink);
  position: relative; padding-left: 12px;
}
.widget__head::before {
  content: ''; position: absolute; left: 0; top: 2px; bottom: 11px;
  width: 4px; background: var(--red);
}
.widget__more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--red); font-weight: 600; }
.widget__note { font-size: 12.5px; color: var(--muted); margin-block: 10px; }

.ranked li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.ranked li:first-child { padding-top: 0; }
.ranked li:last-child { border-bottom: 0; padding-bottom: 0; }
.ranked__num {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--line); line-height: 1; text-align: center;
}
.ranked li:nth-child(1) .ranked__num,
.ranked li:nth-child(2) .ranked__num,
.ranked li:nth-child(3) .ranked__num { color: var(--red); }
.ranked__body a { font-family: var(--serif); font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.ranked__meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.feed li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.feed li:first-child { padding-top: 0; }
.feed li:last-child { border-bottom: 0; }
.feed time {
  font-size: 12px; color: var(--red); font-weight: 600;
  padding-top: 2px;
}
.feed a { font-size: 14px; line-height: 1.5; }

.widget--epaper .epaper-thumb { display: block; border: 1px solid var(--line); }
.widget--epaper img { width: 100%; }

.btn {
  display: inline-block; cursor: pointer;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px; text-align: center;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--block { display: block; width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-2); color: var(--ink); border-color: var(--ink); }

/* ===== राशिफल पट्टी ===== */

.rashi { border-bottom: 0; }
.rashi__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 26px; align-items: center;
  background: linear-gradient(135deg, #2b1f3f, #45294a);
  color: #fff; padding: 26px; border-radius: var(--radius);
}
.rashi__kicker { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #ffc9d2; font-weight: 700; }
.rashi__title { font-size: 23px; margin-block: 8px 10px; }
.rashi__title a:hover { color: #ffc9d2; }
.rashi__sum { color: #d8d2e0; font-size: 14.5px; margin-bottom: 16px; }
.rashi .btn { background: #fff; color: #2b1f3f; border-color: #fff; }
.rashi .btn:hover { background: #ffc9d2; color: #2b1f3f; border-color: #ffc9d2; }
.rashi__signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rashi__sign {
  text-align: center; font-size: 13.5px; padding: 9px 4px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); color: #fff;
}
.rashi__sign:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ===== पेज शीर्षक, पथ ===== */

.crumbs { font-size: 12.5px; color: var(--muted); padding-block: 4px 14px; }
.crumbs a { color: var(--red); }
.crumbs span { margin-inline: 5px; }
.crumbs__now { color: var(--ink-2); }

.pagehead { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.pagehead__title { font-size: clamp(24px, 3vw, 34px); }
.pagehead__blurb { color: var(--muted); font-size: 14px; margin-top: 6px; }

.empty {
  padding: 28px; text-align: center; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 20px;
}

.notice {
  background: var(--red-soft); border: 1px solid #f3c9d1;
  border-left: 4px solid var(--red);
  padding: 14px 16px; border-radius: var(--radius);
  font-size: 14px; color: var(--ink-2); margin-bottom: 22px;
}
.notice--ok { background: #eef8f1; border-color: #c7e6d2; border-left-color: #2e8b57; }
.notice code { background: #fff; padding: 1px 5px; border: 1px solid var(--line); font-size: 13px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 28px; }
.pager__btn {
  border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
}
.pager__btn:hover { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.pager__info { font-size: 13.5px; color: var(--muted); }

/* ===== खबर पेज ===== */

.post { max-width: 820px; }
.post__kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.post__title { font-size: clamp(25px, 3.4vw, 38px); line-height: 1.28; }
.post__intro {
  font-size: 17.5px; color: var(--ink-2); margin-top: 14px;
  font-weight: 500; line-height: 1.7;
}
.post__byline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-block: 16px; margin-block: 18px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.post__who { display: flex; flex-direction: column; gap: 3px; }
.post__author { font-weight: 600; font-size: 14.5px; }
.post__when { font-size: 12.5px; color: var(--muted); }

.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share__btn {
  border: 1px solid var(--line); background: var(--bg); cursor: pointer;
  padding: 6px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
}
.share__btn:hover { border-color: var(--red); background: var(--red-soft); color: var(--red); }

.post__hero { margin: 0 0 22px; }
.post__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post__hero figcaption { font-size: 12.5px; color: var(--muted); padding-top: 8px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }

.player { position: relative; }
.player__play {
  position: absolute; inset: 0; margin: auto;
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px;
  background: rgba(200, 16, 46, .94); color: #fff; font-size: 24px;
}
.player__note {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .68); color: #e8eaed;
  font-size: 12.5px; padding: 8px 12px; text-align: center;
}

.post__body p {
  font-size: 17.5px; line-height: 1.95; color: #1f242b;
  margin-bottom: 20px;
}
.post__body p:first-child::first-letter {
  font-family: var(--serif); font-weight: 700;
}

.post__tags { padding-top: 10px; }
.post__tags h2 { font-size: 16px; margin-bottom: 12px; }

.gallery { margin-block: 26px; }
.gallery__head { font-size: 19px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__grid figure { margin: 0; }
.gallery__grid img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery__grid figcaption { font-size: 12.5px; color: var(--muted); padding-top: 6px; }

/* ===== ई-पेपर ===== */

.epaper-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; padding-bottom: 40px;
}
.epaper-page { margin: 0; }
.epaper-page img {
  width: 100%; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.epaper-page:hover img { transform: translateY(-3px); }
.epaper-page figcaption { font-size: 13px; color: var(--ink-2); padding-top: 8px; text-align: center; }

/* ===== सामान्य टेक्स्ट पेज ===== */

.prose { max-width: 780px; padding-bottom: 40px; }
.prose p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.85; color: #1f242b; }
.prose h2 { font-size: 21px; margin-block: 28px 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.prose ul { list-style: none; margin-bottom: 16px; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 16px; color: #1f242b; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }

.ownerinfo { display: grid; gap: 0; margin: 0; }
.ownerinfo > div {
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2);
}
.ownerinfo dt { color: var(--muted); font-size: 13.5px; margin: 0; }
.ownerinfo dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.ownerinfo--page > div { border-bottom: 1px solid var(--line); }

.contact {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 36px; padding-bottom: 44px;
}
.contact h2 { font-size: 19px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.contact__form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; margin-top: 14px; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; background: var(--bg); color: var(--ink);
}
.contact__form textarea { resize: vertical; }
.contact__form .btn { margin-top: 18px; }
.contact__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.contact__side h2:not(:first-child) { margin-top: 28px; }
.contact__side p { font-size: 14.5px; margin-bottom: 12px; }

/* ===== 404 / त्रुटि ===== */

.oops { text-align: center; padding-block: 70px 90px; max-width: 580px; margin-inline: auto; }
.oops__code { font-family: var(--serif); font-size: 76px; font-weight: 700; color: var(--red); line-height: 1; }
.oops__title { font-size: 27px; margin-top: 10px; }
.oops__text { color: var(--ink-2); margin-top: 12px; }
.oops__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ===== फुटर ===== */

.footer { background: var(--dark); color: #b8bfc8; margin-top: 10px; padding-block: 36px 20px; font-size: 14px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { color: #b8bfc8; }
.footer a:hover { color: #fff; }

.footer__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr;
  gap: 28px; padding-bottom: 28px; border-bottom: 1px solid #262b33;
}
.footer__col ul li { padding: 4px 0; font-size: 13.5px; }
.footer__col--wide .chip {
  background: #1d2127; border-color: #2d333c; color: #b8bfc8; font-size: 12.5px;
}
.footer__col--wide .chip:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer__owner { padding-block: 24px; border-bottom: 1px solid #262b33; }
.footer__pending { font-size: 14px; color: #c7ced6; }
.footer__pending span { display: block; color: #8b939d; font-size: 12.5px; margin-top: 4px; }
.footer__pending code { background: #1d2127; padding: 1px 6px; border: 1px solid #2d333c; font-size: 12.5px; }
.footer__owner .ownerinfo > div { border-bottom-color: #262b33; }
.footer__owner .ownerinfo dt { color: #8b939d; }
.footer__owner .ownerinfo dd { color: #e4e8ec; }

.footer__bottom { padding-top: 22px; }
.footer__brand { font-family: var(--serif); font-size: 19px; font-weight: 700; color: #fff; }
.footer__brand span { font-family: var(--sans); font-size: 13px; font-weight: 400; color: #8b939d; }
.footer__meta { font-size: 13px; margin-top: 8px; }
.footer__meta a { text-decoration: underline; text-underline-offset: 3px; }
.footer__note { font-size: 12px; color: #8b939d; margin-top: 12px; }

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--red); color: #fff; font-size: 18px;
  cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.totop.is-on { opacity: 1; visibility: visible; }
.totop:hover { background: var(--red-dark); }

/* ==========================================================================
   छोटी स्क्रीन / Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .adslot--top { display: none; }
  .masthead__in { grid-template-columns: auto minmax(160px, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .epaper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero__grid { gap: 18px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rashi__in { grid-template-columns: minmax(0, 1fr); }
  .ownerinfo > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar__right a:not(:first-child) { display: none; }
  .topbar__social { display: none; }
  .topbar__in { flex-wrap: nowrap; }
  .masthead__in { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 12px; }
  .brand__mark { width: 44px; height: 44px; font-size: 25px; }

  .mainnav__in { flex-direction: column; align-items: stretch; }
  .mainnav__toggle { display: block; text-align: left; padding: 11px 2px; }
  .mainnav__list { display: none; flex-direction: column; padding-bottom: 8px; max-height: 60vh; overflow-y: auto; }
  .mainnav__list.is-open { display: flex; }
  .mainnav__list a { padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, .12); }

  .hero { padding-bottom: 20px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .grid--3, .grid--4, .gallery__grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .epaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
  .card--wide .card__title { font-size: 16px; }
  .card--wide .card__sum { display: none; }
  .rashi__signs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .block--tint, .block--dark { padding: 16px; }
  .post__body p { font-size: 16.5px; line-height: 1.85; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ==========================================================================
   प्रिंट
   ========================================================================== */

@media print {
  .topbar, .mainnav, .ticker, .sidebar, .footer, .totop, .adslot, .share, .crumbs { display: none !important; }
  body { font-size: 12pt; }
  .layout { display: block; }
  .post { max-width: none; }
  a { color: #000; }
}

/* अपलोड किया गया वीडियो */
.post__video {
  width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--radius); display: block;
}
.footer__admin { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }

/* यूट्यूब वीडियो */
.ytbox {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.ytbox__poster { width: 100%; height: 100%; object-fit: cover; }
.ytbox__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 52px; border: 0; border-radius: 13px;
  background: rgba(200, 16, 46, .92); cursor: pointer;
  display: grid; place-items: center;
  transition: background .18s ease, transform .18s ease;
}
.ytbox__play:hover { background: var(--red); transform: scale(1.06); }
.ytbox__tri {
  width: 0; height: 0; margin-left: 4px; border-style: solid;
  border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff;
}
.ytbox__tag {
  position: absolute; left: 10px; top: 10px;
  background: rgba(0, 0, 0, .72); color: #fff;
  font-size: 11.5px; padding: 3px 8px; border-radius: 2px;
}
.ytbox__frame { width: 100%; height: 100%; border: 0; display: block; }
.ytbox__out { float: right; color: var(--red); font-weight: 600; }
