.doctor-page__documents{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px}
.doctor-page__documents a{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:var(--color-surface);font-weight:700;text-align:center}
.doctor-page__documents img{width:100%;height:180px;object-fit:contain}
.doctor-page__services{margin:0;padding-left:22px;font-size:18px;line-height:1.6}
.doctor-page__services a{text-decoration:underline;text-underline-offset:3px}
.doctor-page__bio{overflow-wrap:anywhere}
.specialists__placeholder{display:grid;width:100%;height:100%;place-items:center;background:#d1fff7;font-size:80px;font-weight:800}
.doctor-page__photo{align-self:start}
.specialists__container > .specialists__controls[hidden]{display:none}


.doctor-detail-page .doctor-page__facts {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  min-height: 0;
  width: 100%;
  gap: 20px;
}
.doctor-detail-page .doctor-page__fact {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 28px;
  gap: 16px;
  border-radius: 28px;
  background: var(--color-surface, #f4f7ff);
}
.doctor-detail-page .doctor-page__fact-title {
  min-height: 0;
  font-size: clamp(24px, 1.65vw, 30px);
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.doctor-detail-page .doctor-page__fact-icon {
  display: none;
}
.doctor-detail-page .doctor-page__bio {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: normal;
}
.doctor-detail-page .doctor-page__fact--summary {
  grid-column: auto;
  background: #d1fff7;
  gap: 12px;
}
.doctor-detail-page .doctor-page__fact--summary .doctor-page__fact-title {
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}
.doctor-detail-page .doctor-page__fact--summary .doctor-page__fact-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.doctor-detail-page .doctor-page__fact--summary .doctor-page__bio {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}
.doctor-detail-page .doctor-page__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  line-height: 1.4;
}
.doctor-detail-page .doctor-page__services li {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.doctor-detail-page .doctor-page__services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 68px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .18s ease, color .18s ease;
}
.doctor-detail-page .doctor-page__services a::after {
  content: '';
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  color: var(--color-accent, #6a5be9);
}
.doctor-detail-page .doctor-page__services a:hover {
  background: #d1fff7;
}
.doctor-detail-page .doctor-page__services a:focus-visible,
.doctor-detail-page .doctor-page__documents a:focus-visible {
  outline: 3px solid var(--color-accent, #6a5be9);
  outline-offset: 3px;
}
.doctor-detail-page .doctor-page__documents a {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .doctor-detail-page .doctor-page__facts,
  .doctor-detail-page .doctor-page__services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .doctor-detail-page .doctor-page__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .doctor-detail-page .doctor-page__fact { padding: 20px; border-radius: 24px; gap: 14px; }
  .doctor-detail-page .doctor-page__fact-title { font-size: 25px; }
  .doctor-detail-page .doctor-page__bio { font-size: 16px; line-height: 1.6; }
  .doctor-detail-page .doctor-page__fact--summary .doctor-page__bio { font-size: 20px; }
  .doctor-detail-page .doctor-page__services { grid-template-columns: minmax(0, 1fr); font-size: 16px; gap: 10px; }
  .doctor-detail-page .doctor-page__services a { min-height: 60px; padding: 14px 16px; border-radius: 16px; }
}
