/* ========================================================
   SANTHATHI IVF - PREMIUM DOCTOR PROFILE
   Complete Replacement Stylesheet
======================================================== */

/* ========================================================
   01. ASTRA FULL WIDTH FIX
======================================================== */

body.page-template-template-doctor-profile #content,
body.page-template-template-doctor-profile .site-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-doctor-profile #content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-doctor-profile #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}


/* ========================================================
   02. GLOBAL STYLES
======================================================== */

.stdp-page {
    --stdp-primary: #80059e;
    --stdp-primary-dark: #56036c;
    --stdp-pink: #ec4195;
    --stdp-heading: #350c43;
    --stdp-text: #514657;
    --stdp-lavender: #f1e3f7;
    --stdp-soft-pink: #f8d8e8;
    --stdp-white: #ffffff;
    --stdp-border: #dec4e8;

    --stdp-gradient: linear-gradient(
        135deg,
        #650580,
        #80059e 50%,
        #b32488
    );

    --stdp-shadow: 0 12px 35px rgba(128, 5, 158, 0.12);
    --stdp-transition: 0.35s ease;
    --stdp-heading-font: Georgia, "Times New Roman", serif;

    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: #ffffff;
    color: var(--stdp-text);
    font-size: 16px;
    line-height: 1.8;
}

.stdp-page *,
.stdp-page *::before,
.stdp-page *::after {
    box-sizing: border-box;
}

.stdp-page h1,
.stdp-page h2,
.stdp-page h3,
.stdp-page h4 {
    font-family: var(--stdp-heading-font);
    font-weight: 400;
    color: var(--stdp-heading);
    line-height: 1.3;
    margin: 0;
}

.stdp-page h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    letter-spacing: -0.7px;
}

.stdp-page p {
    margin: 0 0 18px;
}

.stdp-page a {
    text-decoration: none;
}

.stdp-page img {
    display: block;
    max-width: 100%;
}

.stdp-page svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.stdp-page a:focus-visible,
.stdp-page summary:focus-visible {
    outline: 3px solid var(--stdp-pink);
    outline-offset: 3px;
}

.stdp-page section[id] {
    scroll-margin-top: 110px;
}

.stdp-page .stdp-container {
    width: calc(100% - 100px);
    max-width: 1320px;
    margin: 0 auto;
}

.stdp-page .stdp-section {
    width: 100%;
    max-width: 100%;
    padding: 80px 0;
}

.stdp-page .stdp-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a51b72;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.stdp-page .stdp-eyebrow svg {
    width: 18px;
    height: 18px;
    color: var(--stdp-pink);
}

.stdp-page .stdp-heading-line {
    width: 65px;
    height: 4px;
    background: linear-gradient(
        90deg,
        #ec4195,
        #80059e
    );
    border-radius: 10px;
    margin-top: 22px;
}

.stdp-page .stdp-section-heading {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.stdp-page .stdp-section-heading .stdp-eyebrow {
    justify-content: center;
}

.stdp-page .stdp-section-heading .stdp-heading-line {
    margin-left: auto;
    margin-right: auto;
}


/* ========================================================
   03. BUTTONS
======================================================== */

.stdp-page .stdp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease,
        color .35s ease;
}

.stdp-page .stdp-btn svg {
    width: 19px;
    height: 19px;
    transition: transform .35s ease;
}

.stdp-page .stdp-btn-primary {
    background: var(--stdp-gradient);
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(128,5,158,.2);
}

.stdp-page .stdp-btn-primary:hover {
    background: #56036c;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(128,5,158,.25);
}

.stdp-page .stdp-btn-outline {
    background: transparent;
    color: var(--stdp-primary) !important;
    border-color: var(--stdp-primary);
}

.stdp-page .stdp-btn-outline:hover {
    background: var(--stdp-primary);
    color: #ffffff !important;
    transform: translateY(-3px);
}

.stdp-page .stdp-btn:hover svg:last-child {
    transform: translateX(4px);
}

.stdp-page .stdp-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left .65s ease;
    pointer-events: none;
}

.stdp-page .stdp-btn:hover::before {
    left: 140%;
}


/* ========================================================
   04. HERO SECTION
======================================================== */

.stdp-page .stdp-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 25px 0 85px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(236,65,149,.28),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            #430453 0%,
            #680580 40%,
            #80059e 75%,
            #a62287 100%
        );
}

.stdp-page .stdp-hero .stdp-container {
    position: relative;
    z-index: 2;
}

.stdp-page .stdp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 12px;
    color: #f3d8f3;
}

.stdp-page .stdp-breadcrumb a {
    color: #ffffff;
}

