/* 全局重置 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
body{
    font-family: "Microsoft Yahei",sans-serif;
    color: #fff;
}

/* 头部导航 */
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 9999;
    transition: background 0.3s ease;
    background: transparent;
}
.site-header.fixed{
    background: #122246;
}
.header-container{
    width: 1600px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.header-logo img{
    height: 60px;
}
.header-buttons{
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 按钮样式 */
.btn-hamburger,
.btn-search,
.btn-lang{
    border: none;
    border-radius: 8px;
    background: hsla(0,0%,100%,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-hamburger:hover,
.btn-search:hover,
.btn-lang:hover{
    background: #d90001;
}
.btn-hamburger{
    width: 100px;
    height: 56px;
    font-size: 24px;
}
.btn-search,
.btn-lang{
    width: 56px;
    height: 56px;
    font-size: 20px;
}

/* 汉堡菜单 */
.hamburger-panel{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #122246;
    z-index: 10000;
    padding-top: 100px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
.hamburger-panel.show{
    transform: translateY(0);
}
.panel-close{
    position: absolute;
    top: 22px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: #d90001;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}
.panel-container{
    width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 30px;
    padding: 40px 20px;
}
.panel-col h3{
    color: #d90001;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.panel-col li{
    margin: 14px 0;
}
.panel-col li a{
    color: #fff;
    font-size: 16px;
    transition: color 0.3s;
}
.panel-col li a:hover{
    color: #d90001;
}

/* 搜索面板 */
.search-panel{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #122246;
    z-index: 10000;
    padding-top: 100px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
.search-panel.show{
    transform: translateY(0);
}
.search-close{
    position: absolute;
    top: 22px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: hsla(0,0%,100%,.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}
.search-close:hover{
    background: #d90001;
}
.search-container{
    width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}
.search-tip{
    color: #d90001;
    font-size: 24px;
    margin-bottom: 30px;
}
.search-input-box{
    position: relative;
    margin-bottom: 40px;
}
.search-input{
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 36px;
    padding-left: 10px;
    outline: none;
}
.search-input::placeholder{
    color: rgba(255,255,255,0.4);
}
.search-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;background: none;border:none;color:#fff;
}
.search-hot li{
    margin: 16px 0;
}
.search-hot li a{
    color: #fff;
    font-size: 22px;
}

/* 轮播区域 */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}
.banner-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.banner-img.active {
    opacity: 1;
    z-index: 1;
}
.banner-center-title {
    position: absolute;
    left: 50%;
    top: 45%;                    /* 稍微偏上一点，视觉中心 */
    transform: translate(-50%, -50%);
    z-index: 5;                 /* 在图片之上，遮罩之下或之上 */
    text-align: center;
    width: 90%;
    pointer-events: none;       /* 不拦截点击 */
}

.banner-main-title {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);  /* 强阴影确保可读性 */
    line-height: 1.2;
    margin: 0;
    letter-spacing: 4px;        /* 字间距 */
}
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    background: linear-gradient(90deg,#122246,rgba(11,36,63,.6));
    z-index: 2;
}
.banner-container{
    width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px;
}
.banner-title-img{
    max-height: 128px;
    height: auto;
    display: block;
}
.banner-right p{
    font-size: 18px;
    margin-bottom: 12px;
}
.banner-buttons{
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.btn-register,
.btn-exhibit{
    padding: 12px 24px;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-register:hover,
.btn-exhibit:hover{
    background: rgba(255,255,255,0.2);
}

/* 关于北京车展模块 */
.about-section {
    width: 100%;
    padding: 100px 0;
    background-color: #f7f7f8;
    position: relative;
    border-bottom: 1px solid rgba(11,36,63,.15);
    z-index: 3;
    overflow: hidden;
    
    background-image: url('../images/about-bg.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 1000px auto;
}
.about-container {
    width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
}
.about-left .about-img {
    width: 600px;
    height: auto;
    border-radius: 20px;
    display: block;
}
.about-right {
    flex: 1;
}
.scroll-tip {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}
.about-title {
    font-size: 52px;
    font-weight: 600;
    color: #122246;
    line-height: 1.3;
    margin-bottom: 24px;
}
.about-desc {
    font-size: 20px;
    font-weight: 400;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}
.about-buttons {
    display: flex;
    gap: 20px;
}
.about-btn {
    padding: 14px 28px;
    border: 1px solid rgba(11,36,63,.6);
    color: #122246;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 99;
}
.about-btn:hover {
    background-color: #d90001;
    border-color: #d90001;
    color: #fff;
    cursor: pointer;
}
@media (max-width: 768px) {
    .about-section {
        background-size: contain;          /* 背景图自适应 */
        padding: 60px 0 !important;
    }
    
    .about-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .about-left .about-img {
        width: 100% !important;
        max-width: 100%;
    }
    
    .about-title {
        font-size: 28px !important;
    }
    
    .about-desc {
        font-size: 16px !important;
    }
    
    .about-buttons {
        flex-direction: column !important;
    }
}
/* ========== 北京车展精彩回顾模块 ========== */
.review-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f7f7f8;
    position: relative;
    overflow: hidden;
}
.review-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 标题 */
.review-title-box {
    margin-bottom: 40px;
}
.review-title {
    font-size: 56px;
    font-weight: 700;
    color: #122246;
}
.title-en {
    color: #d90001;
}
/* 4个数据卡片 */
.review-data-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.data-item {
    height: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.data-icon {
    font-size: 24px;
    color: #999;
    margin-bottom: 12px;
}
.data-num {
    font-size: 48px;
    font-weight: 700;
    color: #122246;
    line-height: 1;
    margin-bottom: 8px;
}
.data-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}
.data-wenzi {
    display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 6px !important;
}
/* 图片轮播 */
.review-swiper-box {
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
}
.swiper-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}
.swiper-item {
    width: 507px;
    height: 353px;
    flex-shrink: 0;
}
.swiper-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
/* 轮播切换按钮 - 68px正圆 + 右下角 + 不覆盖图片 */
.swiper-btns {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 40px;
}
.swiper-btn {
    width: 68px;
    height: 68px;
    border: 1px solid rgba(22,39,69,.3);
    background: #fff;
    border-radius: 50%;
    color: #122246;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-btn:hover:not(.disabled) {
    background-color: #d90001;
    border-color: #d90001;
    color: #fff;
}
/* 按钮变浅状态（到达边界） */
.swiper-btn.disabled {
    border-color: rgba(22, 39, 69, 0.15);
    color: rgba(22, 39, 69, 0.3);
    cursor: default;
}
.swiper-btn.disabled:hover {
    background: #fff;
    border-color: rgba(22, 39, 69, 0.15);
    color: rgba(22, 39, 69, 0.3);
}
/* 了解更多按钮 */
.review-more {
    margin-top: 20px;
}
.more-btn {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 28px;
    border: 1px solid rgba(11,36,63,.6);
    color: #122246;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.more-btn:hover {
    background-color: #d90001;
    border-color: #d90001;
    color: #fff;
}

/* ========== 北京车展新闻模块 ========== */
.news-section {
    width: 100%;
    padding: 80px 0;
    background-color: #122246;
    border-bottom: 1px solid rgba(198,198,198,.15);
    position: relative;
    overflow: hidden;
}
.news-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 80px;
}
/* 左侧标题 */
.news-left {
    width: 390px;
    flex-shrink: 0;
}
.scroll-tip {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}
.news-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.news-title .title-en {
    color: #d90001;
}
.news-desc {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    margin-top: 30px;
    margin-bottom: 40px;
}
.news-left .more-btn {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 28px;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.news-left .more-btn:hover {
    background-color: #d90001;
    border-color: #d90001;
}
/* 右侧8个卡片网格 4行2列 一排2个 */
.news-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
/* 单个新闻卡片 严格532×559px */
.news-card {
    width: 532px;
    height: 532px;
    background: transparent;
    border-radius: 24px;
    border: 1px solid hsla(0,0%,100%,.2);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
}
/* hover上浮+背景变色 */
.news-card:hover {
    transform: translateY(-8px);
    background-color: #d90001;
    border-color: #d90001;
}
/* 卡片内图片 500×375px */
.card-img {
    width: 482px;
    height: 375px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .card-img img {
    transform: scale(1.05);
}
/* 卡片文字内容 */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}
.card-tags {
    display: flex;
    gap: 8px;
}
.card-tags span {
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    transition: all 0.3s ease;
}
.news-card:hover .card-tags span {
    border-color: rgba(255,255,255,.4);
    color: #fff;
}

/* 自适应适配 */
@media (max-width:1600px) {
    .header-container,
    .panel-container,
    .search-container,
    .banner-container,
    .about-container,
    .review-container,
    .news-container{
        width: 100%;
    }
    .news-card {
        width: 100%;
        height: auto;
    }
    .card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 482/375;
    }
}
@media (max-width:1400px) {
    .review-data-list {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width:1200px) {
    .panel-container{
        grid-template-columns: repeat(3,1fr);
    }
    .banner-main-title {
        font-size: 52px;
    }
    .about-container{
        flex-direction: column;
        text-align: center;
    }
    .about-left .about-img{
        max-width: 600px;
        width: 100%;
    }
    .about-title{
        font-size: 40px;
    }
    .about-buttons{
        justify-content: center;
    }
    .review-title {
        font-size: 42px;
    }
    .news-container {
        flex-direction: column;
    }
    .news-left {
        width: 100%;
    }
}
@media (max-width:768px) {
    .header-container{
        padding: 0 15px;
    }
    .btn-hamburger{
        width: 70px;
        height: 46px;
    }
    .btn-search,.btn-lang{
        width: 46px;
        height: 46px;
    }
    .panel-container{
        grid-template-columns: repeat(3,1fr);
    }
    .banner {
        height: 80vh;            /* 手机端稍矮 */
    }
    
    .banner-center-title {
        top: 40%;
        width: 95%;
    }
    
    .banner-main-title {
        font-size: 20px;
        letter-spacing: 2px;
    }
    .banner-container{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .banner-title-img{
        max-height: 80px;
    }
    .about-title{
        font-size: 32px;
    }
    .about-desc{
        font-size: 16px;
    }
    .about-buttons{
        flex-direction: column;
    }
    .review-data-list {
        grid-template-columns: repeat(2,1fr);
    }
    .review-title {
        font-size: 32px;
    }
    .news-switch-title {
        font-size: 32px !important;
    }
    .forum-title {
        font-size: 32px !important;
    }
    .brand-title {
        font-size: 32px !important;
    }
    .data-num {
    font-size: 20px;
    }
    .data-item {
    height: 120px;
    }
    .swiper-item {
        width: 100%;
    }
    .news-title {
        font-size: 36px;
    }
    .news-grid {
        grid-template-columns: 1fr !important;
    }
    
    .news-card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 16px;
    }
}
/* ========== 北京车展直播模块 ========== */
.live-section {
    width: 100%;
    padding: 80px 0;
    background-color: #122246;
    position: relative;
    overflow: hidden;
}
.live-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 顶部标题区域 */
.live-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}
.live-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
}
.live-title .title-en {
    color: #d90001;
}
.live-top .more-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.live-top .more-btn:hover {
    background-color: #d90001;
    border-color: #d90001;
}
/* 4个直播卡片 一排4个 */
.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
/* 单个直播卡片 392×808px */
.live-card {
    width: 372px;
    height: 600px;
    background: transparent;
    border-radius: 24px;
    border: 1px solid hsla(0,0%,100%,.2);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
}
/* hover 橙色背景+上浮 */
.live-card:hover {
    transform: translateY(-8px);
    background-color: #d90001;
    border-color: #d90001;
}
/* 卡片内图片 360×639px */
.live-img {
    width: 323px;
    height: 485px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative; /* 新增：为播放按钮提供定位上下文 */
}
.live-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.live-card:hover .live-img img {
    transform: scale(1.03);
}
/* 图片中间的播放按钮图标 (80x80) */
.live-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>');
    background-size: 50% 50%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none; /* 确保它不会干扰任何交互 */
}
/* 底部文字 */
.live-text {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
}

/* 自适应适配 */
@media (max-width:1600px) {
    .live-container {
        width: 100%;
    }
    .live-card {
        width: 100%;
        height: auto;
    }
    .live-img {
        width: 100%;
        height: auto;
        aspect-ratio: 323/485;
    }
}
@media (max-width:1200px) {
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .live-title {
        font-size: 42px;
    }
}
@media (max-width:768px) {
    .live-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .live-title {
        font-size: 36px;
    }
    .live-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .live-card {
        padding: 16px;
    }
    
    .live-text {
        font-size: 16px;
    }
}

/* ========== 北京车展新闻轮播切换模块 ========== */
.news-switch-section {
    width: 100%;
    padding: 80px 0;
    background: #f7f7f8;
    border-bottom: 1px solid rgba(11,36,63,.15);
}
.news-switch-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
.news-switch-title {
    font-size: 56px;
    font-weight: 700;
    color: #122246;
    margin-bottom: 60px;
}
.news-switch-title .title-en {
    color: #d90001;
}

/* 核心：左右结构 强制生效 */
.news-switch-box {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px !important;
    align-items: flex-start !important;
}

/* 左侧：文字列表 固定宽度 */
.news-left-list {
    width: 730px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}
.news-item {
    padding: 28px 36px !important;
    font-size: 22px !important;
    color: #122246 !important;
    line-height: 1.6 !important;
    border-radius: 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}
.news-item.active {
    background: #d90001 !important;
    color: #fff !important;
}

/* 右侧：图片区域 固定显示 */
.news-right-imgs {
    flex: 1 !important;
    position: relative !important;
    width: 810px !important;
    height: 456px !important;
}
.switch-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease !important;
}
.switch-img.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 了解更多按钮 */
.news-left-list .more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 180px !important;
    height: 56px !important;
    border: 1px solid rgba(11,36,63,.6) !important;
    color: #122246 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}
.news-left-list .more-btn:hover {
    background: #d90001 !important;
    border-color: #d90001 !important;
    color: #fff !important;
}

/* 自适应（小屏幕自动上下，大屏幕保持左右） */
@media (max-width:1600px) {
    .news-switch-container { width: 100%; }
}
@media (max-width:1200px) {
    .news-switch-box {
        flex-direction: column !important;
    }
    .news-left-list {
        width: 100% !important;
    }
    .news-right-imgs {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 810/456 !important;
    }
}
@media (max-width: 768px) {
    .news-switch-box {
        flex-direction: column !important;
    }
    
    .news-left-list {
        width: 100% !important;
    }
    
    .news-item {
        padding: 16px 20px !important;
        font-size: 16px !important;
    }
    
    .news-right-imgs {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
}
/* ========== 北京车展论坛模块 ========== */
.forum-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f7f7f8;
    border-bottom: 1px solid rgba(11,36,63,.15);
    position: relative;
    overflow: hidden;
}
.forum-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
.forum-title-box {
    margin-bottom: 40px;
}
.forum-title {
    font-size: 56px;
    font-weight: 700;
    color: #122246;
}
.forum-title .title-en {
    color: #d90001;
}
.forum-desc {
    font-size: 20px;
    color: #666;
    margin-top: 32px;
}

/* 轮播容器 */
.forum-swiper-box {
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
}
.forum-swiper-box .swiper-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}
.forum-swiper-box .swiper-item {
    width: 507px;
    height: 540px; /* 单个模块固定高度540px */
    flex-shrink: 0;
}

/* 卡片：严格540px高，布局固定，图片正常显示 */
.forum-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: transparent;
    overflow: hidden;
}
.forum-card:hover {
    background: #d90001;
}
.forum-card:hover .forum-date,
.forum-card:hover .forum-time,
.forum-card:hover .forum-item-title {
    color: #fff !important;
}

