.teacher-detail-wrap {
    width: 1366px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
}

.teacher-detail-profile {
    background: #fff;
    padding: 42px 0 48px;
}

.teacher-detail-top {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.teacher-detail-avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f1ff;
}

.teacher-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-detail-main {
    padding-top: 2px;
}

.teacher-detail-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.teacher-detail-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    color: #a52de7;
    border: 1px solid #e6cbff;
    background: #f8eefe;
}

.teacher-detail-name {
    margin: 10px 0 8px;
    font-size: 1.3rem;
    line-height: 1.2;
    color: #141127;
    font-weight: 700;
}

.teacher-detail-summary {
    margin: 0;
    color: #5e5b72;
    font-size: 17px;
    line-height: 1.7;
}

.teacher-detail-field-label {
    margin-top: 24px;
    margin-bottom: 10px;
    color: #b0adbf;
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
}

.teacher-detail-subjects {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.teacher-detail-subject-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f4ebff;
    border: 1px solid #ead9ff;
    color: #7b3ce1;
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
}

.teacher-detail-exp {
    margin: 18px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1c192f;
    font-size: 0.85rem; 
}

.teacher-detail-exp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a742ff;
    flex-shrink: 0;
    box-shadow: 0 0 0 7px rgba(167, 66, 255, 0.14);
}

.teacher-detail-intro {
    background: #faf9ff;
    padding: 36px 0 46px;
}

.teacher-detail-intro-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #17142f;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 700;
}

.teacher-detail-intro-title::before {
    content: "";
    width: 4px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b100ff 0%, #7a3dff 100%);
    display: block;
}

.teacher-detail-intro-list {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.teacher-detail-intro-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 18px 16px;
}

.teacher-detail-intro-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
    color: #161327;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.teacher-detail-intro-card h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a444ff;
    box-shadow: 0 0 0 8px rgba(164, 68, 255, 0.14);
    flex-shrink: 0;
}

.teacher-detail-intro-card p {
    margin: 12px 0 0;
    color: #57556a;
    font-size: 1rem;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .teacher-detail-wrap {
        max-width: calc(100% - 16px);
    }

    .teacher-detail-profile {
        padding: 24px 0 30px;
    }

    .teacher-detail-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .teacher-detail-avatar {
        max-width: 340px;
    }

    .teacher-detail-name {
        font-size: 1.3rem;
    }

    .teacher-detail-summary {
        font-size: 15px;
        line-height: 1.7;
    }

    .teacher-detail-subject-tag {
        font-size: 0.75rem;
    }

    .teacher-detail-exp {
        font-size: 1.1rem;
    }

    .teacher-detail-intro {
        padding: 24px 0 30px;
    }

    .teacher-detail-intro-title {
        font-size: 1.1rem;
    }

    .teacher-detail-intro-card h3 {
        font-size: 1.1rem;
    }

    .teacher-detail-intro-card p {
        font-size: 15px;
        line-height: 1.75;
    }
}

.teacher-highlight-section {
    width: 100%;
}

.teacher-highlight-wrap {
    width: 1366px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
}

.teacher-cta-section {
    background: linear-gradient(90deg, #5b11e6 0%, #b100ff 100%);
}

.teacher-cta-block {
    padding: 56px 6px 52px;
    text-align: center;
}

.teacher-cta-title {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
}

.teacher-cta-desc {
    margin: 14px 0 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.teacher-cta-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.teacher-cta-btn {
    min-width: 120px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.teacher-cta-btn--light {
    background: #fff;
    color: #8d24ff;
}

.teacher-cta-btn--light:hover {
    opacity: 0.92;
}

.teacher-cta-btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.teacher-cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.teacher-cta-meta {
    margin: 18px 0 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
    .teacher-highlight-wrap {
        max-width: calc(100% - 16px);
    }

    .teacher-cta-block {
        padding: 42px 0 38px;
    }

    .teacher-cta-title {
        font-size: 1.3rem;
    }

    .teacher-cta-desc {
        font-size: 1rem;
    }

    .teacher-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .teacher-cta-btn {
        width: 180px;
    }
}
