/* Homepage "offer-one" list: icon circle for services that have no icon image */
.offer-one_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 48, 82, 0.1);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.offer-one_icon img {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  object-fit: contain;
  /* the theme's icon files are white — show them in the brand colour on the
     white circle, and back to white once the circle turns into the gradient */
  filter: brightness(0) invert(24%) sepia(93%) saturate(3300%) hue-rotate(10deg) brightness(.95);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.offer-one_title.active .offer-one_icon img,
.offer-one_title:hover .offer-one_icon img {
  filter: none;
  transform: scale(1.06);
}
.offer-one_icon-fa {
  position: relative;
  z-index: 1;
  font-size: 26px;
  background: linear-gradient(135deg, #000 10%, #cd400d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.35s ease;
}
.offer-one_title.active .offer-one_icon,
.offer-one_title:hover .offer-one_icon {
  border-color: transparent;
  background-image: linear-gradient(135deg, #000 10%, #cd400d 100%);
  box-shadow: 0 14px 28px rgba(205, 64, 13, 0.28);
}
.offer-one_title.active .offer-one_icon:before,
.offer-one_title:hover .offer-one_icon:before {
  border-color: rgba(255, 255, 255, 0.45);
}
.offer-one_title.active .offer-one_icon-fa,
.offer-one_title:hover .offer-one_icon-fa {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  transform: scale(1.08);
}

/* About "What we offer" tiles: icon inside the white circle when no image is uploaded */
.offer-block_one-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-block_one-fa {
  font-size: 38px;
  background: linear-gradient(135deg, #000 10%, #cd400d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Testimonial card: company logo instead of avatar + name */
.testimonial-block_one-logo {
  display: flex;
  align-items: center;
  min-height: 90px;
  padding-top: 20px;
}
.testimonial-block_one-logo img {
  display: block;
  max-width: 240px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}
