/* RUSENCOM v57 — Journal width, justified copy and canonical orange CTA. */

/* Management acceptance: below the article hero we keep the same 1420px shell.
   Do not intentionally narrow the story/sidebar composition after the lead block. */
html body.single-post .rsc-journal-body{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:28px!important;
}
html body.single-post .rsc-journal-content{
  width:100%!important;
  max-width:none!important;
  padding:42px 44px!important;
}
html body.single-post .rsc-journal-sidebar{
  width:100%!important;
  max-width:360px!important;
}
html body.single-post .rsc-journal-nav{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Article prose uses the available column width on desktop and mobile. */
html body.single-post .rsc-journal-hero-copy>p,
html body.single-post .rsc-journal-content .rsc-news-hero p,
html body.single-post .rsc-journal-content .rsc-news-story p,
html body.single-post .rsc-journal-content .rsc-news-journal-note p,
html body.single-post .rsc-journal-content .rsc-news-conclusion>p{
  max-width:none!important;
  text-align:justify!important;
  text-justify:inter-word!important;
  hyphens:auto!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* "Перейти в журнал" follows the established RUSENCOM orange CTA language. */
html body.single-post .rsc-journal-more b{
  position:relative!important;
  isolation:isolate!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  min-height:46px!important;
  margin-top:10px!important;
  padding:0 18px!important;
  overflow:visible!important;
  border:1px solid rgba(255,178,96,.34)!important;
  border-radius:7px!important;
  background:linear-gradient(135deg,#ff8d20 0%,#f77912 100%)!important;
  color:#fff!important;
  font:800 13px/1 "RSC Roboto",Arial,sans-serif!important;
  box-shadow:0 9px 24px rgba(249,129,30,.18),inset 0 1px rgba(255,255,255,.16)!important;
  transform:none!important;
  transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,filter .2s ease!important;
}
html body.single-post .rsc-journal-more b::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:2!important;
  inset:-4px!important;
  padding:2px!important;
  border-radius:10px!important;
  background:conic-gradient(from var(--rsc-trace-angle),transparent 0deg,transparent 250deg,rgba(249,129,30,.08) 278deg,rgba(255,190,120,.9) 312deg,#fff 329deg,#f9811e 344deg,transparent 360deg)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  mask-composite:exclude!important;
  opacity:0!important;
  pointer-events:none!important;
}
@media (hover:hover) and (pointer:fine){
  html body.single-post .rsc-journal-more:is(:hover,:focus-visible) b{
    transform:translateY(-2px)!important;
    filter:saturate(1.08) brightness(1.03)!important;
    box-shadow:0 14px 32px rgba(249,129,30,.28),inset 0 1px rgba(255,255,255,.18)!important;
  }
  html body.single-post .rsc-journal-more:is(:hover,:focus-visible) b::before{
    opacity:1!important;
    animation:rsc-cta-trace 1.18s linear infinite!important;
  }
}

@media(max-width:1050px){
  html body.single-post .rsc-journal-body{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:1fr!important;
  }
  html body.single-post .rsc-journal-sidebar{
    max-width:none!important;
  }
}

@media(max-width:760px){
  html body.single-post .rsc-journal-content{
    width:100%!important;
    max-width:none!important;
    padding:26px 18px!important;
  }
  html body.single-post .rsc-journal-content .rsc-news-hero{
    padding-left:14px!important;
  }
  html body.single-post .rsc-journal-hero-copy>p,
  html body.single-post .rsc-journal-content .rsc-news-hero p,
  html body.single-post .rsc-journal-content .rsc-news-story p,
  html body.single-post .rsc-journal-content .rsc-news-journal-note p,
  html body.single-post .rsc-journal-content .rsc-news-conclusion>p{
    width:100%!important;
    max-width:none!important;
    text-align:justify!important;
    text-justify:inter-word!important;
    hyphens:auto!important;
  }
  html body.single-post .rsc-journal-more b{
    min-height:44px!important;
    padding:0 16px!important;
    font-size:12px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body.single-post .rsc-journal-more b,
  html body.single-post .rsc-journal-more b::before{
    animation:none!important;
    transition:none!important;
  }
}
