
/*首页 Banner 组件样式 ---------- */
.banner-section.home_three {
    /* 容器本身无额外样式，如需统一间距可在此添加，此处保持干净 */
}

.hero-banner {
    background-color: #333;            /* 背景色备选，当overlay透明时可见 */
    height: 480px;
    position: relative;
    /* 确保内部绝对定位元素相对于此容器 */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    background-image: url('https://www.hayepusi.com/assets/images/background/geo.jpg');
    background-size: cover;
    background-position: center;        /* 更精细的控制，保持图片居中显示 */
}

.banner-content {
    position: relative;
    z-index: 1;                         /* 保证文字在overlay上方 */
    height: 100%;
    display: flex;                       /* 原内联样式中有 flex-direction，需要配合display */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left;                    /* 文本左对齐，但容器内居中可通过auto-container调整 */
    padding: 100px;
    box-sizing: border-box;               /* 保证padding不影响高度计算 */
}

/* 中间容器用于限制内容宽度并左对齐文字（符合原本auto-container的作用） */
.auto-container {
    width: 100%;
    max-width: 1400px;                    /* 常见栅格容器宽度，可根据实际调整 */
    margin-left: auto;
    margin-right: auto;
}

/* 面包屑/导航文字 */
.breadcrumbs {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

/* 主标题 */
.banner-content h1 {
    font-size: 30px;
    margin: 10px 0;
    font-weight: bold;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 24px;
    margin: 25px 0;
    font-weight: 400;
    line-height: 1.5;
    color: white;
}

/* 白色装饰线 —— 原本使用white-border类 */
.white-border {
    width: 100px;
    height: 2px;
    background: white;                     /* 覆盖透明背景，真正显示白色 */
    margin: 15px auto;                      /* 水平居中 */
    opacity: 0.8;                            /* 柔和一些，可自行调整 */

}


/* 行动按钮 */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    margin: 20px 0;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s; /* 增加悬停效果，提升体验 */
}

.cta-button:hover {
    background-color: white;
    color: #333;              /* 深色文字与背景呼应 */
    border-color: white;
}

/* 可选：确保h4中的br在移动端友好，但保留原有展示 */
@media (max-width: 768px) {
    .banner-content {
        padding: 40px 20px;   /* 移动端减小内边距 */
    }

    .banner-content h1 {
        font-size: 26px;
    }

    .banner-content h4 {
        font-size: 20px;
    }

    .white-border {
        margin: 10px auto;
    }
}
        
        

        
        

/* 首页服务流程区域 */
.process {
    padding: 50px 0 80px 0;
    background-color: #ffffff;
    max-width: 1400px;
    margin: 0 auto; /* 这会让板块水平居中 */

}

/* 步骤容器 */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

/* 单个步骤 */
.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 20%; /* 5个步骤，每个约20% */
    padding: 0 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #ad52ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    z-index: 3;
    position: relative;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    height: 50px; /* 统一高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
    min-height: 40px; /* 统一高度 */
}

/* 步骤列表样式 - 必须放在 .step 之后 */
.step ul.step-list {
    margin: 8px 0 0 0;
    padding: 0;
    text-align: left;
    list-style: none;
    min-height: 90px; /* 与段落高度保持一致 */
}

.step ul.step-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    line-height: 1.5;
    color: #666;
    font-size: 16px;
    text-align: left;
}

.step ul.step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 50%;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .step {
        width: 45%;
    }
    
    .process-steps:before {
        display: none; /* 在小屏幕上隐藏连接线 */
    }
}

@media (max-width: 768px) {
    .process {
        padding: 50px 0;
    }
    
    .step {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .step h4 {
        height: auto;
        min-height: 40px;
    }
    
    .step p,
    .step ul.step-list {
        min-height: auto;
    }
}







/* 首页GEO知识-blog板块样式 */
.blog-list {
    padding: 50px 0;

}

/* 左右布局容器 */
.layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-right: -15px;
    margin-left: -15px;
}

/* 左侧内容样式 */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.featured-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 210px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.image-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.image-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.featured-articles {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.featured-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #eddcff;
    font-weight: 600;
}

/* 右侧内容样式 */
.right-column {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    height: fit-content;
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eddcff;
}

.latest-title {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
}

.update-date {
    color: #555;
    font-size: 14px;
}

.date-highlight {
    color: #cb38ff;
    font-weight: 600;
}

/* 统一文章项样式 */
.article-item, .featured-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    gap: 15px;
    align-items: center;
    border-bottom: 1px dashed #e9ecef;
}

.article-item:last-child, .featured-item:last-child {
    border-bottom: none;
}

/* 最新文章序号样式 */
.article-number {
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ad52ff 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 置顶文章序号样式 */
.featured-number {
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.article-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    flex: 1;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.article-more {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    font-family: var(--text-font);
    padding: 15px 50px;
    border-radius: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    /*background: linear-gradient(90deg, #6e8efb, #a777e3); */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
}

/* 鼠标悬停时文字颜色改变 */
.article-more .more-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(110, 142, 251, 0.4);
}

@media (max-width: 768px) {
    .layout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-articles, .right-column {
        padding: 15px;
    }
    
    .latest-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .latest-title {
        font-size: 20px;
    }
    
    .article-title {
        font-size: 15px;
    }
    
    .article-number, .featured-number {
        min-width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .featured-title {
        font-size: 16px;
    }
}