.page-teacher-profile .theme-main{
    padding-top:0;
    font-family:inherit;
}

.docttus-teacher-page{
    padding:var(--theme-page-top-space) 0 96px;
    font-family:inherit;
    background:
        radial-gradient(circle at top left, rgba(0,209,224,.12), transparent 24%),
        linear-gradient(180deg, rgba(7,7,9,.98) 0%, rgba(10,14,24,.98) 100%);
}

[data-theme="light"] .docttus-teacher-page{
    background:linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
}

.docttus-teacher-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:26px;
    color:var(--muted);
    font-size:.88rem;
}

.docttus-teacher-breadcrumb a{
    color:var(--muted);
    text-decoration:none;
}

.docttus-teacher-breadcrumb a:hover{
    color:var(--cyan);
}

.docttus-teacher-breadcrumb strong{
    color:var(--text);
}

.docttus-teacher-hero{
    display:grid;
    grid-template-columns:minmax(0, 240px) minmax(0, 1fr);
    gap:32px;
    align-items:start;
    padding:32px;
    border:1px solid var(--line);
    border-radius:var(--radius-card-lg);
    background:var(--surface);
    box-shadow:0 18px 34px rgba(0,0,0,.20);
}

[data-theme="light"] .docttus-teacher-hero{
    background:#ffffff;
    box-shadow:none;
}

.docttus-teacher-hero__about{
    display:grid;
    gap:14px;
    margin-top:14px;
}

.docttus-teacher-hero__side{
    display:grid;
    gap:18px;
    justify-items:center;
}

.docttus-teacher-hero__avatar-shell{
    width:180px;
    height:180px;
    margin-bottom:0;
    cursor:default;
    transition:border-color .35s ease;
}

.docttus-teacher-hero__avatar-shell:hover{
    border-color:var(--cyan);
}

.docttus-teacher-hero__avatar-shell::before,
.docttus-teacher-hero__avatar-shell::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    box-shadow:0 0 0 0 rgba(0,209,224,.4);
    z-index:0;
    pointer-events:none;
}

[data-theme="light"] .docttus-teacher-hero__avatar-shell::before,
[data-theme="light"] .docttus-teacher-hero__avatar-shell::after{
    box-shadow:0 0 0 0 rgba(0,135,147,.28);
}

.docttus-teacher-hero__avatar-shell:hover::before{
    animation:docttus-team-pulse 2s infinite cubic-bezier(.215,.61,.355,1);
}

.docttus-teacher-hero__avatar-shell:hover::after{
    animation:docttus-team-pulse 2s infinite cubic-bezier(.215,.61,.355,1);
    animation-delay:1s;
}

[data-theme="light"] .docttus-teacher-hero__avatar-shell:hover::before,
[data-theme="light"] .docttus-teacher-hero__avatar-shell:hover::after{
    animation-name:docttus-team-pulse-light;
}

.docttus-teacher-hero__avatar-shell:hover .docttus-team-member__avatar{
    filter:grayscale(0%) contrast(1);
    transform:scale(1.08);
}

.docttus-teacher-hero__avatar-fallback{
    width:156px;
    height:156px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,209,224,.10);
    color:var(--cyan);
    font-size:46px;
}

.docttus-teacher-hero__metrics{
    display:grid;
    gap:10px;
    width:100%;
    max-width:200px;
    justify-items:stretch;
    text-align:left;
    color:var(--muted);
    font-size:.9rem;
}

.docttus-teacher-hero__metrics div{
    display:grid;
    grid-template-columns:18px minmax(0, 1fr);
    align-items:center;
    gap:10px;
}

.docttus-teacher-hero__metrics strong{
    color:var(--text);
    font-weight:700;
    margin-right:0;
}

.docttus-teacher-hero__metrics i{
    color:var(--cyan);
    width:18px;
    margin-right:0;
    text-align:center;
    line-height:1.2;
}

.docttus-teacher-hero__metric-line{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-width:0;
    white-space:nowrap;
}

.docttus-teacher-hero__metric-line span,
.docttus-teacher-hero__metric-text{
    color:var(--muted);
    line-height:1.35;
}

