/* Repair inherited overflow without changing the desktop compositions. */
.ref-section :is(h1, h2, h3, h4, p) {
  overflow-wrap: anywhere;
}
.live-mobile-copy:lang(en) h1 {
  font-size: clamp(40px, 4.3vw, 64px);
}
/* The Russian title overlapped the photograph in narrower desktop columns. */
.live-tv-copy:lang(ru) h1 {
  font-size: clamp(42px, 4.5vw, 68px);
}
@media (min-width: 1400px) {
  .live-tv-copy:lang(ru) h1 {
    font-size: clamp(46px, 6vw, 78px);
    letter-spacing: -0.01em;
  }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .live-tv-copy:lang(ru) h1 {
    font-size: clamp(42px, 8.5vw, 68px);
  }
}
@media (min-width: 901px) and (max-width: 1399px) {
  .ref-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ref-page-for-companies .ref-hero-panel:lang(en) h3 {
    font-size: clamp(18px, 1.6vw, 22px);
  }
  .ref-catalog-cards .ref-invention-2 h3 {
    font-size: clamp(18px, 1.75vw, 24px);
  }
  .ref-catalog-cards .ref-invention-10:lang(en) h3 {
    font-size: clamp(18px, 1.7vw, 24px);
  }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .game-step {
    padding-inline: 16px;
  }
}
@media (min-width: 701px) and (max-width: 1150px) {
  .ref-directions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ref-directions article:last-child {
    grid-column: span 2;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .ref-thermal-hero:lang(ru) h1 {
    font-size: 27px;
  }
}
@media (max-width: 700px) {
  .ref-directions {
    grid-template-columns: 1fr;
  }
  .ref-directions article {
    padding: 16px;
    min-height: 0;
  }
  .ref-directions article:last-child {
    grid-column: auto;
  }
  .ref-directions h3 {
    font-size: 16px;
    max-width: none;
  }
  .ref-directions p {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .live-tv-copy h1,
  .live-tv-copy:lang(ru) h1 {
    font-size: clamp(28px, 8.7vw, 46px);
  }
}
@media (max-width: 600px) {
  .live-mobile-copy:lang(en) h1,
  .live-mobile-final:lang(en) h2 {
    font-size: clamp(27px, 8.1vw, 40px);
  }
  .game-final h2,
  .live-tv-final h2 {
    font-size: clamp(26px, 8vw, 38px);
  }
}
@media (max-width: 360px) {
  .live-radio-cap-title:lang(ru) {
    font-size: 28px !important;
  }
  .ref-inventions .ref-invention-2 h3,
  .ref-catalog-cards .ref-invention-10 h3,
  .ref-public-grid .ref-resource-card h3 {
    font-size: 21px;
  }
  .ref-five-app-title h3 {
    font-size: 19px;
  }
  .ref-thermal-formats,
  .ref-global-advantages,
  .ref-global-attributes {
    grid-template-columns: 1fr;
  }
}
