/* ============ 师资详情页 ============ */
.teacher-detail{
    padding: 48px 0 80px;
    background: linear-gradient(180deg, #F8FBFF 0%, #fff 240px);
}
.breadcrumb{
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 28px;
}
.breadcrumb a{ color: var(--color-text-light); }
.breadcrumb a:hover{ color: var(--color-primary); }
.breadcrumb span{ margin: 0 6px; color: var(--color-border); }
.breadcrumb strong{ color: var(--color-text); font-weight: 600; }

.td-hero{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
    padding: 36px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}
.td-avatar{
    position: relative;
    width: 180px; height: 180px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 72px;
    color: #fff;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.td-avatar em{
    position: absolute;
    top: -6px; right: -6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-accent), #FF9A6E);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    box-shadow: var(--shadow-sm);
}
.td-intro h1{
    font-size: 30px;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.td-intro h1 small{
    font-size: 17px;
    font-weight: 500;
    color: var(--color-primary);
    margin-left: 10px;
}
.td-meta{
    color: var(--color-text-light);
    margin-bottom: 14px;
    font-size: 14px;
}
.td-highlight{
    padding: 14px 18px;
    background: var(--color-primary-light);
    border-left: 3px solid var(--color-primary);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.td-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.td-tags li{
    padding: 5px 12px;
    background: #F1F5F9;
    border-radius: 999px;
    font-size: 13px;
    color: var(--color-text-light);
}
.td-cta{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.td-body{
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.td-main{ display: flex; flex-direction: column; gap: 20px; }
.td-block{
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.td-block h2{
    font-size: 20px;
    margin-bottom: 14px;
    position: relative;
    padding-left: 14px;
}
.td-block h2::before{
    content:"";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}
.td-block p{
    line-height: 1.8;
    color: var(--color-text);
    font-size: 15px;
}
.td-students{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.td-students li{
    padding: 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    text-align: center;
}
.td-students .stu-who strong{ display: block; font-size: 15px; margin-bottom: 2px; }
.td-students .stu-who span{ font-size: 12px; color: var(--color-text-light); }
.td-students .stu-gain{
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 10px 0 4px;
}
.td-students .stu-days{
    font-size: 12px;
    color: var(--color-text-light);
}
.td-block-cta{
    background: linear-gradient(120deg, #EEF4FF, #FFF3EB);
    border-color: transparent;
    text-align: center;
}
.td-block-cta p{ color: var(--color-text-light); margin-bottom: 16px; }

.td-side{ display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.td-panel{
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.td-panel h3{
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--color-text);
}
.td-credentials li{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    border-bottom: 1px dashed var(--color-border);
}
.td-credentials li:last-child{ border-bottom: 0; }
.td-credentials svg{
    width: 16px; height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}
.td-panel-booking{
    background: linear-gradient(135deg, #2E6BE6 0%, #1B50BF 100%);
    border: 0;
    color: #fff;
}
.td-panel-booking h3{ color: #fff; }
.td-panel-booking p{
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    margin-bottom: 14px;
}
.td-panel-booking .btn{ width: 100%; text-align: center; }

@media (max-width: 960px){
    .td-hero{ grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .td-intro{ text-align: center; }
    .td-highlight{ text-align: left; }
    .td-tags{ justify-content: center; }
    .td-cta{ justify-content: center; }
    .td-body{ grid-template-columns: 1fr; }
    .td-side{ position: static; }
    .td-students{ grid-template-columns: 1fr; }
}
