.fsg-mobile-utilities__phone,
.fsg-mobile-utilities__cookies {
  display: none;
}

#slider .fsg-consulting-hero .headslider__slide,
#slider .fsg-consulting-hero .headslider__slide_content_wrapper {
  min-height: 0;
  height: auto !important;
}

#slider .fsg-consulting-hero .headslider__slide_content_wrapper {
  position: relative !important;
  inset: auto;
}

#slider .fsg-consulting-hero .headslider__image {
  position: absolute;
  inset: 0;
}

#slider .fsg-consulting-hero .headslider__slide_content_wrapper > .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-areas: "title title" "image details" "labels labels" "actions actions";
  height: auto !important;
  align-items: center;
  gap: clamp(.875rem, 2vw, 1.5rem);
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

#slider .fsg-consulting-hero .headslider__slide_content_wrapper > .container > :is(.headslider__text-wrapper, .headslider__image_center, .c-headslider-labels) {
  position: static !important;
  inset: auto;
  transform: none;
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

#slider .fsg-consulting-hero .headslider__text-wrapper { grid-area: title; }
#slider .fsg-consulting-hero .headslider__text-wrapper.right { grid-area: details; }
#slider .fsg-consulting-hero .headslider__text-wrapper.center { grid-area: actions; justify-self: center; }
#slider .fsg-consulting-hero .headslider__image_center { grid-area: image; min-width: 0; }
#slider .fsg-consulting-hero .headslider__image_center img {
  max-width: 100%;
  height: auto;
  max-height: 20rem;
  object-fit: contain;
  margin: 0 !important;
}

#slider .fsg-consulting-hero .c-headslider-labels {
  grid-area: labels;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: auto;
  align-items: stretch;
  gap: .75rem;
  pointer-events: auto;
}

#slider .fsg-consulting-hero .c-headslider-labels__item {
  position: static !important;
  width: auto;
  height: auto;
  max-width: none;
  transform: none;
}

#slider .fsg-consulting-hero :is(.c-headslider-labels__link, .c-headslider-label) {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 100%;
  min-height: 2.75rem;
  border-radius: .875rem;
}

#slider .fsg-consulting-hero .c-headslider-label__content {
  position: static;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  #slider .fsg-consulting-hero .headslider__slide_content_wrapper > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "image" "labels" "actions" "details";
    padding-inline: 1rem;
  }

  #slider .fsg-consulting-hero .c-headslider-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #slider .fsg-consulting-hero .c-headslider-label { padding: .5rem; gap: .4rem; overflow: visible; }
  #slider .fsg-consulting-hero .c-headslider-label__icon { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; }

  .fsg-mobile-utilities {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    padding: .5rem 1rem;
  }

  .fsg-mobile-utilities__phone,
  .fsg-mobile-utilities__cookies {
    display: grid;
    place-items: center;
  }

  .fsg-mobile-utilities__phone {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #186c38;
    color: #fff;
    text-decoration: none;
  }

  .fsg-mobile-utilities .sg-cookie-optin-fingerprint,
  .fsg-mobile-utilities #finaFallback {
    position: relative !important;
    inset: auto !important;
    margin: 0 !important;
  }

  .fsg-mobile-utilities #finaFallback[data-fina-state="ready"] {
    display: block;
  }

  .fsg-mobile-utilities .fina-fallback__message { bottom: auto; top: calc(100% + .5rem); }
  .fsg-mobile-utilities .fina-fallback__message::after { display: none; }
  .fsg-mobile-utilities .sg-cookie-optin-fingerprint { width: 3rem; height: 3rem; }
  #side-hub .side-hub-link[href^="tel:"],
  .bpFabWrapper { display: none !important; }
}

/* These grid positions override the shared carousel's absolute positioning. */
body #slider .fsg-consulting-hero .headslider__slide_content_wrapper > .container {
  display: grid !important;
  min-height: 0 !important;
  grid-template-rows: none !important;
  align-content: start !important;
  row-gap: 1rem !important;
}

body #slider .fsg-consulting-hero .headslider__slide_content_wrapper > .container > :is(.headslider__text-wrapper, .headslider__image_center, .c-headslider-labels) {
  inset: auto !important;
  transform: none !important;
}

body #slider .fsg-consulting-hero .headslider__image_left { display: none !important; }
body #slider .fsg-consulting-hero .headslider__image_center { justify-self: stretch; }
body #slider .fsg-consulting-hero .c-headslider-labels {
  display: grid !important;
  justify-self: stretch;
}

@media (max-width: 767.98px) {
  body #slider .fsg-consulting-hero .headslider__text-wrapper.right { display: block !important; }

  body #slider .fsg-consulting-hero :is(.c-headslider-labels__link, .c-headslider-label) {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
  }

  body #slider .fsg-consulting-hero .c-headslider-label__content {
    display: block !important;
    width: auto !important;
    flex: 1 1 auto !important;
    overflow-wrap: anywhere;
  }
}

html body #slider .co-headslider.fsg-consulting-hero .headslider__text-wrapper.center {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  translate: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

html body #slider .co-headslider.fsg-consulting-hero .c-headslider-labels__item {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

@media (max-width: 767.98px) {
  html body #slider .co-headslider.fsg-consulting-hero :is(.c-headslider-labels__link,.c-headslider-label) {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    align-items: center !important;
  }
  html body #slider .co-headslider.fsg-consulting-hero .c-headslider-label__content {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  html body #slider .fsg-consulting-hero h1,
  html body #slider .fsg-consulting-hero h1 span.h1 { font-size: clamp(1.45rem, 6vw, 2rem); hyphens: none; }
  html body #slider .fsg-consulting-hero .headslider__image_center { width: 100% !important; height: auto !important; }
}

#slider .co-msk.co-headslider.fsg-consulting-hero .headslider__slide .headslider__text-wrapper.center {
  transform: none !important;
  inset: auto !important;
}

#slider .co-msk.co-headslider.fsg-consulting-hero .headslider__slide .headslider__image_center {
  display: flex !important;
  justify-content: center;
  width: 100% !important;
  align-self: stretch;
}

@media (max-width: 440px) {
  #slider .co-msk.co-headslider.fsg-consulting-hero .headslider__slide .c-headslider-labels {
    grid-template-columns: minmax(0, 1fr);
  }
  #slider .co-msk.co-headslider.fsg-consulting-hero .headslider__slide .c-headslider-label {
    padding: .5rem .75rem;
    gap: .75rem;
  }
}
