.speech__person-pic {
  height: auto;
  aspect-ratio: 435/340;
  object-fit: cover;
  object-position: top;
}
@media (min-width: 1280px) {
  .speech {
      grid-template-columns: 435px 1fr;
      padding: 40px;
  }
}

@media (min-width: 1280px) {
  .advantages_top {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }
}

.b-doctor-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    color: #202024;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    -webkit-text-decoration: none;
    text-decoration: none
}

@media(min-width: 1280px) {
    .b-doctor-card {
        gap:20px
    }
}

.b-doctor-card-img {
    border-radius: 12px;
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    -ms-flex-negative: 0;
    aspect-ratio: 280/304;
    background: #fff;
    flex-shrink: 0
}

.b-doctor-card-img img {
    object-fit: cover;
    width: 100%
}

@media(min-width: 1280px) {
    .b-doctor-card-img--hovered:before {
        background:#000;
        content: "";
        height: 100%;
        left: 0;
        opacity: .2;
        position: absolute;
        top: 0;
        -webkit-transition: opacity .15s linear;
        transition: opacity .15s linear;
        width: 100%
    }

    .b-doctor-card:hover .b-doctor-card-img--hovered:before {
        opacity: 0
    }
}

.b-doctor-card-img:hover .b-doctor-card-link {
    border: 1px solid #a1a7b3
}

.b-doctor-card-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: 8px;
    top: 8px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(161,167,179,.1);
    border: 1px solid rgba(161,167,179,0);
    border-radius: 4px;
    color: #202024;
    height: 36px;
    -webkit-transition: all .15s linear;
    transition: all .15s linear;
    width: 36px
}


@media(min-width: 768px) {
    .b-doctor-card-link {
        height:46px;
        width: 46px
    }
}

@media(min-width: 1280px) {
    .b-doctor-card-link {
        right:12px;
        top: 12px
    }
}

.b-doctor-card-link svg {
    height: 12px;
    width: 12px
}

.b-doctor-card-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
    height: 100%
}

@media(min-width: 768px) {
    .b-doctor-card-content {
        gap:24px
    }
}

.b-doctor-card-content button {
    margin-top: auto
}

.b-doctor-card-content-title {
    font-size: 14px;
    font-weight: 550;
    letter-spacing: -.01em;
    line-height: 1.35;
    -webkit-transition: all .15s linear;
    transition: all .15s linear
}

@media(min-width: 768px) {
    .b-doctor-card-content-title {
        font-size:20px
    }
}



@media(min-width: 1280px) {
    .b-doctor-card-content-title {
        font-size:22px;
        letter-spacing: -.03em;
        line-height: 1.2
    }
}

@media(max-width: 767px) {
    .b-doctor-card-content-title {
        display:-webkit-box;
        max-height: 75px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis
    }
}

@media(min-width: 768px) {
    .b-doctor-card-content-title {
        display:-webkit-box;
        max-height: 80px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-height: 26px;
        overflow: hidden;
        text-overflow: ellipsis
    }
}

.b-doctor-card-content-title .last-name {
    display: block;
    /*text-transform: uppercase*/
}

.b-doctor-card-content-desc {
    color: #a1a7b3;
    display: -webkit-box;
    font-size: 13px;
    letter-spacing: -.02em;
    line-height: 1.45;
    margin-top: 4px;
    max-height: 120px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-height: 15px;
    overflow: hidden;
    text-overflow: ellipsis
}

@media(min-width: 360px) {
    .b-doctor-card-content-desc {
        font-size:13px
    }
}

@media(min-width: 768px) {
    .b-doctor-card-content-desc {
      line-height:1.4;
      font-size: 13px
    }
}

@media(min-width: 1280px) {
    .b-doctor-card-content-desc {
        font-size:13px
    }
}

@media(min-width: 768px) {
    .b-doctor-card-content-desc {
        margin-top:8px
    }
}

@media(min-width: 1280px) {
    .b-doctor-card-content-desc {
        display:-webkit-box;
        max-height: 144px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 8;
        line-height: 18px;
        overflow: hidden;
        text-overflow: ellipsis
    }
}


.b-doctor-card:hover .b-doctor-card-content-title {
    color: #2c9a54
}

@media(max-width: 767.98px) {
  .b-doctor-card-content-conent,
  .b-doctor-card-content-title {
      font-size: 15px;
      line-height: 1.5
  }
  .b-doctor-card-content-title .last-name {
      font-size: 18px;
  }
}


/*clip preview*/

.b-clip-preview {
  position: relative;
  aspect-ratio: 280/500;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
}

.b-clip-preview::before {
  content: '';
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='49' height='49' fill='none' viewBox='0 0 49 49'%3E%3Crect width='49' height='49' fill='%23fff' fill-opacity='.3' rx='24.5'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23fff' d='M32.53 25a1.392 1.392 0 0 1-.672 1.192L19.146 33.97a1.413 1.413 0 0 1-1.953-.486 1.413 1.413 0 0 1-.193-.706V17.223a1.402 1.402 0 0 1 .716-1.219 1.412 1.412 0 0 1 1.43.027l12.713 7.777A1.393 1.393 0 0 1 32.53 25Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M17 15.5h16v19H17z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 100%;
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 16;
}

.b-clip-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 40%) 30%, rgb(0 0 0 / 40%) 70%, rgb(0 0 0 / 80%) 100%);
  opacity: 0.5;
  z-index: 10;
  transition: opacity 0.3s ease-in-out;
}

.b-clip-preview:hover::after {
  opacity: 1;
}

.b-clip-preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.b-clip-preview__content {
  position: relative;
  z-index: 15;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.b-clip-preview__top-caption {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin-left: auto;
  margin-right: 16px;
  margin-top: 16px;
  text-align: right;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b-clip-preview__caption {
  font-size: 16px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: clip;
  line-height: 1.4;
  -webkit-line-clamp: 5;
  max-height: calc(5 * 1.4em);
  margin: 22px 20px;
  margin-top: auto;
}

.b-clip-work-doctor .item-caption {
  font-size: 15px;
  line-height: 1.4;
}
.b-clip-work-doctor .item-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}

@media (max-width: 575.98px) {
  .b-clip-preview__caption {
    font-size: 13px;
    line-height: 1.2;
    -webkit-line-clamp: 5;
    max-height: calc(5 * 1.2em);
    margin: 8px 12px;
    margin-top: auto;
  }
  .b-clip-preview__top-caption {
    font-size: 13px;
    margin-right: 12px;
    margin-top: 8px;
    overflow-wrap: break-word;
    width: 90%;
    height: auto;
  }
}

/*end clip preview*/


.lancette-advantages .advantages_card {
  min-height: auto;
  align-self: stretch;
}

.lancette-directions {
  --section-margin: 90px;
}
.lancette-directions .directions {
  padding: 0;
}

.lancette-directions .directions_card {
  height: auto;
  align-self: stretch;
  justify-content: start;
}
.lancette-directions .directions_card {
  height: auto;
  align-self: stretch;
}
.lancette-directions .directions_card svg {
  margin-bottom: 20px;
}

.lancette-gallery .gallery {
  margin-top: 0;
  margin-bottom: 0;
}
.lancette-gallery .section-header {
  margin-top: 0;
  margin-bottom: 0;
}

.lancette-features .features {
  margin-top: 0;
  margin-bottom: 0;
}
.lancette-video .video-section {
  margin-top: 0;
  margin-bottom: 0;
}

.lancette-contacts .swiper-slide {
  flex-grow: 1;
  display: flex;
}

.lancette-contacts .contacts__card {
  justify-content: center;
}