﻿/* ==========================================
   GEO 优化页面专用样式
   目标站：https://www.yinqingli.com/geo.html
   ========================================== */

/* 辅助类（目标站使用） */
.geo-body .flex {
    display: -webkit-flex;
    display: flex;
}

.geo-body .flex-v-center {
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.geo-body .flex-center {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-body .text-bold {
    font-weight: bold;
}

.geo-body .text-center {
    text-align: center;
}

.geo-body .website-color {
    color: #1a7fd4;
}

/* 容器 */
.geo-body {
    background: #f7f7f7;
    padding-top: 0;
}

/* ==========================================
   Section 1: GEO核心服务矩阵（目标站布局）
   大圆角卡片：左侧内容区 + 右侧竖向导航
   ========================================== */
.geo-body .sep-section1 {
    padding: 60px 0 40px;
    background: #f7f7f7;
}

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

.geo-body .sep-section1 .sep-alias {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* ---- 大卡片容器（圆角、浅色渐变背景） ---- */
.geo-body .geo-s1-card {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, #e8eaf6 0%, #f5f5f5 50%, #f5f5f5 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ---- 左侧：图片 + 标题 + 描述（占大部分空间） ---- */
.geo-body .geo-s1-left {
    width: 68%;
    padding: 48px 56px;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

/* 左侧大图 */
.geo-body .geo-s1-img {
    flex-shrink: 0;
    max-width: 320px;
}

.geo-body .geo-s1-img img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
}

/* 左侧文字区 */
.geo-body .geo-s1-info {
    flex: 1;
}

.geo-body .geo-s1-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 18px;
    font-weight: bold;
}

.geo-body .geo-s1-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

/* ---- 右侧：导航列表（单列竖向，每行一个图标+文字） ---- */
.geo-body .geo-s1-nav {
    width: 32%;
    padding: 30px 20px 30px 10px;
    background: rgba(255,255,255,0.4);
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.geo-body .geo-s1-nav .geo-nav-item {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.geo-body .geo-s1-nav .geo-nav-item:hover,
.geo-body .geo-s1-nav .geo-nav-item.active {
    background: rgba(255, 255, 255, 0.85);
    border-left-color: #1a7fd4;
    box-shadow: 0 2px 12px rgba(240, 132, 33, 0.08);
}

.geo-body .geo-s1-nav .geo-nav-item .nav-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-right: 14px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-body .geo-s1-nav .geo-nav-item .nav-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.geo-body .geo-s1-nav .geo-nav-item:hover .nav-icon img,
.geo-body .geo-s1-nav .geo-nav-item.active .nav-icon img {
    transform: scale(1.15);
}

.geo-body .geo-s1-nav .geo-nav-item .nav-text {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.geo-body .geo-s1-nav .geo-nav-item:hover .nav-text,
.geo-body .geo-s1-nav .geo-nav-item.active .nav-text {
    color: #1a7fd4;
    font-weight: bold;
}

/* ==========================================
   Section 2: 什么是GEO?
   ========================================== */
.geo-body .sep-section2 {
    padding: 60px 0 50px;
    background: #fff;
}

.geo-body .sep-section2 .sep-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.geo-body .sep-section2 .sep-alias {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.geo-body .geo-s2-wrap .row {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.geo-body .geo-s2-wrap .col-md-4 {
    width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.geo-body .geo-s2-wrap .box {
    padding: 40px 30px;
    background: #f8f8f8;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.geo-body .geo-s2-wrap .box:hover {
    background: #e8eaf6;
    box-shadow: 0 4px 16px rgba(240, 132, 33, 0.1);
}

.geo-body .geo-s2-wrap .thumb {
    margin-bottom: 20px;
}

.geo-body .geo-s2-wrap .thumb img {
    width: 60px;
    height: 60px;
}

.geo-body .geo-s2-wrap .title {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.geo-body .geo-s2-wrap .richtext {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.geo-body .geo-s2-wrap .summary {
    margin-top: 40px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.geo-body .geo-s2-wrap .summary span {
    color: #1a7fd4;
    font-weight: bold;
}

.geo-body .geo-s2-wrap .total {
    margin-top: 20px;
    font-size: 24px;
    color: #1a7fd4;
}

/* ==========================================
   Section 3: AI搜索的三大趋势
   布局：标题居中 → 大图居中 → 3卡片上移覆盖图片底部
   ========================================== */
.geo-body .sep-section3 {
    padding: 50px 0 60px;
    background: #f7f7f7;
    position: relative;
    overflow: visible;
}

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

/* 大图 - 居中显示，保持原始尺寸 */
.geo-body .sep-section3 .thumb {
    text-align: center;
    margin-bottom: 0;
}

.geo-body .sep-section3 .thumb img {
    max-width: 85%;
    height: auto;
    display: inline-block;
}

/* 3个卡片容器 - 关键：负margin让卡片上移覆盖图片底部 */
.geo-body .geo-s3-wrap {
    position: relative;
    z-index: 2;
    margin-top: -333px !important;
    padding: 0 30px;
}

.geo-body .geo-s3-wrap .items {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.geo-body .geo-s3-wrap .item {
    width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 单个卡片样式 - 匹配目标站 */
.geo-body .geo-s3-wrap .item .box {
    padding: 36px 28px 32px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    height: 100%;
    transition: all 0.3s ease;
}

.geo-body .geo-s3-wrap .item .box:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 卡片图标 */
.geo-body .geo-s3-wrap .item .thumb {
    margin-bottom: 18px;
}

.geo-body .geo-s3-wrap .item .thumb img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

/* 卡片标题 */
.geo-body .geo-s3-wrap .item .title {
    font-size: 17px;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: bold;
}

/* 卡片描述文字 */
.geo-body .geo-s3-wrap .item .richtext {
    font-size: 13px;
    color: #777;
    line-height: 1.75;
}

/* ==========================================
   Section 4: 白鲸文化GEO优化服务
   ========================================== */
.geo-body .sep-section4 {
    padding: 60px 0 50px;
    background: #fff;
}

.geo-body .sep-section4 .sep-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.geo-body .geo-s4-items {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.geo-body .geo-s4-items .item {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.geo-body .geo-s4-items .item .box {
    padding: 30px 24px;
    background: #f8f8f8;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.geo-body .geo-s4-items .item .box:hover {
    background: #e8eaf6;
    box-shadow: 0 4px 16px rgba(240, 132, 33, 0.1);
}

.geo-body .geo-s4-items .item .title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.geo-body .geo-s4-items .item .title i {
    width: 40px;
    height: 40px;
    background: #1a7fd4;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.geo-body .geo-s4-items .item .title i svg {
    width: 20px;
    height: 20px;
}

.geo-body .geo-s4-items .item .summary {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.geo-body .geo-s4-items .item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.geo-body .geo-s4-items .item ul li {
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.geo-body .geo-s4-items .item ul li:last-child {
    border-bottom: none;
}

/* ==========================================
   最新资讯 - 新版
   ========================================== */
.geo-body .sep-section-news {
    padding: 60px 0 80px;
    background: #fff;
}

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

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

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

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

.geo-body .news-grid .col-md-4,
.geo-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;
}

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

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

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

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

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

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

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

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

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

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

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

.geo-body .news-title:hover {
    color: #009fe8;
}

.geo-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;
}

.geo-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;
}

.geo-body .meta-views {
    color: #009fe8;
    font-weight: 500;
}

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

/* ==========================================
   CTA Banner
   ========================================== */
.geo-body .hf-banner {
    background: url(../images/hf-banner3.jpg) repeat top center;
    height: 255px;
    padding-top: 32px;
    background-size: cover;
}

.geo-body .hf-banner .hf-title {
    color: #fff;
    font-size: 32px;
    text-align: center;
}

.geo-body .hf-banner .hf-text {
    color: #fff;
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
    margin-top: 20px;
    margin-bottom: 35px;
}

.geo-body .hf-banner .hf-more {
    color: #1a7fd4;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 12px 40px;
    border-radius: 24px;
    font-size: 24px;
    margin: 0 auto;
    text-decoration: none;
    transition: all 0.3s ease;
}

.geo-body .hf-banner .hf-more:hover {
    background: #f5f5f5;
}

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

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

    /* Section 1 大卡片 - 变上下布局 */
    .geo-body .geo-s1-card {
        flex-direction: column;
    }

    .geo-body .geo-s1-left {
        width: 100%;
        padding: 36px 40px;
        flex-direction: column;
        text-align: center;
    }

    .geo-body .geo-s1-img {
        max-width: 240px;
        margin-bottom: 24px;
    }

    .geo-body .geo-s1-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px 30px;
        gap: 4px;
    }

    .geo-body .geo-s1-nav .geo-nav-item {
        width: calc(33.333% - 6px);
        border-left: none;
        border-bottom: 3px solid transparent;
        justify-content: center;
        padding: 12px 8px;
    }

    .geo-body .geo-s1-nav .geo-nav-item:hover,
    .geo-body .geo-s1-nav .geo-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: #1a7fd4;
    }

    .geo-body .geo-s2-wrap .col-md-4,
    .geo-body .geo-s3-wrap .item,
    .geo-body .sep-section-school .sep-school-list li {
        width: 50%;
    }

    .geo-body .geo-s4-items .item {
        width: 50%;
    }
}

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

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

    .geo-body .geo-s1-left {
        padding: 28px 24px;
    }

    .geo-body .geo-s1-img img {
        max-height: 200px;
    }

    .geo-body .geo-s1-title {
        font-size: 22px;
    }

    .geo-body .geo-s1-desc {
        font-size: 13px;
    }

    .geo-body .geo-s1-nav .geo-nav-item {
        width: 50%;
    }

    .geo-body .geo-s2-wrap .col-md-4,
    .geo-body .geo-s3-wrap .item,
    .geo-body .sep-section-school .sep-school-list li {
        width: 100%;
    }

    .geo-body .geo-s4-items .item {
        width: 100%;
    }

    .geo-body .hf-banner .hf-title,
    .geo-body .hf-banner .hf-text {
        font-size: 24px;
    }

    .geo-body .hf-banner .hf-more {
        font-size: 18px;
    }
}

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

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

    .geo-body .geo-s1-left {
        flex-direction: column;
    }

    .geo-body .geo-s1-nav .geo-nav-item {
        width: 100%;
    }
}
