/* The Raisina Post — editorial lead / reviewed Bulletin hero rail.
   Shared market ticker and masthead are intentionally untouched.
   The mini-rail styling below remains the existing horizontal news shelf. */
/* Nov 2026 — unified hero: 60% latest original report / 40% reviewed Bulletins.
   The smaller reporting cards form an independent, horizontal mini-bento rail. */
@media(min-width:761px){
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-grid{
    display:grid;
    grid-template-columns:minmax(0,3fr) minmax(0,2fr);
    grid-template-areas:"lead bulletins";
    column-gap:clamp(24px,3vw,46px);
    align-items:start;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-main{grid-area:lead;min-width:0}
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    grid-area:bulletins;
    min-width:0;
    padding:0 0 0 clamp(20px,2.2vw,35px);
    border-left:1px solid #e8e8e8;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-visual{
    aspect-ratio:2/1;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-content{
    align-items:flex-start;
    text-align:left;
    padding:20px 0 0;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2{
    max-width:27ch;
    font-weight:400!important;
    font-size:clamp(30px,2.65vw,42px)!important;
    line-height:1.15!important;
    letter-spacing:-.028em!important;
    text-wrap:balance;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-description{
    max-width:58ch;
    font-weight:400;
    font-size:clamp(14px,1.05vw,15.5px);
    line-height:1.65;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-stamp{
    order:initial;
    margin:0 0 8px;
    letter-spacing:.025em;
  }
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-secondary-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:clamp(32px,4vw,54px) 0 15px;
  padding-top:18px;
  border-top:1px solid #e9e9e9;
}
body:has(.editorial-cover) .home-secondary-heading h3{
  margin:0;
  color:#242424;
  font:600 14px/1.4 Inter,Arial,sans-serif;
  letter-spacing:-.02em;
}
body:has(.editorial-cover) .home-secondary-heading span{
  color:#838383;
  font:450 11px/1.4 Inter,Arial,sans-serif;
}
body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:clamp(270px,28vw,365px);
  grid-template-columns:none;
  gap:12px;
  width:100%;
  min-width:0;
  margin:0;
  padding:0 0 12px;
  border:0;
  background:transparent;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#d7d7d7 transparent;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story:first-child{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  margin:0;
  padding:0!important;
  border:1px solid #ededed;
  border-radius:8px!important;
  background:#f9f9f9!important;
  scroll-snap-align:start;
  overflow:hidden;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-visual{
  display:block;
  width:100%;
  aspect-ratio:1.85/1;
  border:0;
  border-radius:0;
  background:#eee;
  overflow:hidden;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-visual img{
  width:100%;height:100%;object-fit:cover;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:117px;
  padding:14px 16px 17px!important;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-meta{
  display:flex;
  gap:8px;
  font:500 10px/1.4 Inter,Arial,sans-serif;
  color:#777;
  letter-spacing:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-meta>span{display:inline}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story h3{
  margin:10px 0 0;
  color:#1f1f1f;
  font-weight:500!important;
  font-size:clamp(17px,1.35vw,19px)!important;
  line-height:1.32!important;
  letter-spacing:-.015em!important;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story p{display:none!important}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--text-only .rail-copy{
  padding:18px 16px!important;
  min-height:150px;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story:hover{
  background:#f4f4f4!important;
  border-color:#dfdfdf;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail:focus-visible{
  outline:2px solid #555;
  outline-offset:4px;
}
@media(max-width:760px){
  body:has(.editorial-cover) .frontpage.editorial-cover .frontpage-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"lead" "bulletins";
    gap:26px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-visual{
    aspect-ratio:3/2;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-content{
    padding-top:15px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2{
    font-size:clamp(28px,7.2vw,35px)!important;
    line-height:1.18!important;
    max-width:28ch;
    margin-bottom:12px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .lead-description{
    font-size:14.5px;
    line-height:1.64;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    padding:24px 0 0;
    border:0;
    border-top:1px solid #e9e9e9;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail{
    display:grid;
    grid-auto-columns:minmax(240px,86vw);
    grid-template-columns:none;
    gap:10px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story h3{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){
  body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail{scroll-behavior:auto}
}



/* One accessible Bulletin feed beside the day's lead, with no duplicate shelf. */
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
  margin:0;
  background:transparent;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-heading{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  padding:0 0 18px;
  margin:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-heading h2{
  font:600 clamp(17px,1.5vw,19px)/1.3 Inter,Arial,sans-serif;
  letter-spacing:-.035em;
  margin:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-live-dot{
  color:#b42332;
  animation:none;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-heading a{
  font:500 12px/1.5 Inter,Arial,sans-serif;
  color:#646464;
  white-space:nowrap;
  text-decoration:none;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-heading a:hover{
  color:#a32331;
  text-decoration:underline;
  text-underline-offset:3px;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  min-width:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-card{
  min-height:0;
  border:0;
  border-top:1px solid #e8e8e8;
  border-radius:0;
  background:transparent;
  padding:16px 0 17px;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-card h3{
  margin:0;
  font:600 11px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.01em;
  color:#505050;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-items{
  display:grid;
  gap:13px;
  min-width:0;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  width:100%;
  min-width:0;
  max-width:none;
  text-decoration:none;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-meta{
  display:block;
  font-weight:450;
  font-size:11px;
  line-height:1.5;
  color:#757575;
  overflow-wrap:anywhere;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-item strong{
  font-weight:500;
  font-size:clamp(16px,1.2vw,18px);
  line-height:1.4;
  letter-spacing:-.026em;
  color:#242424;
  text-wrap:pretty;
  overflow-wrap:anywhere;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-item:hover strong{color:#a32331}
@media(max-width:760px){
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero{
    border-top:1px solid #e8e8e8;
    border-left:0;
    padding:20px 0 0;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-card{
    padding:16px 0 18px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletin-item strong{
    font-size:17px;
  }
  body:has(.editorial-cover) .frontpage.editorial-cover .home-bulletins--hero .home-bulletins-heading h2{
    font-size:18px;
  }
}


/* Unified invisible-scrollbar rails — fixed editorial card geometry.
   The rail remains genuinely scrollable by touch, trackpad, mouse drag, and keyboard.
   Do not hide overflow entirely: that would strand offscreen stories. */
body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail,
body:has(.editorial-cover) .power-brief-slider .article-list {
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none!important;
  -ms-overflow-style:none;
  overscroll-behavior-x:contain;
  padding-bottom:3px;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail::-webkit-scrollbar,
body:has(.editorial-cover) .power-brief-slider .article-list::-webkit-scrollbar {
  display:none;
  width:0;
  height:0;
}

/* Reporting — every card occupies the same dimensions regardless of copy length. */
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story:first-child {
  height:360px;
  min-height:360px;
  max-height:360px;
  box-sizing:border-box;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-visual {
  flex:0 0 auto;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-copy,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--text-only .rail-copy {
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story h3 {
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* The Power Brief — identical height for every edition, including long titles. */
body:has(.editorial-cover) .power-brief-slider .article-row {
  height:378px;
  min-height:378px;
  max-height:378px;
  box-sizing:border-box;
}
body:has(.editorial-cover) .power-brief-slider .article-main {
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
body:has(.editorial-cover) .power-brief-slider .article-row h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
body:has(.editorial-cover) .power-brief-slider .article-main>p {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* Dragging temporarily disables snapping, then releases back to the closest card. */
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail {
  cursor:grab;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail.is-dragging {
  cursor:grabbing;
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  user-select:none;
  -webkit-user-select:none;
}

@media(prefers-reduced-motion:reduce) {
  body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail,
  body:has(.editorial-cover) .power-brief-slider .article-list {
    scroll-behavior:auto!important;
  }
}


/* One balanced layout system for both homepage image shelves.
   The opening card aligns with the true .wrap edge, just as the heading does.
   Both tracks span the viewport; intermediate cards can pass all the way to
   the screen edge. At the final card the matching right inset remains.
   The parent container is measured directly, so all breakpoint-specific .wrap
   width limits are followed rather than guessed. */
/* Measure the real rendered section width: browser percentages inside
   scrollports refer to the track and collapse to zero, so use cqw instead. */
body:has(.editorial-cover) .frontpage.editorial-cover,
body:has(.editorial-cover) #archive.power-brief-slider {
  container-type:inline-size;
}
body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail,
body:has(.editorial-cover) #archive.power-brief-slider #article-grid.article-list {
  --rp-rail-gutter:max(var(--page-inset,20px), calc((100vw - var(--content-width,1460px))/2));
  box-sizing:border-box;
  width:100vw!important;
  max-width:none!important;
  margin-inline:calc(50% - 50vw)!important;
  padding:3px var(--rp-rail-gutter) 5px!important;
  padding-inline:var(--rp-rail-gutter)!important;
  scroll-padding-inline:0;
  -webkit-overflow-scrolling:touch;
}
/* Modern responsive browsers compute cqw against the parent section,
   including its narrower tablet/mobile .wrap rules. */
@supports (width:1cqw) {
  body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail,
  body:has(.editorial-cover) #archive.power-brief-slider #article-grid.article-list {
    --rp-rail-gutter:max(0px, calc((100vw - 100cqw)/2));
  }
}
body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail > .rail-story:first-child,
body:has(.editorial-cover) #archive.power-brief-slider #article-grid.article-list > .article-row:first-child {
  scroll-margin-inline-start:var(--rp-rail-gutter);
}
/* The general editorial stylesheet adds a 10px vertical margin between
   article rows. Carousel cards must instead share one perfectly level baseline. */
body:has(.editorial-cover) #archive.power-brief-slider #article-grid.article-list > .article-row {
  margin-top:0!important;
  margin-bottom:0!important;
  scroll-snap-align:start;
}
@media(max-width:760px) {
  body:has(.editorial-cover) #archive.power-brief-slider #article-grid.article-list {
    -webkit-overflow-scrolling:touch;
  }
}

/* Images fill their entire card. The overlaid copy is still present for screen
   readers and keyboard links, even when visually hidden on hover devices. */
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated {
  position:relative;
  isolation:isolate;
  background:#292929!important;
  border:0!important;
  border-radius:8px!important;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-visual {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  border-radius:inherit;
  overflow:hidden;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-visual img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none;
  transform:scale(1);
  transition:transform .3s ease;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-copy {
  position:absolute;
  z-index:1;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:stretch;
  min-height:0;
  padding:20px!important;
  color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0) 23%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.88) 100%);
  opacity:0;
  transform:translateY(5px);
  transition:opacity .22s ease,transform .22s ease;
  pointer-events:none;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-meta {
  color:#f5f5f5;
  opacity:.82;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-story h3,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated h3,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated h3 a {
  color:#fff!important;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated h3 a {
  pointer-events:auto;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated:hover .rail-copy,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated:focus-within .rail-copy {
  opacity:1;
  transform:none;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated:hover .rail-visual img,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated:focus-within .rail-visual img {
  transform:scale(1.025);
}
/* Power Brief: full photographic cards, with the original edition title and
   metadata revealed on hover or keyboard focus. */
body:has(.editorial-cover) .power-brief-slider .article-row {
  position:relative;
  isolation:isolate;
  background:#292929!important;
  border:0!important;
  border-radius:8px;
}
body:has(.editorial-cover) .power-brief-slider .article-row .article-media {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  flex:none;
  aspect-ratio:auto;
  overflow:hidden;
  background:#e9e9e9;
}
body:has(.editorial-cover) .power-brief-slider .article-media img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none!important;
  transform:scale(1);
  transition:transform .3s ease;
}
body:has(.editorial-cover) .power-brief-slider .article-row .article-main {
  position:absolute;
  z-index:1;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:stretch;
  min-height:0;
  padding:22px!important;
  color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.1) 40%,rgba(0,0,0,.9) 100%);
  opacity:0;
  transform:translateY(5px);
  transition:opacity .22s ease,transform .22s ease;
  pointer-events:none;
}
body:has(.editorial-cover) .power-brief-slider .article-row .article-overline,
body:has(.editorial-cover) .power-brief-slider .article-row .article-category,
body:has(.editorial-cover) .power-brief-slider .article-row .article-main>p {
  color:rgba(255,255,255,.86)!important;
}
body:has(.editorial-cover) .power-brief-slider .article-row h3,
body:has(.editorial-cover) .power-brief-slider .article-row h3 a {
  color:#fff!important;
}
body:has(.editorial-cover) .power-brief-slider .article-row h3 a {
  pointer-events:auto;
}
body:has(.editorial-cover) .power-brief-slider .article-row:hover .article-main,
body:has(.editorial-cover) .power-brief-slider .article-row:focus-within .article-main {
  opacity:1;
  transform:none;
}
body:has(.editorial-cover) .power-brief-slider .article-row:hover .article-media img,
body:has(.editorial-cover) .power-brief-slider .article-row:focus-within .article-media img {
  transform:scale(1.025);
}
/* A touch screen has no hover: editorial labels are always legible. */
@media (hover:none), (pointer:coarse) {
  body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-copy,
  body:has(.editorial-cover) .power-brief-slider .article-row .article-main {
    opacity:1;
    transform:none;
  }
}
@media (prefers-reduced-motion:reduce) {
  body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-copy,
  body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story--illustrated .rail-visual img,
  body:has(.editorial-cover) .power-brief-slider .article-row .article-main,
  body:has(.editorial-cover) .power-brief-slider .article-media img {
    transition:none!important;
    transform:none!important;
  }
}

/* Shared card dimensions for reporting and the daily Power Brief.
   All cards are identical in each viewport regardless of headline length,
   artwork proportions, or future CMS content. Gutter and carousel behavior
   are intentionally controlled by the rules above. */
body:has(.editorial-cover) {
  --rp-editorial-card-width:clamp(270px,28vw,365px);
  --rp-editorial-card-height:378px;
}
body:has(.editorial-cover) .frontpage.editorial-cover .latest-rail.home-mini-rail {
  grid-auto-columns:var(--rp-editorial-card-width)!important;
}
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail > .rail-story,
body:has(.editorial-cover) .power-brief-slider .article-list > .article-row {
  box-sizing:border-box;
  flex:0 0 var(--rp-editorial-card-width)!important;
  width:var(--rp-editorial-card-width)!important;
  min-width:var(--rp-editorial-card-width)!important;
  max-width:var(--rp-editorial-card-width)!important;
  height:var(--rp-editorial-card-height)!important;
  min-height:var(--rp-editorial-card-height)!important;
  max-height:var(--rp-editorial-card-height)!important;
  overflow:hidden;
}
@media(max-width:760px) {
  body:has(.editorial-cover) {
    --rp-editorial-card-width:min(86vw,365px);
    --rp-editorial-card-height:350px;
  }
}

/* Homepage-only shared content grid.
   Every direct homepage section uses the same symmetrical page inset and
   1460px wide outer content grid. The market ribbon keeps its full-width
   background, but its inner content uses the exact same edges. Headers,
   footers, article pages, About, and app-style tools are not affected.
   Keep this at the end, after the old breakpoint-specific overrides. */
body:has(.editorial-cover) main#main {
  --rp-home-inset:clamp(18px,2.8vw,46px);
  --rp-home-max:1460px;
}
body:has(.editorial-cover) main#main > section.wrap,
body:has(.editorial-cover) main#main > section.home-market > .wrap {
  box-sizing:border-box;
  width:min(calc(100% - 2 * var(--rp-home-inset)),var(--rp-home-max))!important;
  max-width:var(--rp-home-max)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
