/* ============================================================
   四川省侨商联合会网站 样式表
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; color: #333; transition: color .2s; }
a:hover { color: #c8161d; }
ul { list-style: none; }
img { max-width: 100%; border: none; }
.container { width: 1200px; margin: 0 auto; }
/* ---------- 顶部栏【隐藏，已经移到头部背景图内】 ---------- */

.top-bar .top-right { text-align: right; }
.top-link {
    display: inline-block;
    margin-left: 20px;
    color: #666;
    font-size: 13px;
}
.top-link:hover { color: #1a5fb4; }
/* 搜索框 */
.search-box {
    display: none;
    background: #f5f5f5;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}
.search-box.show { display: block; }
.search-box form { text-align: right; }
.search-box input {
    width: 300px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}
.search-box button {
    height: 34px;
    padding: 0 20px;
    background: #1a5fb4;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 8px;
}
/* ---------- 头部 ---------- */
.top-bar {
    display: none;
}
.site-header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0;
    height: 400px;
    position: relative;
}
/* 彻底关闭蓝色遮罩 */
.site-header::before {
    display:none !important;
}
.header-inner {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding-top: 25px;
    position: relative;
    z-index: 2;
}
/*右上角会员登录+搜索*/
.header-top-row{
    width: 100%;
    text-align: right;
    margin-bottom: 45px;
}
.header-top-row .top-link{
    color:#333;
    margin-left:24px;
    font-size:15px;
}
.header-top-row .top-link:hover{
    color:#c8161d;
}
/* Logo+名称 和标语【同一水平线一行】 */
.header-main-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
}
/*移除logo多余圆形白框 */
.logo img {
    width: 90px;
    height: 90px;
    border-radius: 0;
    background: transparent;
    padding: 0;
}
.logo-text h1 {
    color: #1a5fb4;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 1px;
}
.logo-text p {
    color: #6688bb;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 1px;
}
.slogan {
    color: #1a5fb4;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: none;
    white-space: nowrap;
}

