/* Doctor card presentation based on the approved reference layout. */
.drb-doctor-card{
  display:block !important;
  padding:20px !important;
  border:1px solid #d8e5f3 !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 3px 12px rgba(20,70,120,.05) !important;
  transition:transform .25s ease,box-shadow .25s ease;
}
.drb-doctor-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(20,70,120,.10) !important}
.drb-doctor-card .drb-card-top{display:flex;align-items:flex-start;gap:18px}
.drb-doctor-card .drb-card-image-box{position:relative;flex:0 0 110px;width:110px;height:135px;overflow:hidden;border:2px solid #cfe1f5;border-radius:12px;background:#f2f7fc}
.drb-doctor-card .thumb.drb-card-image{display:block;width:100% !important;height:100% !important;margin:0 !important;border:0 !important;border-radius:0 !important;object-fit:cover;object-position:center top}
.drb-doctor-card .drb-card-photo-verified{position:absolute;right:5px;bottom:5px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:3px solid #fff;border-radius:50%;background:#1681e8;color:#fff;font-size:12px;font-weight:800;line-height:1}
.drb-doctor-card .drb-card-content{flex:1;min-width:0;word-break:break-word}
.drb-doctor-card .drb-title{display:block;grid-column:auto;grid-row:auto;margin:2px 0 5px;font-size:18px;line-height:1.4;font-weight:600}
.drb-doctor-card .drb-title a{color:#123d88}
.drb-doctor-card .drb-title a:hover{color:#106aa9}
.drb-doctor-card .drb-edu,.drb-doctor-card .drb-desig,.drb-doctor-card .drb-affil{display:block;grid-column:auto;grid-row:auto;margin:0 0 3px;color:#344054;font-size:13px;line-height:1.6}
.drb-doctor-card .drb-desig,.drb-doctor-card .drb-desig .drb-designation-text{color:#101828;font-size:13px;font-weight:500}
.drb-doctor-card .drb-affil{color:#475467;line-height:1.5}
.drb-doctor-card .drb-spec{display:inline-flex;align-items:center;gap:6px;grid-column:auto;grid-row:auto;margin:10px 0 0;padding:6px 10px;border:1px solid #ffd4d4;border-radius:7px;background:#fff1f1;color:#e22525;font-size:12px;font-weight:500;line-height:1.4}
.drb-doctor-card .drb-card-specialty-icon{font-size:13px;line-height:1}
.drb-doctor-card .drb-card-rating{display:flex;align-items:center;gap:7px;grid-column:auto;grid-row:auto;margin-top:10px}
.drb-doctor-card .drb-doctor-rating-count{color:#98a2b3;font-size:11px}
.drb-doctor-card .drb-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0 0 128px;padding-top:14px;border-top:1px solid #e5ebf1}
.drb-doctor-card .drb-card-chamber{display:flex;align-items:flex-start;gap:8px;min-width:0;color:#344054;font-size:12px;line-height:1.5}
.drb-doctor-card .drb-card-chamber-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;color:#16a05d;font-size:16px;line-height:1}
.drb-doctor-card .drb-chambers{display:block;grid-column:auto;grid-row:auto;margin:0;padding:0;border:0}
.drb-doctor-card .drb-ch-line{margin:0;color:#344054;font-size:12px;line-height:1.5}
.drb-doctor-card .drb-ch-label{color:#159447;font-weight:500}
.drb-doctor-card .drb-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;grid-column:auto;grid-row:auto;margin:0;padding:9px 17px;border:1px solid #187bc1;border-radius:7px;background:#187bc1;color:#fff;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none !important}
.drb-doctor-card .drb-btn:hover{border-color:#106aa9;background:#106aa9;color:#fff}
.drb-doctor-card .drb-btn:focus-visible{outline:2px solid #74b7ec;outline-offset:2px}
@media (max-width:767px){
  .drb-doctor-card{padding:14px !important}
  .drb-doctor-card .drb-card-top{gap:12px}
  .drb-doctor-card .drb-card-image-box{flex-basis:82px;width:82px;height:100px;border-radius:9px}
  .drb-doctor-card .drb-title{font-size:14px}
  .drb-doctor-card .drb-edu,.drb-doctor-card .drb-desig,.drb-doctor-card .drb-desig .drb-designation-text,.drb-doctor-card .drb-affil{font-size:11px}
  .drb-doctor-card .drb-spec{font-size:10px;padding:5px 7px}
  .drb-doctor-card .drb-card-footer{flex-direction:column;align-items:stretch;margin-left:0}
  .drb-doctor-card .drb-btn{width:100%}
}
@media (max-width:480px){
  .drb-doctor-card{padding:12px !important}
  .drb-doctor-card .drb-card-top{gap:10px}
  .drb-doctor-card .drb-card-image-box{flex-basis:75px;width:75px;height:92px}
  .drb-doctor-card .drb-title{font-size:13px}
  .drb-doctor-card .drb-edu,.drb-doctor-card .drb-desig,.drb-doctor-card .drb-desig .drb-designation-text,.drb-doctor-card .drb-affil{font-size:10px;line-height:1.45}
}
/* Related doctors on a doctor profile: same card appearance, existing query/data logic unchanged. */
body.single-doctor .hospital-doctor-list .drb-related-doctor-card{display:block !important;padding:20px !important}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-top{display:flex;align-items:flex-start;gap:18px}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-image-box{position:relative;flex:0 0 110px;width:110px;height:135px;overflow:hidden;border:2px solid #cfe1f5;border-radius:12px;background:#f2f7fc}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-image-box .rel-thumb{display:block;width:100% !important;height:100% !important;margin:0 !important;border:0 !important;border-radius:0 !important;object-fit:cover;object-position:center top}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-content{display:block !important;flex:1;min-width:0}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-title{margin:2px 0 5px;font-size:18px;line-height:1.4;font-weight:600}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-title a{color:#123d88}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-edu,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-desig,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-affil{margin:0 0 3px;color:#344054;font-size:13px;line-height:1.6}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-desig,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-desig .drb-designation-text{color:#101828;font-weight:500}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-affil{color:#475467;line-height:1.5}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-spec{display:inline-flex;margin:10px 0 0;padding:6px 10px;border:1px solid #ffd4d4;border-radius:7px;background:#fff1f1;color:#e22525;font-size:12px;font-weight:500;line-height:1.4}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-rating{display:flex;margin-top:10px}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0 0 128px;padding-top:14px;border-top:1px solid #e5ebf1}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-chambers{display:block;margin:0;padding:0;border:0}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-ch-line{margin:0;color:#344054;font-size:12px;line-height:1.5}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-ch-label{color:#159447;font-weight:500}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .rel-actions{display:flex;margin:0 0 0 auto}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-btn{padding:9px 17px;border:1px solid #187bc1;border-radius:7px;background:#187bc1;color:#fff;font-size:12px;font-weight:600;line-height:1.2}
body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-btn:hover{border-color:#106aa9;background:#106aa9;color:#fff;transform:none}
@media (max-width:767px){
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card{padding:14px !important}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-top{gap:12px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-image-box{flex-basis:82px;width:82px;height:100px;border-radius:9px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-title{font-size:14px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-edu,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-desig,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-affil{font-size:11px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-footer{flex-direction:column;align-items:stretch;margin-left:0}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .rel-actions{margin:0}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-btn{width:100%;text-align:center}
}
@media (max-width:480px){
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card{padding:12px !important}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-top{gap:10px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-card-image-box{flex-basis:75px;width:75px;height:92px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-title{font-size:13px}
  body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-edu,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-desig,body.single-doctor .hospital-doctor-list .drb-related-doctor-card .drb-affil{font-size:10px;line-height:1.45}
}
/* Doctors listed on hospital and chamber profiles use the same card treatment. */
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card{display:block !important;padding:20px !important}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-top{display:flex;align-items:flex-start;gap:18px}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-image-box{position:relative;flex:0 0 110px;width:110px;height:135px;overflow:hidden;border:2px solid #cfe1f5;border-radius:12px;background:#f2f7fc}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-image-box .rel-thumb{display:block;width:100% !important;height:100% !important;margin:0 !important;border:0 !important;border-radius:0 !important;object-fit:cover;object-position:center top}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-content{display:block;flex:1;min-width:0}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-title{margin:2px 0 5px;font-size:18px;line-height:1.4;font-weight:600}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-title a{color:#123d88;text-decoration:none}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-edu,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-desig,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-affil,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-train{margin:0 0 3px;color:#344054;font-size:13px;font-weight:400;line-height:1.6}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-desig,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-desig .drb-designation-text{color:#101828;font-weight:500}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-affil{color:#475467;line-height:1.5}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-train{color:#667085}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-spec{display:inline-flex;margin:10px 0 0;padding:6px 10px;border:1px solid #ffd4d4;border-radius:7px;background:#fff1f1;color:#e22525;font-size:12px;font-weight:500;line-height:1.4}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-rating{display:flex;width:auto;margin-top:10px}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0 0 128px;padding-top:14px;border-top:1px solid #e5ebf1}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .rel-actions{display:flex;width:auto;margin:0 0 0 auto}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .see-btn.drb-btn{display:inline-flex;width:auto;padding:9px 17px;border:1px solid #187bc1;border-radius:7px;background:#187bc1;color:#fff;font-size:12px;font-weight:600;line-height:1.2;text-decoration:none}
:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .see-btn.drb-btn:hover{border-color:#106aa9;background:#106aa9;color:#fff;transform:none}
@media (max-width:767px){:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card{padding:14px !important}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-top{gap:12px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-image-box{flex-basis:82px;width:82px;height:100px;border-radius:9px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-title{font-size:14px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-edu,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-desig,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-affil,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-train{font-size:11px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-footer{flex-direction:column;align-items:stretch;margin-left:0}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .rel-actions{margin:0}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .see-btn.drb-btn{width:100%;justify-content:center}}
@media (max-width:480px){:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card{padding:12px !important}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-top{gap:10px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-card-image-box{flex-basis:75px;width:75px;height:92px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-title{font-size:13px}:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-edu,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-desig,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-affil,:where(body.single-hospital,body.single-chamber) .hospital-doctor-list .drb-hospital-profile-doctor-card .drb-train{font-size:10px;line-height:1.45}}