/* 添加到 d:\JIAZU\zhenxing\zhenqiang\css\style.css */

/* 网站地图按钮样式 */
.btn-sitemap {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(/static/img/main/btn-sitemap.png) no-repeat center center;
    background-size: contain;
    cursor: pointer;
    vertical-align: middle;
}

/* 如果没有图标，用文字替代 */
.btn-sitemap span {
    display: none;
}

/* 遮罩层溢出隐藏 */
.over-hidden {
    overflow: hidden !important;
}
/* 华强学校补充样式 */
.s-desc {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.course-item {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.course-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-item h4 {
    font-size: 18px;
    color: #155ebd;
    margin-bottom: 8px;
    font-weight: bold;
}

.course-item p {
    font-size: 14px;
    color: #666;
}

/* 新闻模块标题样式 */
.news-top {
    margin-bottom: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.news-top .section {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.model-title {
    width: fit-content;
    position: relative;
    margin-bottom: 0;
}

.model-title.marginRight {
    margin-left: 0;
    margin-right: auto;
}

.model-title .en-title {
    font-size: 60px;
    font-weight: 900;
    color: #EEF3FB;
    line-height: 1;
    text-transform: uppercase;
}

.model-title .cn-title {
    font-size: 32px;
    font-weight: 900;
    color: #000000;
    margin-top: -35px;
    text-align: left;
}

.index-news-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.index-news-menu li {
    list-style: none;
}

.index-news-menu a {
    color: #1b2728;
    font-size: 16px;
    padding-left: 40px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.index-news-menu a::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #1b2728;
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: border-color 0.3s;
}

.index-news-menu a::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 16px;
    background: #1b2728;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s;
}

.index-news-menu a:hover {
    color: #182162;
}

.index-news-menu a:hover::before {
    border-color: #182162;
}

.index-news-menu a:hover::after {
    background: #182162;
}

/* ==============================
 * News Detail Page Custom Styles
================================= */
/* 确保黑色分隔线显示 */
.bdViewHead {
    border-top: 2px solid #45464a !important;
}
/* 确保标题居中 */
.bdViewHead .bdViewTit {
    text-align: center !important;
}
.bdViewHead .bdViewTit .viewTit .stit {
    display: block !important;
    text-align: center !important;
    font-size: 1.444em !important;
    font-weight: 700 !important;
    color: #333 !important;
}
/* 上下篇导航样式优化 - 缩小间距 */
.bdViewMore {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    border-bottom: 1px solid #ccc !important;
    border-top: 1px solid #ccc !important;
}
.bdViewMore ul {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}
.bdViewMore ul:before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1px !important;
    height: 30px !important;
    background: #ccc !important;
    transform: translateY(-50%) !important;
}
.bdViewMore li {
    width: 50% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    float: left !important;
    text-align: right !important;
}
.bdViewMore li a {
    padding: 15px 119px 15px 20px !important;
}
.bdViewMore li.first {
    width: 50% !important;
    text-align: left !important;
}
.bdViewMore li.first a {
    padding: 15px 20px 15px 119px !important;
}
/* 确保返回按钮在右侧 */
.bdViewBtns {
    display: block !important;
    margin: 20px 0 0 !important;
    text-align: right !important;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .news-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .news-top .section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .model-title .en-title {
        font-size: 36px;
    }
    
    .model-title .cn-title {
        font-size: 24px;
        margin-top: -20px;
    }
    
    .index-news-menu {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* 移动端上下篇导航适配 */
    .bdViewMore li a {
        padding: 10px 70px 10px 10px !important;
    }
    .bdViewMore li.first a {
        padding: 10px 10px 10px 70px !important;
    }
}