/* ============================================================
   gzzqsg.cn 首页视觉 v4 —— 「专业赛事蓝金 · 现代门户大改版」
   覆盖样式（style.css/com.css 之后加载），不动数据与功能；
   回退：删除 layout 中 home-v2.css 引用即可还原框架原貌。
   色板：藏青 #10263f / #0d1b2c，金 #c9a24b / #d8b76a，纸白底 #f4f6f9
   ============================================================ */

:root {
    --navy: #10263f;
    --navy-2: #16324f;
    --navy-ink: #0d1b2c;
    --gold: #c9a24b;
    --gold-l: #d8b76a;
    --gold-d: #a8842c;
    --paper: #f4f6f9;
    --line: #e7ebf1;
    --ink: #24303e;
    --sub: #7c8da0;
}

/* ---------- 1. 全局 ---------- */
body {
    background: var(--paper);
    color: var(--ink);
}
a {
    color: #2e3d52;
}
a:hover {
    color: var(--gold-d);
}

/* ---------- 2. 顶部信息条 ---------- */
.header {
    background: var(--navy-ink) !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.header > .top {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--navy-ink);
}
.header > .top > .topbar {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    min-height: 34px;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    letter-spacing: .4px;
}
.topbar .loginjs {
    order: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar .loginjs b {
    color: var(--gold-l);
    font-weight: 600;
    letter-spacing: 1px;
}
.topbar .site-nav.topmenu {
    order: 2;
    float: none;
    display: flex;
    margin: 0;
}
.topbar .site-nav.topmenu li {
    float: none;
}
.topbar .site-nav.topmenu a {
    padding: 0 10px;
    color: rgba(255, 255, 255, .75);
    border-left: 1px solid rgba(255, 255, 255, .16);
    line-height: 12px;
}
.topbar .site-nav.topmenu a:hover {
    color: var(--gold-l);
}
.topbar .topmenu .red {
    color: var(--gold-l);
}

/* ---------- 3. 主导航 ---------- */
.navbar {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%) !important;
    border-bottom: 3px solid var(--gold) !important;
    box-shadow: 0 4px 18px rgba(9, 20, 34, .18) !important;
}
.navbar-brand {
    position: relative;
    padding-left: 22px;
    font-size: 22px !important;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: 2px;
}
.navbar-brand::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--gold-l), var(--gold-d));
}
.navbar .navbar-nav > li > a {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .88) !important;
    padding: 16px 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color .2s;
}
.navbar .navbar-nav > li > a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .06) !important;
}
.navbar .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.navbar .navbar-nav > li > a:hover::after {
    transform: scaleX(1);
}
.navbar-toggle .icon-bar {
    background: #fff;
}

/* ---------- 4. 区块通用（白卡 + 圆角 + 阴影） ---------- */
.hm-sec {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
    padding: 18px 20px;
    margin-top: 18px;
    overflow: hidden;
}

/* 模块标题 */
.texiaohd {
    position: relative;
    height: auto;
    border-bottom: 1px solid #f0f2f6;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.texiao_tab li p {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 24px;
}
.texiao_tab li p::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 19px;
    margin-right: 9px;
    vertical-align: -3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-l), var(--gold-d));
}
.texiao_tab b.line {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-l), var(--gold));
}
.texiao_tips {
    color: #8d9cb0;
}
.texiao_tips a {
    color: #8d9cb0;
}
.texiao_tips a:hover {
    color: var(--gold-d);
    font-weight: 600;
}
.hm-empty {
    display: block;
    padding: 22px 0;
    text-align: center;
    color: #9aa8ba;
    font-size: 13px;
}

