/* 31 मार्च 2026 (हिंदी): phone/tablet one-column layout, driven by web.js. Desktop untouched. */
@keyframes nl-reveal{to{visibility:visible}}
@media (max-width:971px){
  /* Hide the pinned layout until it has been re-flowed (shown anyway after 2.5s as a fallback). */
  html:not(.nl-reflowed) main{visibility:hidden;animation:nl-reveal 0s 2.5s forwards}

  main .page.nl-flowed{height:auto!important;padding-bottom:28px}

  /* Pieces that overlap by design: one unit, scaled to the column */
  .nl-cluster{position:relative;width:var(--cw);height:var(--ch);zoom:var(--cz);margin:14px auto}
  .nl-cl-item{position:absolute!important;left:var(--x)!important;top:var(--y)!important;width:var(--w)!important;height:var(--h)!important;margin:0!important;transform:none!important}

  /* Everything else: one readable column */
  .nl-flow{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
    width:auto!important;height:auto!important;max-width:none!important;transform:none!important;white-space:normal!important}
  img.nl-flow{display:block;width:90%!important;margin:16px auto!important}
  .nl-flow.heading{margin:22px 0 0!important;padding:12px 5%!important;font-size:25px!important;line-height:1.3!important;text-align:left}
  .nl-flow.heading.hero-title{font-size:30px!important;margin-top:0!important}
  .nl-flow.heading.blue{font-size:30px!important;text-align:center}
  .nl-flow.heading.black{font-size:19px!important;padding-top:6px!important;padding-bottom:6px!important}
  .nl-flow.heading.question-title{font-size:28px!important}
  .nl-flow.heading.gallery-heading{font-size:36px!important;text-align:center}
  .nl-flow.heading *{font-size:inherit!important;transform:none!important}
  .nl-flow.body{margin:12px 5%!important;font-size:17px!important;line-height:1.6!important;text-align:left!important}
  .nl-flow.body *{font-size:inherit!important}
  a.nl-flow.action{display:block!important;margin:14px 5%!important;padding:12px 14px!important;font-size:16px!important;line-height:1.4!important;text-align:center;min-height:48px}
  a.nl-flow.action *{font-size:inherit!important}
  a.nl-flow.action.caption{margin-top:0!important;text-align:left;font-size:15px!important}
  .nl-flow.black-top{height:28px!important}
  .nl-flow.gallery-rule{margin:24px 5% 0!important}
  /* Photo round-up cards: photo with its caption underneath */
  .nl-card{margin:18px 5% 0;padding:0}
  .nl-card img.nl-flow{width:100%!important;margin:0!important}
  .nl-card a.nl-flow.action.caption{margin:0!important;border-radius:0 0 4px 4px;padding:10px 12px 10px 38px!important;background:#2a2a2a!important;color:#f5f3ea!important}
  .nl-card a.nl-flow.action.caption *{color:inherit!important}
  /* "राहुल गांधी के सवाल" on one line */
  .nl-flow.question-title{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:.3em}
  .nl-flow.question-title br{display:inline;content:"";}
  .nl-flow.question-title .question-prefix br{display:none}
  .nl-flow.question-title .question-prefix{word-spacing:normal}
  .nl-flow.question-title span{position:static!important;display:inline!important;white-space:nowrap}
  footer.nl-flow.social{display:flex!important;justify-content:center;gap:10px;margin:18px auto 0!important}
}

/* Yellow buttons: text lowered so the space above it is at least the space below (measured 4 Nov 2026).
   :not(#nl-a):not(#nl-b) only raises priority over the edition's own rules. */
@media (max-width: 600px) {
  #article-link-002-001:not(#nl-a):not(#nl-b) { padding-top: 0.8438em !important; padding-bottom: 0.6563em !important; }
  #article-link-005-001:not(#nl-a):not(#nl-b) { padding-top: 0.9688em !important; padding-bottom: 0.5313em !important; }
  #article-link-006-001:not(#nl-a):not(#nl-b) { padding-top: 1em !important; padding-bottom: 0.5em !important; }
  #article-link-007-001:not(#nl-a):not(#nl-b) { padding-top: 1em !important; padding-bottom: 0.5em !important; }
  #article-link-007-002:not(#nl-a):not(#nl-b) { padding-top: 1em !important; padding-bottom: 0.5em !important; }
  #subscribe:not(#nl-a):not(#nl-b) { padding-top: 0.8125em !important; padding-bottom: 0.6875em !important; }
}
@media (min-width: 601px) and (max-width: 971px) {
  #article-link-002-001:not(#nl-a):not(#nl-b) { padding-top: 0.9063em !important; padding-bottom: 0.5938em !important; }
  #article-link-003-001:not(#nl-a):not(#nl-b) { padding-top: 0.875em !important; padding-bottom: 0.625em !important; }
  #article-link-005-001:not(#nl-a):not(#nl-b) { padding-top: 0.9375em !important; padding-bottom: 0.5625em !important; }
  #article-link-006-001:not(#nl-a):not(#nl-b) { padding-top: 0.9375em !important; padding-bottom: 0.5625em !important; }
  #subscribe:not(#nl-a):not(#nl-b) { padding-top: 0.875em !important; padding-bottom: 0.625em !important; }
}
/* Two tablet buttons the first pass could not fix (4 Nov 2026). */
@media (min-width: 601px) and (max-width: 971px) {
  #article-link-007-001:not(#nl-a):not(#nl-b), #article-link-007-002:not(#nl-a):not(#nl-b) { padding-top: 0.9688em !important; padding-bottom: 0.5313em !important; }
}
