/*
 * 价格频道样式
 * 说明：卡片网格、统计数字、文章列表、筛选表单与横向滚动表格
 */

/* 页面容器 */
.price-page {
    color: #1f2937;
}

/* 统计数字卡片 */
.price-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    height: 100%;
}

.price-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2563eb;
}

.price-stat-label {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #6b7280;
}

/* 城市卡片 */
.price-city-card {
    display: block;
    height: 100%;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.price-city-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    color: inherit;
}

.price-city-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-city-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* 文章列表 */
.price-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.price-article-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}

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

.price-article-list li a {
    display: block;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.95rem;
}

.price-article-list li a:hover {
    color: #2563eb;
}

.price-article-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* 筛选表单 */
.price-filter-form .form-label {
    margin-bottom: 2px;
    color: #6b7280;
}

/* 正文内容 */
.price-article-content {
    font-size: 0.95rem;
    line-height: 1.9;
    word-break: break-word;
}

.price-article-content p {
    margin-bottom: 0.9rem;
}

/* 正文图片自适应，避免长图公示溢出容器 */
.price-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 0.9rem;
    border-radius: 4px;
}

.price-article-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.price-article-content table th,
.price-article-content table td {
    border: 1px solid #dee2e6;
    padding: 6px 8px;
    font-size: 0.88rem;
}

/* 横向滚动表格 */
.price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    min-width: 1100px;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.price-table thead th {
    white-space: nowrap;
    background: #f8f9fa;
}

.price-table td {
    vertical-align: middle;
    word-break: break-word;
}

/* 横向滚动提示 */
.price-scroll-hint {
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* 空状态 */
.price-empty {
    padding: 40px 16px;
    text-align: center;
    color: #9ca3af;
}

.price-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* 小屏适配 */
@media (max-width: 576px) {
    .price-stat-value {
        font-size: 1.4rem;
    }

    .price-table {
        min-width: 900px;
    }
}
