/* Service «Прием ведут» — 3-up desktop, 1 on mobile; 1 card stays ~360px. */
html body #block-3.pc-svc-docs .pc-svc-docs-wrap,
html body .pc-svc-docs .pc-svc-docs-wrap {
  margin-left: -8px;
  margin-right: -8px;
}

html body #block-3.pc-svc-docs .pc-svc-docs-grid,
html body #block-3.pc-svc-docs .pc-svc-docs__grid,
html body .pc-svc-docs .pc-svc-docs-grid.main-doctors-block,
html body .pc-svc-docs .pc-svc-docs__grid.main-doctors-block,
html body .pc-svc-docs .pc-svc-docs-grid,
html body .pc-svc-docs .pc-svc-docs__grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  width: auto !important;
}

html body #block-3.pc-svc-docs .pc-svc-docs-grid > .doctor-item,
html body #block-3.pc-svc-docs .pc-svc-docs__grid > .doctor-item,
html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item,
html body .pc-svc-docs .pc-svc-docs__grid > .doctor-item,
html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item.fw-50,
html body .pc-svc-docs .pc-svc-docs__grid > .doctor-item.fw-50,
html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item.p15,
html body .pc-svc-docs .doctor-item.fw-50.pc-svc-doc {
  flex: 0 0 32% !important;
  width: 32% !important;
  max-width: 360px !important;
  min-width: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
  padding: 0 8px 18px !important;
  margin: 0 !important;
  height: auto !important;
}

html body #block-3.pc-svc-docs .pc-svc-docs-grid > .doctor-item:only-child,
html body #block-3.pc-svc-docs .pc-svc-docs__grid > .doctor-item:only-child,
html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item:only-child,
html body .pc-svc-docs .pc-svc-docs__grid > .doctor-item:only-child,
html body .pc-svc-docs[data-pc-docs="1"] .doctor-item,
html body .pc-svc-docs[data-count="1"] .doctor-item,
html body .pc-svc-docs[data-pc-docs="1"] .doctor-item.fw-50.pc-svc-doc,
html body .pc-svc-docs[data-count="1"] .doctor-item.fw-50.pc-svc-doc {
  flex: 0 0 32% !important;
  flex-grow: 0 !important;
  width: 32% !important;
  max-width: 360px !important;
}

html body #block-3.pc-svc-docs .pc-svc-doc > .back,
html body .pc-svc-docs .pc-svc-doc > .br-20.back,
html body .pc-svc-docs .pc-svc-doc > .flex.flow-rw {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  height: auto !important;
  min-height: 220px !important;
  width: 100% !important;
  background: #fff !important;
  border: 1px solid #eadfce !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(24, 33, 45, 0.06);
  overflow: hidden !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

html body #block-3.pc-svc-docs .pc-svc-doc .img,
html body .pc-svc-docs .pc-svc-doc .img.fw-50 {
  flex: 0 0 46% !important;
  width: 46% !important;
  max-width: 46% !important;
  padding: 0 8px 0 0 !important;
}

html body #block-3.pc-svc-docs .pc-svc-doc .img .back,
html body .pc-svc-docs .pc-svc-doc .img > .back {
  aspect-ratio: 4 / 5 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background-size: cover !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  border-radius: 12px !important;
}

html body #block-3.pc-svc-docs .pc-svc-doc .text-block,
html body .pc-svc-docs .pc-svc-doc .text-block.fw-50 {
  flex: 1 1 50% !important;
  width: auto !important;
  max-width: 54% !important;
  padding: 10px 8px 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

@media (max-width: 767px) {
  html body #block-3.pc-svc-docs .pc-svc-docs-grid > .doctor-item,
  html body #block-3.pc-svc-docs .pc-svc-docs__grid > .doctor-item,
  html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item,
  html body .pc-svc-docs .pc-svc-docs__grid > .doctor-item,
  html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item.fw-50,
  html body .pc-svc-docs .doctor-item.fw-50.pc-svc-doc,
  html body .pc-svc-docs .pc-svc-docs__grid > .doctor-item:only-child,
  html body .pc-svc-docs .pc-svc-docs-grid > .doctor-item:only-child,
  html body #block-3.pc-svc-docs .pc-svc-docs__grid > .doctor-item:only-child,
  html body .pc-svc-docs[data-pc-docs="1"] .doctor-item,
  html body .pc-svc-docs[data-count="1"] .doctor-item,
  html body .pc-svc-docs[data-pc-docs="1"] .doctor-item.fw-50.pc-svc-doc,
  html body .pc-svc-docs[data-count="1"] .doctor-item.fw-50.pc-svc-doc {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8px 14px !important;
  }
}
