/* RUSENCOM v60 — final Journal archive polish. */

/* The archive now follows the same calmer editorial frame as single Journal pages. */
html body .rsc-inner-main .rsc-inner-shell:has(.rsc-news-grid){
  width:min(1380px,calc(100% - 64px))!important;
  max-width:1380px!important;
  padding-top:66px!important;
  padding-bottom:100px!important;
}
html body .rsc-news-page-title{
  margin:0 auto!important;
  font-size:clamp(48px,4.8vw,68px)!important;
  line-height:.98!important;
  letter-spacing:-.038em!important;
}
html body .rsc-news-page-title::after{
  content:""!important;
  display:block!important;
  width:68px!important;
  height:4px!important;
  margin:22px auto 0!important;
  border-radius:999px!important;
  background:#f9811e!important;
  box-shadow:0 0 16px rgba(249,129,30,.22)!important;
}
html body .rsc-news-intro{
  width:min(760px,100%)!important;
  max-width:760px!important;
  margin:24px auto 52px!important;
  color:#5b6973!important;
  font:500 18px/1.55 "RSC Roboto",Arial,sans-serif!important;
}

/* Compact editorial staircase: less billboard, more readable journal rhythm. */
html body .rsc-news-grid{
  gap:32px!important;
}
html body .rsc-news-grid>li{
  width:min(1320px,calc(100% - 32px))!important;
  max-width:1320px!important;
}
html body .rsc-news-card{
  min-height:372px!important;
  grid-template-columns:minmax(0,48%) minmax(0,52%)!important;
  border:1px solid rgba(7,16,24,.08)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#fff 0%,#fcfdfd 100%)!important;
  box-shadow:0 18px 48px rgba(7,16,24,.075)!important;
}
html body .rsc-news-card-media{
  position:relative!important;
  min-height:372px!important;
  background:#e9edef!important;
}
html body .rsc-news-card-media::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(7,16,24,0) 64%,rgba(7,16,24,.13) 100%)!important;
}
html body .rsc-news-card-media::after{
  content:"ЖУРНАЛ"!important;
  position:absolute!important;
  left:20px!important;
  bottom:18px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:0 12px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:999px!important;
  background:#0d2732!important;
  color:#fff!important;
  font:800 10px/1 "RSC Roboto",Arial,sans-serif!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 20px rgba(7,16,24,.20)!important;
}
html body .rsc-news-card-body{
  justify-content:flex-start!important;
  padding:42px 46px 38px!important;
}
html body .rsc-news-card-date{
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  width:auto!important;
  margin:0 0 18px!important;
  padding:8px 12px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ff8d20 0%,#f77912 100%)!important;
  color:#fff!important;
  font:800 11px/1.15 "RSC Roboto",Arial,sans-serif!important;
  letter-spacing:.025em!important;
  text-transform:none!important;
  box-shadow:0 7px 18px rgba(249,129,30,.20)!important;
}
html body .rsc-news-card .wp-block-post-title{
  margin:0 0 14px!important;
  font:800 clamp(28px,2.25vw,37px)/1.04 "RSC Magistral",Arial,sans-serif!important;
  letter-spacing:-.028em!important;
  text-wrap:balance!important;
}
html body .rsc-news-card .wp-block-post-title a{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  color:#071018!important;
  transition:color .2s ease!important;
}
html body .rsc-news-card .wp-block-post-title a:hover,
html body .rsc-news-card .wp-block-post-title a:focus-visible{
  color:#163744!important;
}
html body .rsc-news-card .wp-block-post-excerpt{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  margin:0!important;
  color:#60707b!important;
  font:400 15.5px/1.55 "RSC Roboto",Arial,sans-serif!important;
}
html body .rsc-news-card .wp-block-post-excerpt__excerpt{
  display:-webkit-box!important;
  overflow:hidden!important;
  margin:0!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
html body .rsc-news-card .wp-block-post-excerpt__more-text{
  margin:auto 0 0!important;
  padding-top:24px!important;
}
html body .rsc-news-card .wp-block-post-excerpt__more-link{
  min-height:46px!important;
  padding:0 18px!important;
  gap:10px!important;
  border:1px solid rgba(249,129,30,.24)!important;
  border-radius:8px!important;
  background:#0d2732!important;
  color:#fff!important;
  font:800 14px/1 "RSC Magistral","RSC Roboto",Arial,sans-serif!important;
  letter-spacing:-.015em!important;
  box-shadow:0 10px 24px rgba(7,16,24,.16)!important;
  transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,border-color .2s ease,background .2s ease!important;
}
html body .rsc-news-card .wp-block-post-excerpt__more-link::after{
  content:"→"!important;
  color:#f9811e!important;
  font:700 18px/1 Arial,sans-serif!important;
  transition:transform .2s ease!important;
}
html body .rsc-news-card .wp-block-post-excerpt__more-link:hover,
html body .rsc-news-card .wp-block-post-excerpt__more-link:focus-visible{
  transform:translateY(-2px)!important;
  border-color:rgba(249,129,30,.58)!important;
  background:#102f3c!important;
  box-shadow:0 14px 30px rgba(7,16,24,.20),0 0 0 3px rgba(249,129,30,.07)!important;
}
html body .rsc-news-card .wp-block-post-excerpt__more-link:hover::after,
html body .rsc-news-card .wp-block-post-excerpt__more-link:focus-visible::after{
  transform:translateX(3px)!important;
}
html body .rsc-news-grid>li:hover .rsc-news-card{
  transform:translateY(-2px)!important;
  border-color:rgba(249,129,30,.18)!important;
  box-shadow:0 24px 58px rgba(7,16,24,.10)!important;
}
html body .rsc-news-grid>li:hover .rsc-news-card-media img{
  transform:scale(1.015)!important;
}

/* Poster artwork remains complete and the badge stays on the card, not inside artwork. */
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-media::before{
  background:linear-gradient(180deg,transparent 76%,rgba(7,16,24,.08) 100%)!important;
}
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-body{
  padding:42px 46px 38px!important;
}

@media(max-width:1180px){
  html body .rsc-inner-main .rsc-inner-shell:has(.rsc-news-grid){
    padding-top:54px!important;
    padding-bottom:84px!important;
  }
  html body .rsc-news-page-title{
    font-size:56px!important;
  }
  html body .rsc-news-intro{
    margin-bottom:44px!important;
    font-size:17px!important;
  }
  html body .rsc-news-grid{
    gap:26px!important;
  }
  html body .rsc-news-grid>li,
  html body .rsc-news-grid>li:nth-child(even){
    width:100%!important;
    max-width:none!important;
    align-self:stretch!important;
  }
  html body .rsc-news-card{
    min-height:340px!important;
    grid-template-columns:minmax(0,52%) minmax(0,48%)!important;
  }
  html body .rsc-news-card-media{
    min-height:340px!important;
  }
  html body .rsc-news-card-body,
  html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-body{
    padding:36px 38px 34px!important;
  }
  html body .rsc-news-card .wp-block-post-title{
    font-size:32px!important;
  }
}

@media(max-width:760px){
  html body .rsc-inner-main .rsc-inner-shell:has(.rsc-news-grid){
    width:calc(100% - 32px)!important;
    padding-top:38px!important;
    padding-bottom:62px!important;
  }
  html body .rsc-news-page-title{
    font-size:40px!important;
    line-height:1!important;
  }
  html body .rsc-news-page-title::after{
    width:54px!important;
    height:3px!important;
    margin-top:17px!important;
  }
  html body .rsc-news-intro{
    margin:18px auto 34px!important;
    font-size:16px!important;
    line-height:1.5!important;
  }
  html body .rsc-news-grid{
    gap:22px!important;
  }
  html body .rsc-news-card{
    display:block!important;
    min-height:0!important;
    border-radius:16px!important;
  }
  html body .rsc-news-grid>li:not(.rsc-news-poster) .rsc-news-card-media{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/10!important;
  }
  html body .rsc-news-card-media::after{
    left:14px!important;
    bottom:13px!important;
    min-height:28px!important;
    padding:0 10px!important;
    font-size:9px!important;
  }
  html body .rsc-news-card-body,
  html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-body{
    padding:26px 24px 28px!important;
  }
  html body .rsc-news-card-date{
    margin-bottom:14px!important;
    padding:7px 10px!important;
    font-size:10.5px!important;
  }
  html body .rsc-news-card .wp-block-post-title{
    margin-bottom:12px!important;
    font-size:28px!important;
    line-height:1.04!important;
  }
  html body .rsc-news-card .wp-block-post-excerpt{
    font-size:15px!important;
    line-height:1.52!important;
  }
  html body .rsc-news-card .wp-block-post-excerpt__more-text{
    margin:0!important;
    padding-top:20px!important;
  }
  html body .rsc-news-card .wp-block-post-excerpt__more-link{
    min-height:44px!important;
    padding:0 16px!important;
    font-size:13px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body .rsc-news-card,
  html body .rsc-news-card-media img,
  html body .rsc-news-card .wp-block-post-excerpt__more-link,
  html body .rsc-news-card .wp-block-post-excerpt__more-link::after{
    transition:none!important;
  }
}
