/* RUSENCOM v58 — editorial journal polish + unified section labels. */

/* The journal follows the same visual rail as the site, but with a slightly
   calmer maximum width so the article does not feel wider than the main page. */
html body.single-post .rsc-journal-shell{
  width:min(1380px,calc(100% - 64px))!important;
  max-width:1380px!important;
}

/* Breadcrumb is a compact branded navigation rail instead of raw slash text. */
html body.single-post .rsc-journal-breadcrumb{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 22px!important;
  padding:9px 12px!important;
  border:1px solid rgba(122,150,166,.18)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:0 10px 28px rgba(20,54,72,.035)!important;
  color:#627887!important;
  font-size:13px!important;
  line-height:1.35!important;
}
html body.single-post .rsc-journal-breadcrumb a{
  color:#314a59!important;
  font-weight:700!important;
  text-decoration:none!important;
  transition:color .18s ease!important;
}
html body.single-post .rsc-journal-breadcrumb a:hover{color:#f47d17!important}
html body.single-post .rsc-journal-breadcrumb-sep{
  flex:0 0 auto!important;
  color:#f47d17!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
}
html body.single-post .rsc-journal-breadcrumb [aria-current="page"]{
  min-width:0!important;
  overflow:hidden!important;
  color:#7e919e!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Section names are intentionally more visible across the home page. */
html body .rsc-release-134 .rsc-v11-kicker,
html body .rsc-contact-kicker{
  margin-bottom:18px!important;
  color:#f9811e!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
html body #work.rsc-release-134 .rsc-v11-kicker{
  display:block!important;
  color:#f9811e!important;
}

/* Journal micro-headings should read as section headings, not footnotes. */
html body.single-post .rsc-journal-content :is(
  .rsc-news-hero-label,
  .rsc-news-story-label,
  .rsc-news-journal-note>span,
  .rsc-news-conclusion>span
){
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:900!important;
  letter-spacing:.065em!important;
}
html body.single-post .rsc-journal-content .rsc-news-hero-label{
  font-size:14.5px!important;
}
html body.single-post .rsc-journal-sidebar h2{
  font-size:25px!important;
  line-height:1.05!important;
}

/* Project fact names are the navigation layer of the card, so they carry
   stronger hierarchy than the factual value to their right. */
html body.single-post .rsc-journal-fact{
  grid-template-columns:108px minmax(0,1fr)!important;
  gap:16px!important;
  padding:18px 0!important;
}
html body.single-post .rsc-journal-fact span{
  color:#f47d17!important;
  font-size:13.5px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
html body.single-post .rsc-journal-fact strong{
  color:#304b5c!important;
  font-size:14.5px!important;
  line-height:1.48!important;
  font-weight:650!important;
}

/* Share controls: icon-first, branded, accessible and consistent. */
html body.single-post .rsc-journal-share-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:18px!important;
}
html body.single-post .rsc-journal-share-actions :is(a,button){
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  padding:0!important;
  border:1px solid rgba(85,116,133,.14)!important;
  border-radius:50%!important;
  background:#eef3f5!important;
  color:#36505f!important;
  box-shadow:none!important;
  cursor:pointer!important;
  text-decoration:none!important;
  transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease!important;
}
html body.single-post .rsc-journal-share-actions svg{
  width:20px!important;
  height:20px!important;
  fill:currentColor!important;
}
html body.single-post .rsc-journal-share-actions :is(a,button):hover{
  transform:translateY(-2px)!important;
  border-color:rgba(249,129,30,.30)!important;
  background:#fff5ec!important;
  color:#f47d17!important;
}
html body.single-post .rsc-journal-share-copy-state{
  position:absolute!important;
  left:50%!important;
  bottom:-28px!important;
  z-index:4!important;
  min-width:max-content!important;
  transform:translateX(-50%)!important;
  color:#526978!important;
  font:700 10px/1.2 "RSC Roboto",Arial,sans-serif!important;
  pointer-events:none!important;
}
html body.single-post .rsc-journal-share-copy.is-copied{
  background:#fff1e4!important;
  color:#f47d17!important;
}

/* A real random journal recommendation, not a generic archive billboard. */
html body.single-post .rsc-journal-more{
  min-height:276px!important;
  padding:28px!important;
  justify-content:flex-end!important;
  gap:11px!important;
}
html body.single-post .rsc-journal-more small{
  color:#fff!important;
  font-size:11px!important;
  line-height:1.3!important;
  letter-spacing:.08em!important;
}
html body.single-post .rsc-journal-more strong{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font:800 24px/1.08 "RSC Magistral",Arial,sans-serif!important;
  letter-spacing:-.025em!important;
}
html body.single-post .rsc-journal-more>span{
  display:block!important;
  color:#c3d0d7!important;
  font-size:14px!important;
  line-height:1.55!important;
}
html body.single-post .rsc-journal-more b{
  width:max-content!important;
  min-width:118px!important;
  margin-top:8px!important;
  padding:0 20px!important;
}

/* Previous/next: compact editorial cards, long titles stay controlled. */
html body.single-post .rsc-journal-nav{
  gap:18px!important;
}
html body.single-post .rsc-journal-nav--single{
  grid-template-columns:minmax(0,760px)!important;
  justify-content:center!important;
}
html body.single-post .rsc-journal-nav-card{
  min-height:104px!important;
}
html body.single-post .rsc-journal-nav-card strong{
  display:-webkit-box!important;
  max-width:560px!important;
  overflow:hidden!important;
  font-size:clamp(16px,1.25vw,18px)!important;
  line-height:1.25!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
html body.single-post .rsc-journal-nav-direction{
  font-size:12px!important;
}
html body.single-post .rsc-journal-nav-arrow{
  font-size:21px!important;
}

/* "Для РУСИНКОМ" is the editorial takeaway / outcome, so it gets its own
   summary surface instead of looking like one more ordinary paragraph. */
html body.single-post .rsc-journal-content .rsc-news-conclusion{
  position:relative!important;
  margin-top:36px!important;
  padding:28px 30px!important;
  border:1px solid rgba(249,129,30,.24)!important;
  border-top:1px solid rgba(249,129,30,.24)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(249,129,30,.105),rgba(255,255,255,.92) 68%)!important;
  grid-template-columns:170px minmax(0,1fr)!important;
  gap:26px!important;
}
html body.single-post .rsc-journal-content .rsc-news-conclusion::before{
  content:""!important;
  position:absolute!important;
  left:30px!important;
  top:0!important;
  width:64px!important;
  height:4px!important;
  border-radius:0 0 999px 999px!important;
  background:linear-gradient(90deg,#f9811e,#ffb25e)!important;
}
html body.single-post .rsc-journal-content .rsc-news-conclusion>span{
  display:inline-flex!important;
  align-items:center!important;
  align-self:start!important;
  width:max-content!important;
  margin-top:2px!important;
  padding:8px 11px!important;
  border-radius:999px!important;
  background:#f9811e!important;
  color:#fff!important;
}
html body.single-post .rsc-journal-content .rsc-news-conclusion>p{
  color:#2f4959!important;
  font-size:18px!important;
  line-height:1.72!important;
}

/* Preserve the shared site rhythm on narrow screens. */
@media(max-width:760px){
  html body.single-post .rsc-journal-shell{
    width:calc(100% - 28px)!important;
    max-width:none!important;
  }
  html body.single-post .rsc-journal-breadcrumb{
    width:100%!important;
    padding:8px 10px!important;
    gap:7px!important;
    font-size:11.5px!important;
  }
  html body .rsc-release-134 .rsc-v11-kicker,
  html body .rsc-contact-kicker{
    margin-bottom:14px!important;
    font-size:14px!important;
  }
  html body.single-post .rsc-journal-content :is(
    .rsc-news-hero-label,
    .rsc-news-story-label,
    .rsc-news-journal-note>span,
    .rsc-news-conclusion>span
  ){
    font-size:12.5px!important;
  }
  html body.single-post .rsc-journal-sidebar h2{
    font-size:23px!important;
  }
  html body.single-post .rsc-journal-fact{
    grid-template-columns:102px minmax(0,1fr)!important;
    gap:12px!important;
  }
  html body.single-post .rsc-journal-fact span{
    font-size:12.5px!important;
  }
  html body.single-post .rsc-journal-fact strong{
    font-size:14px!important;
  }
  html body.single-post .rsc-journal-share-actions{
    gap:9px!important;
  }
  html body.single-post .rsc-journal-share-actions :is(a,button){
    width:44px!important;
    height:44px!important;
  }
  html body.single-post .rsc-journal-more{
    min-height:250px!important;
    padding:24px!important;
  }
  html body.single-post .rsc-journal-more strong{
    font-size:22px!important;
  }
  html body.single-post .rsc-journal-nav--single{
    grid-template-columns:1fr!important;
  }
  html body.single-post .rsc-journal-nav-card strong{
    max-width:none!important;
    font-size:15px!important;
  }
  html body.single-post .rsc-journal-content .rsc-news-conclusion{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:26px 22px 22px!important;
  }
  html body.single-post .rsc-journal-content .rsc-news-conclusion::before{
    left:22px!important;
  }
  html body.single-post .rsc-journal-content .rsc-news-conclusion>p{
    font-size:16px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body.single-post .rsc-journal-share-actions :is(a,button){
    transition:none!important;
  }
}


/* Management correction: compact random-card headline without orphan glyphs. */
html body.single-post .rsc-journal-more strong {
  max-width: 25ch !important;
  font-size: clamp(18px, 1.35vw, 20px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.018em !important;
  text-wrap: balance !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
@media(max-width:760px){
  html body.single-post .rsc-journal-more strong{
    max-width: none !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
  }
}
