/* ================================
 * 车界通 - 前台样式
 * 模仿汽车之家风格
 * ================================ */

:root {
    --primary-color: #1677ff;
    --danger-color: #ff4d4f;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --dark-color: #0f1923;
    --gray-bg: #f5f5f5;
    --border-color: #e8e8e8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background-color: #f0f2f5;
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* ================================
 * 顶部工具栏
 * ================================ */
.top-bar {
    background-color: var(--dark-color);
    color: #b0b0b0;
    font-size: 12px;
    padding: 6px 0;
}

.top-bar-left .top-bar-text,
.top-bar-right .top-bar-text {
    margin-right: 20px;
}

.top-bar i {
    margin-right: 4px;
}

/* ================================
 * 主导航栏
 * ================================ */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 16px 0;
    margin-right: 40px;
}

.brand-logo {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 8px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
}

.main-nav .navbar-nav .nav-link {
    padding: 20px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-search {
    width: 220px;
}

.nav-search-input {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.nav-search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 12px;
}

/* ================================
 * 轮播图
 * ================================ */
.carousel-img {
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    text-align: left;
}

.carousel-caption h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.carousel-caption p {
    font-size: 16px;
    margin-bottom: 0;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: 2px solid #fff !important;
    background: transparent !important;
    opacity: 0.8;
}

.carousel-indicators button.active {
    background: #fff !important;
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* ================================
 * 广告位
 * ================================ */
.ad-banner {
    border-radius: 8px;
    overflow: hidden;
}

/* ================================
 * 快捷导航
 * ================================ */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.quick-nav-item:hover {
    background: var(--gray-bg);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
}

.quick-nav-item span {
    font-size: 13px;
    font-weight: 500;
}

/* ================================
 * 通用section
 * ================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 6px;
}

.section-more {
    font-size: 14px;
    color: var(--text-light);
}

.section-more:hover {
    color: var(--primary-color);
}

/* ================================
 * 资讯卡片
 * ================================ */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.news-card-img {
    overflow: hidden;
    height: 160px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 14px;
}

.news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title {
    color: var(--primary-color);
}

.news-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 12px;
}

.news-card-meta i {
    margin-right: 3px;
}

/* 头条新闻 */
.headline-main .news-card-img {
    height: 280px;
}

.headline-main .news-card-title {
    font-size: 18px;
}

/* ================================
 * 资讯列表页
 * ================================ */
.news-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
    gap: 12px;
}

.news-cat-tabs {
    border: none;
    gap: 4px;
}

.news-cat-tabs .nav-link {
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--gray-bg);
    transition: all 0.2s;
}

.news-cat-tabs .nav-link:hover {
    color: var(--primary-color);
}

.news-cat-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

.news-search-form {
    display: flex;
    gap: 8px;
}

.news-search-form .form-control {
    width: 200px;
}

.news-list {
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 8px 20px;
}

.news-list-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: background 0.2s;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background: #fafafa;
}

.news-list-link {
    display: flex;
    gap: 16px;
}

.news-list-img {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    overflow: hidden;
    border-radius: 6px;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-list-item:hover .news-list-title {
    color: var(--primary-color);
}

.news-list-summary {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
}

.news-list-meta i {
    margin-right: 3px;
}

/* ================================
 * 资讯详情页
 * ================================ */
.news-detail {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.news-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-detail-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-detail-meta i {
    margin-right: 3px;
}

.news-detail-summary {
    background: var(--gray-bg);
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.news-detail-content p {
    margin-bottom: 16px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 16px 0;
}

/* 侧边栏 */
.sidebar-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    border-bottom: 1px dashed var(--border-color);
    padding: 10px 0;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    display: flex;
    gap: 10px;
}

.sidebar-list li img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-list li span {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list li small {
    font-size: 12px;
    color: var(--text-light);
}

/* ================================
 * 车辆卡片
 * ================================ */
.car-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
}

.car-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.car-card-img {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.car-card-list .car-card-img {
    height: 200px;
}

.car-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.car-card:hover .car-card-img img {
    transform: scale(1.05);
}

.car-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.car-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.car-status-badge.available {
    background: var(--success-color);
    color: #fff;
}

.car-status-badge.unavailable {
    background: var(--danger-color);
    color: #fff;
}

.car-card-body {
    padding: 12px;
}

.car-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-card:hover .car-card-title {
    color: var(--primary-color);
}

.car-card-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.car-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--danger-color);
}

.car-card-price .unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

/* ================================
 * 租赁详情页
 * ================================ */
.rental-detail-main {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
}

.rental-detail-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
}

