.business_areas-block {
  width: 100%;
  overflow: hidden;
  margin-top: var(--site-header-height, 196px);
}

.areas-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding-top: 4rem;
  padding-right: 3rem;
}

.areas {
  display: flex;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.area {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: flex-grow 0.45s ease;
}

.area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 7px;
  background-color: var(--area-color);
  z-index: 4;
}

.area:hover {
  flex-grow: 1.6;
}

.area__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.9s ease;
}

.area:hover .area__image {
  transform: scale(1.09);
}

.area__content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}

.area__content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.95) 55%,
    rgba(255, 255, 255, 0) 100%
  );
}

.area__inner {
  margin-top: 4rem;
  max-width: 14rem;
  width: 100%;
}

.area__title {
  color: var(--area-color);
}

.area__button {
  position: absolute;
  z-index: 3;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--area-color);
  border-radius: 50%;
  background: #fff;
  color: var(--area-color);
  font-size: 2.5rem;
  line-height: 1;
}

.business_areas-block a,
.business_areas-block a:hover {
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  .business_areas-block .dw_padding_left {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .business_areas-block {
    margin-top: var(--site-header-height, 100px);
  }

  .areas-intro {
    height: auto;
    padding: 4rem 2rem;
  }

  .areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    overflow: visible;
  }

  .area {
    min-height: 34rem;
  }

  .area:hover {
    flex-grow: 1;
  }

  .area__inner {
    margin-top: 0;
  }

  .area__content {
    padding: 2.5rem 2rem 7rem;
  }

  .area__content::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.92) 45%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

@media (max-width: 767.98px) {
  .business_areas-block {
    margin-top: var(--site-header-height-mobile, 60px);
  }

  .business_areas-block .dw_padding_left {
    padding-left: 0;
  }

  .areas-intro {
    padding: 6rem var(--layout-padding-x-sm, 1.625rem) 2rem
      var(--layout-padding-x-sm, 1.625rem);
  }

  .areas-intro h1 {
    margin-bottom: 1.5rem;
  }

  .areas {
    grid-template-columns: 1fr;
  }

  .area {
    width: 100%;
    min-height: 32rem;
  }

  .area::before {
    width: 35%;
  }

  .area__content {
    padding: 2rem var(--layout-padding-x-sm, 1.625rem) 7rem;
  }

  .area__title {
    margin-bottom: 1rem !important;
  }

  .area__button {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 2rem;
    border-width: 2px;
  }

  .area__button i {
    font-size: 1.25rem !important;
  }

  .area__inner {
    margin-top: 1rem;
    max-width: 100%;
    width: 100%;
  }
}
