/* Новости и НРА в СМИ — стили страницы */

.strip a[aria-current="page"] {
  color:#1B4C9C;
  background:#ffffff;
  box-shadow:inset 0 2px 0 #1B4C9C,inset 0 -2px 0 #1B4C9C;
}

.ih {
  position:relative;
  height:425px;
  overflow:clip;
  background-color:#F4F4F4;
  border-top:1px solid #DADADA;
  border-bottom:1px solid #DADADA;
}

.ih .hsq {
  top:-42px;
}

.ih-box {
  position:absolute;
  top:42px;
  left:calc(50% - 552.5px);
  width:1106px;
  height:341px;
  background:#F7F7F7;
  border:1px solid #DADADA;
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
}

.ih-main {
  padding:28px 40px 32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  min-width:0;
}

.crumb {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:500;
  color:#5E5E5E;
}

.crumb a {
  color:#2B2B2B;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  transition:color .25s;
}

.crumb a:hover {
  color:#1B4C9C;
}

.crumb [aria-current] {
  color:#1B4C9C;
}

.ih-txt {
  display:flex;
  flex-direction:column;
  gap:16px;
}

.ih-h1 {
  margin:0;
  font-weight:300;
  font-size:76px;
  line-height:1.02;
  letter-spacing:-0.035em;
  color:#151515;
}

.ih-h1 .w {
  animation:wup 1.2s cubic-bezier(.33,1,.68,1) .35s both;
}

.ih-lead {
  margin:0;
  font-size:14px;
  line-height:1.62;
  color:#474747;
  max-width:640px;
}

.ih-side {
  border-left:1px solid #DADADA;
  display:grid;
  grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto;
  min-width:0;
}

.ih-stat {
  padding:16px 28px;
  border-bottom:1px solid #DADADA;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  background:#ffffff;
}

.ih-stat b {
  font-size:46px;
  font-weight:300;
  line-height:1;
  letter-spacing:-0.03em;
  color:#1B4C9C;
  display:flex;
  align-items:flex-start;
}

.ih-stat > span {
  font-size:13px;
  line-height:1.4;
  color:#5E5E5E;
}

.ih-stat a {
  color:#151515;
  font-size:15px;
  min-height:28px;
  display:flex;
  align-items:center;
}

.ih-stat a:hover {
  color:#1B4C9C;
}

.ih-btns {
  display:grid;
  grid-template-columns:1fr 1fr;
}

.ih-b {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:72px;
  padding:0 18px;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  color:#1B4C9C;
  background:#F7F7F7;
  transition:background-color .3s,color .3s;
}

.ih-b + .ih-b {
  border-left:1px solid #DADADA;
}

.ih-b:hover {
  background:#ffffff;
}

.ih-b.on {
  background:#1B4C9C;
  color:#ffffff;
}

.ih-b.on:hover {
  background:#163F82;
}

.ih-b svg {
  flex:0 0 auto;
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}

.ih-b:hover svg {
  transform:translateY(3px);
}

.ih-tag {
  position:absolute;
  right:calc(50% - 552.5px);
  bottom:12px;
  font-size:12px;
  font-weight:500;
  letter-spacing:.04em;
  color:#5E5E5E;
  white-space:nowrap;
}

.cnt2 {
  display:inline-block;
  counter-reset:n var(--n);
  font-variant-numeric:tabular-nums;
  animation:cnt 1.8s cubic-bezier(.2,.7,.2,1) .5s both;
}

.cnt2::after {
  content:counter(n);
}

.sq[aria-disabled="true"] {
  opacity:.35;
  cursor:default;
}

.sq[aria-disabled="true"]:hover {
  background:#ffffff;
  border-color:#CFCFCF;
  color:#151515;
}

.lit {
  view-timeline-name:--lit;
  view-timeline-axis:block;
}

@keyframes litw {
  from {
    opacity:.15;
  }
  to {
    opacity:1;
  }
}

@supports (animation-timeline: view()) {
  .lit .lw {
    animation:litw linear both;
    animation-timeline:--lit;
    animation-range:cover var(--a) cover var(--b);
  }
}

