:root{--navy:#071d34;--blue:#0e3151;--gold:#d4ad68;--paper:#f6f5f2;--muted:#718093}*{box-sizing:border-box}body{font-family:'Cairo',Arial,sans-serif;margin:0;color:var(--navy);background:var(--paper)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1160px,calc(100% - 32px));margin:auto}.topbar{background:#071d34;color:white;padding:13px 0}.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:12px}.logo{display:flex;align-items:center;gap:12px;font-weight:900}.logo img{width:44px;height:44px;object-fit:contain}.logo small{display:block;font-size:10px;letter-spacing:1.3px;color:var(--gold)}.actionlink{border:1px solid #d4ad6899;padding:9px 15px;border-radius:10px;color:#f2dba7;font-size:12px;font-weight:800}.hero{background:radial-gradient(ellipse at 20% 30%,#215276 0%,#09263e 55%,#06192b 100%);color:white;padding:55px 0 67px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--gold)}h1{font-size:clamp(30px,4vw,45px);margin:8px 0}.hero p{color:#c9d5e0;max-width:630px;line-height:2}.searchpanel{background:#fff;box-shadow:0 15px 45px #071d3412;border-radius:18px;padding:16px;display:flex;gap:12px;flex-wrap:wrap;margin-top:-30px;position:relative;border:1px solid #e9e3d6}.field{width:100%;padding:12px;border-radius:10px;border:1px solid #dedfe2;background:#fff;color:#071d34}.searchpanel input{flex:2;min-width:220px}.searchpanel select{flex:1;min-width:170px}.listhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-bottom:65px}.doctor-card{border:1px solid #e7e4dd;background:white;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px #071d340d;transition:.2s}.doctor-card:hover{transform:translateY(-4px);box-shadow:0 20px 38px #071d3418}.portrait{height:205px;background:linear-gradient(135deg,#e5e9eb,#c6d6de);display:grid;place-items:center;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:cover}.portrait svg{width:98px;height:98px;opacity:.36}.cardbody{padding:20px}.tag{display:inline-flex;align-items:center;background:#f6efdf;color:#8c6730;font-size:11px;font-weight:800;border-radius:999px;padding:4px 10px}.cardbody h3{font-size:18px;margin:9px 0 3px}.cardbody p{font-size:12px;color:#6f7f8b;min-height:44px;line-height:1.8;margin:0 0 15px}.btn{border:0;background:#092a46;color:white;border-radius:11px;padding:11px 17px;font-weight:800;font-size:12px;display:inline-block}.btn.ghost{background:#f0eadf;color:#725221}.doctor-card .btn{width:100%;text-align:center}.notice{background:#fff;border:1px solid #e8e2d5;border-radius:14px;padding:16px;color:#64727e;margin:16px 0}.detail{background:white;border:1px solid #e7e2d9;border-radius:24px;padding:28px;margin:35px 0 70px;box-shadow:0 16px 40px #071d340e}.detailhead{display:flex;gap:24px;align-items:center}.avatar{width:180px;height:210px;border-radius:18px;background:#e5ebef;overflow:hidden;display:grid;place-items:center;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover}.avatar svg{height:90px;opacity:.3}.detail h2{font-size:31px;margin:7px 0}.detail h3{margin-top:25px}.detail p,.detail li{line-height:2}.detail ul{padding-right:22px}.services{display:grid;grid-template-columns:1fr 1fr;gap:10px}.service-pill{background:#f7f8f7;border:1px solid #e6e9e7;padding:12px;border-radius:11px;font-size:13px}.schedule{display:flex;flex-wrap:wrap;gap:8px}.schedule span{background:#f4ecdd;border-radius:9px;padding:8px 11px;font-size:12px}.muted{color:#718092}.empty{grid-column:1/-1;padding:30px;background:#fff;border-radius:14px;text-align:center;color:#74818b}footer{background:#071d34;color:#c4d1dd;padding:25px 0;font-size:12px}.small{font-size:12px}.video-link{margin-top:18px}@media(max-width:850px){.cards{grid-template-columns:repeat(2,1fr)}.detailhead{align-items:flex-start}}@media(max-width:560px){.cards{grid-template-columns:1fr}.detailhead{display:block}.detailhead .avatar{width:100%;max-width:210px;margin-bottom:18px}.services{grid-template-columns:1fr}.detail{padding:18px}.topbar .actionlink{font-size:10px}}

/* Dedicated doctor profile page: profile opens immediately, without the full doctor grid */
.profile-banner{background:radial-gradient(ellipse at 25% 20%,#235477,#0b2a45 60%,#06192b);padding:35px 0 80px;color:white}
.profile-banner h1{font-size:clamp(24px,3.7vw,38px);margin:6px 0}
.profile-banner p{color:#cbd7e2;font-size:13px;margin:0}
.profile-main{margin-top:-38px;position:relative;padding-bottom:48px}
.profile-breadcrumb{background:white;border:1px solid #eee8df;border-radius:13px;padding:10px 18px;font-size:12px;color:#637689;margin-bottom:17px;box-shadow:0 8px 20px #061e3012}
.profile-breadcrumb a{color:#194665;font-weight:700}.profile-breadcrumb span{margin:0 3px}
.single-profile{background:white;border:1px solid #e7e2d9;border-radius:24px;overflow:hidden;box-shadow:0 20px 54px #071d3416}
.single-profile-hero{display:flex;align-items:center;gap:32px;padding:30px;background:linear-gradient(125deg,#fff,#f5f8f9)}
.single-profile-photo{width:245px;aspect-ratio:4/4.6;flex-shrink:0;border-radius:20px;background:#e5ebef;overflow:hidden;display:grid;place-items:center}
.single-profile-photo img{width:100%;height:100%;object-fit:cover}
.profile-no-photo{display:grid;place-items:center;gap:4px;color:#607a8e}.profile-no-photo svg{height:125px;opacity:.35}.profile-no-photo span{font-size:12px}
.single-profile-intro h1,.single-profile-intro h2{font-size:clamp(24px,4vw,38px);margin:7px 0 4px;line-height:1.5}
.profile-title{font-size:17px;font-weight:700;color:#355b73}.profile-bio{line-height:2;color:#536d7e;margin:13px 0}
.profile-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.single-profile-content{padding:10px 30px 28px}.profile-section{border-top:1px solid #e7ecee;padding:18px 0 12px}.profile-section h3{font-size:20px;margin:3px 0 16px;color:#0c344f}.profile-points{padding-right:24px;line-height:2.2;margin:0}.profile-schedule{display:flex;gap:10px;flex-wrap:wrap}.profile-time{display:flex;flex-direction:column;gap:4px;background:#f8f1e5;border:1px solid #e8dac1;border-radius:11px;padding:11px 17px;min-width:130px;font-size:13px}.profile-time span{color:#665a47}.profile-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.profile-error{padding:45px;background:white;border:1px solid #e7e2d9;border-radius:22px;text-align:center}.profile-error p{color:#637689}
@media(max-width:650px){.single-profile-hero{display:block;padding:19px}.single-profile-photo{width:100%;max-width:260px;margin:0 auto 18px;aspect-ratio:4/4.4}.single-profile-content{padding:6px 19px 20px}.profile-hero-actions .btn{width:100%;text-align:center}.profile-banner{padding:30px 0 65px}.profile-section h3{font-size:17px}}

/* V3.3: larger photo and responsive doctor introduction player */
@media(min-width:651px){.single-profile-photo{width:clamp(295px,30vw,355px);aspect-ratio:4/4.7}.single-profile-hero{gap:38px;padding:32px 36px}.single-profile-intro{min-width:0;flex:1}}
@media(max-width:650px){.single-profile-photo{max-width:320px;aspect-ratio:4/4.7}.single-profile-hero{padding:20px}.single-profile-intro h1,.single-profile-intro h2{font-size:clamp(23px,6vw,32px)}}
@media(max-width:390px){.single-profile-photo{max-width:100%}}
.profile-video-section{padding-top:22px;padding-bottom:22px}
.profile-video-frame{max-width:790px;margin-inline:auto;background:#081d31;border-radius:18px;overflow:hidden;aspect-ratio:16/9;box-shadow:0 12px 35px #071d3420}
.profile-video-frame.portrait{max-width:340px;aspect-ratio:9/16}
.profile-video-frame iframe,.profile-video-frame video{display:block;border:0;width:100%;height:100%}
.profile-video-external{display:flex;align-items:center;gap:15px;justify-content:space-between;flex-wrap:wrap;background:#f4f7f9;border:1px solid #e2e8ec;border-radius:15px;padding:20px}
.profile-video-help{color:#657989;font-size:12px;line-height:1.8;margin:10px 0 0}
@media(max-width:650px){.profile-video-frame{border-radius:12px}.profile-video-external .btn{width:100%;text-align:center}}
