.doctor-carousel{min-width:0}
.doctor-carousel-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 16px}
.doctor-carousel-status{font-size:13px;color:#666;line-height:1.6;font-variant-numeric:tabular-nums}
.doctor-carousel-status strong{font-weight:600;color:#000}
.doctor-carousel-buttons{display:flex;gap:10px}
.doctor-carousel-buttons>button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e8e8e8;border-radius:50%;background:#fff;color:#000;cursor:pointer;transition:background-color 300ms ease,translate 300ms ease,border-color 300ms ease}
.doctor-carousel-buttons>button:first-child .icon{rotate:180deg}
.doctor-carousel-buttons>button:disabled{color:#666;background:#f5f5f5;cursor:not-allowed;opacity:.55}
.doctor-carousel-buttons>button:not(:disabled):hover{background:#fff1f1;border-color:#d90000;color:#d90000}
.doctor-carousel-buttons>button:not(:disabled):active{translate:0 1px}
.doctor-carousel :focus-visible{outline:3px solid #000;outline-offset:4px}
.doctor-carousel .doctors-grid{display:flex;gap:24px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:6px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#666 #e8e8e8;padding:8px 6px 20px;align-items:stretch;grid-template-columns:none}
.doctor-carousel .doctor-card{flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start;display:flex;flex-direction:column;min-width:0}
.doctor-carousel .doctor-image{aspect-ratio:4/4.2;border-radius:24px;background:#f5f5f5;flex-shrink:0}
.doctor-carousel .doctor-image img{object-position:50% 25%}
.doctor-carousel .doctor-info{display:flex;flex-direction:column;flex:1;padding:22px 4px 4px}
.doctor-carousel .doctor-info>p{font-size:13px;line-height:1.6;min-height:3.2em;margin-bottom:10px}
.doctor-carousel .doctor-info h3{font-size:26px;line-height:1.3;min-height:2.6em;margin-bottom:20px}
.doctor-carousel .doctor-info>.inline-button{font-size:14px;margin-top:auto;align-self:flex-start;min-height:44px;gap:12px}
.doctor-carousel-hint{font-size:12px;color:#666;line-height:1.6;margin-top:12px}
.doctor-carousel [hidden]{display:none!important}
@media(max-width:999px){.doctor-carousel .doctor-card{flex-basis:calc((100% - 24px)/2)}.doctor-carousel .doctor-info h3{font-size:25px}}
@media(max-width:767px){.doctor-carousel-bar{gap:12px;margin-bottom:12px}.doctor-carousel-status{font-size:12px;max-width:200px}.doctor-carousel-buttons{gap:8px}.doctor-carousel-buttons>button{width:46px;height:46px;flex-shrink:0}.doctor-carousel .doctors-grid{gap:16px;padding-bottom:18px}.doctor-carousel .doctor-card{flex-basis:86%}.doctor-carousel .doctor-image{aspect-ratio:4/4.5;border-radius:20px}.doctor-carousel .doctor-info{padding-top:20px}.doctor-carousel .doctor-info>p{font-size:14px;line-height:1.65}.doctor-carousel .doctor-info h3{font-size:26px}.doctor-carousel .doctor-info>.inline-button{font-size:15px}.doctor-carousel-hint{font-size:12px}}
@media(prefers-reduced-motion:reduce){.doctor-carousel .doctors-grid{scroll-behavior:auto}.doctor-carousel-buttons>button{transition:none}}
@media print{.doctor-carousel-bar,.doctor-carousel-hint{display:none}.doctor-carousel .doctors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.doctor-carousel .doctor-card{break-inside:avoid}}

/* Keep native swipe, scroll snap and keyboard navigation without a scrollbar. */
.doctor-carousel .doctors-grid{scrollbar-width:none;-ms-overflow-style:none}
.doctor-carousel .doctors-grid::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:767px){
 #doctors.doctors-section{padding-block:28px}
 #doctors .section-heading{margin-bottom:16px}
 #doctors h2{font-size:27px;line-height:1.2}
 #doctors .doctor-carousel-bar{margin-bottom:8px;gap:10px}
 #doctors .doctor-carousel-status{font-size:11px}
 #doctors .doctor-carousel-buttons>button{width:44px;height:44px}
 #doctors .doctor-carousel .doctors-grid{gap:12px;padding:4px 2px;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch}
 #doctors .doctor-carousel .doctor-card{flex:0 0 clamp(200px,66%,240px)}
 #doctors .doctor-carousel .doctor-image{aspect-ratio:4/4.2;border-radius:16px}
 #doctors .doctor-carousel .doctor-info{padding:10px 2px 0}
 #doctors .doctor-carousel .doctor-info>p{font-size:12px;line-height:1.4;min-height:0;margin-bottom:6px}
 #doctors .doctor-carousel .doctor-info h3{font-size:20px;line-height:1.25;min-height:0;margin-bottom:8px}
 #doctors .doctor-carousel .doctor-info>.inline-button{font-size:13px;min-height:44px;gap:10px}
 #doctors .doctor-carousel .doctor-experience{font-size:10px;line-height:1.4;padding:5px 8px;left:10px;bottom:10px}
}

/* Keep the title, position counter and navigation on one desktop row. */
#doctors .doctor-carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;min-width:0}
#doctors .doctor-carousel-heading .section-heading{display:block;flex:1;min-width:0;margin:0}
#doctors .doctor-carousel-heading h2{font-size:clamp(26px,3.6vw,48px);white-space:nowrap}
#doctors .doctor-carousel-heading h2 span{display:inline}
#doctors .doctor-carousel-heading .doctor-carousel-bar{flex:0 0 auto;margin:0;gap:16px}
#doctors .doctor-carousel-heading .doctor-carousel-status{margin:0;white-space:nowrap}
@media(max-width:767px){
 #doctors .doctor-carousel-heading{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:12px}
 #doctors .doctor-carousel-heading h2{font-size:27px;white-space:normal}
 #doctors .doctor-carousel-heading .doctor-carousel-bar{display:none}
}