.docttus-teacher-hero__eyebrow,
.docttus-teacher-section__eyebrow{
    display:inline-flex;
    margin-bottom:12px;
    color:var(--cyan);
    font-size:.78rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.docttus-teacher-hero h1{
    margin:0 0 8px;
    color:var(--text);
    font-size:clamp(1.55rem, 2.5vw, 2.18rem);
    line-height:1.08;
    letter-spacing:-.038em;
    font-weight:700;
    text-wrap:balance;
}

.docttus-teacher-hero__role{
    margin:0 0 10px;
    color:var(--accent);
    font-size:1rem;
    font-weight:700;
}

.docttus-teacher-hero__tagline{
    margin:0;
    max-width:820px;
    color:var(--muted);
    font-size:1rem;
    line-height:1.8;
}

.docttus-teacher-hero__socials{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:4px;
}

.docttus-teacher-hero__social-link{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.03);
    color:var(--muted);
    text-decoration:none;
    transition:transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}

.docttus-teacher-hero__social-link:hover{
    transform:translateY(-2px);
    border-color:rgba(0,209,224,.45);
    background:rgba(0,209,224,.08);
    color:var(--cyan);
}

[data-theme="light"] .docttus-teacher-hero__social-link{
    background:#f8fafc;
}

.docttus-teacher-hero__specialties{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

.docttus-teacher-hero__specialties span{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 14px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.04);
    color:var(--text);
    font-size:.82rem;
    font-weight:700;
}

[data-theme="light"] .docttus-teacher-hero__specialties span{
    background:#f8fafc;
}

.docttus-teacher-section{
    margin-top:28px;
    padding:30px;
    border:1px solid var(--line);
    border-radius:var(--radius-card-lg);
    background:var(--surface);
    box-shadow:0 18px 34px rgba(0,0,0,.18);
}

[data-theme="light"] .docttus-teacher-section{
    background:#ffffff;
    box-shadow:none;
}

.docttus-teacher-section__header{
    margin-bottom:22px;
}

.docttus-teacher-section__header h2{
    margin:0;
    color:var(--text);
    font-size:clamp(1.45rem, 2.4vw, 2rem);
    line-height:1.1;
    letter-spacing:-.03em;
    font-weight:700;
    text-wrap:balance;
}

.docttus-teacher-section__body{
    display:grid;
    gap:16px;
}

.docttus-teacher-section__body p{
    margin:0;
    color:var(--muted);
    font-size:1rem;
    line-height:1.85;
}

.docttus-teacher-section__header--courses{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.docttus-teacher-section__heading-line{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.docttus-teacher-section__header--courses .docttus-teacher-section__eyebrow{
    margin-bottom:0;
}

.docttus-teacher-section__count-inline{
    display:inline-flex;
    align-items:baseline;
    gap:6px;
    color:var(--muted);
}

.docttus-teacher-section__count-inline strong{
    color:var(--text);
    font-size:.98rem;
    font-weight:700;
}

.docttus-teacher-section__count-inline span{
    color:var(--muted);
    font-size:.78rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.docttus-teacher-courses{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:24px;
}

.docttus-teacher-empty{
    padding:20px;
    border:1px dashed rgba(0,209,224,.24);
    border-radius:var(--radius-card);
    color:var(--muted);
    text-align:center;
}


@media (max-width: 1100px){
    .docttus-teacher-courses{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px){
    .docttus-teacher-page{
        padding:var(--theme-page-top-space) 0 72px;
    }

    .docttus-teacher-hero{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
        padding:24px;
    }

    .docttus-teacher-hero__copy{
        display:grid;
        justify-items:center;
    }

    .docttus-teacher-hero__metrics{
        max-width:220px;
        justify-items:center;
    }

    .docttus-teacher-hero__metric-line{
        justify-content:center;
    }

    .docttus-teacher-hero__about{
        text-align:left;
    }

    .docttus-teacher-section{
        padding:24px;
    }

    .docttus-teacher-section--plain{
        padding:0;
    }

    .docttus-teacher-courses{
        grid-template-columns:1fr;
    }

    .docttus-teacher-section__count{
        justify-items:start;
    }
}
