/* Preserve each demo's native Avada typography and responsive scaling.
   Font sizes, weights and spacing belong to the demo's own role settings. */
[class*="avada-ru-demo-"] { font-synthesis: none; }

/* LayerSlider's original Arial labels: Arimo preserves its metrics with OFL. */
.avada-ru-demo-92 .ls-layer { font-family: Arimo, sans-serif !important; }
/* The technical callouts become unreadable when the 1170px canvas fits a phone.
   Keep the illustration; the current reference also uses an image-only hero. */
@media (max-width: 600px) {
  .avada-ru-demo-92 .ls-container .ls-text-layer { display: none !important; }
}

/* Landing Product's imported SR7 hero uses a different grid from today's
   Fusion reference. Match the measured text roles, including nested bold. */
.avada-ru-demo-100 sr7-mask > sr7-txt {
  font-size: 90px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.04em !important;
}
.avada-ru-demo-100 sr7-slide > sr7-txt {
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  max-width: min(420px, 40vw);
}
.avada-ru-demo-100 sr7-btn {
  font-size: 18px !important;
  line-height: 1.2 !important;
  padding: 18px 32px !important;
}
@media (max-width: 1024px) {
  /* Original Avada values: 90px, minimum 33px, sensitivity .54, 360..1024px. */
  .avada-ru-demo-100 sr7-mask > sr7-txt {
    font-size: calc(59.22px + 30.78 * (100vw - 360px) / 664) !important;
  }
  .avada-ru-demo-100 sr7-mask:has(> sr7-btn) { top: 380px !important; }
}
@media (max-width: 600px) {
  .avada-ru-demo-100 sr7-slide > sr7-txt {
    max-width: 85vw;
    text-align: center !important;
  }
  .avada-ru-demo-100 sr7-mask:has(> sr7-btn) { top: 190px !important; }
}

/* Cleaning's display alternate is selected to match Red Hat Display. */
.avada-ru-demo-51 #main h1,.avada-ru-demo-51 #main h2,.avada-ru-demo-51 #main h3 {
  font-feature-settings: 'ss09' 1,'lnum' 1;
}
.avada-ru-demo-51 .fusion-button-text { font-feature-settings: 'ss09' 1,'lnum' 1; }
.avada-ru-demo-51 .fusion-form button.fusion-button { padding-inline: 20px; }
