/* ========================================
   站群推广页面专用样式
   ======================================== */

/* 重置默认边距 */
body {
    margin: 0;
    padding: 0;
}

/* 站群Banner样式 - 通栏效果 */
.site-group-banner {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.site-group-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    line-height: 1.6;
    word-wrap: break-word;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .site-group-banner {
        height: auto;
        min-height: 200px;
        padding: 80px 20px 40px;
    }

    .banner-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .banner-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .site-group-banner {
        height: auto;
        min-height: 180px;
        padding: 70px 15px 30px;
    }

    .banner-content h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .banner-content p {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* ========================================
   站群列表页样式
   ======================================== */

.container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    padding: 60px 20px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.article-content {
    padding: 30px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.article-title a:hover {
    color: #667eea;
}

.article-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.8em * 3);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.meta-item {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-articles {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 16px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-link.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #999;
    font-size: 16px;
}

/* 列表页响应式 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        max-width: 95%;
        padding: 40px 15px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .article-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
        height: calc(1.8em * 2);
    }
    
    .pagination {
        gap: 5px;
        margin-top: 30px;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ========================================
   我们的服务板块 - 详情页专用
   ======================================== */

.services-detail-section {
    background: #f8f9fa;
    padding: 80px 0;
    width: 100%;
}

.services-detail-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
}

.services-detail-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-detail-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 82, 204, 0.15);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-detail-list li {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    line-height: 1.6;
}

.service-detail-button {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.service-detail-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

/* 服务板块响应式 */
@media (max-width: 1024px) {
    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-detail-section {
        padding: 60px 0;
    }
    
    .services-detail-container {
        width: 90%;
    }
    
    .services-detail-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-detail-card {
        padding: 30px 20px;
    }
}

/* ========================================
   公司介绍引用模块 - 详情页专用
   ======================================== */

.company-intro-section {
    background: white;
    padding: 80px 0;
    position: relative;
}

.company-intro-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.company-intro-mark {
    font-size: 80px;
    font-weight: bold;
    color: #667eea;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.3;
}

.company-intro-mark-left {
    opacity: 0.3;
}

.company-intro-mark-right {
    opacity: 0.3;
    margin-left: auto;
    margin-top: auto;
    align-self: flex-end;
}

.company-intro-content {
    flex: 1;
    padding: 20px 0;
}

.company-intro-content h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.company-intro-content h2 .company-name {
    display: inline;
}

.company-intro-content h2 .company-slogan {
    display: inline;
}

.company-intro-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 公司介绍响应式 */
@media (max-width: 768px) {
    .company-intro-section {
        padding: 60px 0;
    }
    
    .company-intro-container {
        width: 90%;
        flex-direction: column;
        gap: 20px;
    }
    
    .company-intro-mark {
        font-size: 60px;
    }
    
    .company-intro-mark-right {
        margin-left: 0;
        margin-top: 0;
        align-self: flex-start;
    }
    
    .company-intro-content h2 {
        font-size: 28px;
    }
    
    .company-intro-content p {
        font-size: 14px;
    }
}

/* ========================================
   服务详情板块 - 左图右文交叉布局
   ======================================== */

.service-detail {
    padding: 100px 0;
    background: #ffffff;
}

.service-detail:nth-child(even) {
    background: #f8f9fa;
}

.service-detail:nth-child(odd) {
    background: #ffffff;
}

.service-detail-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-detail.reverse .service-detail-container {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
    min-height: 400px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.service-detail-image svg {
    width: 500px;
    height: 500px;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    font-size: 36px;
    color: #333;
    margin-bottom: 25px;
}

.service-detail-content p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.service-detail-content ul li {
    font-size: 16px;
    color: #666;
    line-height: 2.2;
    padding-left: 30px;
    position: relative;
}

.service-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.service-detail-content .btn-learn-more {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.service-detail-content .btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 服务详情响应式 */
@media (max-width: 1024px) {
    .service-detail-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-detail.reverse .service-detail-container {
        flex-direction: column;
    }
    
    .service-detail-image svg {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail-container {
        width: 90%;
        gap: 30px;
    }
    
    .service-detail-content h3 {
        font-size: 28px;
    }
    
    .service-detail-content p {
        font-size: 15px;
    }
    
    .service-detail-content ul li {
        font-size: 14px;
    }
    
    .service-detail-image svg {
        width: 280px;
        height: 280px;
    }
}

/* ========================================
   服务展示模块样式
   ======================================== */

.service-showcase {
    background: #f5f5f5;
    padding: 60px 0;
}

.service-showcase-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
}

.service-showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-showcase-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.service-showcase-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-showcase-card {
    background: white;
    border-radius: 12px;
    padding: 40px 25px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-showcase-icon {
    width: 100px;
    height: 80px;
    margin: 0 auto 25px;
}

.service-showcase-icon svg {
    width: 100%;
    height: 100%;
}

.service-showcase-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.service-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-showcase-list li {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-showcase-list li:last-child {
    border-bottom: none;
}

.service-showcase-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.service-price {
    display: inline-block;
    padding: 10px 20px;
    background: #d9534f;
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.service-consult-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #0052cc;
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-consult-btn:hover {
    background: #003d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* 服务展示响应式 */
@media (max-width: 1200px) {
    .service-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-showcase {
        padding: 40px 0;
    }
    
    .service-showcase-container {
        width: 95%;
        max-width: 95%;
    }
    
    .service-showcase-header {
        margin-bottom: 30px;
    }
    
    .service-showcase-main-title {
        font-size: 28px;
    }
    
    .service-showcase-subtitle {
        font-size: 14px;
    }
    
    .service-showcase-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-showcase-card {
        padding: 30px 20px 25px;
    }
    
    .service-showcase-title {
        font-size: 18px;
    }
    
    .service-showcase-list li {
        font-size: 13px;
    }
    
    .service-price,
    .service-consult-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ========================================
   站群文章列表标题样式
   ======================================== */

.site-group-articles-wrapper {
    background: #fff;
    padding: 60px 0;
}

.site-group-articles-header {
    /* 移除原来的独立背景 */
}

.site-group-articles-header-container {
    max-width: 1200px;
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

.site-group-articles-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.site-group-articles-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 站群文章列表标题 - 移动端响应式 */
@media (max-width: 768px) {
    .site-group-articles-wrapper {
        padding: 40px 0;
    }
    
    .site-group-articles-header {
        margin-bottom: 30px;
    }
    
    .site-group-articles-header-container {
        width: 95%;
    }
    
    .site-group-articles-main-title {
        font-size: 28px;
    }
    
    .site-group-articles-subtitle {
        font-size: 14px;
    }
}

/* ========================================
   站群详情页资讯中心模块样式
   ======================================== */

.site-group-articles-section {
    background: #fff;
    padding: 60px 0;
}

.site-group-articles-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
}

.site-group-articles-header {
    text-align: center;
    margin-bottom: 30px;
}

.site-group-articles-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.site-group-articles-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.site-group-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.site-group-article-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-group-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: #0052cc;
}

.article-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #999;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-date {
    color: #999;
}

/* 资讯中心模块 - 移动端响应式 */
@media (max-width: 768px) {
    .site-group-articles-section {
        padding: 40px 0;
    }
    
    .site-group-articles-container {
        width: 95%;
        max-width: 95%;
    }
    
    .site-group-articles-header {
        margin-bottom: 25px;
    }
    
    .site-group-articles-main-title {
        font-size: 28px;
    }
    
    .site-group-articles-subtitle {
        font-size: 14px;
    }
    
    .site-group-articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .site-group-article-card {
        padding: 20px;
    }
    
    .article-card-title {
        font-size: 16px;
    }
    
    .article-card-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-group-articles-grid {
        grid-template-columns: 1fr;
    }
}
