/* ============================================
   宜荣财达物流 - 公司资讯模块样式
   所有选择器限定在 article 相关区域，不影响顶部导航
   ============================================ */

/* ---- 文章布局 ---- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 40px 0;
    align-items: start;
}
.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: 80px; }

/* ---- 侧边栏 ---- */
.article-sidebar .sidebar-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
}
.article-sidebar .sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a1f3d;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-sidebar .sidebar-title i { color: #e74c3c; }

/* 分类列表 */
.article-sidebar .category-list { list-style: none; padding: 0; margin: 0; }
.article-sidebar .category-list li { margin-bottom: 2px; }
.article-sidebar .category-list li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}
.article-sidebar .category-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #e74c3c;
    transition: height 0.3s;
    border-radius: 2px;
}
.article-sidebar .category-list li a:hover,
.article-sidebar .category-list li.active a {
    background: #f8f9fa;
    color: #e74c3c;
    padding-left: 20px;
}
.article-sidebar .category-list li.active a::before,
.article-sidebar .category-list li a:hover::before { height: 60%; }

/* ---- 区块标题 ---- */
.article-index-page .section-header,
.article-list-page .section-header { text-align: center; margin-bottom: 30px; }
.article-index-page .section-header.left-align,
.article-list-page .section-header.left-align { text-align: left; }
.article-index-page .section-header h2,
.article-list-page .section-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #0a1f3d;
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-index-page .section-header h2 i,
.article-list-page .section-header h2 i { color: #e74c3c; }

/* ---- 分类标题 ---- */
.article-list-page .category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.article-list-page .category-title h2 { font-size: 24px; font-weight: 700; color: #0a1f3d; }
.article-list-page .category-title span { font-size: 14px; color: #999; }

/* ---- 文章列表 ---- */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-list .article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    border: 1px solid #f5f5f5;
}
.article-list .article-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(26,95,180,0.15);
    transform: translateX(4px);
}
.article-list .article-item .article-thumb {
    width: 240px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}
.article-list .article-item .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-list .article-item:hover .article-thumb img { transform: scale(1.05); }
.article-list .article-item .article-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article-list .article-item .article-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0a1f3d;
    line-height: 1.5;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-list .article-item .article-info h3 a { color: #0a1f3d; text-decoration: none; }
.article-list .article-item .article-info h3 a:hover { color: #e74c3c; }
.article-list .article-item .article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-list .article-item .article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
}
.article-list .article-item .article-meta i { color: #1a5fb4; margin-right: 4px; }
.article-list .article-item .read-more {
    margin-left: auto;
    color: #e74c3c;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
    text-decoration: none;
}
.article-list .article-item .read-more:hover { gap: 8px; }

/* ---- 文章详情 ---- */
.article-detail-page { padding: 40px 0; }
.article-detail-page .article-content-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 40px;
    border: 1px solid #f0f0f0;
}
.article-detail-page .article-content-wrapper .article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.article-detail-page .article-content-wrapper .article-title {
    font-size: 22px;
    font-weight: 700;
    color: #0a1f3d;
    line-height: 1.5;
    margin-bottom: 16px;
}
.article-detail-page .article-content-wrapper .article-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #999;
}
.article-detail-page .article-content-wrapper .article-meta i { color: #1a5fb4; margin-right: 6px; }

/* 封面图 */
.article-detail-page .article-cover {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f8f8f8;
    text-align: center;
}
.article-detail-page .article-cover img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 文章内容 - 保留后台格式，参照图片规范排版 */
.article-detail-page .article-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
    word-wrap: break-word;
}
.article-detail-page .article-body p {
    margin-bottom: 16px;
    /* 【修复】去掉 text-indent，采用现代网页顶格排版，与图片格式一致 */
}
.article-detail-page .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.article-detail-page .article-body h2,
.article-detail-page .article-body h3,
.article-detail-page .article-body h4 {
    color: #0a1f3d;
    margin: 24px 0 12px;
    font-weight: 600;
}
.article-detail-page .article-body h2 { font-size: 18px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.article-detail-page .article-body h3 { font-size: 16px; }
.article-detail-page .article-body h4 { font-size: 15px; }
.article-detail-page .article-body ul,
.article-detail-page .article-body ol { margin: 12px 0; padding-left: 25px; }
.article-detail-page .article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-detail-page .article-body ol li { list-style: decimal; margin-bottom: 6px; }
.article-detail-page .article-body a { color: #1a5fb4; text-decoration: none; }
.article-detail-page .article-body a:hover { color: #e74c3c; text-decoration: underline; }
/* 内容分页 */
.article-detail-page .content-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}
.article-detail-page .content-pager span { font-size: 14px; color: #666; }
.article-detail-page .content-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    text-decoration: none;
}
.article-detail-page .content-pager a:hover { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.article-detail-page .content-pager .cp-active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    font-weight: 600;
}

/* 标签 */
.article-detail-page .article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
}
.article-detail-page .article-tags > i { color: #e74c3c; font-size: 16px; }
.article-detail-page .article-tags .tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
    cursor: pointer;
}
.article-detail-page .article-tags .tag:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* 上下篇导航 - 限定在文章详情页 */
.article-detail-page .article-nav {
    display: flex;
    gap: 20px;
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}
.article-detail-page .article-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    text-decoration: none;
}
.article-detail-page .article-nav .nav-item:hover {
    background: #fff;
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.article-detail-page .article-nav .nav-item.nav-disabled {
    cursor: default;
    opacity: 0.5;
}
.article-detail-page .article-nav .nav-item.nav-disabled:hover {
    border-color: #f0f0f0;
    box-shadow: none;
}
.article-detail-page .article-nav .nav-label {
    font-size: 13px;
    color: #e74c3c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.article-detail-page .article-nav .nav-label i { font-size: 12px; }
.article-detail-page .article-nav .nav-title {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.article-detail-page .article-nav .nav-item:hover .nav-title { color: #e74c3c; }
.article-detail-page .article-nav .nav-next { text-align: right; }
.article-detail-page .article-nav .nav-next .nav-label { justify-content: flex-end; }
.article-detail-page .article-nav .nav-next .nav-title { text-align: right; }

/* ---- 热门文章（侧边栏） ---- */
.article-sidebar .hot-list { list-style: none; padding: 0; margin: 0; }
.article-sidebar .hot-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}
.article-sidebar .hot-list li:last-child { border-bottom: none; }
.article-sidebar .hot-list li:hover { padding-left: 8px; }
.article-sidebar .hot-list .hot-rank {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #999;
}
.article-sidebar .hot-list li:nth-child(1) .hot-rank { background: #e74c3c; color: #fff; }
.article-sidebar .hot-list li:nth-child(2) .hot-rank { background: #f39c12; color: #fff; }
.article-sidebar .hot-list li:nth-child(3) .hot-rank { background: #1a5fb4; color: #fff; }
.article-sidebar .hot-list a {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}
.article-sidebar .hot-list a:hover { color: #e74c3c; }
.article-sidebar .hot-list .hot-views { font-size: 11px; color: #999; white-space: nowrap; }

/* ---- 空提示 ---- */
.article-main .empty-tip {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 15px;
}
.article-main .empty-tip i { font-size: 48px; color: #ddd; margin-bottom: 16px; display: block; }

/* ---- 分页（首页+列表页通用） ---- */
.pager-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.pager-wrapper .pager-info { font-size: 14px; color: #666; white-space: nowrap; }
.pager-wrapper .pager-num { color: #e74c3c; font-weight: 600; margin: 0 4px; }
.pager-wrapper .pager-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pager-wrapper .pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.pager-wrapper .pager-btn:hover { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.pager-wrapper .pager-btn.active { background: #e74c3c; color: #fff; border-color: #e74c3c; font-weight: 600; }
.pager-wrapper .pager-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---- 响应式 ---- */
@media (max-width: 991px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; order: 2; }
    .article-list .article-item { flex-direction: column; }
    .article-list .article-item .article-thumb { width: 100%; height: 200px; }
    .article-detail-page .article-content-wrapper { padding: 24px; }
    .article-detail-page .article-content-wrapper .article-title { font-size: 20px; }
    .article-detail-page .article-nav { flex-direction: column; }
    .article-detail-page .article-nav .nav-next { text-align: left; }
    .article-detail-page .article-nav .nav-next .nav-label { justify-content: flex-start; }
    .article-detail-page .article-nav .nav-next .nav-title { text-align: left; }
    .pager-wrapper { flex-direction: column; gap: 12px; }
    .pager-wrapper .pager-links { justify-content: center; }
}
@media (max-width: 768px) {
    .article-list .article-item .article-thumb { height: 180px; }
    .article-detail-page .article-content-wrapper { padding: 20px; border-radius: 0; box-shadow: none; border: none; }
    .article-detail-page .article-content-wrapper .article-title { font-size: 18px; }
    .article-detail-page .article-body { font-size: 15px; }
    .article-detail-page .article-body img { margin: 15px 0; }
    .pager-wrapper { padding: 12px; }
    .pager-wrapper .pager-btn { min-width: 32px; height: 32px; padding: 0 10px; font-size: 13px; }
}

/* ============================================
   宜荣财达物流 - 合作车辆模块样式
   ============================================ */

/* ---- 筛选栏（参照图片样式） ---- */
.vehicle-filter {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}
.filter-row:last-child { border-bottom: none; padding-bottom: 0; }
.filter-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    line-height: 36px;
    min-width: 50px;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}
.filter-tags .tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.filter-tags .tag:hover {
    color: #1a5fb4;
    background: #e8f0fe;
}
.filter-tags .tag.active {
    background: #1a5fb4;
    color: #fff;
    border-color: #1a5fb4;
}

/* ---- 区块标题 ---- */
.vehicle-section .section-header {
    display: flex;
    justify-content: flex-start;  /* 标题和统计靠左 */
    align-items: center;
    gap: 15px;                    /* 标题和数字间距 */
    margin-bottom: 24px;
}
}
.vehicle-section .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0a1f3d;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vehicle-section .section-header h2 i { color: #e74c3c; }
.vehicle-section .section-header span { font-size: 14px; color: #999; }

/* ---- 车辆网格 ---- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vehicle-grid.small { grid-template-columns: repeat(3, 1fr); }

.vehicle-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    transition: all 0.35s ease;
}
.vehicle-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.vehicle-card .vehicle-img {
    display: block;
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f0f0f0;
}
.vehicle-card .vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.vehicle-card:hover .vehicle-img img { transform: scale(1.05); }
.vehicle-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}
.vehicle-card .vehicle-info { padding: 16px; }
.vehicle-card .vehicle-info h3,
.vehicle-card .vehicle-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0a1f3d;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vehicle-card .vehicle-info h3 a,
.vehicle-card .vehicle-info h4 a {
    color: #0a1f3d;
    text-decoration: none;
}
.vehicle-card .vehicle-info h3 a:hover { color: #e74c3c; }
.vehicle-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.vehicle-meta i { color: #1a5fb4; margin-right: 4px; }
.vehicle-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.route-from { color: #1a5fb4; font-weight: 500; }
.route-to { color: #e74c3c; font-weight: 500; }
.vehicle-date { font-size: 12px; color: #999; }

/* ---- 详情页 ---- */
.vehicle-detail-page { padding: 30px 0; }
.vehicle-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
.vehicle-main { min-width: 0; }

/* 画廊 */
.vehicle-gallery {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.no-image { flex-direction: column; color: #ccc; font-size: 16px; }
.gallery-main.no-image i { font-size: 64px; margin-bottom: 16px; }
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}
.gallery-thumbs img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active { border-color: #e74c3c; }

/* 信息卡片 */
.vehicle-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.vehicle-title {
    font-size: 22px;
    font-weight: 700;
    color: #0a1f3d;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.info-item { display: flex; flex-direction: column; gap: 6px; }
.info-label { font-size: 13px; color: #999; }
.info-value { font-size: 16px; font-weight: 600; color: #333; }
.text-price { color: #e74c3c; font-size: 18px; }

/* 路线 */
.info-route {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.route-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.route-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.route-dot.start { background: #1a5fb4; }
.route-dot.end { background: #e74c3c; }
.route-text { font-size: 16px; font-weight: 600; color: #333; }
.route-arrow { color: #999; font-size: 20px; }

/* 备注 */
.info-remark h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0a1f3d;
    margin-bottom: 12px;
}
.info-remark p { font-size: 14px; color: #666; line-height: 1.8; }

/* 相关推荐 */
.related-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.related-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a1f3d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-section .section-title i { color: #e74c3c; }

/* 侧边栏 */
.vehicle-sidebar { position: sticky; top: 80px; }
.vehicle-sidebar .sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.vehicle-sidebar .sidebar-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0a1f3d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-box { text-align: center; }
.contact-box .contact-phone { font-size: 24px; font-weight: 700; color: #e74c3c; margin: 10px 0; }
.contact-box .contact-tip { font-size: 13px; color: #999; margin-bottom: 16px; }
.btn-call {
    display: block;
    width: 100%;
    padding: 12px;
    background: #e74c3c;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-call:hover { background: #c0392b; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 2px; }
.sidebar-list li a {
    display: block;
    padding: 10px 12px;
    color: #333;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s;
    text-decoration: none;
}
.sidebar-list li a:hover { background: #f8f9fa; color: #e74c3c; }

/* 空提示 */
.empty-tip {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 15px;
}
.empty-tip i { font-size: 48px; color: #ddd; margin-bottom: 16px; display: block; }

/* 分页 */
.pager-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.pager-wrapper .pager-info { font-size: 14px; color: #666; }
.pager-wrapper .pager-num { color: #e74c3c; font-weight: 600; margin: 0 3px; }
.pager-wrapper .pager-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager-wrapper .pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.pager-wrapper .pager-btn:hover { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.pager-wrapper .pager-btn.active { background: #e74c3c; color: #fff; border-color: #e74c3c; font-weight: 600; cursor: default; }
.pager-wrapper .pager-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* 响应式 */
@media (max-width: 991px) {
    .vehicle-layout { grid-template-columns: 1fr; }
    .vehicle-sidebar { position: static; order: 2; margin-top: 24px; }
    .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
    .vehicle-grid.small { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-main { height: 300px; }
}
@media (max-width: 768px) {
    .vehicle-grid { grid-template-columns: 1fr; }
    .vehicle-grid.small { grid-template-columns: 1fr; }
    .filter-row { flex-direction: column; gap: 10px; }
    .filter-label { line-height: normal; }
    .info-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .gallery-main { height: 240px; }
    .vehicle-title { font-size: 18px; }
    .pager-wrapper { flex-direction: column; gap: 12px; }
}

/* ============================================
   车辆卡片：车牌+驾驶员显示
   ============================================ */
.vehicle-plate-driver {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}
.vehicle-plate-driver .plate-num {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
}
.vehicle-plate-driver .driver-name {
    color: #1a5fb4;
    font-weight: 500;
}

/* ============================================
   车辆分页样式（共**条 当前*/*页 首页 前一页 1 2 3 4 ··· 后一页 尾页）
   ============================================ */
.vehicle-pager {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    text-align: center; /* 关键：整体居中 */
}
.vehicle-pager .pager-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.vehicle-pager .pager-info b {
    color: #e74c3c;
    font-weight: 600;
    margin: 0 2px;
}
.vehicle-pager .pager-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center; /* 关键：按钮居中 */
    align-items: center;
}
.vehicle-pager .pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.vehicle-pager .pager-btn:hover { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.vehicle-pager .pager-btn.active { background: #e74c3c; color: #fff; border-color: #e74c3c; font-weight: 600; cursor: default; }
.vehicle-pager .pager-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.vehicle-pager .pager-btn.pager-edge {
    background: #1a5fb4;
    color: #fff;
    border-color: #1a5fb4;
}
.vehicle-pager .pager-btn.pager-edge:hover {
    background: #0d47a1;
    border-color: #0d47a1;
}
.vehicle-pager .pager-btn.pager-dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: #999;
    min-width: auto;
    padding: 0 4px;
}

/* ============================================
   详情页信息卡片调整
   ============================================ */
.vehicle-info-card .info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.text-plate {
    color: #e74c3c;
    font-weight: 600;
    letter-spacing: 1px;
}
/* 缩略图第一个默认active */
.gallery-thumbs img:first-child {
    border-color: #e74c3c;
}
/* ============================================
   侧边栏筛选标签
   ============================================ */
.filter-sidebar .filter-tags-side {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-sidebar .filter-tags-side .tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
}
.filter-sidebar .filter-tags-side .tag:hover {
    color: #1a5fb4;
    background: #e8f0fe;
}
.filter-sidebar .filter-tags-side .tag.active {
    background: #1a5fb4;
    color: #fff;
    border-color: #1a5fb4;
}

/* ============================================
   电话拨打弹窗
   ============================================ */
.call-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.call-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    min-width: 280px;
}
.call-modal-header {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.call-modal-header i { color: #e74c3c; font-size: 20px; }
.call-modal-number {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.call-modal-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.btn-call-confirm {
    display: inline-block;
    padding: 10px 24px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-call-confirm:hover { background: #c0392b; }
.btn-call-cancel {
    padding: 10px 24px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-call-cancel:hover { background: #e0e0e0; }