body[data-route="doctors"] {
  background: #fff;
}

body[data-route="doctors"] .doctors-catalog {
  background: #fafafa;
  font-synthesis: none;
}

body[data-route="doctors"] .doctors-catalog__inner {
  padding-top: 148px;
  padding-bottom: 60px;
}

body[data-route="doctors"] .doctors-breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 17.1650390625px;
}

body[data-route="doctors"] .doctors-breadcrumbs span[aria-current="page"] {
  color: #010f77;
}

body[data-route="doctors"] .doctors-catalog h1 {
  max-width: 572px;
  margin: calc(37px - .1650390625px) 0 0;
  color: #232742;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -2.08px;
  line-height: 52px;
}

body[data-route="doctors"] .doctors-catalog h1 span {
  color: #c0c1cc;
}

body[data-route="doctors"] .doctors-search {
  position: relative;
  display: grid;
  width: 100%;
  height: 59px;
  grid-template-columns: minmax(0, 1fr) 60px;
  align-items: stretch;
  margin-top: 34px;
  background: #fafafa;
  border: 1px solid #c8c8c8;
}

body[data-route="doctors"] .doctors-search input {
  width: 100%;
  min-width: 0;
  padding: 0 0 0 24px;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 14px;
}

body[data-route="doctors"] .doctors-search input:disabled {
  color: rgba(48, 48, 48, .6);
  opacity: 1;
  -webkit-text-fill-color: rgba(48, 48, 48, .6);
}

body[data-route="doctors"] .doctors-search input::placeholder {
  color: rgba(48, 48, 48, .6);
  opacity: 1;
}

body[data-route="doctors"] .doctors-search__button {
  display: grid;
  min-width: 0;
  padding: 0;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

body[data-route="doctors"] .doctors-search__button:disabled {
  cursor: default;
  opacity: 1;
}

body[data-route="doctors"] .doctors-search input:focus-visible,
body[data-route="doctors"] .doctors-search__button:focus-visible,
body[data-route="doctors"] .doctors-category:focus-visible,
body[data-route="doctors"] .doctors-category-current:focus-visible {
  outline: 2px solid #010f77;
  outline-offset: -3px;
}

body[data-route="doctors"] .doctors-search__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

body[data-route="doctors"] .doctors-search__icon img {
  position: absolute;
  max-width: none;
}

body[data-route="doctors"] .doctors-search__icon img:first-child {
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
}

body[data-route="doctors"] .doctors-search__icon img:last-child {
  top: 16.65px;
  left: 16.65px;
  width: 4.35px;
  height: 4.35px;
}

body[data-route="doctors"] .doctors-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 51px;
}

body[data-route="doctors"] .doctors-categories {
  min-width: 0;
  padding: 5px;
  background: #fff;
}

body[data-route="doctors"] .doctors-category-current {
  display: none;
}

body[data-route="doctors"] .doctors-category-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body[data-route="doctors"] .doctors-category {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  padding: 0 15px;
  border: 0;
  color: #5f5f5f;
  background: #f5f5f5;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.32px;
  line-height: 16px;
  text-align: left;
  cursor: pointer;
}

body[data-route="doctors"] .doctors-category:disabled,
body[data-route="doctors"] .doctors-category-current:disabled {
  cursor: default;
  opacity: 1;
}

body[data-route="doctors"] .doctors-category.is-current {
  color: #fff;
  background: #010f77;
}

body[data-route="doctors"] .doctors-category:not(.is-current):hover {
  color: #010f77;
  background: #eeeded;
}

