/* Doctor profile Section 01. Shared Bootstrap, typography, eyebrow and buttons. */
.doctor-profile-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
}
.doctor-profile-hero::before, .doctor-profile-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: color-mix(in srgb,var(--fc-icon-bg) 65%,#fff);
    border-radius: 50%;
}
.doctor-profile-hero::before {
    width: 65%;
    height: 80%;
    left: -30%;
    bottom: -10%;
    transform: rotate(25deg);
}
.doctor-profile-hero::after {
    width: 95%;
    height: 200px;
    right: -25%;
    bottom: -155px;
    transform: rotate(-12deg);
}
.doctor-profile-row { min-height: 740px; }
.doctor-profile-portrait-column { padding-top: 40px; }
.doctor-profile-portrait {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    margin-inline: auto;
    border-radius: 48% 48% 0 0;
}
.doctor-profile-content { padding-block: 64px 88px; }
.doctor-profile-identity h1 {
    margin: 0 0 14px;
    color: var(--fc-primary-dark);
    font-size: clamp(2rem,4.1vw,4.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.045em;
}
.doctor-profile-director {
    margin: 0 0 36px;
    color: var(--fc-text-muted);
    font-size: clamp(1rem,1.45vw,1.5rem);
    line-height: 1.5;
}
.doctor-profile-designations {
    gap: 24px;
    padding: 20px 24px;
    border-radius: 28px;
    background: color-mix(in srgb,var(--fc-icon-bg) 55%,#fff);
    color: var(--fc-primary-dark);
    line-height: 1.5;
}
.doctor-profile-designations > div:first-child { flex: 1.65; }
.doctor-profile-designations > div + div {
    flex: 1;
    padding-left: 24px;
    border-left: 1px solid color-mix(in srgb,var(--fc-primary) 15%,#fff);
}
.doctor-profile-designations i { flex-shrink: 0; font-size: 28px; color: var(--fc-primary); }
.doctor-profile-associations { margin: 32px 0 44px; gap: 24px; }
.doctor-profile-associations li { flex: 1; min-width: 0; }
.doctor-profile-associations li + li {
    padding-left: 24px;
    border-left: 1px solid color-mix(in srgb,var(--fc-primary) 12%,#fff);
}
.doctor-profile-associations i { color: var(--fc-accent); font-size: 26px; margin-top: 5px; }
.doctor-profile-associations p { color: var(--fc-text-muted); font-size: 1rem; line-height: 1.5; }
.doctor-profile-associations strong { color: var(--fc-primary); font-size: 1.125rem; font-weight: 600; }
.doctor-profile-actions .btn { border-radius: 50px; }
.doctor-profile-book { background: var(--fc-accent); border-color: var(--fc-accent); }
.doctor-profile-book:hover, .doctor-profile-book:focus-visible {
    color: #fff;
    background: color-mix(in srgb,var(--fc-accent) 85%,#000);
    border-color: var(--fc-accent);
}
.doctor-profile-actions .btn:focus-visible {
    outline: 3px solid var(--fc-primary);
    outline-offset: 4px;
    box-shadow: none;
}
.doctor-profile-actions .btn:disabled { opacity: .65; border-color: var(--fc-text-muted); }
.doctor-profile-pending { padding: 10px 0 0; color: var(--fc-text-muted); font-size: .875rem; }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .doctor-profile-row { min-height: 0; }
    .doctor-profile-content { padding-block: 48px; }
    .doctor-profile-designations { flex-direction: column; gap: 16px; padding: 20px; }
    .doctor-profile-designations > div + div { border-left: 0; padding: 16px 0 0; border-top: 1px solid color-mix(in srgb,var(--fc-primary) 12%,#fff); }
    .doctor-profile-associations { flex-direction: column; gap: 20px; margin-bottom: 28px; }
    .doctor-profile-associations li + li { padding: 0; border: 0; }
    .doctor-profile-portrait-column { align-self: center !important; }
}
@media (max-width: 767.98px) {
    .doctor-profile-hero { padding-block: 36px; }
    .doctor-profile-row { min-height: 0; }
    .doctor-profile-content { display: contents; }
    .doctor-profile-identity, .doctor-profile-details { margin-top: 24px; }
    .doctor-profile-identity { order: -1; padding-inline: 12px; }
    .doctor-profile-identity h1 { font-size: clamp(1.8rem,7vw,3rem); }
    .doctor-profile-director { margin-bottom: 0; }
    .doctor-profile-portrait-column { padding-top: 0; }
    .doctor-profile-portrait { max-width: 360px; border-radius: 42% 42% 0 0; }
    .doctor-profile-details { padding-inline: 12px; }
    .doctor-profile-designations { flex-direction: column; padding: 20px; gap: 20px; border-radius: 20px; }
    .doctor-profile-designations > div + div { border: 0; padding: 0; }
    .doctor-profile-associations { flex-direction: column; margin: 28px 0; }
    .doctor-profile-associations li + li { border: 0; padding: 0; }
    .doctor-profile-actions .btn { width: 100%; }
    .doctor-profile-hero::before { width: 100%; height: 35%; bottom: 40%; }
    .doctor-profile-hero::after { height: 120px; bottom: -100px; }
}
