/* Scoped to the two section menus. Elementor's global button rules must not hide the individual states. */
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"] {
  background: #f4f4f5 !important;
  border: 1px solid #555 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  color: #555 !important;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"]:is(:hover,:focus-visible,.israls-selected) {
  background: #34b3b2 !important;
  border-color: #34b3b2 !important;
  box-shadow: 0 8px 20px #344e5440 !important;
  color: #fff !important;
}
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"] .elementor-button-content-wrapper {
  display: flex !important;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"] :is(.elementor-button-icon,.israls-inline-figma-icon) { display: none !important; }
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"] .elementor-button-content-wrapper::before {
  content: "";
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  background: var(--israls-icon) center / contain no-repeat;
  order: -1;
}
body:is(.israls-figma-research,.israls-figma-als) a.elementor-button[href^="#section"] .elementor-button-text { color: inherit !important; }
body.israls-figma-research a[href="#section1"] { --israls-icon: url('../assets/research_invest.svg'); }
body.israls-figma-research a[href="#section2"] { --israls-icon: url('../assets/research_clinical.svg'); }
body.israls-figma-research a[href="#section3"] { --israls-icon: url('../assets/research_postdoc.svg'); }
body.israls-figma-research a[href="#section4"] { --israls-icon: url('../assets/research_trials.svg'); }
body.israls-figma-research a[href="#section5"] { --israls-icon: url('../assets/research_labs.svg'); }
body.israls-figma-research a[href="#section6"] { --israls-icon: url('../assets/research_updates.svg'); }
body.israls-figma-als a[href="#section1"] { --israls-icon: url('../assets/als_types.svg'); }
body.israls-figma-als a[href="#section2"] { --israls-icon: url('../assets/als_causes.svg'); }
body.israls-figma-als a[href="#section3"] { --israls-icon: url('../assets/als_numbers.svg'); }
body.israls-figma-als a[href="#section4"] { --israls-icon: url('../assets/als_diagnosis.svg'); }
body.israls-figma-als a[href="#section5"] { --israls-icon: url('../assets/als_genetic.svg'); }
body.israls-figma-als a[href="#section6"] { --israls-icon: url('../assets/als_progression.svg'); }
body.israls-figma-als a[href="#section7"] { --israls-icon: url('../assets/als_treatment.svg'); }
/* The white line icons have no backing circle in the active Figma state. */
body:is(.israls-figma-research,.israls-figma-als) a[href="#section1"]:not(:hover):not(:focus-visible):not(.israls-selected) .elementor-button-content-wrapper::before {
  background-color: #34b3b2;
  background-size: 24px;
  border-radius: 50%;
}
body.israls-figma-social img.israls-social-figma-icon { width: 45px; height: 45px; display: block; max-width: none; }
body.israls-figma-research .israls-risk-figma-icon { width: 21px; height: 22px; display: block; }
