/* ==============================================
   重叠内容区域
   ============================================== */

.f-overlap-content {
    width: 100%;
    background: var(--bg-color, #E8E8E8);
    padding: 80px 0;
}

.f-overlap-content__wrapper {
    width: 100%;
}

/* 第一行：标题 */
.f-overlap-content__heading {
    margin-bottom: 24px;
}

.f-overlap-content__heading h2 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    margin: 0;
}

/* 第二行：描述 */
.f-overlap-content__description {
    max-width: 800px;
    margin-bottom: 60px;
}

.f-overlap-content__description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* 第三行：重叠布局容器 */
.f-overlap-content__overlap-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 500px;
}

/* 左侧内容盒子 - 55%宽度 */
.f-overlap-content__left-box {
    position: relative;
    width: 55%;
    background: #ffffff;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.f-overlap-content__left-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    margin: 0 0 24px 0;
}

.f-overlap-content__left-content {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

.f-overlap-content__left-content p {
    margin: 0 0 16px 0;
}

.f-overlap-content__left-content p:last-child {
    margin-bottom: 0;
}

/* 按钮样式 */
.f-overlap-content__button-wrapper {
    display: flex;
    align-items: center;
}

.f-overlap-content__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6366F1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.f-overlap-content__button:hover {
    opacity: 0.8;
}

.f-overlap-content__button-text {
    line-height: 1.5;
}

.f-overlap-content__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #6366F1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.f-overlap-content__button:hover .f-overlap-content__button-icon {
    transform: translateX(5px);
}

.f-overlap-content__button-icon svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

/* 右侧图片 - 60%宽度，向左重叠 */
.f-overlap-content__right-image {
    position: absolute;
    right: 0;
    top: -40px;
    width: 60%;
    z-index: 1;
}

.f-overlap-content__right-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.f-overlap-content__placeholder {
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-overlap-content__placeholder svg {
    width: 100px;
    height: 100px;
    opacity: 0.3;
}

/* 响应式 */
@media (max-width: 1024px) {
    .f-overlap-content {
        padding: 60px 0;
    }

    .f-overlap-content__heading h2 {
        font-size: 40px;
    }

    .f-overlap-content__left-box {
        padding: 40px;
    }

    .f-overlap-content__left-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .f-overlap-content {
        padding: 40px 0;
    }

    .f-overlap-content__heading h2 {
        font-size: 32px;
    }

    .f-overlap-content__description {
        margin-bottom: 40px;
    }

    /* 移动端不重叠，改为上下排列 */
    .f-overlap-content__overlap-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .f-overlap-content__left-box {
        width: 100%;
        margin-bottom: 30px;
        padding: 30px;
    }

    .f-overlap-content__left-title {
        font-size: 24px;
    }

    .f-overlap-content__right-image {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
    }
}
