.profile-page { background: #fff; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 18px; background: var(--primary); color: white; z-index: 10; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.profile-page a:focus-visible, .profile-page button:focus-visible, .profile-page input:focus-visible, .doctor-open:focus-visible { outline: 3px solid #3548cf; outline-offset: 4px; }
.profile-nav { display: flex; gap: 29px; font-size: 12px; font-weight: 500; }
.profile-nav a { padding: 25px 0; position: relative; }
.profile-nav .active::after { content: ''; position: absolute; bottom: 15px; left: 25%; right: 25%; height: 2px; background: var(--primary); }
.profile-main { padding-top: 27px; }
.profile-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.profile-page svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.back-to-directory, .share-button { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #596172; }
.share-button { border: 1px solid var(--border); border-radius: 30px; padding: 10px 16px; background: white; color: var(--ink); cursor: pointer; }
.back-to-directory:hover, .profile-source-link:hover { color: var(--primary-dark); }
.profile-hero { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 30px; align-items: start; }
.profile-portrait.doctor-avatar { width: 100%; aspect-ratio: 5 / 6; border-radius: 15px; background: linear-gradient(145deg,#eef1ff,#dbe3ff); border: 1px solid #e1e6fa; }
.profile-portrait .avatar-initials { font-size: 72px; color: #7786d2; }
.profile-portrait .avatar-caption { font-size: 12px; }
.profile-portrait .doctor-photo { object-fit: cover; object-position: center 15%; }
.portrait-column .photo-credit { font-size: 11px; margin: 10px 5px 0; line-height: 1.6; }
.portrait-column .profile-source-link { display: inline; font-size: inherit; }
.portrait-column .profile-source-link svg { width: 11px; height: 11px; vertical-align: middle; }
.profile-summary { padding: 28px 32px; border: 1px solid #d8dfef; border-radius: 15px; min-height: 324px; }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: #7b8292; margin: 0 0 7px; line-height: 1.6; }
.profile-kicker { color: var(--primary-dark); }
.profile-summary h1 { font-size: clamp(25px,3vw,37px); letter-spacing: -.8px; line-height: 1.2; font-weight: 500; margin: 9px 0 14px; overflow-wrap: anywhere; }
.specialty-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.specialty-tag { background: #f0f2ff; color: #5060ca; padding: 6px 12px; border-radius: 25px; font-size: 12px; }
.profile-area { display: flex; align-items: center; gap: 7px; margin: 16px 0; font-size: 13px; color: #687083; line-height: 1.6; }
.profile-area svg { color: #8892b3; width: 16px; height: 16px; }
.profile-alias { font-size: 12px; color: #737c8e; margin: 0 0 17px; }
.profile-facts { display: flex; gap: 46px; border-top: 1px solid #edf0f6; padding-top: 17px; margin: 20px 0; }
.detail-label { display: block; color: #7c8495; font-size: 11px; margin-bottom: 5px; }
.profile-facts strong { font-size: 13px; font-weight: 500; }
.hero-contact { padding: 12px 23px; font-size: 12px; }
.booking-caption { font-size: 11px; color: #7b8291; margin: 11px 0 0; }
.profile-content { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 30px; margin-top: 44px; align-items: start; }
.clinic-section { scroll-margin-top: 25px; min-width: 0; }
.profile-section-heading { margin-bottom: 23px; }
.profile-section-heading h2 { font-size: 24px; font-weight: 500; letter-spacing: -.5px; margin: 0 0 8px; }
.profile-section-heading > p:last-child { color: #778092; font-size: 13px; margin: 0; line-height: 1.6; }
.clinic-card { border: 1px solid #dce2f1; border-radius: 14px; padding: 24px; margin-bottom: 18px; }
.clinic-heading { display: flex; align-items: center; gap: 12px; }
.clinic-number { width: 37px; height: 37px; border-radius: 11px; background: #f0f2ff; color: var(--primary-dark); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.clinic-heading h3 { font-size: 17px; font-weight: 500; line-height: 1.4; margin: 0; }
.clinic-heading .eyebrow { font-size: 9px; margin-bottom: 3px; letter-spacing: 1px; }
.practice-specialty { color: #798194; font-size: 12px; margin: 12px 0 20px; }
.address-row { display: flex; align-items: flex-start; gap: 10px; color: #475165; line-height: 1.6; font-size: 13px; }
.address-row > svg { color: #939dc1; margin-top: 3px; }
.address-row bdi { overflow-wrap: anywhere; }
.published-phone { padding: 15px 0 0 29px; font-size: 13px; color: #475165; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.contact-button { font-size: 12px; padding: 11px 18px; }
.contact-button span { font-size: inherit; line-height: inherit; }
.hospital-reception { background: #f5f7ff; border: 1px solid #e1e6ff; border-radius: 11px; padding: 19px; margin-top: 20px; }
.hospital-reception h4 { font-weight: 500; font-size: 15px; line-height: 1.5; margin: 5px 0 7px; }
.reception-number { font-size: 14px; color: #4c5cb8; }
.hospital-reception > p:not(.eyebrow) { font-size: 12px; line-height: 1.8; color: #6e788d; margin: 12px 0; }
.hospital-reception .contact-button { margin-top: 4px; }
.reception-source { display: flex; flex-direction: column; gap: 7px; margin-top: 15px; }
.reception-source > span { font-size: 10px; line-height: 1.6; color: #8b92a1; }
.contact-button svg { width: 16px; height: 16px; }
.contact-button svg:last-child:not(:first-child) { width: 12px; height: 12px; }
.button-outline { border: 1px solid #dbe1f4; background: white; color: #5869df; }
.button-outline:hover { background: #f3f5ff; }
.contact-hint, .missing-contact, .practice-note, .registration-code { font-size: 11px; line-height: 1.7; color: #7b8394; margin: 12px 0 0; }
.practice-note { padding: 11px 13px; border-radius: 8px; background: #f6f7fc; color: #626c80; }
.clinic-source { border-top: 1px solid #edf0f7; margin-top: 19px; padding-top: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }
.profile-source-link { display: inline-flex; align-items: center; gap: 5px; color: #5a6bda; font-size: 11px; line-height: 1.6; }
.profile-source-link svg { width: 12px; height: 12px; }
.clinic-source > span { font-size: 10px; color: #8b92a1; margin-left: auto; }
.profile-sidebar { padding-top: 2px; }
.before-visit { background: #f4f6ff; border: 1px solid #e7eaff; border-radius: 14px; padding: 23px; }
.sidebar-icon { background: #e6eaff; width: 34px; height: 34px; border-radius: 10px; color: #6877dc; display: grid; place-items: center; margin-bottom: 15px; }
.profile-sidebar h2 { font-size: 16px; font-weight: 500; margin: 0 0 12px; }
.before-visit p { font-size: 12px; color: #747d91; line-height: 1.8; margin: 10px 0 0; }
.profile-sources { padding: 24px 4px; }
.profile-sources ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.profile-sources .profile-source-link { font-size: 12px; }
.source-date { font-size: 11px; line-height: 1.9; color: #8a91a0; border-top: 1px solid #edf0f6; padding-top: 14px; }
.source-date strong { font-weight: 500; color: #667084; }
.profile-directory-cta { margin: 45px 0; padding: 28px 32px; border-radius: 14px; background: #f5f7ff; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.profile-directory-cta h2 { font-weight: 500; font-size: 21px; margin: 0 0 8px; }
.profile-directory-cta p:last-child { font-size: 12px; color: #788195; margin: 0; line-height: 1.6; }
.profile-directory-cta .button { font-size: 12px; white-space: nowrap; }
.profile-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid #e4e8f1; }
.profile-footer .brand { font-size: 22px; }
.profile-footer p { font-size: 11px; color: #8890a1; }
.profile-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); border-radius: 12px; padding: 12px 20px; background: #263452; color: white; box-shadow: 0 6px 28px #26345225; font-size: 13px; max-width: 90%; z-index: 20; }
.profile-toast:empty { display: none; }
.share-fallback { border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 25px; }
.share-fallback[hidden] { display: none; }
#reviewed-details[hidden] { display: none; }
#reviewed-details { border-color: #8691ff; background: #f6f7ff; line-height: 1.75; }
#reviewed-details h3 { margin: 8px 0 20px; }
#reviewed-details .detail-label { display: block; }
.share-fallback label { display: block; margin-bottom: 10px; }
.share-fallback input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px; font: inherit; font-size: 13px; }
.share-fallback p { font-size: 12px; color: #788195; }
@media (max-width: 1100px) { .profile-hero { grid-template-columns: 240px minmax(0,1fr); gap: 22px; } .profile-content { grid-template-columns: minmax(0,1fr) 245px; gap: 22px; } .profile-summary { padding: 25px; } .profile-facts { gap: 25px; } }
@media (max-width: 800px) { .profile-nav { display: none; } .profile-hero { grid-template-columns: 200px minmax(0,1fr); gap: 18px; } .profile-summary { padding: 22px; } .profile-content { grid-template-columns: minmax(0,1fr); } .profile-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .profile-sources { padding: 15px 0; } .profile-facts { flex-wrap: wrap; gap: 14px 23px; } .profile-directory-cta { padding: 25px; } }
@media (max-width: 600px) { .profile-main { padding-top: 18px; } .profile-topline { margin-bottom: 22px; gap: 10px; } .back-to-directory, .share-button { font-size: 11px; } .share-button { padding: 9px 12px; } .profile-hero { grid-template-columns: 1fr; gap: 18px; } .portrait-column { max-width: 260px; margin: 0 auto; width: 100%; } .profile-portrait.doctor-avatar { aspect-ratio: 1 / 1; } .profile-portrait .doctor-photo { object-position: center 20%; } .portrait-column .photo-credit { text-align: center; } .profile-summary { padding: 23px; min-height: auto; } .profile-summary h1 { font-size: 29px; } .profile-content { margin-top: 32px; } .profile-section-heading h2 { font-size: 22px; } .clinic-card { padding: 20px; } .clinic-heading h3 { font-size: 16px; } .clinic-source { align-items: flex-start; flex-direction: column; gap: 9px; } .clinic-source > span { margin: 0; } .profile-sidebar { grid-template-columns: 1fr; gap: 0; } .profile-sources { padding: 25px 5px 0; } .profile-directory-cta { flex-direction: column; align-items: flex-start; margin: 30px 0; padding: 25px; } .profile-directory-cta h2 { font-size: 21px; } .profile-footer { flex-direction: column; align-items: flex-start; gap: 5px; } .profile-footer p { margin: 4px 0; line-height: 1.8; } }
