/* ===== 首页样式 ===== */
.gsxq-home {
    padding-top: 0;
    padding-bottom: 60px;
}

.gsxq-home .gsxq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero 区域 */
.gsxq-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 40px;
}

.gsxq-hero-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.gsxq-hero-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.gsxq-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 服务卡片 */
.gsxq-services {
    margin-bottom: 40px;
}

.gsxq-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gsxq-service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gsxq-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.gsxq-service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.gsxq-service-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gsxq-service-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.gsxq-service-price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 16px;
}

.gsxq-service-link {
    font-size: 13px;
    color: #2271b1;
    font-weight: 500;
}

.gsxq-service-highlight {
    border-color: #212121;
    position: relative;
}

.gsxq-service-highlight::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: -1px;
    background: #212121;
    color: #fff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 0 4px 0 4px;
}

/* 文章网格 */
.gsxq-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gsxq-post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gsxq-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gsxq-post-thumb {
    display: block;
    height: 180px;
    overflow: hidden;
}

.gsxq-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gsxq-post-body {
    padding: 20px;
}

.gsxq-post-body h2 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.gsxq-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.gsxq-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 空状态 */
.gsxq-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
    background: #fafafa;
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
}

/* 分页 */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.nav-links a,
.nav-links span {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
}

.nav-links a:hover {
    background: #212121;
    color: #fff;
    border-color: #212121;
}

.nav-links .current {
    background: #212121;
    color: #fff;
    border-color: #212121;
}

/* 响应式 */
@media (max-width: 768px) {
    .gsxq-home .gsxq-container {
        padding: 0 15px;
    }

    .gsxq-hero {
        padding: 60px 16px;
    }

    .gsxq-hero-title {
        font-size: 26px;
    }

    .gsxq-services-grid {
        grid-template-columns: 1fr;
    }

    .gsxq-post-grid {
        grid-template-columns: 1fr;
    }
}