.fchip {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 14px;
  border:1px solid #CFCFCF;
  background:#F4F4F4;
  color:#2B2B2B;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  transition:border-color .25s,color .25s,background-color .25s;
}

.fchip em {
  font-style:normal;
  font-size:11px;
  font-weight:600;
  color:#5E5E5E;
  font-variant-numeric:tabular-nums;
}

.fchip:hover {
  border-color:#1B4C9C;
  color:#1B4C9C;
  background:#ffffff;
}

.fchip.on {
  background:#1B4C9C;
  border-color:#1B4C9C;
  color:#ffffff;
}

.fchip.on em {
  color:#D4DEF0;
}

.fchip.zero {
  border-style:dashed;
  color:#666666;
}

.kick {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5E5E5E;
}

.kick::before {
  content:"";
  width:6px;
  height:6px;
  background:#1B4C9C;
}

.dark .kick {
  color:#A8A8A8;
}

.dark .kick::before {
  background:#9EBBEA;
}

.isq {
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #CFCFCF;
  background:#ffffff;
  color:#151515;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  transition:background-color .25s,border-color .25s,color .25s;
}

.isq:hover,
.isq.done {
  background:#1B4C9C;
  border-color:#1B4C9C;
  color:#ffffff;
}

@media (max-width:1200px) {
  .ih {
    height:auto;
    padding:42px 40px;
  }
  .ih .hsq {
    top:-43px;
  }
  .ih-box {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    max-width:1106px;
    height:auto;
    margin:0 auto;
  }
  .ih-tag {
    display:none;
  }
  .ih-h1 {
    font-size:60px;
  }
}

@media (max-width:960px) {
  .ih {
    padding:42px 16px;
  }
  .ih-box {
    grid-template-columns:1fr;
  }
  .ih-side {
    border-left:0;
    border-top:1px solid #DADADA;
  }
  .ih-main {
    padding:24px 20px;
  }
  .ih-h1 {
    font-size:44px;
  }
  .ih-stat {
    padding:16px 20px;
  }
  .ih-stat b {
    font-size:38px;
  }
  .ih-b {
    min-height:60px;
  }
}

.fn {
  display:grid;
  grid-template-columns:1fr 2fr;
}

.fn-l {
  padding:56px;
  border-right:1px solid #DADADA;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:32px;
}

.fn-d {
  display:block;
  font-size:112px;
  font-weight:300;
  line-height:.86;
  letter-spacing:-0.05em;
  color:#1B4C9C;
  font-variant-numeric:tabular-nums;
}

.fn-y {
  display:block;
  margin-top:12px;
  font-size:20px;
  font-weight:300;
  color:#5E5E5E;
}

.fn-ill {
  width:100%;
  max-width:280px;
  height:auto;
  display:block;
  animation:floaty 8s ease-in-out infinite;
}

.fn-r {
  padding:64px 56px 56px;
  display:flex;
  flex-direction:column;
  gap:22px;
  align-items:flex-start;
}

.fn-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.fn-tag {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 10px;
  border:1px solid #CFCFCF;
  background:#ffffff;
  font-size:12px;
  font-weight:500;
  color:#2B2B2B;
}

.fn-tag i {
  width:6px;
  height:6px;
  background:#1B4C9C;
}

.fn-h {
  margin:0;
  font-size:40px;
  font-weight:300;
  line-height:1.16;
  letter-spacing:-0.02em;
  color:#151515;
  max-width:860px;
}

.fn-p {
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:#3F3F3F;
  max-width:760px;
}

.fn-v {
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  align-items:stretch;
  border:1px solid #DADADA;
  background:#ffffff;
  max-width:760px;
  width:100%;
}

.fn-v b {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1B4C9C;
  color:#ffffff;
  font-size:13px;
  font-weight:600;
}

.fn-v span {
  padding:16px 20px;
  font-size:14px;
  line-height:1.55;
  color:#151515;
}

.fn-act {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.fd-stick {
  position:sticky;
  top:100px;
  display:flex;
  flex-direction:column;
  gap:24px;
  align-items:flex-start;
}

.tabbtn em {
  font-style:normal;
  margin-left:10px;
  font-size:11px;
  font-weight:600;
  opacity:.75;
  font-variant-numeric:tabular-nums;
}

.fbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding:0 40px 24px;
}

