
.directory-hero{padding:76px 0 82px;text-align:center;color:#fff;background:linear-gradient(120deg,#173b64,#0e8e83)}
.directory-hero .container{max-width:850px}.directory-pill{display:inline-block;padding:7px 14px;border-radius:99px;background:#ffffff24;color:#fff;font-size:11px;font-weight:800;letter-spacing:.12em}
.directory-hero h1{margin:18px 0 12px;font-size:clamp(32px,5vw,52px);color:#fff}.directory-hero p{max-width:700px;margin:auto;color:#e8f4f4;font-size:16px}
.directory-main{padding:38px 0 80px;background:#f5f8fb;min-height:430px}.directory-tools{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;padding:14px;border:1px solid #e4eaf0;border-radius:18px;background:#fff;box-shadow:0 8px 24px #142d500d}
.directory-tools input,.directory-tools select{width:100%;min-width:0;height:46px;padding:0 14px;border:1px solid #e2e8ef;border-radius:99px;background:#fff;color:#26384b;font:inherit;font-size:13px}
.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}
.directory-empty{grid-column:1/-1;padding:56px 22px;text-align:center;border:1px dashed #cbd8e3;border-radius:20px;background:#fff}
.empty-symbol{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 15px;border-radius:18px;background:#eaf2f7;color:#c76527;font-size:28px}
.directory-empty h2{margin:0 0 8px;color:#173453;font-size:22px}.directory-empty p{max-width:540px;margin:0 auto 18px;color:#718096;font-size:14px}
.directory-empty a,.directory-card-copy a{color:#c76527;font-weight:800;text-decoration:none;font-size:13px}
.directory-card{overflow:hidden;border:1px solid #e2e9ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px #142d500c}
.directory-card-image{height:220px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf2f7,#fff);color:#8294a5;font-size:13px}.directory-card-image img{width:100%;height:100%;object-fit:cover}
.directory-card-copy{padding:18px}.directory-card-copy h2{margin:0 0 5px;color:#173453;font-size:19px}.directory-card-copy p{color:#718096;font-size:13px;line-height:1.6}.directory-card-copy .directory-meta{color:#c76527;font-weight:700}
.directory-note{text-align:center;margin:24px auto 0;color:#8290a0;font-size:12px}
.directory-footer{padding:22px 0;background:#102641;color:#dce7f1;font-size:12px}.directory-footer .container{display:flex;justify-content:space-between;gap:12px}.directory-footer a{color:inherit;text-decoration:none}
.directory-preview{padding:68px 0}.doctors-preview{background:#fff}.hospitals-preview{background:#f4f7fb}
.directory-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.directory-heading h2{margin:8px 0;color:#173453;font-size:clamp(25px,3vw,34px)}.directory-heading p{margin:0;color:#718096;font-size:14px}
.preview-placeholder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-placeholder{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center;padding:20px;border:1px solid #e2e9ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px #142d500c}
.profile-placeholder-art{min-height:150px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#e6f1f6,#f7fbfd);font-size:42px;color:#c76527}
.doctor-art:before{content:"";width:58px;height:58px;border-radius:50%;background:#d7e8ef;position:absolute}.profile-placeholder-art{position:relative}
.profile-tag{color:#b66a36;font-size:10px;font-weight:800;letter-spacing:.14em}.profile-placeholder h3,.hospital-preview-panel h3{margin:7px 0;color:#173453;font-size:19px}.profile-placeholder p,.hospital-preview-panel p{margin:0;color:#718096;font-size:13px;line-height:1.65}
.hospital-preview-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:center;padding:28px;border:1px solid #e2e9ef;border-radius:20px;background:#fff;box-shadow:0 8px 24px #142d500c}
.hospital-preview-art{min-height:190px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#eaf2f7,#f7fafc)}.hospital-preview-art svg{width:220px;max-width:100%}
.hospital-preview-panel .btn{display:inline-flex;margin-top:18px}
@media(max-width:760px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.directory-card-image{height:160px}.directory-card-copy{padding:13px}.directory-card-copy h2{font-size:16px}.directory-tools{grid-template-columns:1fr}.preview-placeholder-grid{grid-template-columns:1fr}.profile-placeholder{grid-template-columns:110px 1fr;padding:14px;gap:14px}.profile-placeholder-art{min-height:130px}.hospital-preview-panel{grid-template-columns:1fr;padding:18px}.directory-heading{align-items:start;flex-direction:column}.directory-footer .container{flex-direction:column}.directory-hero{padding:56px 0}.directory-main{padding:24px 0 54px}}


/* Homepage doctor profile carousel */
.doctor-carousel{position:relative;margin-top:24px;padding:0 42px}
.doctor-carousel-viewport{overflow:hidden;padding:4px 2px 16px}
.doctor-carousel-track{display:flex;gap:18px;transition:transform .55s cubic-bezier(.22,.7,.2,1);will-change:transform}
.home-doctor-card{flex:0 0 calc((100% - 36px)/3);min-width:0;overflow:hidden;border:1px solid #e4eaf0;border-radius:20px;background:#fff;box-shadow:0 10px 28px #142d5010}
.home-doctor-photo{display:block;height:190px;background:linear-gradient(145deg,#eaf2f7,#f8fafc);overflow:hidden}
.home-doctor-photo img{width:100%;height:100%;object-fit:cover;display:block}
.home-doctor-photo span{height:100%;display:grid;place-items:center;color:#7a8b9b;font-size:13px}
.home-doctor-details{padding:17px}
.home-doctor-kicker{margin:0 0 7px;color:#a56b43;font-size:10px;font-weight:800;letter-spacing:.13em}
.home-doctor-details h3{margin:0 0 12px;color:#173453;font:800 20px/1.25 Manrope, sans-serif;overflow-wrap:anywhere}
.home-doctor-facts{display:grid;gap:8px;color:#435367;font-size:13px;line-height:1.4}
.doctor-fact{display:flex;align-items:flex-start;gap:9px;min-width:0;overflow-wrap:anywhere}
.fact-icon{flex:0 0 18px;color:#0e7777;text-align:center}
.doctor-qualification{padding-left:27px;color:#6c7887}
.doctor-fee{display:inline-flex;align-items:baseline;gap:5px;width:max-content;max-width:100%;margin-top:3px;padding:7px 10px;border-radius:10px;background:#eaf2f7;color:#173453;font-weight:800}
.doctor-fee small{font-size:10px;font-weight:600;color:#6c7887}
.home-doctor-description{margin:10px 0 0;color:#718096;font-size:12px;line-height:1.5}
.home-doctor-link{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:11px 14px;border:1px solid #c76527;border-radius:12px;color:#b75b22;font-size:13px;font-weight:800;text-decoration:none}
.home-doctor-link:hover{background:#fff5ed}
.doctor-carousel-arrow{position:absolute;z-index:2;top:42%;width:34px;height:34px;border:1px solid #dfe7ed;border-radius:50%;background:#fff;color:#173453;font-size:25px;line-height:1;box-shadow:0 4px 12px #142d5012;cursor:pointer}
.doctor-carousel-prev{left:0}.doctor-carousel-next{right:0}
.doctor-carousel-arrow:disabled{opacity:.35;cursor:default}
.doctor-carousel-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:2px}
.doctor-carousel-dots{display:flex;gap:7px;align-items:center}
.doctor-dot{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:#cbd6df;cursor:pointer}
.doctor-dot.active{width:22px;background:#c76527}
.doctor-carousel-note{color:#8290a0;font-size:11px}
.doctor-carousel-empty{width:100%;padding:34px 20px;text-align:center;border:1px dashed #cbd8e3;border-radius:18px;background:#fff}
.doctor-empty-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 10px;border-radius:14px;background:#eaf2f7;color:#0e7777;font-size:22px}
.doctor-carousel-empty h3{margin:0 0 6px;color:#173453}.doctor-carousel-empty p{margin:0 0 12px;color:#718096;font-size:13px}.doctor-carousel-empty a{color:#c76527;font-weight:800;text-decoration:none}
@media(max-width:899px){.home-doctor-card{flex-basis:calc((100% - 18px)/2)}.home-doctor-photo{height:165px}}
@media(max-width:599px){
 .doctor-carousel{padding:0 27px;margin-top:18px}
 .doctor-carousel-track{gap:12px}
 .home-doctor-card{flex-basis:100%;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch}
 .home-doctor-photo{height:100%;min-height:190px}
 .home-doctor-details{padding:13px 12px}
 .home-doctor-details h3{font-size:17px;margin-bottom:9px}
 .home-doctor-facts{font-size:12px;gap:6px}
 .home-doctor-link{margin-top:12px;padding:9px 8px;font-size:12px}
 .doctor-carousel-arrow{width:28px;height:28px;font-size:21px}
}


/* Refined doctor directory cards */
.directory-card{display:flex;flex-direction:column;min-width:0}
.directory-card-image{height:210px;overflow:hidden}
.directory-card-image img{object-position:center 25%}
.directory-card-copy{display:flex;flex:1;flex-direction:column;padding:19px}
.directory-card-copy h2{font:800 20px/1.25 Manrope,sans-serif;overflow-wrap:anywhere}
.directory-facts{display:grid;gap:9px;margin:8px 0 12px;color:#435367;font-size:13px;line-height:1.45}
.directory-fact{display:flex;align-items:flex-start;gap:10px;overflow-wrap:anywhere}
.directory-fact b{flex:0 0 18px;color:#0e7777;text-align:center}
.directory-qualification{padding-left:28px;color:#718096;font-size:12px}
.directory-fee{display:inline-flex;align-items:baseline;gap:5px;width:max-content;max-width:100%;padding:7px 10px;border-radius:10px;background:#eaf2f7;color:#173453;font-weight:800}
.directory-fee small{font-size:10px;color:#6c7887;font-weight:600}
.directory-description{margin:0 0 12px;color:#718096;font-size:13px;line-height:1.55}
.directory-profile-link{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:auto;padding:11px 14px;border:1px solid #c76527;border-radius:12px;color:#b75b22!important;font-size:13px;text-decoration:none}
@media(min-width:761px){.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .directory-grid{grid-template-columns:1fr;gap:14px}
 .directory-card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:stretch}
 .directory-card-image{height:100%;min-height:200px}
 .directory-card-copy{padding:14px 13px}
 .directory-card-copy h2{font-size:17px}
 .directory-facts{font-size:12px;gap:7px}
 .directory-profile-link{padding:9px 8px;font-size:12px}
}

/* Homepage partner hospital carousel */
.hospital-carousel{margin-top:24px}
.home-hospital-photo{height:190px}
.home-hospital-photo img{object-position:center center}
@media(max-width:899px){.home-hospital-photo{height:165px}}
@media(max-width:599px){.home-hospital-photo{height:100%;min-height:190px}}