.stdp-page .stdp-breadcrumb a:hover {
    text-decoration: underline;
}

.stdp-page .stdp-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, .85fr);
    align-items: center;
    gap: 65px;
    min-height: 450px;
}

/* Layout when no Featured Image is available */

.stdp-page .stdp-hero-grid:not(:has(.stdp-portrait-area)) {
    grid-template-columns: minmax(0,1fr);
    min-height: 350px;
}

.stdp-page .stdp-hero-grid:not(:has(.stdp-portrait-area))
.stdp-hero-content {
    max-width: 850px;
}

.stdp-page .stdp-hero-content {
    min-width: 0;
    padding: 25px 0;
}

.stdp-page .stdp-hero .stdp-eyebrow {
    display: inline-flex;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    background: rgba(255,255,255,.1);
    color: #ffe3f3;
    letter-spacing: 1.5px;
}

.stdp-page .stdp-hero .stdp-eyebrow svg {
    color: #ffb9df;
}

.stdp-page .stdp-hero h1 {
    color: #ffffff;
    font-size: clamp(40px, 4.6vw, 65px);
    line-height: 1.13;
    letter-spacing: -1.5px;
    margin: 18px 0 20px;
    overflow-wrap: break-word;
    text-shadow: 0 4px 18px rgba(35,0,45,.15);
}

.stdp-page .stdp-qualification {
    color: #ffd2ec;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 15px;
}

.stdp-page .stdp-designation {
    color: #ffffff;
    font-size: clamp(19px,2vw,24px);
    line-height: 1.5;
    margin-bottom: 18px;
}

.stdp-page .stdp-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #f2dff4;
    font-size: 14px;
    line-height: 1.7;
}

.stdp-page .stdp-location svg {
    width: 20px;
    height: 20px;
    color: #ffb8df;
    margin-top: 2px;
}

.stdp-page .stdp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.stdp-page .stdp-hero .stdp-btn-primary {
    background: #ffffff;
    color: #80059e !important;
    border-color: #ffffff;
}

.stdp-page .stdp-hero .stdp-btn-primary:hover {
    background: #f9d3e9;
    border-color: #f9d3e9;
}

.stdp-page .stdp-hero .stdp-btn-outline {
    background: rgba(255,255,255,.07);
    color: #ffffff !important;
    border-color: rgba(255,255,255,.65);
}

.stdp-page .stdp-hero .stdp-btn-outline:hover {
    background: #ffffff;
    color: #80059e !important;
}


/* Hero background decorations */

.stdp-page .stdp-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.stdp-page .stdp-orb-one {
    width: 500px;
    height: 500px;
    right: -180px;
    top: -190px;
    border: 1px solid rgba(255,255,255,.18);

    box-shadow:
        0 0 0 35px rgba(255,255,255,.04),
        0 0 0 70px rgba(255,255,255,.03),
        0 0 0 105px rgba(255,255,255,.02);
}

.stdp-page .stdp-orb-two {
    width: 350px;
    height: 350px;
    left: -170px;
    bottom: -190px;
    background: rgba(236,65,149,.18);
}

.stdp-page .stdp-orb-three {
    width: 17px;
    height: 17px;
    top: 22%;
    left: 48%;
    background: rgba(255,185,225,.5);
}


/* ========================================================
   05. DOCTOR PORTRAIT
======================================================== */

.stdp-page .stdp-portrait-area {
    position: relative;
    width: 100%;
    max-width: 425px;
    margin: 0 auto;
    padding: 12px 12px 35px;
}

.stdp-page .stdp-portrait-decoration {
    position: absolute;
    inset: 0 0 25px;
    border: 2px solid rgba(255,209,239,.6);
    border-radius: 48% 48% 24px 24px;
    transform: rotate(-5deg);
    transition: transform .7s ease;
}

.stdp-page .stdp-portrait-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.8;
    border: 5px solid rgba(255,255,255,.9);
    border-radius: 48% 48% 20px 20px;

    background: linear-gradient(
        145deg,
        #fbe7f2,
        #efc0e0,
        #d3a4e3
    );

    box-shadow: 0 25px 55px rgba(35,0,45,.25);
}

.stdp-page .stdp-portrait-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .7s ease;
}

.stdp-page .stdp-portrait-area:hover
.stdp-portrait-frame img {
    transform: scale(1.05);
}

.stdp-page .stdp-portrait-area:hover
.stdp-portrait-decoration {
    transform: rotate(3deg);
}

.stdp-page .stdp-portrait-label {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    width: 90%;
    padding: 17px 18px;
    background: #ffffff;
    color: #80059e;
    border: 1px solid #e9c7ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(35,0,45,.25);
}

