/* REDICO typography inspired by Tochka. Golos Text is an OFL alternative,
 * not TT Norms or a copy of Tochka's proprietary font. No bank font files.
 * TT Norms Pro is a future licensed font stack slot; no font is loaded for it. */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/golos-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/golos-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout values below are REDICO's adaptation, not verified Tochka CSS. */
@layer redicoBento {
  html[data-rx-bento][data-rx-reference="1"] {
    --rb-font:"TT Norms Pro","Golos Text","REDICO Golos Arial","REDICO Golos Roboto",Arial,sans-serif !important;
    --rb-heading:var(--rb-font) !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body {
    font-family:var(--rb-font) !important;
    font-size:16px !important;
    font-weight:400 !important;
    line-height:1.5 !important;
    letter-spacing:0 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(h1,h2,h3,h4,h5,h6) {
    font-family:var(--rb-font) !important;
    font-weight:700 !important;
    line-height:1.16 !important;
    letter-spacing:-.025em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(input,textarea,select,button) {
    font-family:var(--rb-font) !important;
    letter-spacing:0 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] #home-content #rxh h1.rr-hero-title {
    font-weight:700 !important;
    line-height:1.08 !important;
    letter-spacing:-.025em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] #home-content .rr-section-heading h2 {
    font-weight:700 !important;
    line-height:1.16 !important;
    letter-spacing:-.025em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] #home-content a.rr-service :is(h3,strong) {
    font-weight:700 !important;
    line-height:1.2 !important;
    letter-spacing:-.02em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] #home-content a.rr-service p {
    font-size:14px !important;
    line-height:1.5 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] #home-content #rxh :is(.rr-accreditation,.rr-trust-accreditation) :is(strong,b) {
    font-weight:700 !important;
    letter-spacing:-.02em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(#rxh #rxh-form.rr-quote-card,.rx-lead-card.rr-quote-card) :is(h2,.rxhm-form-title) {
    font-weight:700 !important;
    line-height:1.16 !important;
    letter-spacing:-.025em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(#rxh #rxh-form.rr-quote-card,.rx-lead-card.rr-quote-card) > p:not(.rr-quote-note) {
    font-size:16px !important;
    line-height:1.5 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero,.rx-prod-hero) h1 {
    font-weight:700 !important;
    line-height:1.08 !important;
    letter-spacing:-.025em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *),
  html[data-rx-bento][data-rx-reference="1"] body:not(.home) :is(.rx-enc-compact-copy,.rx-enc-hub-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child) > p,
  html[data-rx-bento][data-rx-reference="1"] body:not(.home) #rl-page .rl-lead {
    font-size:17px !important;
    line-height:1.5 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(code,kbd,samp,.rx-tnved-code,.rx-code,.rr-code,[data-tnved-code]) {
    font-family:var(--rb-font) !important;
    font-variant-numeric:tabular-nums lining-nums !important;
    font-feature-settings:"tnum" 1 !important;
    letter-spacing:.015em !important;
  }
  html[data-rx-bento][data-rx-reference="1"] :is(td,th) { font-variant-numeric:tabular-nums; }
  html[data-rx-bento][data-rx-reference="1"] [data-rr-marker],
  html[data-rx-bento][data-rx-reference="1"] [data-rr-marker] :is(.rr-marker-text,[data-mark]) {
    font:inherit !important;
    letter-spacing:inherit !important;
    color:inherit !important;
  }
  @media (max-width:767px) {
    html[data-rx-bento][data-rx-reference="1"] #home-content #rxh h1.rr-hero-title {
      font-size:clamp(28px,6.5vw,34px) !important;
      line-height:1.12 !important;
    }
    html[data-rx-bento][data-rx-reference="1"] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero,.rx-prod-hero) h1 {
      line-height:1.12 !important;
    }
  }
}