/* 日期 */
.forum-date {
    font-size: 18px;
    color: #666;
    margin: 0 0 8px;
}
/* 时间 */
.forum-time {
    font-weight: 600;
    font-size: 36px;
    color: #d90001;
    line-height: 1.2;
    margin: 0 0 16px;
}
/* 标题 */
.forum-item-title {
    font-size: 20px;
    color: #122246;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 auto;
}
/* 图片：固定528×297px，位置正常、不溢出 */
.forum-img {
    width: 460px;
    height: 297px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 20px;
}
.forum-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.forum-more {
    margin-top: 20px;
}
.forum-more .more-btn {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 28px;
    border: 1px solid rgba(11,36,63,.6);
    color: #122246;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.forum-more .more-btn:hover {
    background-color: #d90001;
    border-color: #d90001;
    color: #fff;
}

@media (max-width:1600px) {
    .forum-container { width: 100%; }
    .forum-swiper-box .swiper-item { width: calc(33.333% - 14px); height: auto; }
    .forum-img { width: 100%; height: auto; aspect-ratio: 460/297; }
}
@media (max-width:1200px) {
    .forum-swiper-box .swiper-item { width: calc(50% - 10px); }
}
@media (max-width:768px) {

    .swiper-item,
    .forum-swiper-box .swiper-item {
        width: 90vw !important;           /* 显示大部分，露出下一项 */
        height: auto !important;
    }
    .swiper-item img {
        height: auto;
        aspect-ratio: 4/3;
    }
    .forum-card {
        padding: 16px;
    }
    
    .forum-time {
        font-size: 24px !important;
    }
    
    .forum-item-title {
        font-size: 16px !important;
    }
    
    .forum-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }

    
}
/* ========== 北京车展旗下专业展模块 ========== */
.brand-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f7f7f8;
    position: relative;
    overflow: hidden;
}
.brand-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 顶部标题区域 */
.brand-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(11,36,63,.15);
    margin-bottom: 60px;
}
.brand-title {
    font-size: 64px;
    font-weight: 700;
    color: #122246;
}
.brand-title .title-en {
    color: #d90001;
}
.scroll-tip {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}
.scroll-tip::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 1px solid #666;
    border-radius: 4px;
    display: inline-block;
}
/* 10个卡片 横向均分 */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 24px;
}
/* 单个卡片 整体hover上浮 */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.brand-card:hover {
    transform: translateY(-8px);
}
/* 图片尺寸严格145×145px */
.brand-img {
    width: 150px;
    height: 75px;
    border-radius: 12px;
    overflow: hidden;
}
.brand-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 文字 hover变橙色 */
.brand-text {
    font-size: 20px;
    color: #122246;
    text-align: center;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.brand-card:hover .brand-text {
    color: #d90001;
}

/* 自适应适配 */
@media (max-width:1600px) {
    .brand-container {
        width: 100%;
    }
    .brand-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width:1200px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .brand-title {
        font-size: 48px;
    }
}
@media (max-width:768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .brand-title {
        font-size: 36px;
    }
    .brand-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px;
    }
    
    .brand-img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .brand-text {
        font-size: 14px;
    }
}
/* ========== 底部Footer模块 ========== */
.footer-section {
    width: 100%;
    background-color: #122246;
    color: rgba(255,255,255,.7);
    padding: 80px 0 40px;
    position: relative;
    background-image: url(./images/footer-bg.png);
    background-size: cover;
    background-position: center;
}
.footer-container {
    width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 80px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    padding-bottom: 60px;
}
/* 左侧 */
.footer-left {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.footer-logo img {
    height: 36px;
}
.footer-desc {
    font-size: 16px;
    line-height: 1.8;
}

/* ========== 社交图标二维码 ========== */

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    position: relative;           /* 为二维码提供定位上下文 */
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d90001;
}