.stdp-page .stdp-portrait-label > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--stdp-gradient);
    color: #ffffff;
}

.stdp-page .stdp-portrait-label strong {
    display: block;
    font-family: var(--stdp-heading-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.stdp-page .stdp-portrait-label small {
    display: block;
    color: #6b4e74;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 5px;
}

.stdp-page .stdp-floating-icon {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #ec4195;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(35,0,45,.2);
    animation: stdp-float 5s ease-in-out infinite;
    pointer-events: none;
}

.stdp-page .stdp-float-one {
    top: 24%;
    left: -10px;
}

.stdp-page .stdp-float-two {
    top: 52%;
    right: -8px;
    width: 42px;
    height: 42px;
    animation-delay: -2s;
}

@keyframes stdp-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* ========================================================
   06. PROFILE HIGHLIGHTS
======================================================== */

.stdp-page .stdp-highlights-wrap {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.stdp-page .stdp-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;

    background: #ffffff;
    border: 1px solid #e6cdec;
    border-radius: 15px;
    padding: 20px 12px;
    box-shadow: 0 12px 35px rgba(128,5,158,.13);
}

.stdp-page .stdp-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 220px;
    gap: 12px;
    padding: 12px 20px;
    color: #650480;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.stdp-page .stdp-highlight:not(:last-child) {
    border-right: 1px solid #e9d8ed;
}

.stdp-page .stdp-highlight-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--stdp-gradient);
    color: #ffffff;
    transition: transform .35s ease;
}

.stdp-page .stdp-highlight-icon svg {
    width: 19px;
    height: 19px;
}

.stdp-page .stdp-highlight:hover
.stdp-highlight-icon {
    transform: scale(1.1);
}


/* ========================================================
   07. ABOUT DOCTOR
======================================================== */

.stdp-page .stdp-about {
    background: #ffffff;
}

.stdp-page .stdp-about-grid {
    display: grid;
    grid-template-columns:
        minmax(0,.85fr)
        minmax(0,1.15fr);
    gap: 75px;
    align-items: start;
}

.stdp-page .stdp-about-content {
    font-size: 16px;
    color: #514657;
    line-height: 1.95;
}

.stdp-page .stdp-about-content p:last-child {
    margin-bottom: 0;
}

.stdp-page .stdp-about-content strong {
    color: #650480;
}

.stdp-page .stdp-registration {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    padding: 20px;
    margin-top: 28px;

    background: linear-gradient(
        135deg,
        #f7e2f0,
        #eee0f7
    );

    border: 1px solid #e4c7eb;
    border-left: 4px solid #80059e;
    border-radius: 12px;
    transition: box-shadow .35s ease;
}

.stdp-page .stdp-registration:hover {
    box-shadow: var(--stdp-shadow);
}

.stdp-page .stdp-registration small {
    display: block;
    color: #785583;
    font-size: 12px;
    margin-bottom: 4px;
}

.stdp-page .stdp-registration strong {
    display: block;
    color: #56036c;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.stdp-page .stdp-icon-box {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--stdp-gradient);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(128,5,158,.15);
}


/* ========================================================
   08. AREAS OF EXPERTISE
======================================================== */

.stdp-page .stdp-expertise {
    background: linear-gradient(
        120deg,
        #f2e0f8,
        #fae4ef
    );
}

.stdp-page .stdp-expertise-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.stdp-page .stdp-expertise-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 180px;
    padding: 25px 23px 30px;
    background: #ffffff;
    border: 1px solid #dec4e8;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(128,5,158,.06);

    transition:
        background .35s ease,
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.stdp-page .stdp-expertise-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -65px;
    bottom: -65px;
    border: 1px solid rgba(128,5,158,.13);
    border-radius: 50%;

    box-shadow:
        0 0 0 18px rgba(128,5,158,.04),
        0 0 0 36px rgba(128,5,158,.025);

    pointer-events: none;
    transition: transform .4s ease;
}

.stdp-page .stdp-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #9963a7;
    font-size: 12px;
    font-weight: 600;
}

.stdp-page .stdp-expertise-icon {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    border-radius: 12px;
    background: var(--stdp-gradient);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(128,5,158,.15);
    margin-bottom: 20px;

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease;
}

.stdp-page .stdp-expertise-card h3 {
    position: relative;
    z-index: 1;
    font-size: 19px;
    line-height: 1.45;
    color: #56036c;
    overflow-wrap: break-word;
    transition: color .35s ease;
}

