/* 教师详情页面样式 */

/* 面包屑导航 */
.breadcrumb-nav {
    padding: 20px 0;
    color: #999;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 30px;}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;}

.breadcrumb-nav a:hover {
    color: var(--color-secondary);}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #ccc;}

.breadcrumb-nav .current {
    color: #333;
    font-weight: 500;}

/* 教师详情容器 */
.teacher-detail {
    padding-bottom: 60px;}

/* 左侧边栏 */
.sidebar {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;}

.sidebar-title {
    background: var(--color-secondary);
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;}

.menu-item {
    border-bottom: 1px solid #f0f0f0;}

.menu-item:last-child {
    border-bottom: none;}

.menu-title {
    padding: 15px 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;}

.menu-title:hover {
    background: #f5f5f5;
    color: var(--color-secondary);
    padding-left: 25px;}

.menu-title i {
    font-size: 12px;
    transition: transform 0.3s ease;}

.menu-item:hover .menu-title i {
    transform: translateX(5px);}

/* 右侧内容区 */
.detail-content {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 40px;}

/* 教师基本信息头部 */
.teacher-header {
    display: flex;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 40px;}

.teacher-photo {
    flex-shrink: 0;
    width: 200px;
    height: 260px;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;}

.teacher-basic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;}

.teacher-name {
    margin: 0 0 25px 0;
    color: #333;
    font-weight: bold;}

.info-row {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.8;}

.info-row .label {
    flex-shrink: 0;
    width: 60px;
    color: #666;
    font-weight: 500;}

.info-row .value {
    flex: 1;
    color: #333;}

/* 详情区块 */
.detail-section {
    margin-bottom: 40px;}

.detail-section:last-child {
    margin-bottom: 0;}

.section-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding-left: 12px;
    border-left: 4px solid var(--color-secondary);}

.section-content {
    color: #666;
    line-height: 2;}

/* 信息项 */
.info-item {
    display: flex;
    margin-bottom: 12px;}

.item-label {
    flex-shrink: 0;
    min-width: 100px;
    color: #666;
    font-weight: 500;}

.item-value {
    flex: 1;
    color: #333;}

/* 列表样式 */
.timeline-list,
.list-disc,
.list-numbered,
.publication-list {
    list-style: none;
    margin: 0;
    padding: 0;}

.timeline-list li,
.list-disc li,
.list-numbered li,
.publication-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    color: #333;}

/* 时间线列表 */
.timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;}

/* 圆点列表 */
.list-disc li::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: 10px;
    color: var(--color-secondary);
    font-size: 14px;}

/* 数字列表 */
.list-numbered {
    counter-reset: item;}

.list-numbered li {
    counter-increment: item;}

.list-numbered li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--color-secondary);
    font-weight: bold;}

/* 论文列表 */
.publication-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #e8e8e8;}

.publication-list li:last-child {
    border-bottom: none;}

.publication-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    border-radius: 50%;}

.pub-authors {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;}

.pub-title {
    display: block;
    color: #333;
    font-style: italic;
    margin-bottom: 5px;}

.pub-journal {
    display: block;
    color: #999;
    font-size: 14px;}

/* 响应式设计 */
@media screen and (max-width: 991px) {
    .detail-content {
        padding: 30px;}

    .teacher-header {
        gap: 30px;}

    .teacher-photo {
        width: 160px;
        height: 210px;}

    .sidebar {
        margin-bottom: 30px;}
}

@media screen and (max-width: 767px) {
    .breadcrumb-nav {
        font-size: 12px;
        padding: 15px 0;}

    .teacher-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;}

    .teacher-photo {
        width: 200px;
        height: 260px;}

    .detail-content {
        padding: 20px;}

    .section-title {
        font-size: 18px;}

    .teacher-name {
        font-size: 24px;}

    .info-row {
        flex-direction: column;}

    .info-row .label {
        width: auto;
        margin-bottom: 5px;}

    .info-item {
        flex-direction: column;}

    .item-label {
        min-width: auto;
        margin-bottom: 5px;}
}

@media screen and (max-width: 480px) {
    .detail-content {
        padding: 15px;}

    .teacher-photo {
        width: 160px;
        height: 210px;}
}