.fbar-n {
  font-size:13px;
  color:#5E5E5E;
  font-variant-numeric:tabular-nums;
}

.nrow .s.ty {
  display:flex;
  align-items:center;
  gap:8px;
  letter-spacing:.02em;
  font-weight:600;
}

.nrow .s.ty i {
  width:6px;
  height:6px;
  flex:0 0 6px;
}

.nrow .t small {
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  color:#1B4C9C;
}

.nrow.hot {
  background:#ffffff;
}

.nrow.hot .t {
  font-weight:500;
}

.fd-more {
  display:flex;
  justify-content:center;
  padding:28px 40px 0;
}

.fd-empty {
  margin:0 40px;
  padding:32px;
  border:1px solid #DADADA;
  background:#ffffff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.fd-empty span {
  font-size:16px;
  color:#151515;
}

/* последняя строка ленты без «Показать ещё» — как :last-child в дизайне */
#panel-feed .nrow.is-end {
  border-bottom:1px solid #DADADA;
}

.ol {
  position:relative;
  overflow:clip;
}

.ol .giant {
  top:auto;
  bottom:-46px;
  font-size:300px;
  color:transparent;
  -webkit-text-stroke:1.5px #2C2C2C;
}

.ol-head {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px 72px;
  padding:96px 72px 40px;
}

.ol-n {
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:18px;
  font-weight:300;
  font-size:150px;
  line-height:1;
  letter-spacing:-0.04em;
  color:#E6E6E6;
}

.ol-n small {
  font-size:60px;
  line-height:1.6;
}

.ol-cap {
  margin:10px 0 0;
  font-size:22px;
  font-weight:300;
  line-height:1.35;
  color:#C9C9C9;
  max-width:420px;
}

.ol-r {
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:24px;
  align-items:flex-start;
}

.ol-r p {
  margin:0;
  font-size:15px;
  line-height:1.65;
  color:#C9C9C9;
}

