@charset "utf-8";
/* =====================================================================
   无极软件 - 教程详情页统一响应式覆盖样式
   用于旧版 course/*.html 详情页，将旧结构统一为新视觉并适配三端
   ===================================================================== */

/* ---------- 顶部导航覆盖 ---------- */
#top_three {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 31, 69, .95);
    height: 80px; line-height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
#top_three .cont { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; height: 80px; line-height: 80px; }
#top_three .logo img { height: 40px; width: auto; margin: 20px 0; }
#top_three .nav { margin-left: 40px; }
#top_three .nav li { float: left; list-style: none; }
#top_three .nav a {
    display: block; color: rgba(255, 255, 255, .88) !important;
    line-height: 80px; padding: 0 14px; font-size: 15px; font-family: "Microsoft YaHei", sans-serif;
}
#top_three .nav a:hover,
#top_three .nav a.active { color: #ff5842 !important; }
#top_three .login li { float: left; list-style: none; }
#top_three .login a { display: block; color: #fff !important; line-height: 80px; font-size: 15px; }

/* ---------- 内容区通用 ---------- */
body { background: #f5f8fd; }
body img { max-width: 100%; }
.news_index, .index_sshow { padding: 110px 0 60px; }
.news_index .cont, .index_sshow .cont { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* 图文详情 */
.show_fl {
    background: #fff; border-radius: 14px;
    box-shadow: 0 6px 24px rgba(14, 42, 92, .08);
    border: 1px solid #e6edf7; padding: 40px 48px;
}
.show_fl .h1 { font-size: 26px; color: #0e2a5c; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.show_fl .p2 { color: #7b8798; font-size: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e6edf7; }
.show_cont h1, .show_cont h2, .show_cont h3 { color: #0e2a5c !important; font-weight: 700; line-height: 1.6; }
.show_cont p { color: #333e4f; line-height: 2em; }
.show_cont img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.show_cont table { max-width: 100%; border-collapse: collapse; }
.show_cont table td, .show_cont table th { border: 1px solid #e6edf7; padding: 8px 12px; }
.show_cont a { color: #1b5fd9; }

/* 视频详情 */
.index_sshow .p1 { font-size: 20px; color: #0e2a5c; font-weight: 700; margin-bottom: 18px; }
.index_sshow .video video {
    width: 100%; height: auto; max-height: 680px;
    border-radius: 14px; background: #000;
    box-shadow: 0 14px 40px rgba(14, 42, 92, .16);
}
.index_sshow .video { text-align: center; }

/* ---------- 平板适配（<=991） ---------- */
@media screen and (max-width: 991px) {
    #top_three, #top_three .cont { height: 56px; line-height: 56px; }
    #top_three .logo img { height: 30px; margin: 13px 0; }
    #top_three .login { display: none; }
    #top_three .nav {
        position: fixed; top: 56px; left: 0; right: 0; margin: 0;
        background: rgba(10, 31, 69, .98); line-height: normal;
        overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    }
    #top_three .nav li { float: none; display: inline-block; }
    #top_three .nav a { line-height: 46px !important; padding: 0 14px; font-size: 14px; }
    #top_three .nav::-webkit-scrollbar { display: none; }
    .news_index, .index_sshow { padding: 60px 0 48px; }
    .show_fl { padding: 26px 20px; }
    .show_fl .h1 { font-size: 20px; }
    .index_sshow .p1 { font-size: 17px; }
}

/* ---------- 手机适配（<=767） ---------- */
@media screen and (max-width: 767px) {
    #top_three .cont { padding: 0 12px; }
    #top_three .logo img { height: 26px; }
    .news_index .cont, .index_sshow .cont { padding: 0 12px; }
    .show_fl { padding: 20px 14px; border-radius: 10px; }
    .show_fl .h1 { font-size: 18px; }
    .show_cont p { font-size: 14px; }
}