/* ---------- 5. 主视觉：全宽大幻灯 ---------- */
.hm-hero {
    padding: 0;
    border-radius: 16px;
    border: 0;
}
.hm-hero .Slide {
    float: none !important;
    width: 100% !important;
    height: 430px;
    border-radius: 16px;
    overflow: hidden;
}
.hm-hero .slide-cont {
    height: 430px;
}
.hm-hero .slide-item img {
    height: 430px;
    object-fit: cover;
}
.hm-hero .slide-txt {
    height: 64px;
}
.hm-hero .slide-txt .txt_bg {
    height: 64px;
    background: linear-gradient(90deg, rgba(16, 38, 63, .95) 0%, rgba(9, 18, 30, .42) 100%);
    opacity: .96;
    filter: none;
}
.hm-hero .slide-txt a {
    height: 64px;
    line-height: 64px;
    font-weight: 700;
    letter-spacing: 1px;
}
.hm-hero .slide-nav {
    bottom: 26px;
}
.hm-hero .slide-nav a {
    background: rgba(255, 255, 255, .55);
}
.hm-hero .slide-nav a.nownav {
    width: 26px;
    background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
    box-shadow: 0 0 8px rgba(216, 183, 106, .6);
}
.hm-hero #prev, .hm-hero #next {
    display: block;
    width: 48px;
    height: 64px;
    line-height: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9, 18, 30, .32);
}
.hm-hero #prev { left: 0; border-radius: 0 10px 10px 0; }
.hm-hero #next { right: 0; border-radius: 10px 0 0 10px; }
.hm-hero #prev i, .hm-hero #next i { font-size: 42px; line-height: 64px; color: #fff; }
.hm-hero #prev:hover, .hm-hero #next:hover { background: linear-gradient(180deg, var(--gold-l), var(--gold-d)); }
.hm-hero #prev:hover i, .hm-hero #next:hover i { color: var(--navy-ink); }

/* ---------- 6. 频道快捷入口 ---------- */
.hm-channels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.hm-ch {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 10px 18px;
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hm-ch:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(13, 27, 44, .12);
    border-color: rgba(201, 162, 75, .5);
}
.hm-ch i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    color: var(--gold-l);
    background: linear-gradient(145deg, #f7f4ec, #ece4d2);
    font-size: 26px;
    margin-bottom: 12px;
    transition: all .2s;
}
.hm-ch:hover i {
    color: #fff;
    background: linear-gradient(145deg, var(--gold-l), var(--gold-d));
}
.hm-ch b {
    font-size: 16px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 2px;
}
.hm-ch em {
    margin-top: 4px;
    font-size: 12px;
    color: var(--sub);
}

/* ---------- 7. 双栏：新闻 + 公棚 ---------- */
.hm-cols {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    padding-bottom: 8px;
}
.hm-col + .hm-col {
    border-left: 1px solid #eef1f6;
}
.hm-col-main {
    padding-right: 24px;
}
.hm-col-side {
    padding-left: 24px;
}

/* 新闻列表 */
.hm-news-list li {
    display: flex;
    align-items: baseline;
    border-bottom: 1px dashed #e7ebf2;
    line-height: 42px;
}
.hm-news-list li a.t {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #33415a;
    font-size: 15px;
    transition: color .15s;
}
.hm-news-list li a.t:hover {
    color: var(--gold-d);
}
.hm-news-list li span.d {
    flex: none;
    margin-left: 14px;
    color: #a6b2c1;
    font-size: 12px;
}

/* 公棚列表 */
.hm-loft-list .sml {
    display: flex;
    align-items: center;
    line-height: 40px;
}
.hm-loft-list .sml .r {
    flex: none;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--gold-l), var(--gold-d));
    color: var(--navy-ink);
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(168, 132, 44, .30);
}
.hm-loft-list .sml a {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #33415a;
    font-size: 14px;
}
.hm-loft-list .sml a:hover {
    color: var(--gold-d);
}

/* ---------- 8. 视频播放（大图卡片） ---------- */
.hm-video .topic_list {
    background: transparent;
}
.tl_box {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.tl_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(13, 27, 44, .12);
}
.tl_box h3 a {
    color: var(--navy);
    font-weight: 600;
}
.tl_box h3 a:hover {
    color: var(--gold-d);
}
.bagua .tlb_img img {
    height: 168px;
    object-fit: cover;
}
.tlb_line > div {
    background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
}

