/* Consulting tabs: centered, wrapping rows without legacy float offsets. */
/* Equal space above and below the motto; no legacy heading margin or empty row. */
body.homepage #slogan { margin-bottom: 24px; padding: 0; }
body.homepage #slogan h1 { margin-top: 0; margin-bottom: 0; padding: 64px 0; }
body.homepage #slogan > .container > .row { display: none; }
body.homepage #feature, body.homepage #products { padding-top: 0; }
@media (max-width: 767px) {
  body.homepage #slogan { margin-bottom: 16px; }
  body.homepage #slogan h1 { padding: 40px 0; }
}

#descrizione .optec-consulting-tabs { margin-bottom: 30px; }
#descrizione .optec-consulting-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
#descrizione .optec-consulting-tabs .nav-tabs::before,
#descrizione .optec-consulting-tabs .nav-tabs::after { display: none; }
#descrizione .optec-consulting-tabs .nav-tabs > li {
  display: flex;
  float: none;
  max-width: 100%;
  margin: 0;
  border: 0;
}
#descrizione .optec-consulting-tabs .nav-tabs > li > a {
  display: flex;
  float: none;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border-right: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
}
#descrizione .optec-consulting-tabs .tab-nav-text { text-transform: none; }
#descrizione .optec-consulting-tabs .nav-tabs > li.active > a::after { display: none; }
#descrizione .fes14-tab-title { text-transform: none; }

/* Center the button horizontally near the bottom of the video. */
body.homepage .st-video-background { position: relative; }
body.homepage .st-video-background > video { position: static; top: auto; display: block; }
body.homepage .st-video-background .videoDesc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 24px;
  pointer-events: none;
}
body.homepage .st-video-background .videoDesc > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 20px;
  border: 1px solid #da2127;
  border-radius: 8px;
  background: rgba(17, 17, 19, .28);
  color: #fff;
  font-size: 18px;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease;
}
body.homepage .st-video-background .videoDesc > a:hover {
  padding: 12px 20px;
  border: 1px solid #fff;
  background: rgba(17, 17, 19, .48);
}
body.homepage .st-video-background .videoDesc > a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media(prefers-reduced-motion: reduce) {
  body.homepage .st-video-background .videoDesc > a { transition: none; }
}
