/* Национальное Рейтинговое Агентство — стили страницы */

@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;
    }
  }
}

/* ---------- Главная: служебные классы вместо inline-стилей ---------- */
.fq-h {
  margin:0;
}

.ra-more {
  padding:32px 40px 0;
}

/* ---------- Планшет (601–960): двухколоночные раскладки вместо «лестницы» ---------- */
@media (max-width:960px) {
  .ra-more {
    padding:24px 20px 0;
  }
}

@media (min-width:601px) and (max-width:960px) {
  .stmt {
    grid-template-columns:1fr 2fr;
  }
  .stmt-l {
    border-right:1px solid #DADADA;
    border-bottom:0;
    justify-content:center;
  }
  .sl-list {
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .sl-tab {
    border-bottom:1px solid #DADADA;
  }
  .sl-tab:nth-child(odd) {
    border-right:1px solid #DADADA;
  }
  .sl-tab:nth-last-child(-n+2) {
    border-bottom:0;
  }
  .ra-head {
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 118px 96px 84px;
    padding:0 20px 14px;
  }
  .ra-row {
    grid-template-columns:48px minmax(0,1fr) 118px 96px 84px;
    padding:12px 20px;
    gap:18px;
    min-height:76px;
  }
  .ra-row .ra-co,
  .ra-row .ra-act,
  .ra-row .ra-dt {
    grid-column:auto;
  }
  .ra-l {
    display:grid;
    grid-template-columns:minmax(0,1fr) 220px;
    column-gap:40px;
    row-gap:20px;
    align-items:start;
  }
  .ra-l > * {
    grid-column:1;
  }
  .ra-l .scale-img {
    grid-column:2;
    grid-row:1 / span 4;
    align-self:center;
  }
  .counters {
    grid-template-columns:1fr 1fr;
  }
  .nrow {
    grid-template-columns:92px 110px minmax(0,1fr);
    gap:16px;
  }
  .tiles {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .tl:nth-child(2n) {
    border-right:1px solid #DADADA;
  }
  .tl:nth-child(3n) {
    border-right:0;
  }
  .tl:nth-last-child(-n+3) {
    border-bottom:0;
  }
  .tl:last-child:nth-child(odd) {
    grid-column:auto;
  }
}