.stdp-page .stdp-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 4px;
    border-radius: 0 4px 0 0;
    background: linear-gradient(
        90deg,
        #ec4195,
        #80059e
    );

    transition: width .4s ease;
}

@media (hover: hover) {

    .stdp-page .stdp-expertise-card:hover {
        background: var(--stdp-gradient);
        border-color: #80059e;
        transform: translateY(-7px);
        box-shadow: 0 16px 32px rgba(128,5,158,.22);
    }

    .stdp-page .stdp-expertise-card:hover h3,
    .stdp-page .stdp-expertise-card:hover .stdp-card-number {
        color: #ffffff;
    }

    .stdp-page .stdp-expertise-card:hover
    .stdp-expertise-icon {
        background: #ffffff;
        color: #80059e;
        transform: rotate(-8deg) scale(1.07);
    }

    .stdp-page .stdp-expertise-card:hover
    .stdp-card-line {
        width: 100%;
        background: #ffb5de;
    }

    .stdp-page .stdp-expertise-card:hover::after {
        border-color: rgba(255,255,255,.25);
        box-shadow:
            0 0 0 18px rgba(255,255,255,.07),
            0 0 0 36px rgba(255,255,255,.04);
        transform: scale(1.2);
    }
}


/* ========================================================
   09. EDUCATION & EXPERIENCE
======================================================== */

.stdp-page .stdp-journey {
    background: #ffffff;
}

.stdp-page .stdp-journey-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 55px;
}

.stdp-page .stdp-column-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.stdp-page .stdp-column-title h3 {
    font-size: 25px;
    color: #56036c;
}

.stdp-page .stdp-education-list {
    display: grid;
    gap: 16px;
}

.stdp-page .stdp-education-card {
    position: relative;
    padding: 23px 24px;
    border: 1px solid #e5cce9;
    border-left: 4px solid #80059e;
    border-radius: 12px;

    background: linear-gradient(
        120deg,
        #f8effb,
        #f1e2f7
    );

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.stdp-page .stdp-education-card:nth-child(even) {
    border-left-color: #ec4195;
    background: linear-gradient(
        120deg,
        #fff1f7,
        #f8e1ee
    );
}

.stdp-page .stdp-education-card:hover {
    transform: translateY(-4px);
    border-color: #c898d8;
    box-shadow: var(--stdp-shadow);
}

.stdp-page .stdp-year {
    display: inline-block;
    padding: 4px 11px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #80059e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.stdp-page .stdp-education-card h4,
.stdp-page .stdp-timeline-item h4 {
    color: #56036c;
    font-size: 20px;
    line-height: 1.45;
    margin-bottom: 7px;
}

.stdp-page .stdp-education-card p,
.stdp-page .stdp-timeline-item p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: #514657;
}


/* Professional experience timeline */

.stdp-page .stdp-timeline {
    position: relative;
    padding-left: 32px;
}

.stdp-page .stdp-timeline::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 25px;
    left: 7px;
    width: 3px;
    border-radius: 4px;
    background: linear-gradient(
        to bottom,
        #80059e,
        #ec4195
    );
}

.stdp-page .stdp-timeline-item {
    position: relative;
    padding: 0 0 20px;
}

.stdp-page .stdp-timeline-dot {
    position: absolute;
    top: 19px;
    left: -32px;
    width: 17px;
    height: 17px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #80059e;
    box-shadow: 0 0 0 3px #e9d4ef;
    transition: background .3s ease;
}

.stdp-page .stdp-timeline-content {
    background: #ffffff;
    padding: 20px 22px;
    border: 1px solid #e4d3eb;
    border-radius: 12px;
    transition:
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.stdp-page .stdp-timeline-item:hover
.stdp-timeline-content {
    background: #fbf3fd;
    border-color: #d0a4de;
    box-shadow: 0 8px 22px rgba(128,5,158,.08);
}

.stdp-page .stdp-timeline-item:hover
.stdp-timeline-dot {
    background: #ec4195;
}


/* ========================================================
   10. CLINICAL SKILLS
======================================================== */

.stdp-page .stdp-clinical {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 0% 100%,
            rgba(236,65,149,.2),
            transparent 40%
        ),
        linear-gradient(
            125deg,
            #430453,
            #680580 60%,
            #80059e
        );

    color: #ffffff;
}

.stdp-page .stdp-clinical-grid {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0,.8fr)
        minmax(0,1.2fr);
    gap: 65px;
    align-items: start;
}

.stdp-page .stdp-clinical h2 {
    color: #ffffff;
}

.stdp-page .stdp-clinical .stdp-eyebrow {
    color: #ffc4e5;
}