.rental-detail-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.rental-detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.rental-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.rental-detail-price .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--danger-color);
}

.rental-detail-price .unit {
    font-size: 14px;
    color: var(--text-light);
}

.rental-params h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rental-detail-desc h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rental-detail-desc p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 预约卡片 */
.rental-booking-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.rental-booking-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.rental-booking-card h4 i {
    color: var(--primary-color);
}

.rental-booking-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ================================
 * 服务卡片
 * ================================ */
.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.service-card-img {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-type-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.service-card-body {
    padding: 14px;
}

.service-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.service-card:hover .service-card-title {
    color: var(--primary-color);
}

.service-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--danger-color);
}

.service-price.free {
    color: var(--success-color);
}

.service-duration {
    font-size: 12px;
    color: var(--text-light);
}

.service-duration i {
    margin-right: 3px;
}

/* 服务类型标题 */
.service-type-header {
    border-left: 4px solid;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 0 4px 4px 0;
}

/* 服务详情 */
.service-detail-main {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
}

.service-detail-img {
    border-radius: 8px;
    overflow: hidden;
    max-height: 350px;
    margin-bottom: 20px;
}

.service-detail-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.service-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.service-detail-meta .service-price {
    font-size: 22px;
}

.service-detail-desc {
    margin-top: 24px;
}

.service-detail-desc h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-detail-desc p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ================================
 * 消费码查询页
 * ================================ */
.voucher-query-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.voucher-query-header {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0958d9);
    color: #fff;
}

.voucher-query-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.voucher-query-header p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
}

.voucher-query-tabs {
    border-bottom: 2px solid var(--border-color);
    padding: 0 20px;
    justify-content: center;
}

.voucher-query-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
}

.voucher-query-tabs .nav-link:hover {
    color: var(--primary-color);
}

.voucher-query-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.voucher-query-content {
    padding: 30px 20px;
}

.voucher-query-form {
    max-width: 500px;
    margin: 0 auto;
}

.voucher-query-form .input-group-text {
    background: var(--gray-bg);
    border-right: none;
    color: var(--text-light);
}

.voucher-query-form .form-control {
    border-left: none;
    padding: 12px 16px;
}

.voucher-query-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.voucher-query-form .btn-primary {
    padding: 12px 24px;
}

.voucher-query-form small {
    display: block;
    margin-top: 8px;
    text-align: center;
}