body[data-route="doctors"] .doctors-list {
  display: grid;
  width: calc(100% + 5px);
  min-width: 0;
  padding-top: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

body[data-route="doctors"] .doctors-card {
  display: flex;
  min-width: 0;
  min-height: 411px;
  flex-direction: column;
  color: #303030;
  background: #fff;
}

body[data-route="doctors"] .doctors-card__identity {
  display: grid;
  min-width: 0;
  grid-template-columns: 157px minmax(0, 1fr);
  align-items: start;
  background: #eeeded;
}

body[data-route="doctors"] .doctors-card__photo {
  position: relative;
  display: block;
  width: 157px;
  aspect-ratio: 157 / 168;
  align-self: end;
  overflow: hidden;
}

body[data-route="doctors"] .doctors-card__photo img {
  position: absolute;
  top: var(--doctor-crop-top);
  left: var(--doctor-crop-left);
  width: var(--doctor-crop-width);
  max-width: none;
  height: var(--doctor-crop-height);
  object-fit: fill;
}

body[data-route="doctors"] .doctors-card[data-doctor="galstyan"] {
  --doctor-crop-top: -14.796%;
  --doctor-crop-left: -19.299%;
  --doctor-crop-width: 126.609%;
  --doctor-crop-height: 157.759%;
}

body[data-route="doctors"] .doctors-card[data-doctor="illarionova"] {
  --doctor-crop-top: -32.03%;
  --doctor-crop-left: -15.3%;
  --doctor-crop-width: 143.15%;
  --doctor-crop-height: 178.37%;
}

body[data-route="doctors"] .doctors-card[data-doctor="sizova"] {
  --doctor-crop-top: -7.37%;
  --doctor-crop-left: -25.02%;
  --doctor-crop-width: 141.72%;
  --doctor-crop-height: 148.43%;
}

body[data-route="doctors"] .doctors-card[data-doctor="shaban"] {
  --doctor-crop-top: -5%;
  --doctor-crop-left: -15%;
  --doctor-crop-width: 130%;
  --doctor-crop-height: 162.5%;
}

body[data-route="doctors"] .doctors-card[data-doctor="lyubutsin"] {
  --doctor-crop-top: -29%;
  --doctor-crop-left: -15%;
  --doctor-crop-width: 130%;
  --doctor-crop-height: 162.5%;
}

body[data-route="doctors"] .doctors-card__person {
  min-width: 0;
  padding: 36px 22px 0 31px;
}

body[data-route="doctors"] .doctors-card h2 {
  width: min(186px, 100%);
  margin: 0;
  color: #232742;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.4px;
  line-height: 20px;
}

body[data-route="doctors"] .doctors-card__role {
  width: min(220px, 100%);
  margin: 15px 0 0;
  color: rgba(48, 48, 48, .6);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 14px;
}

body[data-route="doctors"] .doctors-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 37px;
  padding: 21px 25px 29px;
}

body[data-route="doctors"] .doctors-card__bio {
  width: calc(100% - 8px);
  margin: 0;
  color: rgba(48, 48, 48, .6);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 14px;
}

