.heuro-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 10px 0 4px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: Medium, Arial, sans-serif;
  line-height: 1;
  position: relative;
  z-index: 102;
}

.heuro-language-switch.on-dark {
  color: #fff;
}

.heuro-language-switch.on-light {
  color: #003;
}

.heuro-language-switch button {
  min-width: 30px;
  height: 26px;
  margin: 0 !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: inherit !important;
  font: 12px/26px Medium, Arial, sans-serif !important;
  letter-spacing: .02em;
  box-shadow: none !important;
}

.heuro-login {
  cursor: pointer;
}

header .web-nav > .web-button.head-language:not(.heuro-login) {
  visibility: hidden;
}

header .web-nav > .web-button.head-language.heuro-login {
  visibility: visible;
}

.heuro-login:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

app-index button,
app-cards button,
app-ramps button,
app-about button,
footer .foot-infos .float-right {
  display: none !important;
}

/* The marketing cards were sized around the shorter English copy. Let the
   localized text define the card height and keep the two-column feature card
   from allowing a long Italian heading to enter the body-copy column. */
app-choose-ouitrust .panel .content {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  app-choose-ouitrust .panel1,
  app-choose-ouitrust .panel4,
  app-choose-ouitrust .panel5 {
    flex-direction: column;
    height: auto;
  }

  app-choose-ouitrust .panel1 {
    min-height: 25.4rem;
  }

  app-choose-ouitrust .panel1 .title {
    flex: 0 0 auto;
    width: 100%;
  }

  app-choose-ouitrust .panel6 {
    height: auto;
    min-height: 32rem;
  }
}

@media (min-width: 1024px) {
  html[lang='it'] app-choose-ouitrust .panel1 {
    column-gap: 2.4rem;
  }

  html[lang='it'] app-choose-ouitrust .panel1 .title {
    flex: 0 0 24rem;
    width: 24rem;
    font-size: 3.6rem;
    line-height: 3.9rem;
  }

  html[lang='it'] app-choose-ouitrust .panel1 .content {
    padding-left: 0;
  }

  html[lang='it'] app-choose-ouitrust .row.mt-2 > .col-12 {
    display: flex;
  }

  html[lang='it'] app-choose-ouitrust .panel5,
  html[lang='it'] app-choose-ouitrust .panel6 {
    width: 100%;
    height: auto;
    min-height: 32rem;
  }
}

.heuro-language-switch.on-dark button.is-active {
  background: #fff !important;
  color: #003 !important;
}

.heuro-language-switch.on-light button.is-active {
  background: #003 !important;
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .heuro-language-switch {
    margin: 0 8px 0 0;
    background: rgb(255 255 255 / 12%);
  }

  .heuro-language-switch button {
    min-width: 27px;
    height: 24px;
    padding: 0 5px !important;
    font-size: 11px !important;
    line-height: 24px !important;
  }
}
