/* ==========================================================================
1. 基础与全局样式 (Global)
========================================================================== */
:root {
     --primary-orange: #ff6b00;
     --primary-hover: #e55f00;
    --primary: #ff6b00;
    --primary-dark: #000000;
    --primary-light: #ffe2ce;
    --text-main: #333333;
    --text-main-light: #666666;
    --text-sub: #999999;
    --text-light: #cccccc;
    --text-white: #ffffff;
    --text-muted: #888888;
    --bg-page: #f5f5f5;
    --bg-white: #ffffff;
    --bg-black: #000000;
    --bg-footer: #333333;
    --bg-light: #f5f6fa;
    --border: #ececec;
    --border-radius-lg: 20px; 
    --border-radius-md: 15px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #f0f0f0; color: var(--text-main); }
a { text-decoration: none !important; transition: all 0.3s; }
.mb-20 { margin-bottom: 20px; }
.text-orange { color: var(--primary-orange) !important; }
.bg-light-section { background-color: var(--bg-light); }
.clamp-1{    display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;}
.clamp-2{    display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.clamp-3{    display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
button:focus, input:focus, .form-control:focus { box-shadow: none !important; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: none !important; }
.my-button{background-color: var(--primary-dark);color: var(--text-white);border-color: var(--primary-dark);}
.my-button:hover,.my-button.focus,.my-button:focus { background-color: var(--primary-hover); box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); }
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle{color: #fff;
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);}
/* 核心：1740px 超大容器 */
.container { max-width: 1840px;width: 100%; max-width: 1840px; margin: 0 auto;  }
/* 按钮重写 */
.btn-orange { background-color: var(--primary-orange); color: #fff; border: 1px solid var(--primary-orange); border-radius: 6px; padding: 6px 20px; }
.btn-orange:hover { background-color: var(--primary-hover); color: #fff; }
.btn-outline-orange { color: var(--primary-orange); border: 1px solid var(--primary-orange); background-color: transparent; border-radius: 6px; padding: 6px 20px; }
.btn-outline-orange:hover { background-color: var(--primary-orange); color: #fff; }
/* 模块标题通用 */
.section-padding { padding: 30px 0; }
.section-header { margin-bottom: 40px; }
.section-header h3 { font-size: 28px; letter-spacing: 1px; }
.section-header p { font-size: 14px; letter-spacing: 0.5px; margin-top: 10px; }
.view-more { right: 0; bottom: 5px; font-size: 14px; color: var(--text-muted); }
.view-more:hover { color: var(--primary-orange); }


.temp-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ==========================================================================
2. 顶部栏 & 导航栏 (Header)
========================================================================== */
/* 顶部栏：黑色背景，橙色斜切Logo块 + 搜索 + 登录注册 */
.top-bar { background: #000000; padding: 0; border-bottom: none; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; }
/* Logo：橙色斜切块，贴屏幕左边缘 */
.navbar-brand { align-self: stretch; background: var(--primary-orange); clip-path: polygon(0 0, 100% 0, calc(100% - 55px) 100%, 0 100%); padding: 22px 100px 22px 45px; display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; margin: 0; height: auto; }
.navbar-brand img { height: 36px; width: auto; display: block; }
/* 搜索框 */
.header-search-form { flex: 1; max-width: 980px; position: relative; display: flex; align-items: center; }
.header-search { flex: 1; width: 100%; position: relative; display: flex; align-items: center; }
.header-search input { width: 100%; height: 48px; border: none; border-radius: 24px; padding: 0 64px 0 26px; font-size: 15px; color: #333; outline: none; background: #fff; }
.header-search input::placeholder { color: #999; }
.header-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--primary-orange); border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.header-search button:hover { background: var(--primary-hover); }
/* 右侧操作区 */
.header-right { display: flex; align-items: center; flex-shrink: 0; padding-right: 40px; }
.main-nav-actions { flex-shrink: 0; white-space: nowrap; }
.btn-nav-login, .btn-nav-register { font-size: 15px; padding: 9px 26px; border-radius: 8px; font-weight: 600; }
.btn-nav-login { background: #ffffff; color: var(--primary-orange); border: 1px solid #ffffff; margin-right: 12px; }
.btn-nav-login:hover { background: var(--primary-orange); color: #fff; border-color: var(--primary-orange); }
.btn-nav-register { margin-right: 0; }
.nav-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #eee; cursor: pointer; transition: border-color 0.3s; }
.nav-avatar:hover { border-color: var(--primary-orange); }
/* 深色主导航栏 */
.main-nav-bar { background: var(--bg-white); position: relative; }
.main-nav-inner { align-items: stretch; gap: 20px; }
/* 导航链接样式 */
.main-nav-menu { display: flex; align-items: center; flex: 1; min-width: 0; flex-wrap: nowrap; white-space: nowrap; margin: 0; padding: 0; list-style: none; }
.main-nav-menu a { font-size: 15px; color: var(--text-main); padding: 16px 0px; width: 100%; text-align: center; font-weight: 500; transition: all 0.3s; white-space: nowrap; text-decoration: none; display: block; }
.main-nav-menu a:hover,.main-nav-menu a.active { color: var(--primary-orange); }
.btn-nav-publish { flex-shrink: 0; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 28px; background: var(--primary-orange); color: #fff !important; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background 0.3s; }
.btn-nav-publish:hover { background: var(--primary-hover); color: #fff !important; }
.btn-nav-publish i { font-size: 26px; }
/* 响应式 */
@media (max-width:1199.98px) {
.main-nav-menu a { padding: 14px 12px; font-size: 14px; }
.top-bar-inner { gap: 20px; }
.navbar-brand { padding: 18px 80px 18px 25px; }
.header-right { padding-right: 25px; }
}
@media (max-width:991.98px) {
.navbar-brand { padding: 14px 55px 14px 15px; clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 0 100%); }
.navbar-brand img { height: 30px; }
.header-right { padding-right: 15px; }
.top-bar .mobile-icon-btn { color: #ffffff; }
}

/*** 搜索页  ***/
.search-card .btn-search{background-color: var(--primary);border-color: var(--primary);}
.search-card .input-search{border-color: var(--primary);}

/* 移动端菜单（参考汽车前沿） */
.mobile-actions { display: flex; align-items: center; gap: 6px; }
.mobile-icon-btn { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; font-size: 20px; color: #343a40; background: none; border: none; cursor: pointer; padding: 0; }
.mobile-menu-btn .close-icon { display: none; }
.mobile-menu-btn.active .open-icon { display: none; }
.mobile-menu-btn.active .close-icon { display: block; }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); padding: 20px 15px; z-index: 999; border-bottom: 3px solid var(--primary-orange); }
.mobile-menu.active { display: block; }
.mobile-search-box { position: relative; margin-bottom: 15px; }
.mobile-search-box input { width: 100%; height: 44px; border: 1px solid var(--primary-orange); border-radius: 22px; padding: 0 50px 0 16px; font-size: 14px; outline: none; }
.mobile-search-box input::placeholder { color: #aaa; }
.mobile-search-box button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background-color: var(--primary-orange); border: none; color: #fff; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: 12px 0; font-size: 15px; color: #333; border-bottom: 1px solid #f0f0f0; font-weight: 500; text-decoration: none; }
.mobile-nav a.active { color: var(--primary-orange); }
.mobile-login { display: flex; gap: 12px; margin-top: 18px; }
.mobile-login .btn { flex: 1; height: 42px; border-radius: 21px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0; }

/* 首页广告位 */
.poster-section{padding: 15px 0;}
.home-poster { width:100%; height: auto; margin: 0 auto; display: block; }
.home-poster img { margin: 0 auto; display: block; max-width:100%;border-radius: 10px;}
.home-poster.poster-grid-1 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.home-poster.poster-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.home-poster.poster-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-poster.poster-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-poster.poster-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* 内页广告位 */
.index-poster { width:100%; height: auto; margin: 0 auto; display: grid; gap: 20px; }
.index-poster img { margin: 0 auto; display: block; max-width:100%;border-radius: 10px;}

/* ==========================================================================
3. 英雄区域 & 快捷图标 (Hero & Icons)
========================================================================== */
.hero-section { margin-top: 30px; }
.hero-swiper { width: 100%; height: 535px; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.hero-swiper img { width: 100%; height: 100%; object-fit: cover; }
.swiper-pagination-bullet-active { background-color: var(--primary-orange) !important; width: 20px; border-radius: 4px; }
.quick-links { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 22px 36px; margin:-36px auto 0px; width: 65%; min-width: 650px; position: relative; z-index: 10; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.quick-link-item { display: flex; align-items: center; cursor: pointer; transition: all 0.3s; flex: 1; justify-content: center; }
.quick-link-item:not(:last-child) { border-right: 1px solid #f0f0f0; }
.quick-link-item:hover { transform: translateY(-3px); }
.quick-link-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; margin-right: 14px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); }
.quick-link-info { display: flex; flex-direction: column; align-items: flex-start; }
.quick-link-info span { font-size: 16px; color: #333; font-weight: 600; margin-bottom: 4px; }
.quick-link-info i { font-size: 16px; color: var(--primary-orange); }
@media (max-width:991.98px) {
.quick-links { padding: 16px 20px; margin-top: -28px; margin-left: 10px; margin-right: 10px; }
.quick-link-item img { width: 38px; height: 38px; margin-right: 10px; }
.quick-link-info span { font-size: 14px; }
.quick-link-info i { font-size: 14px; }
}
@media (max-width:767.98px) {
.quick-links{display: none;}

}

/* ==========================================================================
4. 热力榜 (Hot List)
========================================================================== */
.hot-list-box { position: relative; background: linear-gradient(to bottom, #ffe3e2, #ffffff); border-radius: var(--border-radius-lg); padding: 24px; height: 100%;     /* 1. 背景色：这里是你的粉色，关键是用渐变切掉右上角 (45px 大小) */ background: #ffe3e3;     /* 降级备用背景色 */ background: linear-gradient(-135deg, transparent 40px, #ffe3e3 40px); }
/* 2. 制作折角三角形 */
.hot-list-box::before { content: ""; position: absolute; top: 0; right: 0; width: 50px; height: 50px;     /* 这里的渐变用来画出白色三角形和下方的淡淡阴影 */ background: linear-gradient(225deg, transparent 50%, rgba(0, 0, 0, 0.08) 50%,             /* 阴影过渡 */
rgba(255, 255, 255, 0.95) 55%
/* 折纸的白色内部 */);     /* 给折角内侧加一点微弱的圆角，更贴合纸张折叠的自然感 */ border-bottom-left-radius: 6px;     /* 确保小三角对齐切口 */ transform-origin: 100% 0; }

.hot-list-title { padding-bottom: 14px; margin-bottom: 18px; font-size: 22px; font-weight: bold !important; color: #333; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.hot-list-title i { color: #ff4d4f; }
.hot-item { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); }
.hot-item:last-child { margin-bottom: 0; }
.hot-item:hover { transform: translateX(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); }
.hot-num { font-size: 32px; font-weight: 900; width: 38px; color: #333; line-height: 1; flex-shrink: 0; }
.hot-num.rank-1 { color: #ff4d4f; }
.hot-num.rank-2 { color: #ff8c00; }
.hot-num.rank-3 { color: #ffc107; }
.hot-text { font-size: 14px; line-height: 1.6; padding: 0 12px; font-weight:bolder; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-item:hover .hot-text { color: var(--primary-orange); }
.hot-thumb { width: 70px; height: 50px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
@media (max-width:991.98px) {

}
/* ==========================================================================
5. 通用卡片 (Cards - 15px大圆角)
========================================================================== */
.custom-card { border: none; border-radius: var(--border-radius-md); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); background: #fff; overflow: hidden; height: 100%; }
.custom-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.custom-card .card-img-top { height: 220px; object-fit: cover; }
.custom-card .card-body { padding: 25px; }
.custom-card .card-title { font-size: 18px; font-weight: bold; margin-bottom: 12px; }
.custom-card .card-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.custom-card .card-footer { background: transparent; border-top: 1px solid #f5f5f5; padding: 15px 25px; font-size: 13px; color: #a0a0a0; }
.custom-card .card-footer i { margin-right: 5px; }
/* ==========================================================================
5b. 热门视频卡片网格 (Hot Video Grid)
========================================================================== */
.hot-video-section { background: #fff; }
.hv-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hv-section-header h3 { position: relative; font-size: 22px; padding-bottom: 10px; margin: 0; }
.hv-section-header h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; background: var(--primary-orange); border-radius: 2px; }
.hv-more-link { font-size: 14px; color: #999; transition: color 0.3s; }
.hv-more-link i { font-size: 12px; margin-left: 4px; }
.hv-more-link:hover { color: var(--primary-orange); text-decoration: none; }
.hot-video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hot-video-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05); }
.hot-video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); }
.hot-video-thumb { position: relative; height: auto; overflow: hidden; }
.hot-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hot-video-card:hover .hot-video-thumb img { transform: scale(1.06); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0, 0, 0, 0.35); border: 2px solid #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: all 0.3s; }
.play-btn i { color: #fff; font-size: 24px; margin-left: 3px; }
.hot-video-card:hover .play-btn { background: rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%) scale(1.1); }
.hv-author { display: flex; align-items: center; padding: 12px 14px 4px; }
.hv-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin-right: 8px; }
.hv-author span { font-size: 13px; color: #666; }
.hv-title { font-size: 14px; font-weight: 500; color: #333; line-height: 1.5; padding: 0 14px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.hot-video-card:hover .hv-title { color: var(--primary-orange); }
.hv-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 0 14px 14px; font-size: 12px; color: #999; }
.hv-meta span { display: flex; align-items: center; }
.hv-meta i { margin-right: 4px; font-size: 12px; }
/* 响应式 */
@media (max-width:1199.98px) {
.hot-video-grid { grid-template-columns: repeat(4, 1fr); }
/* .temp-grid { grid-template-columns: repeat(4, 1fr); } */


}
@media (max-width:991.98px) {
.hot-video-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width:767.98px) {
.hot-video-grid { grid-template-columns: repeat(2, 1fr); }


}
@media (max-width:480px) {
.hot-video-grid { grid-template-columns: 1fr; }

}
/* ==========================================================================
5c. 新闻模块 - 最新推荐 + 文章排行榜 (News Section)
========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1); }
.news-thumb { height: 190px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-title { height:55px; font-size: 14px; font-weight: 500; color: #333; line-height: 1.5; padding: 12px 14px 8px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.news-card:hover .news-title { color: var(--primary-orange); }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 0 14px 14px; font-size: 12px; color: #999; }
.news-meta span { display: flex; align-items: center; }
.news-meta i { margin-right: 4px; font-size: 12px; }
/* 文章排行榜 */
.side-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05); }
.side-card-box .hv-section-header { margin-bottom: 20px; }
.side-card-list { list-style: none; margin: 0; padding: 0; }
.side-card-list li { display: flex; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.3s; }
.side-card-list li:last-child { border-bottom: none; }
.side-card-list li:hover { transform: translateX(3px); }
.rank-num { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-orange); color: #fff; font-size: 20px; font-weight: 700; display: flex; justify-content: center; align-items: center; flex-shrink: 0; margin-right: 12px; margin-top: 2px; }
.side-card-list li:nth-child(n+4) .rank-num { background: #ccc; }
.rank-info { flex: 1; min-width: 0; }
.rank-title { font-size: 16px; color: #333; line-height: 1.5; margin: 0 0 0px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }

.side-card-list li:hover .rank-title { color: var(--primary-orange); }
.rank-views { font-size: 13px; color: #999; }

/* 博主推荐 */
.blogger-list { display: flex; flex-direction: column; gap: 22px; }
.blogger-card{display: flex;justify-content: space-between;}
.blogger-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blogger-info { flex: 1; min-width: 0; }
.blogger-name { font-size: 14px; font-weight: 600; color: #333; margin: 0 0 4px; }
.blogger-desc { font-size: 12px; color: #999; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blogger-follow { flex-shrink: 0; padding: 5px 14px; height: 30px; font-size: 13px; color: #fff; background: var(--primary-orange); border: none; border-radius: 16px; cursor: pointer; transition: all 0.3s; }
.blogger-follow:hover { background: var(--primary-hover); }
/* 响应式 - 合并 news-grid 和 grid-4 */
@media (max-width:1199.98px) {
.news-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:991.98px) {
.news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width:575.98px) {
.news-grid { grid-template-columns: 1fr; }
}




/* ==========================================================================
5d. 选车导购 (Car Selection Section)
========================================================================== */
.main-section { background: #fff; }
.newcar-section { background: #fff; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.newcar-tab-head { display: flex; align-items: center; gap: 24px; }
.newcar-tab-head h3 { font-size: 22px; font-weight: 700; color: #333; margin: 0; position: relative; padding-bottom: 10px; }
.newcar-tab-head h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; background: var(--primary-orange); border-radius: 2px; }
.newcar-tabs { display: flex; gap: 8px; }
.tab-item { padding: 6px 18px; font-size: 14px; color: #666; background: #ffffff; border: none; border-radius: 20px; cursor: pointer; transition: all 0.3s; }
.tab-item:hover { color: var(--primary-orange); }
.tab-item.active { color: #fff; background: var(--primary-orange); }
.section-title .more-link { font-size: 14px; color: #999; transition: color 0.3s; }
.section-title .more-link i { font-size: 12px; margin-left: 4px; }
.section-title .more-link:hover { color: var(--primary-orange); text-decoration: none; }

/* 车型卡片网格 */
.newcar-panel { display: none; }
.newcar-panel.active { display: block; }
.newcar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.newcar-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); transition: all 0.3s; cursor: pointer; text-decoration: none; color: inherit; }
.newcar-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); text-decoration: none; color: inherit; }
.car-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.car-title-row h5 { font-size: 16px; font-weight: 600; color: #333; margin: 0; }
.car-title-row .review-count { font-size: 12px; color: #999; }
.car-foot .author-link { text-decoration: none; color: inherit; display: block; }
.car-img {position: relative;  overflow: hidden; background: #f8f8f8; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.newcar-card:hover .car-img img { transform: scale(1.06); }
.car-foot { padding: 14px 16px; }
.car-foot .author { display: flex; align-items: center; margin-bottom: 8px; }
.car-foot .author img, .car-foot .author picture img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin-right: 8px; }
.car-foot .author span { font-size: 13px; color: #666; }
.car-foot .desc { font-size: 13px; color: #999; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 右侧热门车型榜 */
.car-rank-sidebar { background: #fff; border-radius: 12px; padding:30px 24px; /*box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);*/ }
.car-rank-head h4 { font-size: 18px; font-weight: 700; color: #333; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.car-rank-head h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; background: var(--primary-orange); border-radius: 2px; }
.car-rank-list { list-style: none; margin: 0; padding: 0; }
.car-rank-list li { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.3s; }
.car-rank-list li:last-child { border-bottom: none; }
.car-rank-list li:hover { transform: translateX(3px); }
.car-rank-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-orange); color: #fff; font-size: 13px; font-weight: 700; display: flex; justify-content: center; align-items: center; flex-shrink: 0; margin-right: 12px; }
.car-rank-list li:nth-child(n+4) .car-rank-num { background: #ccc; }
.car-rank-info { flex: 1; min-width: 0; }
.car-rank-name { font-size: 14px; color: #333; margin: 0 0 2px; font-weight: 500; transition: color 0.3s; }
.car-rank-list li:hover .car-rank-name { color: var(--primary-orange); }
.car-rank-price { font-size: 12px; color: #999; }
/* 保养热门话题侧边栏 */
.gap-1 { gap: 12px; }
.topic-side-list { list-style: none; margin: 0; padding: 0; }
.topic-side-list li { display: flex;  padding: 15px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.3s; }
.topic-side-list li:last-child { border-bottom: none; }
.topic-side-list li:hover { transform: translateX(3px); }
.topic-side-thumb { position: relative; width: 90px; height: 90px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.topic-side-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.topic-side-list li:hover .topic-side-thumb img { transform: scale(1.08); }
.topic-hot-label { position: absolute; top: 0; left: 0; padding: 2px 7px; font-size: 11px; font-weight: 700; color: #fff; background: #ffc107; border-radius: 0 0 6px 0; }
.topic-side-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.topic-side-title { font-size: 16px; font-weight: 600; color: #333; line-height: 1.4; margin: 0 0 4px;  overflow: hidden; transition: color 0.3s; }
.topic-side-list li:hover .topic-side-title { color: var(--primary-orange); }
.topic-side-desc { font-size: 14px; color: #999; line-height: 1.5; margin: 0 0 4px;  overflow: hidden; }
.meta { font-size: 13px; color: #999; font-weight: 500; }
/* 响应式 */
@media (max-width:1199.98px) {
.newcar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:991.98px) {
.newcar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.car-rank-sidebar { margin-top: 24px; }
}
@media (max-width:575.98px) {
.newcar-grid { grid-template-columns: 1fr; }
.newcar-tab-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}



/* ==========================================================================
6. 页脚 (Footer)
========================================================================== */
.footer { background-color: #1a1a1a; padding: 55px 0 30px; color: #888; }
/* 友情链接 */
.link { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #333; }
.link-title { color: #aaa; font-size: 14px; flex-shrink: 0; line-height: 28px; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.link-list a { color: #888; font-size: 14px; transition: color 0.3s; }
.link-list a:hover { color: var(--primary); text-decoration: none; }
.footer-main { align-items: flex-start; }
.footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 22px; }
/* 快捷导航 */
.footer-nav-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav-links a { color: #888; font-size: 14px; transition: color 0.3s; }
.footer-nav-links a:hover { color: var(--primary-orange); text-decoration: none; }
/* 联系方式 */
.footer-contact p { margin-bottom: 8px; font-size: 14px; color: #888; }
.footer-contact p:last-child { margin-bottom: 0; }
/* 二维码 */
.footer-qr { display: inline-block; }
.qr-placeholder { width: 110px; height: 110px; background: #fff; border-radius: 8px; display: flex; justify-content: center; align-items: center; color: #333; font-size: 20px; font-weight: 500; }
/* 底部版权 */
.footer-bottom { border-top: 1px solid #333; margin-top: 45px; padding-top: 22px; text-align: center; font-size: 14px; color: #888; }
@media (max-width:991.98px) {
.footer-main { text-align: center; }
.footer-nav-links { justify-content: center; }
.footer-qr { display: block; text-align: center; }
.qr-placeholder { margin: 0 auto; }
    /* 桌面端元素隐藏 */
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
}
/* ==========================================================================
8. 登录/注册弹框 (Auth Modal)
========================================================================== */
.auth-modal .modal-dialog { max-width: 420px; }
.auth-modal .modal-content { border: none; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); padding: 40px 36px 32px; position: relative; }
.auth-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f5f5f5; border-radius: 50%; color: #999; font-size: 14px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; z-index: 10; }
.auth-close:hover { background: var(--primary-orange); color: #fff; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 24px; font-weight: 700; color: #333; margin-bottom: 8px; }
.auth-subtitle { font-size: 14px; color: #999; margin-bottom: 0; }
.auth-body { margin-bottom: 24px; }
.auth-input-group .input-group-text { background: #f8f8f8; border: 1px solid #e8e8e8; border-right: none; color: #999; padding: 0 14px; border-radius: 8px 0 0 8px; }
.auth-input-group .form-control { border: 1px solid #e8e8e8; border-left: none; border-radius: 0 8px 8px 0; height: 46px; padding-left: 0; font-size: 14px; color: #333; background: #f8f8f8; }
.auth-input-group:focus-within .form-control, .auth-input-group:focus-within .input-group-text, .auth-input-group:focus-within .btn-auth-code { border-color: var(--primary-orange); }
.auth-input-group:focus-within .input-group-text { color: var(--primary-orange); }
.auth-input-group .form-control:focus { box-shadow: none; background: #fff; }
.auth-input-group.auth-code-group .form-control { border-radius: 0; }
.auth-input-group .input-group-append .btn-auth-code { border: 1px solid #e8e8e8; border-left: none; background: #f8f8f8; color: var(--primary-orange); font-size: 13px; font-weight: 500; padding: 0 14px; border-radius: 0 8px 8px 0; white-space: nowrap; }
.auth-input-group .input-group-append .btn-auth-code:disabled { color: #bbb; cursor: not-allowed; }
.auth-options { font-size: 13px; margin-top: -4px; }
.auth-options .custom-control-label { color: #666; cursor: pointer; }
.auth-options .custom-control-label::before { border-color: #ddd; }
.auth-options .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--primary-orange); border-color: var(--primary-orange); }
.auth-link { color: var(--primary-orange); font-size: 13px; }
.auth-link:hover { color: var(--primary-hover); }
.btn-auth-submit { width: 100%; height: 46px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; border: none; margin-top: 10px; transition: all 0.3s; box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3); }
.btn-auth-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 107, 0, 0.35); color: #fff; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: #999; }
.auth-switch-link { color: var(--primary-orange); font-weight: 600; margin-left: 4px; }
.auth-switch-link:hover { color: var(--primary-hover); }
.auth-footer { padding-top: 6px; }
.auth-divider { display: flex; align-items: center; color: #ccc; font-size: 13px; margin-bottom: 18px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.auth-divider span { padding: 0 12px; }
.auth-social { display: flex; justify-content: center; gap: 32px; }
.auth-social-item { display: flex; flex-direction: column; align-items: center; color: #666; font-size: 12px; transition: all 0.3s; }
.auth-social-item i { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; color: #fff; margin-bottom: 6px; }
.auth-social-item:nth-child(1) i { background: #07c160; }
.auth-social-item:nth-child(2) i { background: #12b7f5; }
.auth-social-item:nth-child(3) i { background: #e6162d; }
.auth-social-item:hover { transform: translateY(-3px); color: #333; }

/* ---- 用户认证 ---- */
.level-icon { width: 20px; height: 20px; vertical-align: middle; border-radius: 50%; object-fit: cover; }
.cert-file-item { overflow: visible; }
.cert-file-item .cert-file-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; padding: 0; border: none; border-radius: 50%; background-color: #dc3545; color: #fff; font-size: 10px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.cert-file-item .cert-file-del:hover { background-color: #bb2d3b; color: #fff; }
.cert-module-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.cert-module { border: 1px solid #e8e8e8; border-radius: 10px; background: #fafafa; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.cert-module.is-active { border-color: var(--primary); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); }
.cert-module-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; cursor: pointer; background: #f5f6f8; }
.cert-module.is-active .cert-module-head { background: rgba(var(--primary-rgb, 24, 144, 255), 0.06); }
.cert-module-head .cert-level-check { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.cert-module-title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #222; }
.cert-module-tip { margin-left: auto; font-size: 12px; color: #999; }
.cert-module-body { padding: 16px; border-top: 1px dashed #e5e5e5; }
.cert-module-label { font-weight: 600; margin-bottom: 10px; color: #333; }
.cert-module-preview { margin-bottom: 10px; }
.cert-common-block { padding-top: 8px; border-top: 1px solid #eee; }

/** 内页banner */
.inner-banner{width: 100%; height: auto;}
.inner-banner img{width: 100%; height: auto;}
.breadcrumb{ margin-bottom: 0rem; padding: .75rem 0rem;}
.breadcrumb a,.breadcrumb span{font-size: 14px; color: #666;}

@media (max-width: 575px) {
    .hero-swiper { height: auto !important; }
    .home-poster{grid-template-columns: repeat(1, 1fr) !important;}
    .link{margin:0 10px 20px;}
    .breadcrumb{padding: .75rem 1rem;}
    .newcar-tabs{padding: 0 10px;}
}
