/**
 * Блок «Подробное описание» (acf/description-block).
 * Стили перенесены из assets/css/main.css.
 */

.single-service .service-description__footnote-with-image {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 34px 40px;
  gap: 24px;
  border-width: 1px 1px 1px 8px;
  border-style: solid;
  border-color: #5667c9;
  border-radius: 30px;
  background-color: #ffffff;
  margin-bottom: 74px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.single-service .service-description__footnote-with-image .footnote-with-image__image {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 100%;
  background-color: #ffffff;
  border: 1px solid #e4ebfb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-service .service-description__footnote-with-image .footnote-with-image__image.footnote-with-image__image--small {
  width: 58px;
  height: 58px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__image.footnote-with-image__image--big {
  width: 140px;
  height: 140px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-service .service-description__footnote-with-image .footnote-with-image__content {
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
}

.single-service .service-description__footnote-with-image .footnote-with-image__title {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.016em;
  color: #08243d;
}

.single-service .service-description__footnote-with-image .footnote-with-image__text {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 19px;
  line-height: 160%;
  letter-spacing: 0.006em;
  color: #08243d;
}

.single-service .service-description__footnote-with-image .footnote-with-image__text p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__list {
  margin-top: 20px;
  margin-bottom: 20px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__list li {
  margin-bottom: 8px;
  margin-top: 8px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__list li:first-child {
  margin-top: 0;
}

.single-service .service-description__footnote-with-image .footnote-with-image__list li:last-child {
  margin-bottom: 0;
}


.single-service .service-description__footnote-with-image .footnote-with-image__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.single-service .service-description__footnote-with-image .footnote-with-image__links a {
  position: relative;
  padding-left: 30px;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 19px;
  line-height: 160%;
  letter-spacing: 0.006em;
  color: #5667c9;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.single-service .service-description__footnote-with-image .footnote-with-image__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("../../assets/svg/arrow-up-right2.svg");
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.single-service .service-description__footnote-with-image .footnote-with-image__links a:hover {
  color: #08243d;
}

.single-service .service-description__footnote-with-image .footnote-with-image__links a:hover::before {
  transform: translateY(-50%) rotate(45deg);
}

.single-service .service-description__footnote-with-image .footnote-with-image__doc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 140%;
  color: #5c616c;
  padding-left: 60px;
  position: relative;
  text-decoration: none;
}

.single-service .service-description__footnote-with-image .footnote-with-image__doc:before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
  background-image: url("../../assets/svg/pdf-icon.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}

.single-service .service-description__footnote-with-image .footnote-with-image__doc span:first-child {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 140%;
  display: flex;
  align-items: center;
  text-decoration-line: underline;
  color: #5667c9;
}

.single-service .service-description__footnote-with-image .footnote-with-image__doc span:last-child {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  text-decoration: none;
  color: #8e9199;
}

@media (max-width: 992px) {
  .single-service .service-description__footnote-with-image {
    padding: 24px;
    border-left-width: 6px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__image.footnote-with-image__image--big {
    width: 120px;
    height: 120px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__text p {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__links a {
    font-size: 16px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__image.footnote-with-image__image--small {
    width: 42px;
    height: 42px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__doc {
    padding-left: 50px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__doc span:first-child {
    font-size: 15px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__doc span:last-child {
    font-size: 14px;
  }

  .single-service .service-description__footnote-with-image .footnote-with-image__doc:before {
    width: 40px;
    height: 40px;
  }


}