body[data-route="doctors"] .doctors-card__action {
  --doctor-corner-inset: -1px;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 44px;
  place-items: center;
  margin-top: auto;
  border: 1px solid #c4c4c1;
  color: #303030;
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

body[data-route="doctors"] .doctors-card__action:hover,
body[data-route="doctors"] .doctors-card__action:focus-visible {
  color: #fff;
  background: #010f77;
  border-color: #010f77;
}

body[data-route="doctors"] .doctors-card__corner {
  position: absolute;
  width: auto;
  max-width: none;
  height: 10px;
  pointer-events: none;
  transition: filter .2s ease;
}

body[data-route="doctors"] .doctors-card__corner--start {
  top: calc(100% - var(--doctor-corner-inset) - 10px);
  left: var(--doctor-corner-inset);
}

body[data-route="doctors"] .doctors-card__corner--end {
  top: var(--doctor-corner-inset);
  left: calc(100% - var(--doctor-corner-inset) - 10px);
}

body[data-route="doctors"] .doctors-card__action:hover .doctors-card__corner,
body[data-route="doctors"] .doctors-card__action:focus-visible .doctors-card__corner {
  filter: brightness(0) invert(1);
}

body[data-route="doctors"] .doctors-card__action:hover .doctors-card__corner--start,
body[data-route="doctors"] .doctors-card__action:focus-visible .doctors-card__corner--start {
  --corner-inset: var(--doctor-corner-inset);
  animation: home-corner-before-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

body[data-route="doctors"] .doctors-card__action:hover .doctors-card__corner--end,
body[data-route="doctors"] .doctors-card__action:focus-visible .doctors-card__corner--end {
  --corner-inset: var(--doctor-corner-inset);
  animation: home-corner-after-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

body[data-route="doctors"] .doctors-search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body[data-route="doctors"] .doctors-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  color: rgba(48, 48, 48, .7);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1259px) {
  body[data-route="doctors"] .doctors-catalog__inner {
    padding-top: 128px;
  }

  body[data-route="doctors"] .doctors-catalog h1 {
    width: 100%;
    max-width: min(572px, 75vw);
    font-size: clamp(42px, 5vw, 52px);
    line-height: 1;
  }

  body[data-route="doctors"] .doctors-layout {
    display: block;
  }

  body[data-route="doctors"] .doctors-category-list {
    flex-flow: row wrap;
  }

  body[data-route="doctors"] .doctors-category {
    width: auto;
    flex: 1 1 210px;
  }

  body[data-route="doctors"] .doctors-list {
    width: 100%;
    padding-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  body[data-route="doctors"] .doctors-catalog__inner {
    width: calc(100% - 40px);
    padding-top: 122px;
    padding-bottom: 40px;
  }

  body[data-route="doctors"] .doctors-breadcrumbs {
    margin-left: 4px;
  }

  body[data-route="doctors"] .doctors-catalog h1 {
    width: 100%;
    max-width: 348px;
    margin-top: calc(20px - .1650390625px);
    font-size: 32px;
    letter-spacing: -1.28px;
    line-height: 32px;
  }

  body[data-route="doctors"] .doctors-search {
    height: 55px;
    grid-template-columns: minmax(0, 1fr) 58px;
    margin-top: 25px;
  }

  body[data-route="doctors"] .doctors-search input {
    padding-left: 14px;
  }

  body[data-route="doctors"] .doctors-layout {
    display: block;
    margin-top: 30px;
  }

  body[data-route="doctors"] .doctors-categories {
    padding: 0;
    background: transparent;
  }

  body[data-route="doctors"] .doctors-category-current {
    display: flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 15px;
    border: 0;
    color: #fff;
    background: #010f77;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.32px;
    line-height: 16px;
    text-align: left;
  }

  body[data-route="doctors"] .doctors-category-current img {
    width: 18px;
    height: 9px;
    transition: transform .2s ease;
  }

  body[data-route="doctors"] .doctors-category-list {
    display: none;
  }

  body[data-route="doctors"] .doctors-category-list.is-open {
    display: flex;
    margin-top: 5px;
  }

  body[data-route="doctors"] .doctors-category-current[aria-expanded="true"] img {
    transform: rotate(180deg);
  }

  body[data-route="doctors"] .doctors-list {
    width: 100%;
    padding-top: 0;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 30px;
  }

  body[data-route="doctors"] .doctors-card__identity {
    grid-template-columns: min(40.2564%, 157px) minmax(0, 1fr);
  }

  body[data-route="doctors"] .doctors-card__photo {
    width: 100%;
  }

  body[data-route="doctors"] .doctors-card__person {
    padding: 35px 2px 0 11px;
  }

  body[data-route="doctors"] .doctors-card__body {
    gap: 19px;
    padding: 21px 10px 19px 20px;
  }

  body[data-route="doctors"] .doctors-card__bio {
    width: 100%;
  }

  body[data-route="doctors"] .doctors-card__action {
    width: calc(100% - 10px);
    margin-top: auto;
  }
}

@media (max-width: 359px) {
  body[data-route="doctors"] .doctors-catalog__inner {
    width: calc(100% - 32px);
  }

  body[data-route="doctors"] .doctors-breadcrumbs {
    margin-left: 0;
  }

  body[data-route="doctors"] .doctors-card__person {
    padding-right: 8px;
    padding-left: 10px;
  }

  body[data-route="doctors"] .doctors-card h2,
  body[data-route="doctors"] .doctors-card__role {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-route="doctors"] .doctors-card__action,
  body[data-route="doctors"] .doctors-card__corner,
  body[data-route="doctors"] .doctors-category-current img {
    transition: none;
  }
}
