/* Doctor ordering, links and content stay CMS-driven. Two balanced rows, overflow only as needed. */
body main .doctor-grid.hg-doctors-two-row{display:grid!important;grid-template-columns:repeat(var(--doctor-columns,4),minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;gap:16px!important;overflow-x:hidden!important;overflow-y:hidden!important;align-items:stretch!important;padding:4px 0 12px!important;scroll-snap-type:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body main .doctor-grid.hg-doctors-two-row.hg-doctors-overflow{grid-template-columns:repeat(var(--doctor-columns),var(--doctor-card-width))!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8d9f84 #efe7dd}
body main .doctor-grid.hg-doctors-two-row>article{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;padding:14px!important;box-sizing:border-box!important;scroll-snap-align:start!important;overflow:hidden!important}
body main .doctor-grid.hg-doctors-two-row>article>a{display:block!important;min-width:0!important}
body main .doctor-grid.hg-doctors-two-row>article img{display:block!important;width:100%!important;height:220px!important;max-height:220px!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;margin:0 auto 12px!important;background:#f7f1e8!important;border-radius:9px!important}
body main .doctor-grid.hg-doctors-two-row h4{font-size:18px!important;line-height:1.3!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;margin:10px 0 6px!important}
body main .doctor-grid.hg-doctors-two-row p{font-size:14px!important;line-height:1.45!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;margin:0!important}
body main .hg-doctor-scroll-hint[hidden]{display:none!important}
/* Fit the image box to the portrait so rounding follows the actual photo edges. */
body main .doctor-grid.hg-doctors-two-row>article img{width:176px!important;max-width:100%!important;border-radius:18px!important;object-fit:cover!important;object-position:center 25%!important}
body main .doctor-grid.hg-doctors-two-row>article,body main .doctor-grid.hg-doctors-two-row>article>a,body main .doctor-grid.hg-doctors-two-row>article img{background:transparent!important;box-shadow:none!important}
@media(max-width:700px){body main .doctor-grid.hg-doctors-two-row{row-gap:10px!important}body main .doctor-grid.hg-doctors-two-row>article{padding:8px!important}body main .doctor-grid.hg-doctors-two-row>article img{width:96px!important;height:120px!important;max-height:120px!important;margin-bottom:6px!important}body main .doctor-grid.hg-doctors-two-row h4{font-size:15px!important;line-height:1.3!important;margin:6px 0 4px!important}body main .doctor-grid.hg-doctors-two-row p{font-size:12px!important;line-height:1.4!important}}