/* ---------- 9. 广告位 ---------- */
.hm-ad {
    padding: 12px 20px;
}
.hm-ad-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hm-ad-row p {
    flex: 1 1 calc(25% - 11px);
    min-width: 200px;
    margin: 0;
}
.hm-ad-row p a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}
.hm-ad-row img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.hm-ad-half .hm-ad-row p {
    flex-basis: calc(50% - 7px);
    min-width: 260px;
}

/* ---------- 10. 页脚 ---------- */
.footer {
    background: var(--navy-ink) !important;
    color: rgba(255, 255, 255, .62) !important;
    text-align: center;
    padding: 28px 12px 32px !important;
    margin-top: 34px;
    font-size: 13px;
    line-height: 2;
    border-top: 3px solid var(--gold);
}
.footer .copyright a,
.footer a {
    color: rgba(255, 255, 255, .78);
}
.footer .copyright a:hover,
.footer a:hover {
    color: var(--gold-l);
}

/* ---------- 11. 移动端 ---------- */
@media (max-width: 1024px) {
    .hm-channels {
        grid-template-columns: repeat(3, 1fr);
    }
    .hm-cols {
        grid-template-columns: 1fr;
    }
    .hm-col + .hm-col {
        border-left: 0;
        border-top: 1px solid #eef1f6;
    }
    .hm-col-main, .hm-col-side {
        padding: 0;
    }
    .hm-hero .Slide,
    .hm-hero .slide-cont,
    .hm-hero .slide-item img {
        height: 340px;
    }
}
@media (max-width: 660px) {
    .header > .top > .topbar {
        min-height: 30px;
        font-size: 11px;
    }
    .navbar-brand {
        font-size: 18px !important;
    }
    .hm-hero .Slide,
    .hm-hero .slide-cont,
    .hm-hero .slide-item img {
        height: 210px;
    }
    .hm-hero .slide-txt,
    .hm-hero .slide-txt .txt_bg,
    .hm-hero .slide-txt a {
        height: 46px;
        line-height: 46px;
    }
    .hm-hero .slide-txt a {
        font-size: 14px;
    }
    .hm-channels {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hm-ch {
        padding: 16px 8px 12px;
    }
    .hm-ch i {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    .hm-sec {
        margin-top: 12px;
        padding: 14px;
        border-radius: 10px;
    }
    .hm-ad-row p,
    .hm-ad-half .hm-ad-row p {
        flex: 1 1 100%;
        min-width: 0;
    }
    .texiao_tab li p {
        font-size: 17px;
    }
    .hm-news-list li {
        line-height: 38px;
    }
}

/* ============ 12. 通用列表页（newslist / more 等） ============ */
.cont {
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
}

.newslist .newslist-box {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
    padding: 20px 24px 28px;
    margin-top: 18px;
}
.newslist .gp-box {
    min-height: 420px;
    padding-top: 6px;
}
.newslist .gp-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #e7ebf2;
    min-height: 50px;
    line-height: 50px;
    transition: background .15s;
    padding: 0 6px;
}
.newslist .gp-list li:hover {
    background: #f7f9fc;
}
.newslist .gp-list li .txt-overflow {
    flex: 1;
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #33415a;
    font-size: 15px;
}
.newslist .gp-list li .txt-overflow:hover {
    color: var(--gold-d);
}
.newslist .gp-list li .txt-overflow i,
.newslist .gp-list li i.text-red {
    color: var(--gold-d);
    font-size: 13px;
    margin-right: 6px;
    font-style: normal;
}
.newslist .gp-list li span {
    flex: none;
    margin-left: 16px;
    color: #a6b2c1;
    font-size: 12px;
}

/* 面包屑 */
.newslist .texiao_tips .cur {
    color: var(--gold-d);
    font-weight: 600;
}

/* layui 分页器金色主题 */
#pages {
    text-align: center;
    margin-top: 24px;
}
#pages .layui-laypage {
    display: inline-block;
    font-size: 0;
    vertical-align: middle;
}
#pages .layui-laypage a,
#pages .layui-laypage span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0 4px;
    padding: 0 10px;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5668;
    background: #fff;
    transition: all .15s;
}
#pages .layui-laypage a:hover {
    border-color: var(--gold);
    color: var(--gold-d);
}
#pages .layui-laypage .layui-laypage-curr {
    border: 0;
    background: transparent;
}
#pages .layui-laypage .layui-laypage-curr em {
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-l), var(--gold-d)) !important;
    color: #fff !important;
    font-style: normal;
    font-weight: 600;
}
#pages .layui-laypage .layui-laypage-prev,
#pages .layui-laypage .layui-laypage-next {
    color: #4a5668;
}