/* 二维码图片：默认隐藏 */
.social-qrcode {
    position: absolute;
    bottom: 55px;                 /* 图标上方 */
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 120px;
    height: 120px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 100;
    pointer-events: none;         /* 不拦截鼠标 */
}

/* 二维码下方的小三角 */
.social-qrcode::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

/* 鼠标悬停显示二维码 */
.social-link:hover .social-qrcode {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    visibility: visible;
}

/* 移动端：点击显示（触摸设备没有hover） */
@media (hover: none) {
    .social-link:active .social-qrcode,
    .social-link:focus .social-qrcode {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: #d90001;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
}
.contact-item i {
    color: #d90001;
    margin-top: 4px;
}
/* 右侧导航+订阅 */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer-nav-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}
.footer-nav h3 {
    font-size: 20px;
    color: #d90001;
    margin-bottom: 24px;
    font-weight: 500;
}
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-nav ul li a {
    color: rgba(255,255,255,.7);
    font-size: 16px;
    transition: color 0.3s ease;
}
.footer-nav ul li a:hover {
    color: #d90001;
}
/* 订阅区域 */
.footer-subscribe {
    margin-top: 60px;
}
.footer-subscribe h3 {
    font-size: 20px;
    color: #d90001;
    margin-bottom: 16px;
}
.footer-subscribe p {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
}
.subscribe-box {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.subscribe-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    color: #fff;
    outline: none;
}
.subscribe-box input::placeholder {
    color: rgba(255,255,255,.4);
}
.submit-btn {
    padding: 12px 32px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: #d90001;
}
/* 底部版权栏 */
.footer-bottom {
    width: 100%;
    padding: 30px 0 20px;
}
.footer-bottom-inner {
    width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,.5);
}
.copyright {
    display: flex;
    gap: 20px;
}
.copyright a {
    color: rgba(255,255,255,.5);
}
.copyright a:hover {
    color: #d90001;
}

