@charset "utf-8";
/* ============================================
   航空学院网站 - zy.css（子页通用样式）
   包含：子页Banner、左侧栏目菜单、右侧内容区、
         面包屑、文章详情、列表页、分页
   适用页面：列表页 / 内容页 / 单篇正文页
   适配：博达网站群 V12
   版本：2026-05
   ============================================ */


/* ============================================
   子页整体布局  .main
   ============================================ */
.main {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.main::after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}


/* ============================================
   子页 Banner  .zyBanner
   ============================================ */
.zyBanner {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #0F172A 0%, #0369A1 50%, #0EA5E9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Banner 网格纹理 */
.zyBanner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Banner 底部蓝线 */
.zyBanner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0EA5E9, #38BDF8, #0EA5E9);
}

/* Banner 内容（博达注入的图片或文字） */
.zyBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.zyBanner-title {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.zyBanner-title h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 8px;
}

.zyBanner-title p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 3px;
}


/* ============================================
   左侧栏目菜单  .zyMenu
   ============================================ */
.zyMenu {
    flex-shrink: 0;
    width: 210px;
    min-height: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    align-self: flex-start;

    /* 兼容旧版float布局 */
    float: left;
    _width: 210px;
}

/* 栏目标题 */
.zyMenu dt {
    font-size: 17px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    padding: 18px 16px;
    text-align: center;
    letter-spacing: 4px;
    position: relative;
}

/* dt 两侧装饰线 */
.zyMenu dt::before,
.zyMenu dt::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    vertical-align: middle;
    margin: 0 8px;
}

/* 栏目链接项 */
.zyMenu dd {
    background: transparent;
    border-bottom: 1px solid #f2f2f2;
    transition: all 0.3s ease;
}

.zyMenu dd:last-child { border-bottom: none; }

.zyMenu dd a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 18px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 链接左侧小点 */
.zyMenu dd a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #d0d0d0;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

/* 右箭头字符 */
.zyMenu dd a i {
    font-size: 12px;
    color: #ccc;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.zyMenu dd a:hover {
    background: linear-gradient(90deg, rgba(14,165,233,0.08), transparent);
    color: #0EA5E9;
    padding-left: 24px;
}

.zyMenu dd a:hover::before {
    background: #0EA5E9;
    width: 8px;
    height: 8px;
}