.stdp-page .stdp-clinical .stdp-heading-line {
    background: linear-gradient(
        90deg,
        #ff83c7,
        #ffffff
    );
}

.stdp-page .stdp-clinical-intro p {
    max-width: 420px;
    margin-top: 24px;
    color: #f5e1f6;
    font-size: 16px;
    line-height: 1.9;
}

.stdp-page .stdp-clinical-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    margin: 35px auto 0 25px;
}

.stdp-page .stdp-art-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
}

.stdp-page .stdp-art-ring::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px dashed rgba(255,255,255,.35);
    border-radius: 50%;
}

.stdp-page .stdp-art-icon {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
}

.stdp-page .stdp-art-icon svg {
    width: 55px;
    height: 55px;
    stroke-width: 1.2;
}

.stdp-page .stdp-art-sparkle {
    position: absolute;
    top: 0;
    right: 4px;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    background: #ffffff;
    color: #ec4195;
    border-radius: 50%;
    animation: stdp-float 5s ease-in-out infinite;
}


/* ========================================================
   11. CLINICAL ACCORDION
======================================================== */

.stdp-page .stdp-accordion {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.stdp-page .stdp-accordion-item {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    color: #514657;
    border: 1px solid #e1c4e9;
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(35,0,45,.1);

    transition:
        box-shadow .35s ease,
        border-color .35s ease;
}

.stdp-page .stdp-accordion-item:hover {
    border-color: #ffb8df;
    box-shadow: 0 10px 28px rgba(35,0,45,.17);
}

.stdp-page .stdp-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    margin: 0;
    list-style: none;
    cursor: pointer;
}

.stdp-page .stdp-accordion-item summary::-webkit-details-marker {
    display: none;
}

.stdp-page .stdp-accordion-item summary::marker {
    content: "";
}

.stdp-page .stdp-accordion-title {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    font-family: var(--stdp-heading-font);
    font-size: 20px;
    line-height: 1.4;
    color: #56036c;
}

.stdp-page .stdp-accordion-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--stdp-gradient);
    color: #ffffff;
}

.stdp-page .stdp-accordion-icon svg {
    width: 20px;
    height: 20px;
}

.stdp-page .stdp-accordion-toggle {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f1e1f7;
    color: #80059e;

    transition:
        transform .35s ease,
        color .35s ease,
        background .35s ease;
}

.stdp-page .stdp-accordion-toggle svg {
    width: 17px;
    height: 17px;
}

.stdp-page .stdp-accordion-item[open] summary {
    background: linear-gradient(
        120deg,
        #f7e3f1,
        #f1e2f8
    );
}

.stdp-page .stdp-accordion-item[open]
.stdp-accordion-toggle {
    transform: rotate(45deg);
    background: #80059e;
    color: #ffffff;
}

.stdp-page .stdp-accordion-content {
    padding: 20px 23px 23px;
}

.stdp-page .stdp-check-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stdp-page .stdp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #514657;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.stdp-page .stdp-check-list svg {
    width: 21px;
    height: 21px;
    padding: 3px;
    margin-top: 2px;
    border-radius: 50%;
    background: #f0e0f7;
    color: #80059e;
}

.stdp-page .stdp-accordion-item[open]
.stdp-accordion-content {
    animation: stdp-accordion-in .3s ease both;
}

@keyframes stdp-accordion-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================================
   12. ACADEMIC ACTIVITIES
======================================================== */

.stdp-page .stdp-academic {
    background: linear-gradient(
        180deg,
        #ffffff,
        #faf3fc
    );
}

.stdp-page .stdp-academic-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px;
}

.stdp-page .stdp-academic-card {
    position: relative;
    min-width: 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #dfc9e9;
    border-top: 4px solid #80059e;
    border-radius: 15px;
    box-shadow: 0 9px 25px rgba(128,5,158,.07);

    transition:
        box-shadow .35s ease,
        transform .35s ease;
}

.stdp-page .stdp-academic-card:nth-child(even) {
    border-top-color: #ec4195;
}

.stdp-page .stdp-academic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--stdp-shadow);
}

.stdp-page .stdp-academic-card h3 {
    color: #56036c;
    font-size: 26px;
    margin: 20px 0 25px;
}

