.wmt-article-related {
  margin: 42px 0;
}

.wmt-article-related > h2 {
  margin: 0 0 24px;
}

.wmt-article-related__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.wmt-article-related__heading > h2 {
  min-width: 0;
  margin: 0;
}

.wmt-article-service-list {
  display: flex;
  max-width: 100%;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.wmt-article-service-list:focus-visible {
  outline: 3px solid #267373;
  outline-offset: 4px;
}

.wmt-article-service-list::-webkit-scrollbar {
  display: none;
}

.wmt-article-service-card {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  flex: 0 0 calc((100% - 40px) / 3);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce9e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 72, 73, .09);
  color: #1d1d1b;
  scroll-snap-align: start;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wmt-article-service-card:hover {
  border-color: #9bd8da;
  box-shadow: 0 9px 24px rgba(31, 72, 73, .14);
  color: #267373;
  transform: translateY(-2px);
  text-decoration: none;
}

.wmt-article-service-card:focus-visible {
  outline: 3px solid #267373;
  outline-offset: -3px;
}

.wmt-article-service-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef6f6;
}

.wmt-article-service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.wmt-article-service-card:hover .wmt-article-service-card__image img {
  transform: scale(1.025);
}

.wmt-article-service-card__image--placeholder {
  box-sizing: border-box;
  padding: 16px;
}

.wmt-article-service-card__image--placeholder img {
  object-fit: contain;
}

.wmt-article-service-card:hover .wmt-article-service-card__image--placeholder img {
  transform: none;
}

.wmt-article-service-card__title {
  display: flex;
  min-height: 78px;
  align-items: center;
  margin: 0;
  padding: 16px 18px;
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.wmt-article-service-slider__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.wmt-article-service-slider__controls[hidden] {
  display: none;
}

.wmt-article-service-slider__button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #52bfc3;
  border-radius: 50%;
  background: #fff;
  color: #267373;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.wmt-article-service-slider__button::before {
  width: 9px;
  height: 9px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: '';
}

.wmt-article-service-slider__button--previous::before {
  transform: rotate(45deg);
}

.wmt-article-service-slider__button--next::before {
  transform: rotate(225deg);
}

.wmt-article-service-slider__button:hover:not(:disabled) {
  background: #52bfc3;
  color: #fff;
}

.wmt-article-service-slider__button:focus-visible {
  outline: 3px solid #267373;
  outline-offset: 3px;
}

.wmt-article-service-slider__button:disabled {
  opacity: .35;
  cursor: default;
}

.wmt-article-related__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.wmt-article-related__actions .button {
  margin: 0;
}

[data-wmt-related-doctor-list].is-enhanced:not(.is-expanded) .wmt-article-doctor-card--extra {
  display: none;
}

.wmt-article-related__more {
  display: block;
  margin: 24px auto 0;
}

.wmt-article-related__more[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .wmt-article-related {
    margin: 30px 0;
  }

  .wmt-article-service-card {
    flex-basis: min(82vw, 320px);
  }

  .wmt-article-related__heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .wmt-article-service-card__title {
    min-height: 70px;
    padding: 14px 16px;
    font-size: 17px;
  }

  .wmt-article-service-slider__button {
    width: 40px;
    height: 40px;
  }

  .wmt-article-related__actions {
    width: 100%;
  }

  .wmt-article-related__actions .button {
    flex: 1 1 180px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wmt-article-service-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wmt-article-service-list {
    scroll-behavior: auto;
  }

  .wmt-article-service-card,
  .wmt-article-service-card__image img,
  .wmt-article-service-slider__button {
    transition: none;
  }
}

.wmt-article-share {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.wmt-article-share__title {
  color: #267373;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.wmt-article-share__controls {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.wmt-article-share__controls > div {
  max-width: 100%;
}

.wmt-article-share__controls a:focus-visible,
.wmt-article-share__controls button:focus-visible,
.wmt-article-share__copy:focus-visible {
  outline: 3px solid #267373;
  outline-offset: 3px;
}

.wmt-article-share__copy {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #267373;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.wmt-article-share__copy.is-copied {
  color: #1d5d5f;
}

.wmt-article-meta {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(340px, 1fr) minmax(210px, 280px);
  align-items: center;
  gap: 0;
  overflow: hidden;
  margin: 24px 0 34px;
  border: 1px solid #dce9e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(31, 72, 73, .11);
}

.wmt-article-meta--without-doctor {
  grid-template-columns: minmax(340px, 1fr) minmax(210px, 280px);
}

.wmt-article-meta__doctor {
  display: grid;
  min-width: 0;
  min-height: 150px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  padding: 0 24px 0 12px;
  border-right: 1px solid #dce9e9;
}

.wmt-article-meta__doctor-photo {
  display: flex;
  width: 100px;
  height: 136px;
  align-self: end;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f5fbfb 0%, #edf7f7 100%);
}

.wmt-article-meta__doctor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.wmt-article-meta__doctor-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 0;
}

.wmt-article-meta__doctor-role {
  color: #648182;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wmt-article-meta__doctor-name {
  color: #267373;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.wmt-article-meta__doctor-name:hover {
  color: #1d5d5f;
}

.wmt-article-meta__doctor-specialty,
.wmt-article-meta__reviewer {
  color: #526967;
  font-size: 14px;
  line-height: 1.35;
}

.wmt-article-meta__reviewer {
  margin-top: 4px;
}

.wmt-article-meta__list {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 24px 18px;
  list-style: none;
}

.wmt-article-meta__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 5px 16px;
  border-right: 1px solid #dce9e9;
  color: #1d1d1b;
  line-height: 1.25;
}