.zyMenu dd a:hover i { color: #0EA5E9; }

/* 当前选中菜单项 */
.zyMenu dd.visited,
.zyMenu dd a.visited {
    background: linear-gradient(90deg, rgba(14,165,233,0.1), rgba(14,165,233,0.04));
}

.zyMenu dd.visited a,
.zyMenu dd a.visited {
    color: #0EA5E9;
    padding-left: 24px;
}

.zyMenu dd.visited a::before {
    background: #0EA5E9;
    width: 8px;
    height: 8px;
}


/* ============================================
   右侧内容区  .mainRight
   ============================================ */
.mainRight {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    min-height: 500px;
    overflow: visible;
    position: relative;
    z-index: 1;

    /* 兼容旧版float布局 */
    float: right;
    width: calc(100% - 240px);
    _width: 940px;
}

/* 内容区兜底：确保博达未注入内容时区域依然可见 */
.mainRight:empty::before {
    content: '内容加载中...';
    display: block;
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 兼容博达CMS可能生成的不同内容结构 */
.mainRight > div,
.mainRight > table,
.mainRight > ul,
.mainRight > ol,
.mainRight > p {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* 确保博达注入的表格布局不被隐藏 */
.mainRight table {
    width: 100%;
    border-collapse: collapse;
}
.mainRight table td,
.mainRight table th {
    vertical-align: top;
}

/* 列表项悬停动画效果 */
.list_main_content ul li a:hover,
.wordList li a:hover {
    background: #F0F6FF;
    color: #0EA5E9;
    padding-left: 22px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 菜单图标平移动画 */
.zyMenu dd a i {
    font-size: 12px;
    color: #ccc;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.zyMenu dd a:hover i {
    color: #0EA5E9;
    transform: translateX(4px);
}


/* ============================================
   面包屑导航  .mrAdd
   ============================================ */
.mrAdd {
    width: 100%;
    height: 50px;
    background: #FAFBFC;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-radius: 14px 14px 0 0;
    box-sizing: border-box;
}

.mrAdd h6 {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1;
}

.mrAdd span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 12px;
}

.mrAdd span a {
    color: #0EA5E9;
    font-size: 12px;
    transition: all 0.2s;
}

.mrAdd span a:hover { text-decoration: underline; }

/* 面包屑分隔符 */
.mrAdd span a + a::before,
.mrAdd span .sep {
    content: ' › ';
    color: #ccc;
    margin: 0 4px;
}


/* ============================================
   文章详情正文  .third / .detail_main_content
   ============================================ */
.third,
.detail_main_content {
    padding: 20px 28px 36px;
    min-height: 0;
    position: relative;
    z-index: 1;
    display: block;
}

/* 兼容博达CMS可能使用的其他内容class名 */
.mainRight .content,
.mainRight .article,
.mainRight .detail,
.mainRight .news-detail,
.mainRight .article-content {
    display: block;
    position: relative;
    z-index: 1;
}

/* 文章标题（覆盖博达CMS在body中注入的内联style） */
.detail_main_content h3,
.third h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    padding: 24px 0 16px !important;
    border-bottom: 1px dashed #eee;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* 文章元信息（来源、时间）— 覆盖CMS内联样式 */
.detail_main_content h1 {
    height: 44px !important;
    border-bottom: 1px dashed #e0e0e0;
    line-height: 44px;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    color: #999;
    margin-bottom: 16px !important;
}

.detail_main_content h1 span {
    padding-left: 16px;
    color: #0EA5E9;
}

/* 正文内容显示区（覆盖博达CMS内联样式的height:22px限制） */
.detail_content_display {
    padding-top: 16px !important;
    line-height: 1.9;
    height: auto !important;
    min-height: 0 !important;
}

/* 空div隐藏：模板中detail_content_display常为空，直接隐藏消除标题与正文间大段空白 */
.detail_content_display:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
}

/* CMS模板底部注入的div常带margin-top:50px，强制归零 */
[style*="margin-top:50px"] {
    margin-top: 0 !important;
}

.detail_content_display p,
.third p {
    font-size: 15px;
    color: #333;
    line-height: 2;
    margin-bottom: 14px;
    text-align: justify;
}

.detail_content_display h3,
.third h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 22px 0 10px;
    padding-left: 14px;
    border-left: 4px solid #0EA5E9;
    text-align: left;
}

/* 文章主标题（博达CMS注入的第一个h3）强制居中
   覆盖.third h3 / .detail_content_display h3 的左对齐，去除左侧竖线 */
.detail_main_content h3:first-of-type,
.detail_content_display h3:first-of-type,
.third > .detail_main_content h3:first-of-type {
    text-align: center !important;
    border-left: none !important;
    padding-left: 0 !important;
    border-bottom: 1px dashed #eee;
    padding-bottom: 16px;
    margin-bottom: 14px;
}

.detail_content_display img,
.third img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin: 14px auto;
    display: block;
}

.detail_content_display ul,
.detail_content_display ol,
.third ul,
.third ol {
    margin: 14px 0;
    padding-left: 28px;
}

.detail_content_display ul li { list-style: disc; }
.detail_content_display ol li { list-style: decimal; }

.detail_content_display ul li,
.detail_content_display ol li,
.third ul li,
.third ol li {
    line-height: 2;
    color: #333;
    font-size: 15px;
}

/* 文章元信息行（来源/作者/日期） */
.wordNews {
    text-align: center;
    padding: 10px 0 14px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    color: #999;
    font-size: 13px;
}

.wordNews span {
    margin: 0 10px;
}

.wordNews span::before {
    content: '·';
    margin-right: 6px;
    color: #0EA5E9;
}

.wordNews span:first-child::before { display: none; }


