/* ===== All the doctors under the booking form (design review /review/booking-doctors/, client request 2026-11-15).
   Cards are the doctors page's own (.dl-card, doctors.css); this file only places them inside the booking panel. ===== */
.rb2-below { grid-area: below; min-width: 0; margin-top: 34px; }
.rb2.rb2-reviews.rb2-has-below { grid-template-areas: "extra card" "below below"; }
.dl.bd { max-width: none; margin: 0; padding: 0; }
.bd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.bd-head h2 { font-family: "Lato", "Segoe UI", Helvetica, Arial, sans-serif; font-size: 25px; font-weight: 800; line-height: 1.15; letter-spacing: 0; color: #2c1a24; }
.bd-head p { margin-top: 3px !important; font-size: 14.5px; color: var(--muted); }
.bd-nav { display: flex; gap: 8px; flex: none; }
.bd-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #f2cfe3; background: #fff; color: var(--brand); display: grid; place-items: center; padding: 0; cursor: pointer; }
.bd-nav button:hover:not(:disabled) { background: var(--pink); }
.bd-nav button:disabled { opacity: 0.4; cursor: default; }
.bd-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* window: one row of cards at a time, scrolling up and down inside the box */
.bd-window .bd-track { grid-auto-rows: 1fr; overflow-y: auto; overscroll-behavior-y: auto; scroll-snap-type: y mandatory; max-height: 356px; padding: 2px 6px 6px 2px; border-radius: 22px; scrollbar-width: thin; scrollbar-color: #e3b9d2 transparent; }
.bd-window .bd-track > li { scroll-snap-align: start; scroll-margin-top: 2px; }

@media (max-width: 999.98px) {
  .rb2.rb2-reviews.rb2-has-below { grid-template-areas: "card" "extra" "below"; }
  .rb2.rb2-reviews.rb2-has-below.rb2-below-first { grid-template-areas: "card" "below" "extra"; }
  .rb2-below { margin-top: 8px; }
  .bd .dl-list { max-width: none; }
}
@media (max-width: 559.98px) {
  .bd-head h2 { font-size: 21px; }
  .bd-head p { font-size: 13.5px; }
  .bd .dl-card { padding: 16px 14px; }
}
