﻿/* ==========================================
   社交营销页面专用样式
   目标站：https://www.yinqingli.com/fb.html
   ========================================== */

/* ==========================================
   Banner
   ========================================== */
.social-body .sep-banner {
    line-height: 0;
}
.social-body .sep-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Section 1: 社交营销核心数据
   ========================================== */
.social-body .sep-section1 {
    padding: 60px 0 40px;
    background: #fff;
}

.social-body .sep-section1 .sep-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.social-body .sep-section1 .alias {
    font-size: 16px;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
}

.social-body .sep-section1 .text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 4个数据卡片 */
.social-body .sep-section1 .datalist {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.social-body .sep-section1 .datalist li {
    width: 25%;
    float: none;
    padding: 0 15px;
    box-sizing: border-box;
    list-style: none;
    flex: 0 0 25%;
    max-width: 25%;
}

.social-body .sep-section1 .datalist li .box {
    text-align: center;
    padding: 30px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-body .sep-section1 .datalist li .box:hover {
    background: #e8eaf6;
    box-shadow: 0 4px 16px rgba(240, 132, 33, 0.12);
}

.social-body .sep-section1 .datalist li .box .num {
    font-size: 48px;
    font-weight: bold;
    color: #1a7fd4;
    line-height: 1.2;
    margin-bottom: 10px;
}

.social-body .sep-section1 .datalist li .box .title {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ==========================================
   Section 2: 社交营销推广样式大图
   ========================================== */
.social-body .sep-section2 {
    line-height: 0;
}
.social-body .sep-section2 img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Section 3: 社交营销推广广告样式
   ========================================== */
.social-body .sep-section3 {
    padding: 60px 0 50px;
    background: #f7f7f7;
}

.social-body .sep-section3 .sep-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.social-body .sep-section3 .alias {
    font-size: 16px;
    color: #888;
    text-align: center;
    margin-bottom: 40px;
}

.social-body .sep-section3 .datalist {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.social-body .sep-section3 .datalist li {
    width: 25%;
    float: none;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
    list-style: none;
    flex: 0 0 25%;
    max-width: 25%;
}

.social-body .sep-section3 .datalist li .box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.social-body .sep-section3 .datalist li .box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.social-body .sep-section3 .datalist li .box .thumb {
    margin-bottom: 15px;
    line-height: 0;
}

.social-body .sep-section3 .datalist li .box .thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.social-body .sep-section3 .datalist li .box .title {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    padding: 0 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.social-body .sep-section3 .datalist li .box .summary {
    font-size: 12px;
    color: #777;
    padding: 0 15px;
    line-height: 1.7;
}

/* ==========================================
   CTA Banner (hf-banner)
   ========================================== */
.social-body .hf-banner {
    background: url(../images/hf-banner2.jpg) no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.social-body .hf-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
}

.social-body .hf-banner .sep-container {
    position: relative;
    z-index: 1;
}

.social-body .hf-banner .hf-title {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
}

.social-body .hf-banner .hf-text {
    font-size: 16px;
    color: #eee;
    margin-bottom: 30px;
}

.social-body .hf-banner .hf-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 12px 36px;
    background: #fff;
    color: #1a7fd4;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-body .hf-banner .hf-more:hover {
    background: #1a7fd4;
    color: #fff;
}

.social-body .hf-banner .hf-more img {
    width: auto;
    height: 14px;
}

/* ==========================================
   Section 4: 社交营销服务详情
   ========================================== */
.social-body .sep-section4 {
    padding: 60px 0 40px;
    background: #fff;
}

.social-body .sep-section4 .sep-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.social-body .sep-section4 .alias {
    font-size: 16px;
    color: #888;
    text-align: center;
    margin-bottom: 40px;
}

.social-body .sep-section4 .datalist {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.social-body .sep-section4 .datalist li {
    width: 25%;
    float: none;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
    list-style: none;
    flex: 0 0 25%;
    max-width: 25%;
}

.social-body .sep-section4 .datalist li .box {
    text-align: center;
    padding: 30px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-body .sep-section4 .datalist li .box:hover {
    border-color: #1a7fd4;
    box-shadow: 0 4px 16px rgba(240, 132, 33, 0.1);
}

.social-body .sep-section4 .datalist li .box img {
    max-width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.social-body .sep-section4 .datalist li .box {
    font-size: 15px;
    color: #333;
    font-weight: bold;
}

/* ==========================================
   最新资讯 - 新版
   ========================================== */
.social-body .sep-section-news {
    padding: 50px 0 70px;
    background: #f7f7f7;
}

.social-body .news-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.social-body .news-section-title {
    font-size: 30px;
    color: #333;
    font-weight: bold;
    margin-bottom: 6px;
}

.social-body .news-section-sub {
    font-size: 13px;
    color: #888;
}

.social-body .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
}

.social-body .news-grid .col-md-4,
.social-body .news-grid .col-sm-4 {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    display: block !important;
}

.social-body .news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.social-body .news-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.social-body .news-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    height: 170px;
}

.social-body .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.social-body .news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.social-body .news-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(240, 132, 33, 0.92);
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 1.2;
}

.social-body .news-date strong {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

.social-body .news-date small {
    font-size: 11px;
    text-transform: uppercase;
}

.social-body .news-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-body .news-cat {
    display: inline-block;
    background: #e3f2fd;
    color: #1a7fd4;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-weight: 500;
    align-self: flex-start;
}

.social-body .news-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.25s;
}

.social-body .news-title:hover {
    color: #1a7fd4;
}

.social-body .news-excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.social-body .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #aaa;
}

.social-body .meta-views {
    color: #1a7fd4;
    font-weight: 500;
}

.social-body .news-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
    width: 100%;
}

/* ==========================================
   响应式适配
   ========================================== */
@media screen and (max-width: 1200px) {
    .sep-container {
        width: 100%;
        padding: 0 30px;
    }

    .social-body .sep-section1 .datalist li,
    .social-body .sep-section3 .datalist li,
    .social-body .sep-section4 .datalist li {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .social-body .sep-section-school .sep-school-list li {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .social-body .sep-section1 .sep-title,
    .social-body .sep-section3 .sep-title,
    .social-body .sep-section4 .sep-title,
    .social-body .sep-section-school .sep-title {
        font-size: 24px;
    }

    /* 资讯卡片 - 768px以下2列 */
    .social-body .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .social-body .news-thumb { height: 150px !important; }

    .social-body .sep-section1 .datalist li,
    .social-body .sep-section3 .datalist li,
    .social-body .sep-section4 .datalist li {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .social-body .sep-section-school .sep-school-list li {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .social-body .hf-banner .hf-title {
        font-size: 24px;
    }

    .social-body .hf-banner .hf-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    /* 资讯卡片 - 576px以下单列 */
    .social-body .news-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .sep-container {
        padding: 0 15px;
    }

    .social-body .sep-section1,
    .social-body .sep-section3,
    .social-body .sep-section4 {
        padding: 40px 0 30px;
    }
}