/* 自适应 */
@media (max-width:1600px) {
    .footer-container, .footer-bottom-inner {
        width: 100%;
    }
}
@media (max-width:1200px) {
    .footer-container {
        flex-direction: column;
        gap: 60px;
    }
    .footer-left {
        width: 100%;
    }
    .footer-nav-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width:768px) {
    .footer-container {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 20px !important;
    }
    
    .footer-left {
        width: 100% !important;
    }
    
    .footer-nav-wrap {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
    }
    
    .footer-subscribe {
        margin-top: 30px;
    }
    
    .subscribe-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .submit-btn {
        width: 100%;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
/* ========== 标题背景大字效果 ========== */

/* 标题容器：创建定位上下文 */
.brand-title-wrapper {
    position: relative;
    display: inline-block;
}

/* 背景大字：半透明阴影效果 */
.brand-bg-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    font-weight: 900;
    color: rgba(11, 36, 63, 0.08);  /* 半透明阴影 */
    white-space: nowrap;
    z-index: 0;           /* 在标题后面 */
    pointer-events: none;  /* 不拦截鼠标事件 */
    user-select: none;    /* 禁止选中 */
    line-height: 1;
}

/* 主标题：确保显示在背景之上 */
.brand-title {
    position: relative;
    z-index: 1;
    font-size: 64px;
    font-weight: 700;
    color: #122246;
    margin: 0;  /* 清除h2默认margin */
}

.brand-title .title-en {
    color: #d90001;
}
/* ========== 通用标题背景大字效果 ========== */

/* 标题容器：创建定位上下文 */
.section-title-wrapper {
    position: relative;
    display: inline-block;
}

/* 背景大字：半透明阴影效果 */
.section-bg-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;           /* 根据模块调整大小 */
    font-weight: 900;
    color: rgba(11, 36, 63, 0.06);  /* 浅色背景用 6% 透明度 */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* 深色背景模块的背景文字（新闻、直播模块背景是深蓝色） */
.news-section .section-bg-text,
.live-section .section-bg-text {
    color: rgba(255, 255, 255, 0.06);  /* 深色背景用白色 6% 透明度 */
}

/* 主标题：确保显示在背景之上 */
.section-title-wrapper .review-title,
.section-title-wrapper .news-title,
.section-title-wrapper .live-title,
.section-title-wrapper .news-switch-title,
.section-title-wrapper .forum-title {
    position: relative;
    z-index: 1;
    margin: 0;  /* 清除默认margin */
}

/* ========== 各模块标题微调 ========== */

/* 精彩回顾：字号稍大 */
.review-section .section-bg-text {
    font-size: 110px;
}

/* 新闻轮播切换：标题是 h2.news-switch-title，需要单独处理 */
.news-switch-section .section-title-wrapper {
    margin-bottom: 60px;  /* 替代原来的 news-switch-title 的 margin-bottom */
}
.news-switch-section .news-switch-title {
    font-size: 56px;
    font-weight: 700;
    color: #122246;
}

/* 论坛模块 */
.forum-section .section-bg-text {
    font-size: 110px;
}
/* ========== 移动端适配：背景文字 ========== */

@media (max-width: 768px) {
    .section-bg-text {
        font-size: 60px !important;      /* 手机端缩小 */
        opacity: 0.5;                     /* 降低存在感 */
    }
    
    .brand-bg-text {
        font-size: 60px !important;
    }
}

@media (max-width: 480px) {
    .section-bg-text {
        font-size: 48px !important;      /* 更小屏幕进一步缩小 */
    }
    
    .brand-bg-text {
        font-size: 48px !important;
    }
}

/* ========== 移动端间距优化 ========== */

@media (max-width: 768px) {
    /* 所有大模块统一减小上下间距 */
    .about-section,
    .review-section,
    .news-section,
    .live-section,
    .news-switch-section,
    .forum-section,
    .brand-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* 页脚 */
    .footer-section {
        padding-top: 50px !important;
        padding-bottom: 30px !important;
    }
    
    /* 内部元素间距同步减小 */
    .review-title-box,
    .forum-title-box {
        margin-bottom: 20px !important;
    }
    
    .review-data-list {
        margin-bottom: 24px !important;
    }
    
    .swiper-btns {
        margin-bottom: 16px !important;
    }
    
    .live-top {
        margin-bottom: 24px !important;
    }
    
    .brand-top {
        padding-bottom: 20px !important;
        margin-bottom: 24px !important;
    }
}

@media (max-width: 480px) {
    /* 更小屏幕进一步压缩 */
    .about-section,
    .review-section,
    .news-section,
    .live-section,
    .news-switch-section,
    .forum-section,
    .brand-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}