.ol-grid {
  position:relative;
  list-style:none;
  margin:0;
  padding:0 72px 0;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.ol-grid li {
  display:flex;
  align-items:center;
  min-height:64px;
  padding:10px 16px;
  border-top:1px solid #2A2A2A;
  border-right:1px solid #2A2A2A;
  font-size:13px;
  line-height:1.35;
  color:#D0D0D0;
  transition:background-color .3s,color .3s;
}

.ol-grid li:nth-child(6n+1) {
  border-left:1px solid #2A2A2A;
}

.ol-grid li:hover {
  background:#1B4C9C;
  color:#ffffff;
}

.ol-foot {
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 72px;
  padding:28px 0 120px;
  border-top:1px solid #2A2A2A;
}

.ol-foot span {
  font-size:13px;
  color:#A8A8A8;
  font-variant-numeric:tabular-nums;
}

.btn-dk {
  background:transparent;
  border-color:#3A3A3A;
  color:#EDEDED;
}

.btn-dk:hover {
  background:#1B4C9C;
  border-color:#1B4C9C;
}

.cta-ct {
  display:flex;
  flex-direction:column;
  border-top:1px solid rgba(158,187,234,0.35);
  width:100%;
}

.cta-ct a {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-height:64px;
  border-bottom:1px solid rgba(158,187,234,0.35);
  color:#ffffff;
  transition:padding .3s,color .3s;
}

.cta-ct a:hover {
  padding-left:8px;
  color:#9EBBEA;
}

.cta-ct a > span {
  display:flex;
  flex-direction:column;
  gap:2px;
}

.cta-ct small {
  font-size:11px;
  font-weight:600;
  letter-spacing:.1em;
  color:#9EBBEA;
}

.cta-ct b {
  font-size:20px;
  font-weight:400;
}

.cta-r svg {
  width:100%;
  max-width:340px;
  height:auto;
  display:block;
  animation:floaty 8s ease-in-out infinite;
}

@media (max-width:1200px) {
  .ol-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .ol-grid li:nth-child(6n+1) {
    border-left:0;
  }
  .ol-grid li:nth-child(4n+1) {
    border-left:1px solid #2A2A2A;
  }
}

@media (max-width:960px) {
  .fn,
  .ol-head {
    grid-template-columns:1fr;
  }
  .fn-l {
    border-right:0;
    border-bottom:1px solid #DADADA;
    padding:36px 20px;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:flex-end;
  }
  .fn-d {
    font-size:72px;
  }
  .fn-ill {
    max-width:160px;
  }
  .fn-r {
    padding:36px 20px;
  }
  .fn-h {
    font-size:28px;
  }
  .fd-stick {
    position:static;
  }
  .fbar {
    padding:0 20px 20px;
  }
  .fd-more {
    padding:24px 20px 0;
  }
  .fd-empty {
    margin:0 20px;
  }
  .ol .giant {
    font-size:130px;
    bottom:-16px;
  }
  .ol-head {
    padding:56px 20px 28px;
  }
  .ol-n {
    font-size:96px;
  }
  .ol-n small {
    font-size:42px;
  }
  .ol-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:0 20px;
  }
  .ol-grid li:nth-child(4n+1) {
    border-left:0;
  }
  .ol-grid li:nth-child(2n+1) {
    border-left:1px solid #2A2A2A;
  }
  .ol-foot {
    margin:0 20px;
    padding:24px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root .btn {
    transition:background-color .3s,border-color .3s,color .3s !important;
  }
  :root .btn svg {
    transition:transform .35s cubic-bezier(.2,.7,.2,1) !important;
  }
  :root .ulink {
    transition:background-size .4s !important;
  }
  :root .topnav a {
    transition:color .25s !important;
  }
  :root .mm > summary {
    transition:border-color .25s !important;
  }
  :root .mm-panel {
    animation:mmin .35s cubic-bezier(.16,1,.3,1) both !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .mm-a {
    transition:color .25s,padding .3s !important;
  }
  :root .strip a {
    transition:background-color .25s,color .25s !important;
  }
  :root .hc {
    transition:background-color 2s ease !important;
    animation:sqin .9s ease-out both !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .hc:hover,
  :root .hc.on {
    transition:background-color .15s ease !important;
  }
  :root .hc span {
    transition:opacity .25s ease !important;
  }
  :root .hc:hover span,
  :root .hc.on span {
    transition:opacity .9s ease-in-out !important;
  }
  :root .sl-slide {
    transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1),visibility .8s !important;
  }
  :root .sq {
    transition:border-color .25s,background-color .25s,color .25s !important;
  }
  :root .sl-tab {
    transition:background-color .3s !important;
  }
  :root .ra-row {
    transition:background-color .3s !important;
  }
  :root .ra-pr svg {
    transition:transform .3s !important;
  }
  :root .cta-cells span {
    transition:background-color .6s !important;
  }
  :root .cta:hover .cta-cells span:nth-child(3) {
    transition-delay:.15s !important;
  }
  :root .cta-r img {
    animation:floaty 8s ease-in-out infinite !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .r2 {
    animation:spin 30s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .r3 {
    animation:spinb 60s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .r4 {
    animation:spinb 60s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
    animation-delay:-20s !important;
  }
  :root .r2 .tile-in {
    animation:spinr 30s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .r3 .tile-in {
    animation:spinbr 60s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .r4 .tile-in {
    animation:spinbr 60s linear infinite !important;
    animation-delay:var(--ad, 0s) !important;
    animation-delay:-20s !important;
  }
  :root .sv-go {
    transition:background-color .3s,border-color .3s !important;
  }
  :root .tabbtn {
    transition:background-color .25s,color .25s,border-color .25s !important;
  }
  :root .nrow {
    transition:background-color .3s !important;
  }
  :root .nrow svg {
    transition:transform .3s !important;
  }
  :root .fq-q svg {
    transition:transform .25s cubic-bezier(.55,0,.25,1) !important;
  }
  :root .fq-a {
    animation:fqin .2s cubic-bezier(.25,0,.25,1) both !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .sb-chip {
    transition:background-color .25s,color .25s,border-color .25s !important;
  }
  :root .sb-input {
    transition:border-color .25s !important;
  }
  :root .chk input::before {
    transition:transform .15s !important;
  }
  :root .a-up {
    animation:up .9s cubic-bezier(.2,.7,.2,1) both !important;
    animation-delay:var(--ad, 0s) !important;
  }
  :root .d2 {
    animation-delay:.24s !important;
  }

  @supports (animation-timeline: view()) {
    :root .reveal,
    :root .tl {
      animation:fiu cubic-bezier(.165,.84,.44,1) both !important;
      animation-delay:var(--ad, 0s) !important;
      animation-timeline:view() !important;
      animation-range:entry 20% cover 42% !important;
    }
    :root .wr .w {
      animation:wup cubic-bezier(.33,1,.68,1) both !important;
      animation-delay:var(--ad, 0s) !important;
      animation-timeline:--wr !important;
      animation-range:entry 10% cover 38% !important;
    }
    :root .cnt {
      animation:cnt linear both !important;
      animation-delay:var(--ad, 0s) !important;
      animation-timeline:view() !important;
      animation-range:entry 80% cover 52% !important;
    }
  }

  @supports (animation-timeline: view()) and (timeline-scope: --a) {
    :root .hdr {
      animation:hdark linear none,hdark linear none !important;
      animation-timeline:--eco,--svs !important;
      animation-range:contain -68px exit calc(100% - 68px) !important;
    }
  }
  :root .ih-h1 .w {
    animation:wup 1.2s cubic-bezier(.33,1,.68,1) .35s both !important;
  }
  :root .cnt2 {
    animation:cnt 1.8s cubic-bezier(.2,.7,.2,1) .5s both !important;
  }
  :root .crumb a {
    transition:color .25s !important;
  }
  :root .ih-b {
    transition:background-color .3s,color .3s !important;
  }
  :root .ih-b svg {
    transition:transform .35s cubic-bezier(.2,.7,.2,1) !important;
  }
  :root .fchip {
    transition:border-color .25s,color .25s,background-color .25s !important;
  }
  :root .isq {
    transition:background-color .25s,border-color .25s,color .25s !important;
  }

  @supports (animation-timeline: view()) {
    :root .lit .lw {
      animation:litw linear both !important;
      animation-timeline:--lit !important;
      animation-range:cover var(--a) cover var(--b) !important;
    }
  }
  :root .fn-ill,
  :root .cta-r svg {
    animation:floaty 8s ease-in-out infinite !important;
  }
  :root .ol-grid li {
    transition:background-color .3s,color .3s !important;
  }
  :root .cta-ct a {
    transition:padding .3s,color .3s !important;
  }
}

/* ===== Адаптив статической версии ===== */

/* «пресс-служба» — слово-фон целиком в кадре на любой ширине */
#press .giant {
  font-size:min(210px,calc((100vw - 112px) / 6.32));
}

@media (min-width:961px) and (max-width:1200px) {
  /* лента: дата и тип в одной колонке, заголовку остаётся ширина */
  #feed .nrow {
    grid-template-columns:104px minmax(0,1fr) 24px;
    grid-template-rows:auto 1fr;
    align-items:start;
    row-gap:6px;
  }
  #feed .nrow .d {
    grid-column:1;
    grid-row:1;
    padding-top:4px;
  }
  #feed .nrow .s {
    grid-column:1;
    grid-row:2;
  }
  #feed .nrow .t {
    grid-column:2;
    grid-row:1 / span 2;
  }
  #feed .nrow svg {
    grid-column:3;
    grid-row:1 / span 2;
  }
  .fn-l {
    padding:48px 40px;
  }
  .fn-r {
    padding:56px 40px 48px;
  }
  .fn-h {
    font-size:32px;
  }
}

@media (min-width:601px) and (max-width:960px) {
  /* издания: три колонки на планшете */
  .ol-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .ol-grid li:nth-child(2n+1) {
    border-left:0;
  }
  .ol-grid li:nth-child(3n+1) {
    border-left:1px solid #2A2A2A;
  }
}

@media (max-width:960px) {
  #press .giant {
    font-size:min(90px,calc((100vw - 40px) / 6.3));
  }
  .fchip {
    min-height:44px;
  }
}