.voucher-query-result {
    padding: 0 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.voucher-result-card {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
}

.voucher-result-card.status-used {
    background: #fff7e6;
    border-color: #ffd591;
}

.voucher-result-card.status-expired {
    background: #fff1f0;
    border-color: #ffa39e;
}

.voucher-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.voucher-code {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.voucher-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.voucher-status.unused {
    background: #d9f7be;
    color: #389e0d;
}

.voucher-status.used {
    background: #ffe7ba;
    color: #d46b08;
}

.voucher-status.partial {
    background: #bae0ff;
    color: #096dd9;
}

.voucher-status.expired {
    background: #ffccc7;
    color: #cf1322;
}

.voucher-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    font-size: 14px;
}

.voucher-info-grid .label {
    color: var(--text-light);
}

.voucher-info-grid .value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ================================
 * 预约横幅
 * ================================ */
.appointment-banner-section {
    background: linear-gradient(135deg, #0f1923, #1a3a5c);
    padding: 40px 0;
    margin: 30px 0;
}

.appointment-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.appointment-banner-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.appointment-banner-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.btn-appointment {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-appointment:hover {
    background: #0958d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.4);
}

/* ================================
 * 统计
 * ================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #fff;
    font-size: 24px;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ================================
 * FAQ
 * ================================ */
.faq-accordion .accordion-button {
    font-size: 15px;
    font-weight: 500;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: #f0f7ff;
}

.faq-accordion .accordion-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
 * 页脚
 * ================================ */
.main-footer {
    background: var(--dark-color);
    color: #b0b0b0;
    margin-top: 40px;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 13px;
    line-height: 1.8;
    color: #888;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 13px;
    color: #b0b0b0;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-social {
    margin-top: 16px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    margin-right: 8px;
    font-size: 18px;
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    font-size: 13px;
    color: #666;
}

/* ================================
 * 返回顶部
 * ================================ */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0958d9;
    transform: translateY(-3px);
}

/* ================================
 * 分页
 * ================================ */
.pagination .page-link {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ================================
 * 面包屑
 * ================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ================================
 * 预约结果
 * ================================ */
.appointment-result-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}

.appointment-result-success .voucher-code-display {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin: 8px 0;
}

.appointment-result-error {
    background: #fff1f0;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    color: var(--danger-color);
}

/* ================================
 * 首页汽车之家风格 - Hero区域
 * ================================ */
.home-hero {
    background: linear-gradient(135deg, #0f1923 0%, #1a3a5c 100%);
    color: #fff;
    padding: 30px 0;
}

.hero-left {
    padding-top: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 119, 255, 0.2);
    border: 1px solid rgba(22, 119, 255, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #8ec5ff;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-title .hero-dot {
    color: #1677ff;
}

.hero-tags {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-tag {
    color: rgba(255, 255, 255, 0.8);
}

.hero-dot-sm {
    color: rgba(255, 255, 255, 0.3);
}

/* 搜索框 */
.hero-search-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-search-tabs button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.hero-search-tabs button:hover,
.hero-search-tabs button.active {
    color: #fff;
}

.hero-search-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1677ff;
}

.hero-search-form {
    display: flex;
    gap: 0;
}

.hero-search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border: none;
    border-radius: 0 4px 4px 0;
    background: #1677ff;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-search-btn:hover {
    background: #0958d9;
}

/* 信息面板 */
.hero-info-panel {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
}

.info-clock {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clock-time {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.info-weather {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.weather-icon {
    font-size: 24px;
    color: #faad14;
}

.weather-temp {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.weather-city {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.weather-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.weather-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.weather-forecast {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.info-traffic {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.traffic-label {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    font-size: 12px;
}

.traffic-route {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.traffic-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.traffic-fill {
    height: 100%;
    background: #faad14;
    border-radius: 2px;
}

.traffic-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge.congestion {
    color: #ff4d4f;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-badge.congestion i {
    font-size: 14px;
}

.status-speed {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.info-reminder {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.info-reminder i {
    color: #ff4d4f;
}

/* ================================
 * 首页快捷导航 v2
 * ================================ */
.quick-nav-v2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hero-equal-row {
    align-items: stretch;
}

.hero-equal-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.hero-equal-row > [class*="col-"] > div {
    flex: 1;
}

.hero-info-panel.compact {
    padding: 12px 14px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-info-panel.compact .info-clock {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info-panel.compact .clock-time {
    font-size: 18px;
    letter-spacing: 1px;
}

.hero-info-panel.compact .info-weather {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info-panel.compact .weather-icon {
    font-size: 20px;
}

.hero-info-panel.compact .weather-temp {
    font-size: 18px;
}

.hero-info-panel.compact .weather-tags {
    margin-bottom: 4px;
}

.hero-info-panel.compact .weather-forecast {
    font-size: 11px;
}

.hero-info-panel.compact .info-traffic {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info-panel.compact .traffic-route {
    font-size: 11px;
    margin-bottom: 4px;
}

.hero-info-panel.compact .traffic-bar {
    margin-bottom: 4px;
}

.quick-nav-v2-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.quick-nav-v2-item:hover {
    background: var(--gray-bg);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.quick-nav-v2-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
}

.quick-nav-v2-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.quick-nav-v2-item:hover .quick-nav-v2-label {
    color: var(--primary-color);
}

/* ================================
 * 新能源汽车专区
 * ================================ */
.ev-zone {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ev-zone-inner {
    padding: 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    position: relative;
}

.ev-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ev-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ev-desc {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.ev-cars {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ev-car-item {
    text-align: center;
    width: calc(25% - 8px);
}

.ev-car-img {
    width: 100%;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

.ev-car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev-car-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================
 * 今日要闻
 * ================================ */
.today-news {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.today-news-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
}

.today-news-header i {
    color: var(--primary-color);
    font-size: 18px;
}

.today-news-list {
    padding: 8px 20px;
}

.today-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}

.today-news-item:last-child {
    border-bottom: none;
}

.today-news-item:hover {
    color: var(--primary-color);
}

.news-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.news-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-views {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

.news-views i {
    margin-right: 3px;
}

/* ================================
 * 热搜新闻（聚合多平台）
 * ================================ */
.hot-search {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.hot-search-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.hot-search-header i {
    font-size: 18px;
}

.hot-search-live {
    font-size: 11px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 1px 8px;
}

.hot-search-time {
    margin-left: auto;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
}

.hot-search-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
    padding: 0;
}

.hs-tab {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    text-align: center;
    width: 100%;
}

.hs-tab:hover {
    color: #1677ff;
}

.hs-tab.active {
    color: #1677ff;
    font-weight: 700;
}

.hs-tab.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    background: #1677ff;
    border-radius: 2px;
}

.hot-search-panel {
    display: none;
    padding: 6px 16px;
}

.hot-search-panel.active {
    display: block;
    min-height: 500px;
}

.hot-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.hot-search-item:last-child {
    border-bottom: none;
}

.hot-search-item:hover {
    color: #1677ff;
}

.hs-rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.hs-rank.hs-top {
    background: #ff4d4f;
    color: #fff;
}

.hs-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-heat {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* ================================
 * 热门排行
 * ================================ */
.hot-rank {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.hot-rank-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.hot-rank-header i {
    font-size: 18px;
}

.hot-rank-list {
    padding: 8px 16px;
}

.hot-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 13px;
}

.hot-rank-item:last-child {
    border-bottom: none;
}

.rank-num {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.rank-top {
    background: #ff4d4f;
    color: #fff;
}

.rank-normal {
    background: var(--gray-bg);
    color: var(--text-secondary);
}

.rank-title {
    flex: 1;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-title:hover {
    color: var(--primary-color);
}

.rank-views {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* ================================
 * 分类资讯Tab
 * ================================ */
.cat-news-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.cat-news-tabs {
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
}

.cat-news-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    margin-bottom: -1px;
}

.cat-news-tabs .nav-link:hover {
    color: var(--primary-color);
}

.cat-news-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.cat-news-content {
    padding: 20px;
}

/* ================================
 * 响应式适配
 * ================================ */
@media (max-width: 991px) {
    .navbar-brand {
        margin-right: 0;
    }

    .main-nav .navbar-nav .nav-link {
        padding: 10px 12px;
        border-bottom: none;
    }

    .nav-search {
        width: 100%;
        margin-top: 10px;
    }

    .carousel-img {
        height: 250px;
    }

    .carousel-caption h2 {
        font-size: 20px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-nav-v2 {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-search-tabs button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 22px;
    }

    .ev-car-item {
        width: calc(50% - 5px);
    }

    .today-news-list,
    .hot-rank-list {
        padding: 8px 12px;
    }

    .hot-search-panel {
        padding: 8px 12px;
    }

    .hs-tab {
        padding: 9px 0;
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list-link {
        flex-direction: column;
    }

    .news-list-img {
        width: 100%;
        height: 180px;
    }

    .rental-booking-card {
        position: static;
    }

    .voucher-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .top-bar {
        font-size: 11px;
    }

    .top-bar-left .top-bar-text {
        margin-right: 10px;
    }

    .carousel-img {
        height: 180px;
    }

    .carousel-caption {
        padding: 16px;
    }

    .carousel-caption h2 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 12px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .quick-nav-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .quick-nav-item span {
        font-size: 12px;
    }

    .quick-nav-v2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .quick-nav-v2-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .quick-nav-v2-label {
        font-size: 12px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-search-input {
        padding: 10px 12px;
    }

    .hero-search-btn {
        padding: 10px 16px;
    }

    .info-clock {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .clock-time {
        font-size: 18px;
    }

    .ev-car-item {
        width: calc(50% - 5px);
    }

    .today-news-list,
    .hot-rank-list {
        padding: 6px 12px;
    }

    .today-news-item,
    .hot-rank-item {
        padding: 8px 0;
    }

    .rank-num {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .stat-num {
        font-size: 22px;
    }

    .news-card-img,
    .car-card-list .car-card-img {
        height: 140px;
    }

    .news-list-img {
        height: 140px;
    }

    .news-list-title {
        font-size: 16px;
    }

    .news-detail {
        padding: 16px;
    }

    .news-detail-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .appointment-banner {
        text-align: center;
        justify-content: center;
    }

    .appointment-banner-text h2 {
        font-size: 22px;
    }

    .rental-detail-img img {
        height: 220px;
    }

    .voucher-query-tabs .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .voucher-query-tabs {
        flex-wrap: wrap;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ======== END OF FILE - v2 ======== */

/* 热推资讯公告栏（旧样式，保留兼容但缩小作用范围） */
.hot-push-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    border-radius: 6px;
    padding: 10px 16px;
    color: #fff;
    gap: 12px;
}

.hot-push-bar .hot-push-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.hot-push-bar .hot-push-label i {
    font-size: 14px;
}

.hot-push-bar .hot-push-items {
    display: flex;
    gap: 20px;
    flex: 1;
    overflow: hidden;
}

.hot-push-bar .hot-push-item {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.hot-push-bar .hot-push-item:hover {
    color: #fff;
    text-decoration: underline;
}

/* 5列等宽网格 (每排5个=20%) */
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

/* 今日要闻列表样式扩展 */
.today-news-list {
    padding: 0 16px;
}

.today-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 14px;
    color: #333;
}

/* 热门排行列表扩展 */
.hot-rank-list {
    padding: 0 14px;
}

.hot-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 13px;
}

/* 分类资讯Tab网格 */
.cat-news-grid .news-card-img {
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
}

.cat-news-grid .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-news-grid .news-card-title {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 资讯卡片meta字号 */
.news-card-meta {
    font-size: 12px;
    color: #999;
}

/* ======== v3 新增 ======== */

/* 热推滚动条（Hero区域内部，两排） */
.hot-push-wrapper {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-push-row {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.hot-push-row::-webkit-scrollbar {
    height: 3px;
}

.hot-push-row::-webkit-scrollbar-track {
    background: transparent;
}

.hot-push-row::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.hot-push-row .hot-push-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    white-space: nowrap;
    transition: color 0.2s;
    flex-shrink: 0;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-push-row .hot-push-item:hover {
    color: #fff;
    text-decoration: underline;
}

.hot-push-row .hot-push-item::before {
    content: '•';
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.4);
}

.hot-push-row-1 .hot-push-item::before {
    color: #ffd700;
}

.hot-push-row-2 .hot-push-item::before {
    color: #52c41a;
}

.hot-push-row .hot-push-item.text-muted {
    color: rgba(255, 255, 255, 0.4);
}

/* 图片加载失败兜底样式 */
img[src="/static/img/default-news.jpg"],
img[src="/static/img/default-car.jpg"],
img[src="/static/img/default-service.jpg"] {
    object-fit: contain;
    background: #f0f2f5;
}

img.onerror-default {
    object-fit: contain;
    background: #f0f2f5;
}

/* 分类Tab去重辅助：防止重复标签 */
.cat-news-tabs .nav-item:last-child .nav-link {
    margin-right: 0;
}

/* 热推row响应式 */
@media (max-width: 991px) {
    .hot-push-row .hot-push-item {
        font-size: 12px;
        max-width: 160px;
    }
    .hot-push-wrapper {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* ================================
 * 汽车百科模块样式
 * ================================ */
.baike-hero {
    background: var(--primary-color);
    padding: 40px 0;
    color: #fff;
}
.baike-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.baike-hero-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}
.baike-search-form .input-group {
    max-width: 400px;
}
.baike-search-form .form-control {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 10px 20px;
}
.baike-search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 10px 20px;
}
.baike-cat-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.baike-cat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
}
.baike-cat-item:hover,
.baike-cat-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}
.baike-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.baike-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.baike-card-link {
    display: block;
    color: inherit;
}
.baike-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.baike-card-img-wrapper {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}
.baike-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.baike-card-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}
.baike-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}
.baike-card-badge.hot {
    background: var(--danger-color);
}
.baike-card-badge.recommend {
    background: var(--primary-color);
}
.baike-card-body {
    padding: 15px;
}
.baike-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}
.baike-card-cat {
    color: var(--primary-color);
    font-weight: 500;
}
.baike-card-views {
    color: var(--text-light);
}
.baike-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.baike-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot-baike-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hot-baike-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-primary);
}
.hot-baike-item:last-child {
    border-bottom: none;
}
.hot-baike-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.hot-rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.hot-rank.top {
    background: var(--danger-color);
    color: #fff;
}
.hot-title {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hot-views {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}
.baike-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.baike-article {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.baike-article-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.baike-article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 10px;
}
.baike-article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
}
.baike-article-cover {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}
.baike-article-summary {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.baike-article-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
}
.baike-article-content p {
    margin-bottom: 16px;
}
.baike-article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.related-baike-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.related-baike-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
    color: var(--text-primary);
}
.related-baike-item:hover {
    background: #f5f5f5;
    color: var(--primary-color);
    text-decoration: none;
}
.related-baike-img {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.related-baike-title {
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .baike-hero {
        padding: 25px 0;
    }
    .baike-hero-title {
        font-size: 1.5rem;
    }
    .baike-search-form {
        margin-top: 15px;
    }
    .baike-search-form .input-group {
        max-width: 100%;
    }
}
@media (max-width: 575px) {
    .baike-card-title {
        font-size: 14px;
    }
    .baike-article {
        padding: 20px;
    }
    .baike-article-title {
        font-size: 1.4rem;
    }
}