/* ============================================
   文章列表  .list_main_content / .wordList
   ============================================ */
.list_main_content {
    padding: 14px 22px 30px;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.list_main_content ul {
    margin: 0;
    padding: 0;
}

.list_main_content ul li,
.wordList li {
    border-bottom: 1px dashed #eee;
}

.list_main_content ul li:last-child,
.wordList li:last-child {
    border-bottom: none;
}

.list_main_content ul li a,
.wordList li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    border-radius: 8px;
    margin: 4px 0;
    background: #FAFBFC;
    transition: all 0.3s ease;
}

.list_main_content ul li a:hover,
.wordList li a:hover {
    background: #EFF6FF;
    color: #0EA5E9;
    padding-left: 22px;
}

/* 列表项标题 */
.list_main_content ul li a,
.wordList li a {
    position: relative;
}

.list_main_content ul li a::before,
.wordList li a::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #d0d0d0;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.list_main_content ul li a:hover::before,
.wordList li a:hover::before {
    background: #0EA5E9;
}

/* 列表项中的标题文字 */
.list_main_content ul li a span,
.wordList li a span {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 日期标签 */
.list_time,
.wordList li a i {
    flex-shrink: 0;
    color: #bbb;
    font-size: 12px;
    white-space: nowrap;
    float: none;
    padding-right: 0;
    margin-left: 10px;
}


/* ============================================
   分页导航  .ecms_pag / .thirdPage
   ============================================ */
.ecms_pag {
    padding: 24px 22px 30px;
}

.ecms_pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.ecms_pagination ul {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.ecms_pagination li {
    display: inline;
    list-style: none;
}

.ecms_pagination a,
.ecms_pagination a:visited {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #555;
    font-size: 13px;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ecms_pagination a:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
    background: #EFF6FF;
}

.ecms_pagination li.ecms_currentpage {
    padding: 7px 13px;
    background: #0EA5E9;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ecms_pagination li.ecms_disablepage {
    padding: 7px 13px;
    border: 1px solid #eee;
    border-radius: 6px;
    color: #ccc;
    font-size: 13px;
    cursor: default;
}

.ecms_go {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    float: none;
    margin: 0;
    padding: 0;
}

.ecms_jump_input {
    width: 40px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 13px;
    outline: none;
}

.ecms_jump_input:focus {
    border-color: #0EA5E9;
}

.ecms_list_p6 {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    background: #fff;
}

.ecms_list_p6:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
}

.ecms_drop {
    padding-left: 4px;
}


/* ============================================
   图文列表  .imgList
   ============================================ */
.imgList {
    padding: 14px 22px;
}

.imgList li {
    border-bottom: 1px dashed #eee;
}

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

.imgList li a {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    color: #333;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.imgList li a img {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.imgList li a:hover img {
    transform: scale(1.03);
}

.imgList li a .img-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imgList li a .img-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.5;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.imgList li a:hover .img-info h2 {
    color: #0EA5E9;
}

.imgList li a .img-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.imgList li a .img-info .article-date {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #bbb;
}


/* ============================================
   响应式适配
   ============================================ */
@media screen and (max-width: 1024px) {
    .zyMenu { width: 180px; }
    .mainRight { width: calc(100% - 208px); }
}

@media screen and (max-width: 768px) {
    .main {
        flex-direction: column;
        padding: 0 15px;
        margin-top: 20px;
    }

    .zyMenu {
        float: none;
        width: 100%;
        min-height: auto;
        border-radius: 10px;
    }

    .zyMenu dd {
        display: inline-block;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }

    .zyMenu dd a { padding: 10px 14px; }

    .mainRight {
        float: none;
        width: 100%;
    }

    .zyBanner { height: 120px; }
    .zyBanner-title h1 { font-size: 22px; letter-spacing: 4px; }

    .third, .detail_main_content, .list_main_content {
        padding: 14px 16px 24px;
    }

    .imgList li a {
        flex-direction: column;
    }

    .imgList li a img {
        width: 100%;
        height: 180px;
    }
}
