/* 文章详情页面特定样式 */

.main-content {
    background-color: #fff;
    padding: 40px 0;
}

.container {
    margin: 0 auto;
}

.sidebar {
    padding: 0;
    background-color: #fff;
}

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

.academy-en {
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 0.6px;
    line-height: 71.34px;
    color: rgba(230, 230, 230, 1);
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.academy-cn {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.blue-line {
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    margin-bottom: 30px;
}

/* 返回按钮样式 */
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 15px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #0066cc;
    width: 50%;
    justify-content: center;
}

.back-button:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.back-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    filter: brightness(0) invert(1); /* 将SVG图标变为白色 */
}

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

.sidebar-menu li {
    padding: 0;
    margin-bottom: 20px;
    border-bottom: none;
}

.sidebar-menu li a {
    color: #333;
    display: block;
    padding: 0;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border-bottom: none;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: #0066cc;
    background-color: transparent;
}

.sidebar-menu li a.active {
    color: #0066cc;
    font-weight: bold;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
    padding-bottom: 5px;
}

.breadcrumb-container {
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333;
}

.academy-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.academy-intro {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 文章内容区域 */
.article-content {
    /* 防止内容超出 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #0066cc;
}

.section-title-en {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 上下篇文章导航样式 */
.article-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-item1 {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.nav-item1:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.nav-item1 .nav-content {
    flex: 1;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-item1 .nav-date-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    margin-right: 15px;
    text-align: center;
    flex-shrink: 0;
}

.nav-item1 .nav-date {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    margin-bottom: 2px;
}

.nav-item1 .nav-year {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.nav-item1 .nav-label {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.nav-item1 .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-item1 .nav-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.nav-item1 .nav-link1 {
    display: inline-block;
    color: #f39c12;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    padding: 4px 12px;
    background-color: transparent;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 1px solid #f39c12;
    align-self: flex-start;
}

.nav-item1 .nav-link1:hover {
    background-color: #f39c12;
    color: white;
    text-decoration: none;
}

.nav-item1 .nav-link1::after {
    content: '';
}

.nav-item1 .nav-link1:hover::after {
    transform: none;
}

/* 联系我们部分 */
.contact-section {
    background-color: #fff;
    padding: 50px 0;
    margin-top: 50px;
}

.contact-container {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
    flex: 0 0 80px;
}

.info-value {
    color: #666;
}

.qr-codes {
    display: flex;
    justify-content: space-between;
}

.qr-code-item {
    text-align: center;
    margin-right: 30px;
}

.qr-code-img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-code-text {
    font-size: 14px;
    color: #666;
}

/* 学院导航 */
.academy-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    border-bottom: 1px solid #eee;
}

.academy-tabs li {
    margin-right: 30px;
}

.academy-tabs li a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    position: relative;
}

.academy-tabs li a.active {
    color: #0066cc;
    font-weight: bold;
}

.academy-tabs li a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}

/* 院长照片和介绍 */
.profile-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.light-bg {
    background-color: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
}

.content-section {
    line-height: 1.8;
    color: #555;
    /* 防止内容超出 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-section p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .article-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .article-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
        padding-top: 30px;
    }

    .nav-item1 {
        flex-direction: row;
        min-height: 100px;
        padding: 15px;
    }

    .nav-item1 .nav-date-info {
        min-width: 45px;
        margin-right: 12px;
    }

    .nav-item1 .nav-date {
        font-size: 18px;
    }

    .nav-item1 .nav-year {
        font-size: 10px;
    }

    .nav-item1 .nav-content {
        margin-left: 12px;
    }

    .nav-item1 .nav-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-bottom: 5px;
    }

    .nav-item1 .nav-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
    }

    .nav-item1 .nav-link1 {
        font-size: 10px;
        padding: 3px 8px;
    }

    .back-button {
        font-size: 14px;
        padding: 10px 16px;
    }

    .back-icon {
        width: 16px;
        height: 16px;
    }
}

/* 空数据提示样式 */
.no-content-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
}

.no-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 500px;
}

.no-content-icon {
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-content-icon svg {
    width: 80px;
    height: 80px;
    display: block;
}

.no-content-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.no-content-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.back-home-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.back-home-btn:hover {
    background-color: #0052a3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* 空数据提示响应式设计 */
@media (max-width: 768px) {
    .no-content-message {
        min-height: 300px;
        padding: 20px;
    }
    
    .no-content-wrapper {
        padding: 30px 15px;
    }
    
    .no-content-title {
        font-size: 20px;
    }
    
    .no-content-description {
        font-size: 14px;
    }
    
    .no-content-icon svg {
        width: 60px;
        height: 60px;
    }
}