/* Team page — Option 2: clean modern profile directory. Scoped to .dc-team only. */
.dc-team{font-size:14px;line-height:1.7;color:#354b5a}
.dc-team :is(h1,h2,h3,h4){font-size:16px!important;line-height:1.45;font-weight:600!important;color:#183d55;margin:0 0 .8rem}
.dc-team p{margin:0 0 1rem}
.dc-team a{color:#075d94;text-underline-offset:3px}
.dc-team .dc-team-eyebrow{font-size:12px;letter-spacing:.12em;color:#537c95;font-weight:600;margin-bottom:.65rem}
.dc-team-intro{padding-top:3rem!important;padding-bottom:5rem;background:#fff}
.dc-team-intro .container>p:not(.dc-team-eyebrow){max-width:760px}
.dc-team-jump{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.dc-team-jump a{color:#245472;text-decoration:none;border:1px solid #c4d8e5;border-radius:100px;background:#fff;padding:.55rem 1.15rem;font-weight:500}
.dc-team-jump a:first-child,.dc-team-jump a:hover,.dc-team-jump a:focus-visible{background:#e7f0f5}
.dc-team-section{padding:2.5rem 0}
.dc-team-section-alt{background:#fff}
.dc-team-section-header{display:grid;gap:.45rem;margin-bottom:1.6rem;padding-bottom:1.2rem;border-bottom:1px solid #c4d4df}
.dc-team-section-header>p{max-width:650px;margin:0}
.dc-team-grid{display:flex;flex-direction:column;gap:0}
.dc-team-card{display:grid;grid-template-columns:minmax(0,115px) minmax(0,1fr);gap:1rem;align-items:start;padding:1.5rem 0;border-bottom:1px solid #d8e4eb;background:#fff;min-width:0}
.dc-team-card:first-child{padding-top:.5rem}
.dc-team-portrait{background:#e7eef3;aspect-ratio:4/5;border-radius:5px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;min-width:0}
.dc-team-portrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.dc-team-card-body{min-width:0}
.dc-team .dc-team-role{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#527c92;font-weight:600;margin-bottom:.3rem}
.dc-team .dc-team-credentials{color:#597385;margin-bottom:.7rem}
.dc-team-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.8rem 0 0}
.dc-team-tags span{background:#eef4f8;border-radius:4px;padding:.3rem .55rem;font-size:12px;color:#355e76}
.dc-team-card-actions{display:flex;flex-wrap:wrap;gap:.6rem 1.3rem;margin-top:1rem}
.dc-team-card-actions a{font-weight:600}
.dc-team-note{font-size:12px;margin:1.4rem 0 0;color:#5b6c78}
.dc-team-end{text-align:center;background:#eef4f8;padding:3rem 0}
.dc-team-end p:not(.dc-team-eyebrow){max-width:690px;margin:0 auto 1.25rem}
.dc-team-end-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}
.dc-team-end-links a{display:inline-block;border:1px solid #a4c4d7;background:#fff;padding:.7rem 1.2rem;border-radius:5px;text-decoration:none}
.dc-team-end-links a:first-child{background:#195879;color:#fff;border-color:#195879}
@media(min-width:768px){.dc-team-card{grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:2rem;padding:2rem 0}.dc-team-portrait{max-width:180px}.dc-team-card-body>p:not(.dc-team-role):not(.dc-team-credentials){max-width:760px}}
@media(min-width:992px){.dc-team{font-size:16px}.dc-team :is(h1,h2,h3,h4){font-size:18px!important}.dc-team-section-header{grid-template-columns:1fr 1fr;gap:3rem}.dc-team-card{grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:2.5rem}.dc-team-portrait{max-width:210px}.dc-team-section{padding:3rem 0}}
/* Individual doctor profiles: preserve existing layout and styles. */
.dc-team-profile-layout{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start;max-width:1050px;margin:1.5rem auto 0}
.dc-team-profile-layout .dc-team-portrait{aspect-ratio:4/5;border-radius:10px;max-width:440px;width:100%}
.dc-team-profile-copy{min-width:0}
.dc-team-profile-copy ul{padding-left:1.3rem;margin-bottom:2rem}
.dc-team-profile-book{display:inline-block;background:#195879;color:#fff!important;text-decoration:none;padding:.75rem 1.25rem;border-radius:5px}
@media(min-width:768px){.dc-team-profile-layout{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:3rem}.dc-team-profile-layout .dc-team-portrait{max-width:440px}}

/* Compact, scannable clinical lists in Option 2 directory cards. */
.dc-team-clinical-groups{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1rem}
.dc-team-clinical-groups h4{margin:0 0 .4rem!important}
.dc-team-clinical-groups ul{margin:0;padding-left:1.2rem}
.dc-team-clinical-groups li{margin-bottom:.25rem}
.dc-team-training{margin:.8rem 0 0!important;color:#596b75;font-style:italic}
@media(min-width:768px){.dc-team-doctor-grid .dc-team-clinical-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Original Soft Editorial palette — no blue or green.
   #262626, #666666, #B4B4B4, #F5F5F5, #FFFFFF. */
.dc-team{color:#262626;background:#fff}
.dc-team :is(h1,h2,h3,h4){color:#262626}
.dc-team a{color:#262626}
.dc-team .dc-team-eyebrow,.dc-team .dc-team-role{color:#666666}
.dc-team-intro{background:#f5f5f5;border-bottom:1px solid #b4b4b4}
.dc-team-jump a{color:#262626;border-color:#b4b4b4;background:#fff}
.dc-team-jump a:first-child,.dc-team-jump a:hover,.dc-team-jump a:focus-visible{background:#262626;color:#fff;border-color:#262626}
.dc-team-section-alt{background:#f5f5f5}
.dc-team-section-header{border-bottom-color:#b4b4b4}
.dc-team-card{background:transparent;border-bottom-color:#dedede}
.dc-team-portrait{background:#ebebeb}
.dc-team .dc-team-credentials{color:#666666}
.dc-team-tags span{background:#f5f5f5;color:#262626}
.dc-team-card-actions a{color:#262626}
.dc-team-card-actions a:last-child:is([href="/book-doctor"],[href="/nurse"]){display:inline-block;text-decoration:none;background:#262626;color:#fff;padding:.45rem .85rem;border-radius:5px}
.dc-team-card-actions a:last-child:is([href="/book-doctor"],[href="/nurse"]):hover,.dc-team-card-actions a:last-child:is([href="/book-doctor"],[href="/nurse"]):focus-visible{background:#666666;color:#fff}
.dc-team-note,.dc-team-training{color:#666666}
.dc-team-end{background:#262626;color:#fff}
.dc-team-end :is(h2,.dc-team-eyebrow){color:#fff}
.dc-team-end-links a{border-color:#b4b4b4;color:#262626;background:#fff}
.dc-team-end-links a:first-child{background:#fff;color:#262626;border-color:#fff}
.dc-team-end-links a:first-child:hover,.dc-team-end-links a:first-child:focus-visible{background:#f5f5f5;color:#262626}
.dc-team-profile-book{background:#262626;color:#fff!important}
.dc-team-profile-book:hover,.dc-team-profile-book:focus-visible{background:#666666}

/* Remove only the shared masthead's trailing white spacer on the Team page. */
.dc-team-masthead > .py-3.py-lg-5:last-child{display:none!important}

/* Vertically align the doctor profile link with the booking button. */
.dc-team-card-actions{align-items:center}

/* Stack section descriptions below headings on all screen sizes. */
.dc-team-section-header{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}
.dc-team-section-header>div{padding-right:0}
.dc-team-section-header>p{border-left:0;padding-left:0;text-align:left;max-width:none;width:100%;margin:0}

/* Tighten spacing between doctor names and their credentials. */
.dc-team-card-body>h3:has(+ .dc-team-credentials){margin-bottom:.2rem!important}
.dc-team-profile-copy>h1:has(+ .dc-team-credentials){margin-bottom:.2rem!important}


/* Keep the Procedures heading close to the clinical-interests caveat on doctor profiles. */


/* Preserve portrait sizing when an optimised <picture> source is available. */
.dc-team-portrait picture { display: contents; }
