@font-face{font-family:Roboto;src:url('fonts/Roboto-Regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Roboto;src:url('fonts/Roboto-Medium.woff2') format('woff2');font-weight:500;font-display:swap}@font-face{font-family:Roboto;src:url('fonts/Roboto-Bold.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:PMBeau;src:url('fonts/beau-light.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:PMBeau;src:url('fonts/beau-semibold.woff') format('woff');font-weight:600;font-display:swap}

html{scroll-padding-top:var(--pp-header-height,120px)}section[id],.pp-section-anchor{scroll-margin-top:16px}
.hero-mosaic.pp-two{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-mosaic.pp-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.hero-mosaic.pp-without-photos{visibility:hidden}.price-row[hidden]{display:none}.form-status{max-width:100%}.form-footer button:disabled{opacity:.65;cursor:wait}
.honeypot{pointer-events:none}.pp-empty{padding:60px 20px;min-height:50vh}.pp-profile-text{white-space:pre-line}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}
/* Профиль: композиция направлений и консультации как в исходной теме. */
.pp-doctor-directions{padding:74px 0}.pp-doctor-directions .info-grid{grid-template-columns:1.2fr .8fr;gap:55px;align-items:start}.pp-doctor-directions h2{font-size:34px;line-height:1.25;margin:0 0 20px}.pp-doctor-directions .topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.pp-doctor-directions .topic{min-height:108px;align-self:start;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}.pp-doctor-directions .topic[hidden]{display:none}.pp-doctor-directions .topic:last-child:nth-child(odd){grid-column:1/-1}.pp-doctor-directions .topic summary{min-height:106px;padding:17px 46px 17px 19px;font-size:16px;line-height:1.45}.pp-doctor-directions .topic summary::after{right:18px;width:auto;height:auto;background:none;border-radius:0;font-size:24px}.pp-doctor-directions .topic p{padding:0 19px 18px;font-size:14px;line-height:1.55}.pp-doctor-directions .topic[open]{border-color:#a5dbca;box-shadow:0 3px 14px rgba(33,153,115,.08)}.pp-doctor-directions .facts{align-self:start;background:var(--pale);padding:27px;border:0;border-radius:8px}.pp-doctor-directions .facts h3{font-size:18px;margin:0 0 15px}.pp-doctor-directions .facts .consult-service{font-size:16px;margin-bottom:5px}.pp-doctor-directions .facts .consult-price{font-size:18px;color:var(--ink);margin-bottom:24px}.pp-doctor-directions .facts .clinic-address{font-size:16px;margin-bottom:14px}
.pp-directions-more{margin-top:16px;min-height:42px;padding:9px 16px;font-size:14px}.pp-form-note{font-size:14px;line-height:1.5;color:var(--muted);font-weight:700;margin:0 0 22px}.application .pp-form-note{color:var(--muted)}.pp-profile-form .pp-service-field{margin-bottom:0}.pp-profile-prices-preview [data-price-row]:nth-child(n+9){display:none}.pp-profile-prices-more{background:none;border:0;padding:0;cursor:pointer;font:inherit;color:var(--green-deep);font-weight:700}.pp-profile-prices-more:focus-visible{outline:3px solid var(--purple);outline-offset:4px}
@media(max-width:700px){.pp-doctor-directions{padding:54px 0}.pp-doctor-directions .info-grid{grid-template-columns:1fr;gap:30px}.pp-doctor-directions h2{font-size:30px}.pp-doctor-directions .topics{grid-template-columns:1fr}.pp-doctor-directions .topic{min-height:0}.pp-doctor-directions .topic summary{min-height:76px;font-size:15px}.pp-profile-form .form-fields{grid-template-columns:1fr}.pp-directions-more{width:100%}}

/* 2.0.10: Как в урологии: портреты без карточек, без обрезки, на белом фоне. */
.hero,
.profile { background: #fff; }
.hero-mosaic.pp-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  gap: 16px;
  min-height: 370px;
  background: #fff;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.hero-mosaic.pp-two img,
.hero-mosaic.pp-two img:nth-child(even) {
  display: block;
  width: 100%;
  height: 360px;
  max-width: 100%;
  object-fit: contain;              /* Полный портрет, без отсечения */
  object-position: center bottom;   /* Единая линия по нижнему краю */
  background: transparent;          /* Исходные WebP уже имеют alpha */
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}
/* На карточках врачей и в профилях фон тоже белый, без серой плашки. */
.doctor-photo,
.profile-portrait { background: #fff; }
.doctor-photo img,
.profile-portrait {
  object-fit: contain;
  object-position: center bottom;
}
@media (min-width: 701px) and (max-width: 980px) {
  .hero-mosaic.pp-two { min-height: 300px; gap: 12px; }
  .hero-mosaic.pp-two img,
  .hero-mosaic.pp-two img:nth-child(even) { height: 290px; }
}
@media (max-width: 700px) {
  .hero-mosaic.pp-two { min-height: 0; gap: 12px; }
  .hero-mosaic.pp-two img,
  .hero-mosaic.pp-two img:nth-child(even) { height: 235px; }
}
@media (max-width: 460px) {
  .hero-mosaic.pp-two { gap: 8px; }
  .hero-mosaic.pp-two img,
  .hero-mosaic.pp-two img:nth-child(even) { height: 185px; }
}
