/* Teachers page follows the lectures/summaries visual system. */
:root {
    --primary: #D97706;
    --dark-card: #161616;
    --dark-bg: #0F0F0F;
}

.teachers-section {
    padding-bottom: 50px;
}

.teachers-page .premium-heading-main {
    opacity: 0.55;
}

.teacher-course-card .teacher-thumb {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(8, 8, 16, 0.95));
}

.teacher-course-card .teacher-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.28), transparent 45%),
        #111;
}

.teacher-thumb-placeholder img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.teacher-card-avatar {
    object-fit: cover;
    background: #111;
}

.teacher-bio {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 68px;
    color: #A3A3A3;
    font-size: 0.9rem;
    line-height: 1.7;
}

.teacher-course-card .p-course-stats {
    flex-wrap: wrap;
    row-gap: 8px;
}

.teacher-course-card .p-course-stats span {
    display: inline-flex;
    align-items: center;
}

.teacher-course-card .p-price {
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.teacher-course-card .btn-view-details {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .teacher-bio {
        min-height: auto;
        font-size: 0.85rem;
        margin-bottom: 16px !important;
    }

    .teacher-course-card .p-course-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-course-card .p-price {
        max-width: 100%;
        text-align: center;
    }
}