/* ---------- 主导航 ---------- */
.main-nav {
    background: #1a5fb4;
    border-top: 1px solid rgba(255,255,255,.1);
}
.main-nav > .container > ul {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}
.main-nav li {
    position: relative;
    /* 自动分配剩余空间 */
    flex-grow: 1;
    flex-shrink: 0;
    text-align: center;
    white-space: nowrap;
}
.main-nav li a {
    display: block;
    padding: 14px 8px;
    color: #fff;
    font-size: 15px;
    transition: background .2s;
}
.main-nav li a:hover,
.main-nav li.active > a {
    background: #c8161d;
    color: #fff;
}
.main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    z-index: 100;
}
.main-nav li:hover .submenu { display: block; }
.main-nav .submenu li a {
    color: #333;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.main-nav .submenu li a:hover { background: #f0f5ff; color: #1a5fb4; }

/* ---------- 通用区块 ---------- */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1a5fb4;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.section-head h3 {
    font-size: 20px;
    color: #1a5fb4;
    font-weight: bold;
    position: relative;
    padding-left: 12px;
}
.section-head h3::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 18px;
    background: #c8161d;
}
.section-head .more {
    color: #999;
    font-size: 12px;
}
.section-head.light { border-bottom-color: rgba(255,255,255,.3); }
.section-head.light h3 { color: #fff; }
.section-head.light h3::before { background: #fff; }
.section-head.light .more { color: rgba(255,255,255,.7); }
/* 新闻列表 */
.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.news-list li a {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.news-list li a:hover { color: #c8161d; }
.news-list .date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}
.news-list .tag-headline {
    display: inline-block;
    background: #c8161d;
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    margin-right: 6px;
    flex-shrink: 0;
}
.news-list.two-col {
    display: flex;
    flex-wrap: wrap;
}
.news-list.two-col li {
    width: 50%;
    padding-right: 20px;
}
.news-list.light li { border-bottom-color: rgba(255,255,255,.15); }
.news-list.light li a { color: rgba(255,255,255,.9); }
.news-list.light li a:hover { color: #fff; }
.news-list.light .date { color: rgba(255,255,255,.6); }
/* ---------- 轮播 + 侨商动态 ---------- */
.section-news { padding: 25px 0; }
.section-news .container {
    display: flex;
    gap: 25px;
}
.news-left { width: 55%; }
.news-right { width: 45%; }
.banner-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}
.banner-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #1a5fb4;
    opacity: 0;
    transition: opacity .6s;
    /* 关键：非当前图只是透明，仍会拦截点击导致“链接不随图变”；必须禁掉其鼠标事件 */
    pointer-events: none;
}
.banner-slider .slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;  /* 只有当前显示的图可点击 */
}
/* 可跳转轮播项：与 div.slide 渲染一致（absolute 已块状化，显式声明双保险） */
.banner-slider a.slide{display:block;color:inherit;text-decoration:none;}
.banner-slider a.slide:hover{color:inherit;}
.banner-slider .slide-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    padding: 30px 20px 15px;
}
.banner-slider .slide-overlay h2 {
    color: #fff;
    font-size: 20px;
}
.slider-dots {
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 10;
}
.slider-dots .dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    margin-left: 6px;
    cursor: pointer;
}
.slider-dots .dot.active { background: #fff; }
/* ---------- 视频 + 通知 ---------- */
.section-video-notice {
    padding: 0 0 25px;
}
.section-video-notice .container {
    display: flex;
    gap: 25px;
}
.video-news { width: 55%; }
.notice-board { width: 45%; }
.video-grid {
    display: flex;
    gap: 15px;
}
.video-item { width: 33.33%; }
.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 65%;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}
.video-item p {
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
    color: #666;
}
/* ---------- 商会服务 ---------- */
.section-services {
    background: linear-gradient(135deg, #2d7dd2, #1a5fb4);
    padding: 40px 0;
    margin: 10px 0;
}
.services-title {
    text-align: center;
    margin-bottom: 30px;
}
.services-title h2 {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}
.services-title h2 a {
    color: inherit;
    text-decoration: none;
}
.services-title h2 a:hover {
    text-decoration: underline;
}
.services-title .en {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 4px;
}
.services-grid {
    display: flex;
    justify-content: space-between;
}
.service-item {
    text-align: center;
    color: #fff;
    flex: 1;
}
/* 与原站一致：90px 白色圆底 + 3px 浅蓝圆环；方形图标图裁成圆形铺满圆底，
   悬停整圈旋转 360°（原站效果） */
.service-icon {
    width: 90px; height: 90px;
    margin: 0 auto 12px;
    background: #fff;
    border: 3px solid #81bcff;
    border-radius: 50%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
}
.service-item:hover .service-icon {
    transform: rotate(360deg);
}
.service-icon span {
    font-size: 34px;
    color: #1a5fb4;
}
.service-item:hover .service-icon span { color: #1a5fb4; }
.service-item p {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
}
.service-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}
/* 服务图标用emoji替代 */
.icon-policy::before { content: '📋'; }
.icon-economy::before { content: '💰'; }
.icon-industry::before { content: '🌐'; }
.icon-invest::before { content: '💴'; }
.icon-charity::before { content: '💝'; }
.icon-study::before { content: '👤'; }
.icon-consult::before { content: '📈'; }
.icon-business::before { content: '🤝'; }
/* ---------- 经贸资讯 + 侨商风采 + 会长风采 ---------- */
.section-econ-leader { padding: 30px 0; }
.section-econ-leader .container {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.left-col {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.econ-info { width: 100%; }
.star-box { width: 100%; }
.leader-style { width: 45%; }
.tabs .tab-head {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}
.tab-btn {
    white-space: nowrap;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
}
.tab-btn.active {
    background: #1a5fb4;
    color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.leader-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.leader-item {
    width: calc(33.33% - 10px);
    text-align: center;
    display: block;
    color: #333;
}
.leader-item:hover { color: #333; }
.leader-item:hover .leader-photo {
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transform: translateY(-2px);
}
.leader-photo {
    width: 100%;
    padding-top: 120%;
    background-size: cover;
    background-position: center top;
    background-color: #e0e0e0;
    border-radius: 4px;
    transition: all .3s;
}
.leader-name {
    font-size: 15px;
    font-weight: bold;
    margin-top: 8px;
    color: #333;
}
.leader-title {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
/* ---------- 侨商风采 ---------- */
.section-star {
    padding: 0 0 30px;
}
/* ---------- 政策法规 + 四川侨商 ---------- */
.section-policy-magazine {
    display: flex;
    width: 100%;
    margin: 10px 0;
}
.policy-box {
    width: 50%;
    background: #2d7dd2;
    padding: 30px 30px 30px calc((100vw - 1200px) / 2);
}
.magazine-box {
    width: 50%;
    background: #4caf50;
    padding: 30px calc((100vw - 1200px) / 2) 30px 30px;
}
/* 首页刊物：3 本横排居中，封面 136×220（对齐老站首页精确规格） */
.magazine-grid {
    display: flex;
    justify-content: center;
    gap: 45px;
}
.magazine-item {
    width: 136px;
    flex-shrink: 0;
    text-align: center;
}
.magazine-cover {
    width: 136px;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
@media (max-width: 992px){
    .magazine-grid { gap: 25px; }
    .magazine-item { width: 130px; }
    .magazine-cover { width: 130px; height: 210px; }
}
@media (max-width: 576px){
    .magazine-grid { flex-wrap: wrap; gap: 15px; }
    .magazine-item { width: 100px; }
    .magazine-cover { width: 100px; height: 162px; }
}
.magazine-item p {
    color: #fff;
    font-size: 13px;
    margin-top: 10px;
}
.magazine-item a{
    display:block;
    color:#333;
    text-decoration:none;
}
.magazine-item a:hover p{
    color:#c8161d;
}
/* ---------- 会员企业 ---------- */
.section-members {
    padding: 35px 0;
    background: #f9f9f9;
}
.members-title {
    text-align: center;
    margin-bottom: 25px;
}
.members-title h2 {
    font-size: 24px;
    color: #333;
}
.members-title .en {
    display: block;
    color: #999;
    font-size: 12px;
    letter-spacing: 2px;
}
.members-grid {
    display: grid;
    /* 一排固定4列，自适应容器宽度 */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.member-item {
    text-align: center;
    padding: 15px 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: box-shadow .2s;
    /* 图片垂直水平居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}
.member-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,.1);
}
.member-item img {
    /* 图片自适应占位框，等比例不变形 */
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ---------- 友情链接 ---------- */
.friend-links {
    background: #f5f5f5;
    padding: 15px 0;
    border-top: 1px solid #eee;
}
.friend-links .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.fl-label {
    color: #666;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}
.friend-links a {
    color: #666;
    font-size: 13px;
    padding: 2px 8px;
}
.friend-links a:hover { color: #1a5fb4; }
/* ---------- 页脚 ---------- */
.site-footer {
    background: #1a5fb4;
    padding: 30px 0;
    color: rgba(255,255,255,.85);
}
.footer-inner {
    justify-content: space-between;
    display: flex;
    gap: 40px;
    align-items: center;
}
.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo img {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}
.footer-logo h3 { color: #fff; font-size: 20px; }
.footer-contact {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
}
.footer-logo p { color: rgba(255,255,255,.6); font-size: 10px; }
.footer-contact p {
    font-size: 13px;
    line-height: 2;
}
.footer-wechat {
    text-align: center;
    flex-shrink: 0;
}
/*二维码自适应修复，不再强制固定宽高*/
.footer-wechat img {
    max-width: 90px;
    width: 100%;
    height: auto !important;
    border-radius: 4px;
    background: #fff;
    padding: 3px;
    object-fit:contain;
}
.footer-wechat p {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    margin-top: 6px;
}
.copyright {
    background: #0f4a94;
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
}
/* 版权区内的备案号链接：沿用正文浅白色，不跟随全局链接色 */
.copyright a,
.copyright a:visited {
    color: inherit;
    text-decoration: none;
}
.copyright a:hover,
.copyright a:active {
    color: #fff;
    text-decoration: underline;
}
/*===== 页脚小程序样式 =====*/
.footer-miniprogram{
    text-align:center;
    flex-shrink:0;
}
.footer-miniprogram img{
    max-width:90px;
    width:100%;
    height:auto;
    background:#fff;
    padding:3px;
    border-radius:4px;
}
.footer-miniprogram p{
    color:rgba(255,255,255,.7);
    font-size: 12px;
    margin-top: 6px;
}
/* 弹窗-小程序二维码 定位对齐公众号弹窗 */
.miniprogram-popup{
    position:absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background:#fff;
    border:1px solid #eee;
    padding:12px;
    width:140px;
    display:none;
    text-align:center;
    z-index:999;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.miniprogram-popup img{
    width:120px;
    height:auto;
}
.miniprogram-popup p{
    color:#666;
    font-size: 12px;
    margin-top: 5px;
}
/*鼠标悬浮显示弹窗*/
.fb-item.miniprogram:hover .miniprogram-popup{
    display:block;
}
/* 移动端页脚自适应 防止排版乱掉 */
@media(max-width:768px){
    .footer-inner{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }
    .footer-wechat img,.footer-miniprogram img{
        width:100px;
    }
    /*移动端头部适配*/
    .header-top-row{
        text-align:center;
    }
    .logo a{
        flex-direction:column;
        text-align:center;
    }
    .header-inner{
        align-items:center;
    }
    .slogan{
        text-align:center;
        font-size:26px;
    }
}
/* ---------- 右侧悬浮栏 ---------- */
.float-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}
.fb-item {
    display: block;
    width: 60px;
    padding: 10px 5px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-bottom: -1px;
    position: relative;
}
.fb-item:first-child { border-radius: 4px 4px 0 0; }
.fb-item:last-child { border-radius: 0 0 4px 4px; }
.fb-item:hover { background: #1a5fb4; color: #fff; }
.fb-icon { display: block; font-size: 20px; margin-bottom: 4px; }
.wechat-popup {
    display: none;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    text-align: center;
    width: 140px;
}
.wechat:hover .wechat-popup { display: block; }
.wechat-popup img { width: 120px; height: 120px; }
.wechat-popup p { color: #666; font-size: 12px; margin-top: 5px; }
/* ---------- 内页 ---------- */
.page-banner {
    background: linear-gradient(135deg, #1a5fb4, #2d7dd2);
    padding: 40px 0;
    color: #fff;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.page-body {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    min-height: 500px;
}
.sidebar { width: 240px; flex-shrink: 0; }
.side-box {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}
.side-box h3 {
    background: #1a5fb4;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
}
/* 侧栏标题是上级栏目回链：保持白字无下划线，不吃全局 a 样式 */
.side-box h3 a {
    color: inherit;
    text-decoration: none;
}
.side-box h3 a:hover {
    color: #fff;
    text-decoration: none;
}
.side-menu li a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.side-menu li:last-child a { border-bottom: none; }
.side-menu li a:hover,
.side-menu li.active a {
    background: #f0f5ff;
    color: #1a5fb4;
}
/* 侧栏多级子栏目：逐级缩进，层级更清晰 */
.side-menu-sub li a {
    padding-left: 32px;
    font-size: 13px;
    background: #fbfcfe;
}
.side-menu-sub .side-menu-sub li a {
    padding-left: 48px;
}
.main-content {
    flex: 1;
    min-width: 0;
}
.main-content.full { width: 100%; }
.content-head {
    border-bottom: 2px solid #1a5fb4;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.content-head h2 {
    font-size: 22px;
    color: #1a5fb4;
}
.article-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}
.article-list .art-title {
    flex: 1;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}
.article-list .art-date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}
.article-list .art-summary {
    width: 100%;
    color: #888;
    font-size: 13px;
    margin-top: 6px;
}
.tag-top {
    display: inline-block;
    background: #c8161d;
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    margin-right: 6px;
}
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination a, .pagination .current {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
}
.pagination .current {
    background: #1a5fb4;
    color: #fff;
    border-color: #1a5fb4;
}
.pagination a:hover { border-color: #1a5fb4; color: #1a5fb4; }
.empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}
/* 详情页 */
.article-detail { padding: 10px 0; }
.art-title-big {
    font-size: 26px;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}
.art-subtitle {
    font-size: 16px;
    text-align: center;
    color: #666;
    font-weight: normal;
    margin-bottom: 15px;
}
.art-meta {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.art-meta span { margin: 0 10px; }
.art-cover { text-align: center; margin-bottom: 20px; }
.art-cover img { max-width: 100%; }
.art-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.art-content p { margin-bottom: 15px; }
.art-content img { max-width: 100%; }
.art-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.art-nav p {
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}
.art-nav a { color: #1a5fb4; }
.search-form-inline {
    margin-bottom: 20px;
}
.search-form-inline form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}
.search-form-inline input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}
.search-form-inline button {
    padding: 0 25px;
    background: #1a5fb4;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.search-info {
    margin-bottom: 15px;
    color: #666;
}
.search-info strong { color: #c8161d; }
/* 响应式 */
@media (max-width: 1200px) {
    .container { width: 95%; }
}

.article-content img{
    max-width: 100%;
    height: auto;
}
/* ======================================
全局移动端自适应（追加到style.css最后）
====================================== */
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
}

/* 容器通用适配，原有.container如果写死width，用max‑width覆盖 */
.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px !important;
}

/* 图片全部自适应，禁止溢出屏幕 */
img{
    max-width: 100%;
    height: auto;
}

/* ---------- 分页组件 ---------- */
.page-turn a{
    padding: 6px 10px !important;
    font-size: 14px;
}

/* ---------- 刊物详情页 ---------- */
.magazine-detail .row{
    display: grid;
    grid-template-columns: 300px 1fr;
    gap:30px;
}
@media (max-width:768px){
    .magazine-detail .row{
        grid-template-columns: 1fr !important;
    }
    .mag-cover > div{
        max-width:300px;
        margin: 0 auto;
    }
}

/* ---------- page‑banner 头部横幅、面包屑 ---------- */
.page-banner h1{
    font-size: 32px;
}
.breadcrumb{
    font-size: 15px;
}
@media (max-width:768px){
    .page-banner h1{
        font-size: 22px;
    }
    .breadcrumb{
        font-size: 13px;
    }
}

/* ---------- 按钮通用适配 ---------- */
.btn{
    white-space: nowrap;
}
@media (max-width:576px){
    .btn{
        padding:8px 14px !important;
        font-size:14px;
    }
}

/* ---------- 会员企业板块（之前的4列网格） ---------- */
@media (max-width: 992px) {
    .members-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .members-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- 视频新闻网格 video‑grid ---------- */
@media (max-width:992px){
    .video-grid{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width:576px){
    .video-grid{
        grid-template-columns: repeat(1,1fr);
    }
}

/* ---------- 会长风采leader网格 ---------- */
@media (max-width:992px){
    .leader-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width:576px){
    .leader-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