.wmt-article-meta__item:last-child {
  border-right: 0;
}

.wmt-article-meta__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #52bfc3;
}

.wmt-article-meta__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wmt-article-meta__value {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  font-weight: 600;
}

.wmt-article-meta__label {
  color: #739091;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.wmt-article-meta__actions {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 22px 24px;
  border-left: 1px solid #dce9e9;
}

.wmt-article-meta__appointment {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.2;
}

.wmt-article-meta__share-target:empty {
  display: none;
}

.wmt-article-meta a:focus-visible,
.wmt-article-meta button:focus-visible,
.wmt-article-toc summary:focus-visible,
.wmt-article-toc a:focus-visible {
  outline: 3px solid #267373;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .wmt-article-meta {
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  }

  .wmt-article-meta__actions {
    min-height: 0;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 16px 22px;
    border-top: 1px solid #dce9e9;
    border-left: 0;
  }

  .wmt-article-meta__appointment {
    width: auto;
    min-width: 230px;
  }

  .wmt-article-meta__share-target {
    margin-left: auto;
  }
}

.wmt-article-toc {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid #e6e8e9;
  border-radius: 4px;
  background: #fff;
}

.wmt-article-toc[hidden] {
  display: none;
}

.wmt-article-toc summary {
  width: fit-content;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.wmt-article-toc nav {
  margin-top: 14px;
}

.wmt-article-toc ol {
  margin: 0;
  padding-left: 24px;
}

.wmt-article-toc__item + .wmt-article-toc__item {
  margin-top: 7px;
}

.wmt-article-toc__item--h3 {
  margin-left: 20px;
}

.wmt-article-toc a {
  overflow-wrap: anywhere;
}

.content[itemprop="articleBody"] h2[id],
.content[itemprop="articleBody"] h3[id] {
  scroll-margin-top: 24px;
}

@media (max-width: 767px) {
  .wmt-article-meta {
    grid-template-columns: 1fr;
    align-items: stretch;
    margin: 18px 0 22px;
    border-radius: 12px;
  }

  .wmt-article-meta--without-doctor {
    grid-template-columns: 1fr;
  }

  .wmt-article-meta__doctor {
    min-height: 128px;
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 0 16px 0 10px;
    border-right: 0;
    border-bottom: 1px solid #dce9e9;
  }

  .wmt-article-meta__doctor-photo {
    width: 80px;
    height: 116px;
  }

  .wmt-article-meta__doctor-body {
    padding: 14px 0;
  }

  .wmt-article-meta__doctor-name {
    font-size: 17px;
  }

  .wmt-article-meta__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 10px;
  }

  .wmt-article-meta__item {
    min-height: 66px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #e8f0f0;
  }

  .wmt-article-meta__item:first-child {
    grid-column: 1 / -1;
  }

  .wmt-article-meta__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .wmt-article-meta__item:nth-last-child(2) {
    border-right: 1px solid #e8f0f0;
  }

  .wmt-article-meta__value {
    font-size: 15px;
  }

  .wmt-article-meta__actions {
    min-height: 0;
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #dce9e9;
    border-left: 0;
  }

  .wmt-article-meta__appointment {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .wmt-article-meta__share-target {
    margin-left: 0;
  }

  .wmt-article-share {
    justify-content: flex-start;
  }

  .wmt-article-toc {
    margin-bottom: 22px;
    padding: 16px;
  }

  .wmt-article-toc summary {
    font-size: 20px;
  }

  .wmt-article-toc__item--h3 {
    margin-left: 8px;
  }
}
