/* 全局样式重置 */
.pc-province-list-page, .pc-province-single-page {
    font-family: inherit;
    font-size: 14px;
    color: inherit;
}

.pc-province-list-page a, .pc-province-single-page a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.pc-province-list-page a:hover, .pc-province-single-page a:hover {
    color: inherit;
}

/* 省市列表页面 */
.pc-province-list-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pc-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pc-page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.pc-page-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.pc-province-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* 省市卡片 */
.pc-province-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pc-province-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pc-province-link {
    display: block;
}

.pc-province-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pc-province-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pc-province-card:hover .pc-province-image {
    transform: scale(1.1);
}

.pc-province-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px 20px 20px;
}

.pc-province-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pc-province-info {
    padding: 20px;
}

.pc-province-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pc-province-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.pc-article-count {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
}

.pc-view-more {
    color: #1377eb;
    font-weight: 500;
}

/* 单个省市页面 */
.pc-province-single-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.pc-province-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
}

.pc-province-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.pc-province-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.pc-province-description {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.pc-province-stats {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #fff;
}

.pc-stat-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.pc-province-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 40px 20px;
}

.pc-province-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.pc-province-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

/* 文章列表 */
.pc-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.pc-article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pc-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pc-article-link {
    display: block;
}

.pc-article-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.pc-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pc-article-card:hover .pc-article-image {
    transform: scale(1.05);
}

.pc-article-content {
    padding: 20px;
}

.pc-article-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.pc-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pc-article-meta {
    color: #999;
    font-size: 12px;
}

.pc-article-date {
    margin-left: 5px;
}

/* 分页 */
.pc-pagination {
    margin-top: 30px;
    text-align: center;
}

.pc-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
}

.pc-pagination .page-numbers:hover,
.pc-pagination .page-numbers.current {
    background: #1377eb;
    color: #fff;
}

/* 小工具区域 */
.pc-list-sidebar-wrapper {
    margin-bottom: 30px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
}

.pc-list-sidebar-wrapper .widget {
    margin-bottom: 20px;
}

/* 无数据提示 */
.pc-no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 省市文章列表 */
.pc-city-articles-list {
    max-width: 600px;
    margin: 0 auto;
}

.pc-city-article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.pc-city-article-item:last-child {
    border-bottom: none;
}

.pc-city-article-item a {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.pc-city-article-item a:hover {
    color: #1377eb;
}

.pc-city-article-item .pc-article-date {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pc-province-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pc-province-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .pc-province-header {
        height: 300px;
    }
    
    .pc-province-title {
        font-size: 28px;
    }
    
    .pc-province-name {
        font-size: 16px;
    }
    
    .pc-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pc-province-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pc-province-list-wrapper {
        padding: 20px 15px;
    }
    
    .pc-page-header {
        margin-bottom: 30px;
    }
    
    .pc-page-title {
        font-size: 24px;
    }
}

/* 子比主题兼容 */
@media (min-width: 768px) {
    .pc-province-content-wrapper {
        grid-template-columns: calc(100% - 340px) 320px;
    }
}

/* 覆盖子比主题某些样式 */
.pc-province-list-page .main-inner,
.pc-province-single-page .main-inner {
    max-width: 1200px;
}
