#doctors .doctors{display:block;column-count:1;column-gap:1rem;}
#doctors .doctor-card{break-inside:avoid;display:flex;gap:1.75rem;align-items:flex-start;border:1px solid #EEF2F7;background:#fff;border-radius:0.75rem;padding:1.25rem 1.75rem 2.25rem 1.75rem;margin:0 0 1rem 0;position:relative;}
#doctors .avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;flex:0 0 auto;}
#doctors h4{margin:0 0 0.625rem 0;}
#doctors h4 small{font-weight:600;color:#475569;margin-left:0.375rem;}
#doctors .doc-tags{display:flex;flex-wrap:wrap;gap:0.5rem;margin:0.625rem 0;}
#doctors .doc-tags .chip{display:inline-block;padding:0.375rem 0.625rem;border:1px solid #e8edf3;border-radius:62.4375rem;font-size:0.75rem;line-height:1;background:#fff;color:#334155;}
#doctors .career-line{margin:0.25rem 0 0 0;color:#475569;font-size:0.8125rem;display:flex;align-items:baseline;}
#doctors .career-list{margin:0;padding:0;list-style:none;color:#334155;font-size:0.8125rem;line-height:1.6;padding-left:0;}
#doctors .career-list li+li{margin-top:0.25rem;}
#doctors .career-more{position:absolute;right:1rem;bottom:0.5rem;display:inline-flex;align-items:center;gap:0.375rem;appearance:none;background:none;border:0;color:#31527E;cursor:pointer;font-size:0.8125rem;padding:0.375rem 0.5rem;}
#doctors .career-more .chev{inline-size:10px;block-size:10px;border:2px solid currentColor;border-left:0;border-top:0;transform:rotate(45deg);transition:transform .25s ease;}
#doctors [data-career-btn][aria-expanded="true"] .chev{transform:rotate(225deg);}
#doctors .career-panel{max-height:0;overflow:hidden;opacity:0;transition:max-height .28s ease,opacity .22s ease;will-change:max-height;}
#doctors .career-panel.open{opacity:1;padding-top:0.375rem;}
#doctors .career-panel[hidden]{display:none!important;}
#doctors .career-list li{margin-left:0;}
#doctors .career-line,
#doctors .career-list li{display:flex;align-items:center;}
@media (max-width: 768px){.doctors{grid-template-columns:repeat(2,1fr);}}
@media (max-width: 600px){.doctors{grid-template-columns:1fr;}}
@media(min-width:900px){.doctors{grid-template-columns:1fr 1fr;}}
@media (min-width:900px){#doctors .doctors{column-count:2;column-gap:1rem;}}


/* v0.376: fix left gap before first chip (reset list indent & first-child margin) */
#doctors .doc-tags,
#doctors .doctor-card .doc-tags{
  margin-left: 0;
  padding-left: 0;
}
#doctors .doc-tags ul,
#doctors .doctor-card .doc-tags ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
#doctors .doc-tags > *:first-child,
#doctors .doctor-card .doc-tags > *:first-child{
  margin-left: 0 !important;
  text-indent: 0;
}


/* v0.391: doctor chips wrapping & alignment fixes */
#doctors .doctor-card{ text-align:left; align-items:stretch; } /* override any global center alignment */
#doctors .doctor-card__body{ width:100%; flex:1 1 auto; min-width:0; }
#doctors .doc-tags{ display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; inline-size:100%; }
#doctors .doc-tags .chip{ display:inline-flex; align-items:center; }

/* v0.4xx: ensure long summaries wrap inside mobile cards */
#doctors .career-line{display:block; max-width:100%; }
#doctors .career-line__text{
  display:block;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
  max-width:100%;
}
#doctors .career-list li{
  display:block;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
  max-width:100%;
}
