﻿.helpTit {
    padding: 10px 0px 10px 30px;
    font-size: 14px;
    background-image: url(../imgs/red.jpg);
    background-repeat: no-repeat;
    background-position: 8px 8px;
    font-weight: bolder;
    background-color: #EAEAEA;
}

.help_title_ai {
    padding: 50px 0px 50px 0px;
}

.ppt {
    line-height: 50px;
    letter-spacing: 2px;
    text-align: left;
    text-indent: 26px;
}

.FAQTitle {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.ai-feature-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    background: #fff;
}

/* 每块结构 */
.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 40px;
    flex-wrap: nowrap;
    position: relative;
}

    /* 红色渐变分隔线（最后一块无） */
    .ai-feature-item:not(.no-line)::after {
        content: "";
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 0;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(191, 40, 61, 0.9) 30%, rgba(191, 40, 61, 0.9) 70%, transparent);
        border-radius: 2px;
    }

/* 图片区：自适应宽度，可多张 */
.ai-feature-thumb {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
}

    .ai-feature-thumb img {
        height: auto;
        border-radius: 8px;
        max-width: 100%;
        cursor: pointer;
    }

/* 文字内容区 */
.ai-feature-text {
    flex: 1;
    min-width: 150px;
    word-break: break-word;
}

.ai-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #bf283d;
}

    .ai-feature-title .ai-feature-title-key {
        font-size: 24px;
        font-weight: bold;
        margin-right: 2px;
    }

.ai-feature-desc {
    padding-top: 5px;
    font-size: 16px;
    line-height: 1.8;
}

/* 最后一块上下排列 */
.ai-feature-item.column {
    flex-direction: column;
    text-align: center;
}

/* 响应式：移动端自动换行 */
@media (max-width: 900px) {
    .ai-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .ai-feature-thumb {
        justify-content: center;
    }
}

/* 特殊布局：上图 + 下两图 */
.ai-feature-item.multiple .ai-feature-thumb {
    display: flex;
    flex-direction: column; /* 纵向排列 */
    gap: 10px;
    max-width: 65%;
    flex-shrink: 0;
}

    /* 上图单独占满一行 */
    .ai-feature-item.multiple .ai-feature-thumb img:first-child {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* 下方两张图并排 */
    .ai-feature-item.multiple .ai-feature-thumb .bottom-row {
        display: flex;
        gap: 10px;
    }

        .ai-feature-item.multiple .ai-feature-thumb .bottom-row img {
            flex: 1;
            height: auto;
            width: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

/* 文字区 */
.ai-feature-item.multiple .ai-feature-text {
    flex: 1;
}

/* 第六块：上下布局优化 */
.ai-feature-item.column {
    display: flex;
    flex-direction: column;
    align-items: center; /* 左对齐 */
}

    /* 图片组 */
    .ai-feature-item.column .ai-feature-thumb {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    /* 文字区调整 */
    .ai-feature-item.column .ai-feature-text {
        margin-top: 30px; /* 与图片区距离 */
        text-align: left; /* 左对齐文字 */
        width: 100%; /* 占整行宽 */
        box-sizing: border-box;
    }


/* 鼠标悬停放大提示效果 */
.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.25s ease;
    border-radius: 10px;
}

    .zoomable-img:hover {
        transform: scale(1.03);
    }

/* 保持原有图片布局不变 */
.ai-feature-thumb img {
    max-width: 100%;
    height: auto;
}

/* 缩略图 */
.ai-feature-thumb img {
    max-height: 160px;
    margin-right: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .ai-feature-thumb img:hover {
        transform: scale(1.05);
    }

/* 悬浮查看器 */
.img-viewer {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.viewer-images {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .viewer-images img {
        position: absolute;
        object-fit: contain;
        transition: transform 0.5s ease, opacity 0.5s ease;
        opacity: 0;
        transform: scale(0.8);
    }

        .viewer-images img.active {
            opacity: 1;
            transform: scale(1);
            z-index: 3;
        }

        .viewer-images img.prev,
        .viewer-images img.next {
            opacity: 0.4;
            transform: scale(0.7) translateX(-60%) rotateY(20deg);
            z-index: 2;
        }

        .viewer-images img.next {
            transform: scale(0.7) translateX(60%) rotateY(-20deg);
        }

.viewer-close,
.viewer-prev,
.viewer-next {
    position: absolute;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    z-index: 999;
    background-color: #278DDF;
    width: 50px;
    height: 50px;
    border-radius: 32px;
}

.viewer-close {
    top: 8%;
    right: 20%;
    line-height: 50px;
    text-indent: 12px;
}

.viewer-prev {
    left: 14%;
    line-height: 50px;
    text-indent: 10px;
}

.viewer-next {
    right: 14%;
    line-height: 51px;
    text-indent: 15px;
}

.hidden-large {
    display: none;
}