/* Hero block styles */
.bs-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}
@media screen and (max-width: 770px) {
  .bs-hero {
    --bs-hero-p: 2rem;
  }
}
@media screen and (max-width: 770px) {
  .bs-hero .bs-hero__title {
    text-align: center;
  }
}

.bs-hero--bg-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body:is(.home) .bs-hero__toptitle {
  position: relative;
  padding-left: 7rem;
}
@media screen and (max-width: 770px) {
  body:is(.home) .bs-hero__toptitle {
    color: transparent;
    padding-left: 0;
  }
}
body:is(.home) .bs-hero__toptitle::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 5rem;
  height: 4rem;
  background: url(../img/Roberto-Pinelli-logo-dark.svg) no-repeat;
  background-size: contain;
  background-position: center;
}
@media screen and (max-width: 770px) {
  body:is(.home) .bs-hero__toptitle::before {
    left: 50%;
    transform: translateX(-50%);
  }
}