.doctors { padding-top: 24px; }
.doctors-disclaimer { padding: 16px 20px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.doctors-disclaimer > span { display: block; color: var(--green); font-weight: 600; margin-bottom: 3px; }
.doctor-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.doctor-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doctor-portrait { position: relative; aspect-ratio: 4 / 5; background-color: #dce3d2; background-image: url('assets/demo-doctors.webp'); background-size: 500% auto; background-position: var(--portrait-position) 14%; background-repeat: no-repeat; }
.doctor-demo { position: absolute; left: 12px; top: 12px; border-radius: 20px; padding: 5px 9px; color: var(--green-dark); background: #fafbf8eb; font-size: 11px; line-height: 1.4; }
.doctor-info { padding: 21px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.doctor-role { font-size: 12px; line-height: 1.5; color: var(--muted); margin-bottom: 8px; }
.doctor-info h3 { font-size: 26px; letter-spacing: -.6px; line-height: 1.2; min-height: 2.4em; max-width: 9em; }
.doctor-experience { color: var(--green); font-size: 14px; line-height: 1.6; margin-top: 15px; }
.doctor-experience strong { font-weight: 600; }
.doctor-directions { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 10px 0 22px; }
.doctor-select { margin-top: auto; min-height: 46px; padding: 10px 8px; border: 1px solid #cbd9ce; border-radius: 6px; background: #edf2e9; color: var(--green-dark); font-size: 14px; font-weight: 600; }
.doctor-select:hover { background: #dfeadd; }
.doctor-card:focus-within { outline: 3px solid var(--red); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .doctor-card { transition: transform 250ms ease, box-shadow 250ms ease; }
  .doctor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #173e3410; }
}
@media (max-width: 1150px) { .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 641px) and (max-width: 767px) {
  .header-inner { gap: 16px; }
  .header-inner > .brand { width: 145px; }
  .header .nav { gap: 12px; }
  .header .nav a { font-size: 13px; }
}
@media (max-width: 560px) {
  .doctor-grid { grid-template-columns: minmax(0, 1fr); }
  .doctor-portrait { aspect-ratio: 1 / 1; background-position-y: 12%; }
  .doctor-info { padding: 24px; }
  .doctor-info h3 { max-width: none; min-height: 0; font-size: 28px; }
  .doctor-directions, .doctor-experience { font-size: 16px; }
  .doctor-role { font-size: 14px; }
  .doctor-select { min-height: 50px; }
  .doctors-disclaimer { padding: 16px; }
}