/* 列表页移动端 */
@media (max-width: 660px) {
    .newslist .newslist-box {
        margin-top: 12px;
        padding: 14px 14px 22px;
        border-radius: 10px;
    }
    .newslist .gp-list li {
        min-height: 46px;
        line-height: 46px;
    }
}

/* ============ 13. 全站通用排版与细节（蓝金体系） ============ */
.content {
    font-size: 14px;
    line-height: 1.8;
}
.content img,
.content video,
.content iframe {
    max-width: 100%;
    border-radius: 8px;
}
.content h1,
.content h2,
.content h3 {
    color: var(--navy);
    letter-spacing: .5px;
}
.content .table thead th {
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    background: #f8f9fc;
}
/* 金色强调色（代替旧红色/蓝色点缀） */
.text-red {
    color: var(--gold-d) !important;
}
/* 主按钮金化（登录/提交等 .btn-primary） */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-l), var(--gold)) !important;
    border-color: var(--gold-d) !important;
    color: #fff !important;
    text-shadow: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--gold), var(--gold-d)) !important;
    border-color: #96722a !important;
    color: #fff !important;
}
.btn-primary[disabled],
.btn-primary.disabled {
    background: #cbb87f !important;
    border-color: #cbb87f !important;
}
/* 面包屑/位置 */
.crumb,
.breadcrumb {
    color: var(--sub);
    font-size: 13px;
}
.crumb a,
.breadcrumb a {
    color: var(--gold-d);
}

/* ============ 14. 关于我们页 ============ */
.about-page {
    padding-bottom: 10px;
}
.ab-hero {
    position: relative;
    margin-top: 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(13, 27, 44, .14);
}
.ab-hero img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.ab-hero-cap {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 18px 30px 16px;
    background: linear-gradient(90deg, rgba(13, 27, 44, .88) 0%, rgba(13, 27, 44, .35) 70%, transparent 100%);
}
.ab-hero-cap span {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    line-height: 1.3;
}
.ab-hero-cap em {
    display: block;
    margin-top: 6px;
    color: var(--gold-l);
    font-style: normal;
    font-size: 12px;
    letter-spacing: 3px;
}
.ab-sec {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
    padding: 22px 26px 26px;
    margin-top: 18px;
}
.ab-article {
    color: #3a4250;
    font-size: 15px;
    line-height: 2;
}
.ab-article p {
    margin: 10px 0;
}
.ab-article img {
    max-width: 100%;
    border-radius: 8px;
}
.ab-contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.ab-card {
    background: #fff;
    border: 1px solid #edf0f6;
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(13, 27, 44, .05);
}
.ab-card h4 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ab-card h4 i {
    color: var(--gold-d);
    margin-right: 8px;
}
.ab-card p {
    margin: 7px 0;
    color: #4a5668;
    word-break: break-all;
}
.ab-map-sec #mapbox {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
}
@media (max-width: 920px) {
    .ab-hero img {
        height: 220px;
    }
    .ab-contact-row {
        grid-template-columns: 1fr;
    }
    .ab-sec {
        padding: 16px 16px 20px;
    }
    .ab-map-sec #mapbox {
        height: 300px;
    }
}