.stdp-page .stdp-academic-list {
    counter-reset: stdp-academic;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stdp-page .stdp-academic-list li {
    counter-increment: stdp-academic;
    position: relative;
    padding: 0 0 20px 42px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: 1px solid #eadced;
}

.stdp-page .stdp-academic-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stdp-page .stdp-academic-list li::before {
    content: counter(stdp-academic, decimal-leading-zero);
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    background: var(--stdp-gradient);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}


/* ========================================================
   13. PROFESSIONAL MEMBERSHIPS
======================================================== */

.stdp-page .stdp-memberships {
    margin-top: 45px;
}

.stdp-page .stdp-memberships > h3 {
    text-align: center;
    font-size: 30px;
    color: #56036c;
    margin-bottom: 25px;
}

.stdp-page .stdp-membership-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.stdp-page .stdp-membership-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;

    background: linear-gradient(
        135deg,
        #f1dff7,
        #f9dfea
    );

    border: 1px solid #dfc5e9;
    border-radius: 13px;

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

.stdp-page .stdp-membership-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--stdp-shadow);
}

.stdp-page .stdp-membership-card h4 {
    color: #56036c;
    font-size: 19px;
    line-height: 1.5;
}

.stdp-page .stdp-membership-card p {
    color: #74577e;
    font-size: 13px;
    margin: 6px 0 0;
}


/* ========================================================
   14. ADDITIONAL CONTENT
======================================================== */

.stdp-page .stdp-extra-content {
    background: #faf4fc;
}

.stdp-page .stdp-editor-content {
    max-width: 900px;
    margin: 0 auto;
}

.stdp-page .stdp-editor-content h2,
.stdp-page .stdp-editor-content h3,
.stdp-page .stdp-editor-content h4 {
    margin: 25px 0 15px;
}

.stdp-page .stdp-editor-content a {
    color: #80059e;
    text-decoration: underline;
}


/* ========================================================
   15. APPOINTMENT CTA
======================================================== */

.stdp-page .stdp-cta-section {
    background: #faf3fc;
    padding: 10px 0 75px;
}

.stdp-page .stdp-cta {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns:
        minmax(0,1.4fr)
        minmax(0,.6fr);
    align-items: center;
    gap: 35px;
    padding: 50px;
    border-radius: 20px;

    background: linear-gradient(
        115deg,
        #430453,
        #80059e 60%,
        #a92186
    );

    color: #ffffff;
    box-shadow: 0 15px 35px rgba(128,5,158,.18);
}

.stdp-page .stdp-cta-content,
.stdp-page .stdp-cta-actions {
    position: relative;
    z-index: 2;
}

.stdp-page .stdp-cta-decoration {
    position: absolute;
    right: -80px;
    bottom: -230px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;

    box-shadow:
        0 0 0 30px rgba(255,255,255,.05),
        0 0 0 65px rgba(255,255,255,.04),
        0 0 0 100px rgba(255,255,255,.03);

    pointer-events: none;
}

.stdp-page .stdp-cta .stdp-eyebrow {
    color: #ffc4e5;
}

.stdp-page .stdp-cta h2 {
    color: #ffffff;
    font-size: clamp(28px,3.2vw,42px);
    margin-bottom: 17px;
}

.stdp-page .stdp-cta p {
    color: #f5e0f5;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.stdp-page .stdp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stdp-page .stdp-btn-white {
    background: #ffffff;
    color: #80059e !important;
    border-color: #ffffff;
    text-align: center;
}

.stdp-page .stdp-btn-white:hover {
    background: #f8d2e8;
    transform: translateY(-3px);
}

.stdp-page .stdp-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff !important;
    font-size: 15px;
}

.stdp-page .stdp-cta-phone svg {
    width: 18px;
    height: 18px;
}

.stdp-page .stdp-cta-phone:hover {
    text-decoration: underline;
}


/* ========================================================
   16. MOBILE APPOINTMENT BAR
======================================================== */

.stdp-page .stdp-mobile-appointment {
    display: none;
}


/* ========================================================
   17. ENTRANCE ANIMATIONS
   Content remains visible even without JS.
======================================================== */

.stdp-page.stdp-motion .stdp-reveal.stdp-visible {
    animation: stdp-reveal-in .75s
        cubic-bezier(.2,.65,.3,1) both;

    animation-delay: var(--stdp-delay,0ms);
}

.stdp-page.stdp-motion
.stdp-reveal[data-stdp-animation="left"].stdp-visible {
    animation-name: stdp-reveal-left;
}

.stdp-page.stdp-motion
.stdp-reveal[data-stdp-animation="right"].stdp-visible {
    animation-name: stdp-reveal-right;
}

