/* Doctor profile page醫師介紹頁 */
.doctor-profile-hero{position:relative;overflow:hidden;background:#E3E2F3;border-bottom:1px solid var(--c-line)}
.doctor-profile-hero:before{content:"";position:absolute;inset:0;background:none;pointer-events:none}
.doctor-hero-grid{position:relative;z-index:1;min-height:660px;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,760px);align-items:center;gap:48px}
.doctor-hero-copy{padding:70px 0}
.doctor-hero-copy h1{font-family:var(--font-serif);font-size:var(--type-h1);line-height:1.2;letter-spacing:.16em;color:#263b72;margin-bottom:22px}
.doctor-hero-copy .lead{max-width:650px;font-family:var(--font-serif);font-size:1.375rem;line-height:2;letter-spacing:.08em;color:#627092}
.doctor-name-card{display:inline-grid;gap:8px;margin:28px 0;padding:22px 30px;background:rgba(255,255,255,.86);border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.doctor-name-card span{font-weight:600;color:#7a86ad;letter-spacing:.16em}
.doctor-name-card strong{font-family:var(--font-serif);font-size:2rem;color:#24396f;letter-spacing:.12em}
.doctor-name-card p{margin:0;color:var(--c-muted);font-weight:600}
.doctor-quick-nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.doctor-quick-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--c-line);background:rgba(255,255,255,.72);color:#33477d;font-weight:600;letter-spacing:.08em}
.doctor-quick-nav a:hover{background:var(--g-main);color:#fff;border-color:transparent}
.doctor-hero-photo{align-self:stretch;display:flex;align-items:flex-end;justify-content:flex-end;background:#E3E2F3}
.doctor-hero-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 34px rgba(66,80,132,.13))}
.doctor-intro-section h2{font-family:var(--font-serif);font-size:var(--type-h2);line-height:1.45;letter-spacing:.12em;color:#24396f;margin-bottom:18px}
.doctor-intro-section p:not(.eyebrow){font-size:1.125rem;line-height:2;color:#68738f}
.doctor-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.doctor-stats div{padding:22px 14px;text-align:center;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.doctor-stats strong{display:block;font-family:var(--font-serif);font-size:1.875rem;color:#31457d;line-height:1.2;font-variant-numeric:tabular-nums}
.doctor-stats span{display:block;margin-top:8px;color:#7480a0;font-weight:600;letter-spacing:.06em}
.doctor-section-block{scroll-margin-top:120px}
.care-process-section{background:linear-gradient(180deg,rgba(245,247,255,.92),rgba(255,255,255,.7))}
.care-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.care-process-card{display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}
.care-process-card figure{margin:0;overflow:hidden;aspect-ratio:3/2;background:var(--c-primary-soft)}
.care-process-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.care-process-card>div{position:relative;padding:30px 32px 32px}
.care-process-card>div span{position:absolute;top:24px;right:28px;color:rgba(86,103,155,.22);font-family:var(--font-serif);font-size:2.5rem;font-weight:600;line-height:1}
.care-process-card h3{position:relative;margin-bottom:12px;padding-right:56px;color:#263b72;font-family:var(--font-serif);font-weight:600;letter-spacing:.1em}
.care-process-card p{position:relative;margin:0;color:#68738f;line-height:1.9}
@media (hover:hover){.care-process-card:hover{transform:translateY(-.25rem);box-shadow:var(--shadow)}.care-process-card:hover img{transform:scale(1.025)}}
.doctor-card-grid{display:grid;gap:22px}
.doctor-card-grid.three{grid-template-columns:repeat(3,1fr)}
.profile-card{height:100%;padding:34px;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.profile-card i{width:58px;height:58px;display:flex;align-items:center;justify-content:center;margin-bottom:22px;border-radius:50%;background:var(--g-main);color:#fff;font-size:1.5rem}
.profile-card h3,.timeline-card h3,.specialty-grid h3,.research-grid h3,.article-card h3{font-family:var(--font-serif);font-weight:600;letter-spacing:.1em;color:#263b72}
.profile-card p,.timeline-card li,.specialty-grid p,.research-grid p,.article-card p{color:#68738f;line-height:1.9}
.experience-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.timeline-card{background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm);padding:34px}
.timeline-card ul{display:grid;gap:12px;margin:20px 0 0;padding:0;list-style:none}
.timeline-card li{position:relative;padding-left:22px;font-weight:600}
.timeline-card li strong{color:#334b86;font-weight:800}
.timeline-card li:before{content:"";position:absolute;left:0;top:.75em;width:7px;height:7px;border-radius:50%;background:#7182c0}
.specialty-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.specialty-grid article{padding:28px;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.specialty-grid span{display:block;margin-bottom:14px;font-family:var(--font-serif);font-size:2.125rem;font-weight:600;color:rgba(86,103,155,.28)}
.certificate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.certificate-card{display:grid;grid-template-rows:auto 1fr;min-width:0;margin:0;overflow:hidden;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.certificate-card img{width:100%;aspect-ratio:4/3;object-fit:contain;padding:14px;background:#f8f9fd}
.certificate-card figcaption{display:flex;align-items:center;justify-content:center;min-height:76px;padding:16px 18px;border-top:1px solid var(--c-line);color:#2d4178;font-family:var(--font-serif);font-weight:600;letter-spacing:.05em;line-height:1.65;text-align:center}
.article-card{height:100%;overflow:hidden;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.article-card img{width:100%;height:210px;object-fit:cover}
.article-card div{padding:24px}
.article-card h3{font-size:1.1rem;margin-bottom:10px}
.article-card p{margin:0}
.research-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.research-grid article{padding:28px;background:#fff;border:1px solid var(--c-line);box-shadow:var(--shadow-sm)}
.research-grid h3{font-size:1.1rem;margin-bottom:14px}
@media (max-width:1199px){.doctor-hero-grid{grid-template-columns:1fr 1fr}
.research-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:991px){.doctor-hero-grid{grid-template-columns:1fr;gap:0}
.doctor-hero-copy{padding:120px 0 26px}
.doctor-hero-photo{min-height:420px}
.doctor-hero-photo img{height:420px;object-position:center top}
.doctor-card-grid.three,.experience-layout{grid-template-columns:1fr}
.certificate-grid{grid-template-columns:repeat(2,1fr)}
.care-process-grid{grid-template-columns:1fr}
.doctor-stats{grid-template-columns:1fr}
}
@media (max-width:575px){.doctor-hero-copy .lead{font-size:1.125rem}
.doctor-name-card strong{font-size:1.625rem}
.specialty-grid,.certificate-grid,.research-grid{grid-template-columns:1fr}
.care-process-card>div{padding:24px 22px 26px}
.care-process-card>div span{top:20px;right:20px;font-size:2rem}
.care-process-card h3{padding-right:48px}
}
/* About page refinements / 關於頁細節調整 */
.page-about .doctor-profile-hero,.page-about .doctor-section-block{scroll-margin-top:7.5rem}
.page-about .doctor-quick-nav a{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.page-about .doctor-quick-nav a:focus-visible,.page-about .article-card a:focus-visible{outline:.1875rem solid var(--c-primary);outline-offset:.25rem}
.page-about .profile-card,.page-about .timeline-card,.page-about .specialty-grid article,.page-about .certificate-card,.page-about .article-card,.page-about .research-grid article{transition:transform .2s ease,box-shadow .2s ease}
@media (hover:hover){.page-about .profile-card:hover,.page-about .specialty-grid article:hover,.page-about .certificate-card:hover,.page-about .article-card:hover,.page-about .research-grid article:hover{transform:translateY(-.25rem);box-shadow:var(--shadow)}
}
@media (max-width:62rem){.doctor-hero-grid{min-height:0;gap:2rem}
.doctor-hero-copy{padding-block:4rem 2rem}
.doctor-hero-photo{min-height:26rem}
}
@media (max-width:48rem){.doctor-profile-hero{overflow:clip}
.doctor-hero-copy .lead,.doctor-intro-section p:not(.eyebrow){font-size:1rem}
.doctor-card-grid.three,.experience-layout{gap:1.5rem}
}
@media (prefers-reduced-motion:reduce){.page-about .doctor-quick-nav a,.page-about .profile-card,.page-about .timeline-card,.page-about .specialty-grid article,.page-about .certificate-card,.page-about .article-card,.page-about .research-grid article{transition:none}
}
