/*-------------
  Section gallery
--------------*/

.section-gallery-background {
  background-color: #fff;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.section-gallery-background::after {
  background-attachment: scroll;
  background-color: rgb(0 0 0 / 0.6);
  background-image: none;
  background-position: 0 0;
  background-repeat: repeat;
  background-size: auto auto;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.section-gallery-background .title-heading {
  color: #ffd409;
}

.section-gallery-background .title-heading-small {
  color: #fff;
}

.section-gallery-background.home-lavorazioni {
  background-image: url(../images/bg/homepage/home-lavorazioni.webp);
}

.section-gallery p {
  text-align: center;
}

@media (max-width: 575.98px) {
  .section-gallery-background.home-lavorazioni {
    background-image: url(../images/bg/homepage/home-lavorazioni-mob.webp);
  }
}

/*-------------
    Strengths
--------------*/

#strengths .block-heading {
  margin-bottom: 3rem;
}

#strengths .strength-block {
  text-align: center;
  margin-bottom: 2rem;
}

#strengths .strength-block .icon-svg {
  color: var(--mao-color-primary);
  font-size: 4rem;
  margin: 0;
}

#strengths .strength-block .strength-title {
  margin-top: 1rem;
}

#strengths .certificate-desc {
  color: var(--mao-color-primary);
  background-color: #fff;
  border: 3px solid #ffd409;
  padding: 0.95rem;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

@media (max-width: 767.98px) {
  #strengths .strength-block:last-of-type {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  #strengths .strength-block:nth-last-child(-n + 2) {
    margin-bottom: 0;
  }
}