@keyframes stdp-reveal-in {
    from {
        opacity: .2;
        translate: 0 25px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes stdp-reveal-left {
    from {
        opacity: .2;
        translate: -25px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes stdp-reveal-right {
    from {
        opacity: .2;
        translate: 25px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.stdp-page .stdp-reveal:focus-within {
    opacity: 1 !important;
    translate: none !important;
    animation: none !important;
}


/* ========================================================
   18. TABLET RESPONSIVE
======================================================== */

@media (max-width: 1024px) {

    .stdp-page .stdp-container {
        width: calc(100% - 48px);
    }

    .stdp-page .stdp-section {
        padding: 60px 0;
    }

    .stdp-page .stdp-hero {
        padding-bottom: 70px;
    }

    .stdp-page .stdp-hero-grid {
        gap: 35px;
        min-height: 380px;
    }

    .stdp-page .stdp-hero h1 {
        font-size: clamp(36px,5vw,53px);
    }

    .stdp-page .stdp-portrait-area {
        max-width: 350px;
    }

    .stdp-page .stdp-about-grid,
    .stdp-page .stdp-clinical-grid {
        gap: 35px;
    }

    .stdp-page .stdp-expertise-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 16px;
    }

    .stdp-page .stdp-expertise-card {
        padding: 22px 18px 25px;
    }

    .stdp-page .stdp-journey-grid {
        gap: 30px;
    }

    .stdp-page .stdp-column-title h3 {
        font-size: 23px;
    }

    .stdp-page .stdp-cta {
        padding: 35px;
        gap: 25px;
    }
}


/* ========================================================
   19. MOBILE RESPONSIVE
======================================================== */

@media (max-width: 767px) {

    .stdp-page {
        font-size: 15px;
    }

    .stdp-page .stdp-container {
        width: calc(100% - 36px);
    }

    .stdp-page .stdp-section {
        padding: 45px 0;
    }

    .stdp-page h2 {
        font-size: 31px;
        letter-spacing: -.5px;
    }

    .stdp-page .stdp-section-heading {
        margin-bottom: 28px;
    }

    .stdp-page .stdp-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .stdp-page .stdp-hero {
        padding: 17px 0 55px;
    }

    .stdp-page .stdp-breadcrumb {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .stdp-page .stdp-hero-grid,
    .stdp-page .stdp-hero-grid:not(:has(.stdp-portrait-area)) {
        grid-template-columns: minmax(0,1fr);
        gap: 22px;
        min-height: 0;
    }

    .stdp-page .stdp-hero-content {
        padding: 12px 0 0;
        text-align: center;
    }

    .stdp-page .stdp-hero .stdp-eyebrow {
        justify-content: center;
        font-size: 9px;
        letter-spacing: 1px;
        padding: 8px 12px;
    }

    .stdp-page .stdp-hero h1 {
        font-size: clamp(34px,9vw,46px);
        letter-spacing: -.7px;
        margin: 14px 0 18px;
    }

    .stdp-page .stdp-qualification {
        font-size: 13px;
    }

    .stdp-page .stdp-designation {
        font-size: 18px;
    }

    .stdp-page .stdp-location {
        justify-content: center;
        font-size: 13px;
        max-width: 330px;
        margin: 0 auto;
    }

    .stdp-page .stdp-hero-actions {
        justify-content: center;
        margin-top: 23px;
        gap: 10px;
    }

    .stdp-page .stdp-btn {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 12px;
        gap: 8px;
    }

    .stdp-page .stdp-portrait-area {
        max-width: 290px;
        padding: 10px 10px 30px;
    }

    .stdp-page .stdp-portrait-frame {
        aspect-ratio: 4 / 4.6;
    }

    .stdp-page .stdp-portrait-label {
        padding: 12px;
    }

    .stdp-page .stdp-portrait-label strong {
        font-size: 15px;
    }

    .stdp-page .stdp-portrait-label small {
        font-size: 10px;
    }

    .stdp-page .stdp-portrait-label > span {
        width: 34px;
        height: 34px;
    }

    .stdp-page .stdp-floating-icon {
        width: 39px;
        height: 39px;
    }

    .stdp-page .stdp-floating-icon svg {
        width: 20px;
        height: 20px;
    }

    .stdp-page .stdp-highlights-wrap {
        margin-top: -23px;
    }

    .stdp-page .stdp-highlights {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        padding: 9px 14px;
    }

    .stdp-page .stdp-highlight {
        justify-content: flex-start;
        padding: 12px 8px;
        font-size: 13px;
    }

    .stdp-page .stdp-highlight-icon {
        width: 30px;
        height: 30px;
    }

    .stdp-page .stdp-highlight:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #e9d8ed;
    }

    .stdp-page .stdp-about-grid,
    .stdp-page .stdp-clinical-grid,
    .stdp-page .stdp-journey-grid,
    .stdp-page .stdp-academic-grid,
    .stdp-page .stdp-membership-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

    .stdp-page .stdp-about-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .stdp-page .stdp-registration {
        padding: 16px;
        margin-top: 22px;
    }

    .stdp-page .stdp-icon-box {
        width: 42px;
        height: 42px;
    }

    .stdp-page .stdp-expertise-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .stdp-page .stdp-expertise-card {
        min-height: 155px;
        padding: 17px 14px 24px;
        border-radius: 12px;
    }

    .stdp-page .stdp-expertise-card h3 {
        font-size: 16px;
    }

    .stdp-page .stdp-expertise-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 15px;
    }

    .stdp-page .stdp-card-number {
        top: 15px;
        right: 14px;
        font-size: 10px;
    }

    .stdp-page .stdp-column-title h3 {
        font-size: 22px;
    }

    .stdp-page .stdp-education-card {
        padding: 18px;
    }

    .stdp-page .stdp-education-card h4,
    .stdp-page .stdp-timeline-item h4 {
        font-size: 18px;
    }

    .stdp-page .stdp-timeline-content {
        padding: 17px;
    }

    .stdp-page .stdp-clinical-intro p {
        font-size: 15px;
        margin-bottom: 0;
    }

    .stdp-page .stdp-clinical-art {
        display: none;
    }

    .stdp-page .stdp-accordion-item summary {
        padding: 15px;
    }

    .stdp-page .stdp-accordion-title {
        font-size: 16px;
        gap: 10px;
    }

    .stdp-page .stdp-accordion-icon {
        width: 33px;
        height: 33px;
    }

    .stdp-page .stdp-accordion-content {
        padding: 17px;
    }

    .stdp-page .stdp-check-list li {
        font-size: 14px;
    }

    .stdp-page .stdp-academic-card {
        padding: 22px;
    }

    .stdp-page .stdp-academic-card h3 {
        font-size: 23px;
    }

    .stdp-page .stdp-academic-list li {
        font-size: 14px;
    }

    .stdp-page .stdp-memberships > h3 {
        font-size: 26px;
    }

    .stdp-page .stdp-membership-card {
        padding: 18px;
        gap: 13px;
    }

    .stdp-page .stdp-membership-card h4 {
        font-size: 17px;
    }

    .stdp-page .stdp-cta-section {
        padding-bottom: 45px;
    }

    .stdp-page .stdp-cta {
        grid-template-columns: minmax(0,1fr);
        gap: 25px;
        padding: 30px 22px;
        border-radius: 15px;
        text-align: center;
    }

    .stdp-page .stdp-cta .stdp-eyebrow {
        justify-content: center;
    }

    .stdp-page .stdp-cta-actions .stdp-btn {
        width: 100%;
    }

    .stdp-page .stdp-mobile-appointment {
        position: fixed;
        display: flex;
        align-items: center;
        gap: 10px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;

        padding: 10px 18px;
        padding-bottom: calc(
            10px + env(safe-area-inset-bottom,0px)
        );

        background: #ffffff;
        border-top: 2px solid #80059e;
        box-shadow: 0 -6px 25px rgba(128,5,158,.12);

        transition:
            opacity .3s ease,
            visibility .3s ease;
    }

    .stdp-page .stdp-mobile-appointment .stdp-btn {
        flex: 1;
    }

    .stdp-page .stdp-mobile-call {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        flex-shrink: 0;
        border-radius: 8px;
        border: 1px solid #dfc4e8;
        background: #f2e1f7;
        color: #80059e;
    }

    .stdp-page
    .stdp-mobile-appointment.stdp-mobile-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.page-template-template-doctor-profile:has(.stdp-mobile-appointment) {
        padding-bottom: calc(
            68px + env(safe-area-inset-bottom,0px)
        );
    }

    .stdp-page.stdp-motion
    .stdp-reveal[data-stdp-animation].stdp-visible {
        animation-name: stdp-reveal-in;
    }
}


/* ========================================================
   20. SMALL MOBILE SCREENS
======================================================== */

@media (max-width: 360px) {

    .stdp-page .stdp-container {
        width: calc(100% - 28px);
    }

    .stdp-page .stdp-expertise-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .stdp-page .stdp-expertise-card {
        min-height: 135px;
    }

    .stdp-page .stdp-hero h1 {
        font-size: 32px;
    }
}


/* ========================================================
   21. REDUCED MOTION ACCESSIBILITY
======================================================== */

@media (prefers-reduced-motion: reduce) {

    .stdp-page *,
    .stdp-page *::before,
    .stdp-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .stdp-page .stdp-reveal {
        opacity: 1 !important;
        translate: none !important;
        transform: none !important;
    }
}
