
/* IDDA refinements V6 — visual hierarchy, logos, medical profiles and compact trust blocks */
:root{--idda-logo-max:124px}
.nav-logo img{height:auto!important;width:var(--idda-logo-max)!important;max-width:var(--idda-logo-max)!important;object-fit:contain!important;display:block}
.idda-header img,.site-header .brand img{width:124px!important;height:auto!important;object-fit:contain!important}
.idda-footer-logo{width:126px!important;height:auto!important;max-width:126px!important;object-fit:contain!important;display:block;margin:0 0 14px}
.page-footer img,.page-footer a>img{width:96px!important;height:auto!important;max-width:96px!important;object-fit:contain!important;display:block}
.idda-footer img{width:126px!important;height:auto!important;max-width:126px!important;object-fit:contain!important;filter:none!important;background:#fff;padding:8px 10px;border-radius:12px;display:block}
footer .wrap>img,footer .wrap>a>img{width:118px!important;height:auto!important;max-width:118px!important;object-fit:contain!important;filter:none!important;background:#fff;padding:7px 9px;border-radius:10px}

/* Team cards: use the strongest available portrait without cutting heads */
.tc-photo{width:calc(100% - 32px)!important;aspect-ratio:6/7!important;height:auto!important;object-fit:contain!important;object-position:center bottom!important;background:#fff!important;margin:16px auto 0!important;border-radius:13px!important;padding:0!important}
.team-card-new:nth-child(1) .tc-photo,.team-card-new:nth-child(2) .tc-photo,.team-card-new:nth-child(3) .tc-photo{object-position:center bottom!important}
.tc-body{padding-bottom:22px!important}
.tc-profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.tc-profile-link,.tc-quick-wa{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:600;transition:transform .2s,box-shadow .2s}
.tc-profile-link{background:#221e1f;color:#fff}.tc-quick-wa{border:1px solid #d8eaf3;color:#247eaa;background:#fff}
.tc-profile-link:hover,.tc-quick-wa:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(36,126,170,.12)}

/* Individual doctor pages */
.profile-photo{width:100%!important;max-height:570px!important;object-fit:contain!important;object-position:center bottom!important;background:#fff!important;border:1px solid #e2eef4!important;padding:0!important}
.doctor-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}.doctor-mini-card{border:1px solid #e2eef4;border-radius:18px;padding:16px;background:#fff;text-decoration:none;color:#221e1f}.doctor-mini-card img{width:100%;aspect-ratio:6/7;object-fit:contain;background:#fff;border-radius:12px}.doctor-mini-card strong{display:block;font-family:'Cormorant Garamond',serif;font-size:22px;margin-top:12px}.doctor-mini-card span{display:block;color:#718096;font-size:12px;line-height:1.5}

/* Compact, verifiable medical information */
.medical-integrity{padding:34px 5vw!important}
.medical-integrity-inner{max-width:1120px!important;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr)!important;gap:16px!important}
.integrity-card,.source-card{padding:18px 20px!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(36,126,170,.055)!important}
.integrity-person{grid-template-columns:58px 1fr!important;gap:13px!important}
.integrity-person img{width:58px!important;height:58px!important;border-radius:13px!important;object-fit:cover!important}
.integrity-kicker{font-size:10px!important;margin-bottom:5px!important}
.integrity-card h2,.source-card h2{font-size:24px!important;line-height:1.08!important;margin-bottom:8px!important}
.integrity-card>p,.source-card>p{font-size:13px!important;line-height:1.55!important;margin:8px 0!important}
.integrity-actions{margin-top:12px!important;gap:7px!important}.integrity-actions a{min-height:36px!important;padding:8px 12px!important;font-size:11px!important}
.integrity-meta{margin-top:12px!important;padding-top:10px!important;gap:9px!important;font-size:10px!important}
.source-list{margin-top:10px!important;gap:6px!important}.source-list a{padding:9px 10px!important;font-size:11.5px!important}.source-note{font-size:10.5px!important;margin-top:8px!important}

@media(max-width:900px){.medical-integrity-inner{grid-template-columns:1fr!important}.doctor-directory{grid-template-columns:1fr 1fr}}
@media(max-width:620px){:root{--idda-logo-max:108px}.nav-logo img,.idda-header img,.site-header .brand img{width:108px!important;max-width:108px!important}.tc-photo{width:calc(100% - 24px)!important}.medical-integrity{padding:24px 16px!important}.integrity-card,.source-card{padding:16px!important}.integrity-card h2,.source-card h2{font-size:21px!important}.doctor-directory{grid-template-columns:1fr}.idda-footer-logo{width:112px!important}.page-footer{justify-content:center!important;text-align:center!important}.page-footer img{margin:auto}}


/* Homepage footer: three balanced columns and a separate bottom bar */
.idda-home-footer{display:block!important;padding:46px 5vw 20px!important;background:#f4fbff!important;border-top:1px solid #e2eef4!important}
.idda-home-footer .idda-footer-grid{width:min(1120px,100%);margin:0 auto;display:grid!important;grid-template-columns:1.05fr 1fr .72fr;gap:44px;align-items:start}
.idda-home-footer .idda-footer-grid>div{min-width:0}
.idda-home-footer .idda-footer-bottom{width:min(1120px,100%);margin:30px auto 0;padding-top:18px;border-top:1px solid #dcebf2;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.idda-home-footer .idda-footer-bottom p{margin:0}
@media(max-width:900px){.idda-home-footer .idda-footer-grid{grid-template-columns:1fr 1fr;gap:32px}.idda-home-footer .idda-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:620px){.idda-home-footer{padding:38px 20px 18px!important}.idda-home-footer .idda-footer-grid{grid-template-columns:1fr;gap:28px}.idda-home-footer .idda-footer-grid>div:first-child{grid-column:auto}.idda-home-footer .idda-footer-bottom{display:block;text-align:center}.idda-home-footer .idda-footer-bottom>div{justify-content:center;margin-top:10px}}


/* Homepage patient resources — V7 */
.home-patient-resources{padding:64px 5vw;background:linear-gradient(180deg,#fff 0%,#f7fbfd 100%);border-top:1px solid #edf4f7}
.home-resources-inner{width:min(1120px,100%);margin:0 auto}
.home-resources-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.home-resources-heading>div{max-width:750px}
.home-resources-heading .section-eyebrow{margin:0 0 8px;color:#247eaa;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.home-resources-heading h2{margin:0;color:#221e1f;font-family:'Cormorant Garamond',serif;font-size:clamp(34px,4vw,48px);font-weight:600;line-height:1.03}
.home-resources-heading p:not(.section-eyebrow){margin:12px 0 0;color:#667985;font-size:14px;line-height:1.75;max-width:720px}
.home-resources-all{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #b9dcec;border-radius:999px;background:#fff;color:#247eaa;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:transform .2s,box-shadow .2s,border-color .2s}
.home-resources-all:hover{transform:translateY(-1px);border-color:#75c5e8;box-shadow:0 10px 24px rgba(36,126,170,.11)}
.home-resources-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-resource-card{display:grid;grid-template-columns:54px minmax(0,1fr) 22px;align-items:center;gap:14px;min-height:104px;padding:17px 16px;border:1px solid #deedf4;border-radius:17px;background:#fff;color:#221e1f;text-decoration:none;box-shadow:0 8px 24px rgba(36,126,170,.045);transition:transform .2s,box-shadow .2s,border-color .2s}
.home-resource-card:hover{transform:translateY(-2px);border-color:#9bd4eb;box-shadow:0 14px 30px rgba(36,126,170,.1)}
.home-resource-mark{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;background:#eaf6fd;color:#247eaa;font-size:12px;font-weight:800;letter-spacing:.04em;text-align:center}
.home-resource-copy{min-width:0}.home-resource-copy strong{display:block;font-family:'Cormorant Garamond',serif;font-size:18px;line-height:1.12;font-weight:600}.home-resource-copy small{display:block;margin-top:6px;color:#718096;font-size:11px;line-height:1.45}
.home-resource-arrow{color:#4aafe0;font-size:17px;line-height:1}
@media(max-width:900px){.home-resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-resources-heading{align-items:flex-start}}
@media(max-width:620px){.home-patient-resources{padding:46px 18px}.home-resources-heading{display:block;margin-bottom:22px}.home-resources-heading h2{font-size:34px}.home-resources-all{margin-top:18px}.home-resources-grid{grid-template-columns:1fr}.home-resource-card{min-height:96px;padding:15px}.home-resource-copy strong{font-size:17px}}
