/* The Raisina Post — editorial system phase 1. 2026-11-08.
   Sharp geometry, intentional red, black footer. Does not touch publishing logic. */
:root{--rp-red:#b42332;--accent:#b42332;--accent-hover:#951c29;--rp-rule:#d6d6d6;--rp-surface:#f9f9f9}
html{accent-color:var(--rp-red)}
:focus-visible{outline:2px solid var(--rp-red);outline-offset:3px}
::selection{background:#f6dfe2;color:#171717}
.site-header.universal-header .rp-header-subscribe,.rp-header-subscribe,
.editorial-footer-subscribe{border-radius:0!important;background:var(--rp-red)!important;border-color:var(--rp-red)!important;color:#fff!important}
.site-header.universal-header .rp-header-control,.rp-sticky-header .rp-header-control{border-radius:0!important}
.site-header.universal-header .nav-links a[aria-current="page"],
.site-header.universal-header .nav-links a:hover{color:var(--rp-red)!important}
.editorial-footer{background:#151515!important;color:#fff!important;--footer-ink:#fff;--footer-muted:#bcbcbc;--footer-hairline:#454545;padding-bottom:32px}
.editorial-footer .editorial-footer-pitch{background:#202020!important;border-color:#454545!important;border-radius:0!important}
.editorial-footer .editorial-footer-pitch h2,
.editorial-footer .editorial-footer-name,
.editorial-footer .editorial-footer-group-label{color:#fff!important}
.editorial-footer .editorial-footer-description,
.editorial-footer .editorial-footer-pitch-copy>p:last-child,
.editorial-footer .editorial-footer-kicker,
.editorial-footer .editorial-footer-origin,
.editorial-footer .editorial-footer-cta>span{color:#bcbcbc!important}
.editorial-footer a:not(.editorial-footer-subscribe){color:#dedede}
.editorial-footer a:hover{color:#fff;text-decoration-color:var(--rp-red)}
.editorial-footer .editorial-footer-emblem img{filter:brightness(0) invert(1)}
.editorial-footer .editorial-footer-pitch,
.editorial-footer .editorial-footer-subscribe,
.editorial-footer a,
.editorial-footer button,
.editorial-footer input{border-radius:0!important}
body :is(.home-editorial,.home-rhythm,.editorial-home) :is(article,.card,.story-card,.story-image,img){border-radius:0}
@media(max-width:700px){.editorial-footer{padding-top:52px}.editorial-footer .editorial-footer-pitch{padding:28px 20px}}

/* Phase 2 — deliberate editorial grid and masthead. */
@media(min-width:1050px){
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-grid{
    grid-template-columns:minmax(0,1.85fr) minmax(300px,.9fr)!important;
    grid-template-areas:"lead briefs"!important;
    gap:clamp(24px,2.2vw,38px)!important;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-main{grid-area:lead}
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    grid-area:briefs;min-width:0;border-left:1px solid var(--rp-rule);
    padding-left:clamp(18px,1.6vw,28px);
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-story{
    display:flex;flex-direction:column-reverse;align-items:stretch;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-visual{aspect-ratio:1.7/1}
}
body:has(.editorial-cover) .frontpage.editorial-cover .lead-visual,
body:has(.editorial-cover) .frontpage.editorial-cover .lead-visual img,
body:has(.editorial-cover) .home-bulletins--hero,
body:has(.editorial-cover) .home-bulletin-card,
body:has(.editorial-cover) .market-ribbon-widget{border-radius:0!important}
body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2 a:hover,
body:has(.editorial-cover) .home-bulletin-item:hover strong{color:var(--rp-red)}
body:has(.editorial-cover) #latest>.section-bar{
  border-bottom:1px solid var(--rp-rule)!important;
  padding-bottom:14px!important;margin-bottom:22px!important;
}
body:has(.editorial-cover) #latest .lead-category{
  color:var(--rp-red);font-weight:650;letter-spacing:.025em;
}
@media(min-width:1050px){
  .site-header.universal-header.rp-edition-header .rp-header-layout{
    min-height:166px;grid-template-columns:minmax(0,1fr) minmax(0,540px) minmax(0,1fr);
  }
  .site-header.universal-header.rp-edition-header .universal-masthead{padding:16px 0!important}
}
@media(max-width:760px){
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-grid{
    display:flex!important;flex-direction:column!important;gap:28px!important;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-main,
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    width:100%;min-width:0;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    border-top:1px solid var(--rp-rule);padding-top:22px;
  }
}

/* Reader account entry point — existing authentication destination. */
.rp-header-right{gap:clamp(12px,1.5vw,22px)}
.rp-editorial-signin{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid #202020;border-radius:0;color:#171717;font:600 12px/1.2 Manrope,Arial,sans-serif;text-decoration:none;white-space:nowrap}
.rp-editorial-signin:hover{background:#171717;color:#fff}
.rp-editorial-signin:focus-visible{outline:2px solid var(--rp-red);outline-offset:3px}
@media(max-width:900px){.rp-editorial-signin{display:none}}

/* The publication header is now owned by publication-header.css and shared-header.js. */
