/* ==================== 关于我们页面移动端适配 ==================== */

/* 移动端响应式 */
@media (max-width: 1024px) {
    /* ==================== 上半区域适配 ==================== */
    .top-box {
        height: auto;
        min-height: 280px;
        padding: 100px 20px 40px;
        background-position: center top;

        .top-title {
            font-size: clamp(24px, 5vw, 36px);
            line-height: 1.3;
            height: auto;
            text-align: center;
        }

        .top-description {
            font-size: clamp(14px, 2vw, 18px);
            line-height: 1.5;
            height: auto;
            margin-top: 12px;
            text-align: center;
        }
    }

    /* ==================== 富文本区域适配 ==================== */
    .editor-box {
        padding: 40px 15px;

        .box-title {
            padding: 0 0 25px;
            align-items: center;

            .editor-keywords {
                font-size: clamp(20px, 4vw, 28px);
                text-align: center;
            }

            .editor-title {
                font-size: clamp(18px, 3.5vw, 24px);
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;

                &::after {
                    width: 28px;
                    height: 4px;
                    margin-left: 0;
                }
            }
        }

        .editor-content {
            padding: 20px 15px;
            line-height: 1.8;
            font-size: 15px;
            border-radius: 12px;
        }

        .editor-image {
            position: relative;
            top: auto;
            right: auto;
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            margin-top: 20px;
            border-radius: 12px;

            .img {
                width: 100%;
                height: 100%;
            }
        }
    }

    /* ==================== 联系我们适配 ==================== */
    .contact-us {
        flex-direction: column;
        padding: 40px 15px 60px;
        gap: 30px;

        .content-left {
            width: 100%;
            align-items: center;

            .contact-us-title {
                font-size: clamp(20px, 4vw, 24px);
                line-height: 1.4;
                height: auto;
                text-align: center;
                margin-bottom: 15px;
            }

            .contact-us-item {
                margin-bottom: 12px;
                font-size: 16px;
                text-align: center;
            }

            .qrcode2 {
                margin-top: 20px;

                .img {
                    width: 120px;
                    height: 120px;
                }

                .code-text {
                    font-size: 13px;
                    margin-top: 8px;
                }
            }
        }

        .content-right {
            width: 100%;

            .map-wrap {
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                border-radius: 12px;
            }

            .img {
                width: 100%;
                height: 100%;
            }
        }
    }

    /* ==================== 使命愿景适配 ==================== */
    .vision-wrap {
        min-height: auto;
        padding: 40px 15px;
        justify-content: center;
        gap: 15px;

        .vision-item {
            width: calc(50% - 8px);
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px 15px;

            .item-icon {
                width: 50px;
                height: 50px;

                .img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                    display: block;
                }
            }

            .item-info {
                margin-left: 0;
                width: 100%;
                margin-top: 12px;

                .item-title {
                    font-weight: 600;
                    font-size: 16px;
                    color: var(--title-color);
                    height: auto;
                    line-height: 1.4;
                }

                .item-subtitle {
                    color: #666666;
                    margin-top: 6px;
                    line-height: 1.5;
                    font-size: 13px;
                }
            }
        }
    }
}

/* 小屏幕优化 */
@media (max-width: 768px) {
    /* ==================== 上半区域小屏幕适配 ==================== */
    .top-box {
        min-height: 220px;
        padding: 80px 15px 30px;

        .top-title {
            font-size: 22px;
        }

        .top-description {
            font-size: 14px;
            margin-top: 10px;
        }
    }

    /* ==================== 富文本区域小屏幕适配 ==================== */
    .editor-box {
        padding: 30px 10px;

        .box-title {
            padding: 0 0 20px;

            .editor-keywords {
                font-size: 20px;
            }

            .editor-title {
                font-size: 18px;

                &::after {
                    width: 24px;
                    height: 3px;
                }
            }
        }

        .editor-content {
            padding: 16px 12px;
            font-size: 14px;
            line-height: 1.7;
            border-radius: 10px;
        }

        .editor-image {
            margin-top: 16px;
            border-radius: 10px;
        }
    }

    /* ==================== 联系我们小屏幕适配 ==================== */
    .contact-us {
        padding: 30px 10px 50px;
        gap: 25px;

        .content-left {
            .contact-us-title {
                font-size: 20px;
            }

            .contact-us-item {
                font-size: 15px;
                margin-bottom: 10px;
            }

            .qrcode2 {
                margin-top: 16px;

                .img {
                    width: 100px;
                    height: 100px;
                }

                .code-text {
                    font-size: 12px;
                    margin-top: 6px;
                }
            }
        }

        .content-right {
            .map-wrap {
                border-radius: 10px;
            }
        }
    }

    /* ==================== 使命愿景小屏幕适配 ==================== */
    .vision-wrap {
        padding: 30px 10px;
        gap: 12px;

        .vision-item {
            width: calc(50% - 6px);
            padding: 16px 12px;

            .item-icon {
                width: 45px;
                height: 45px;
            }

            .item-info {
                margin-top: 10px;

                .item-title {
                    font-size: 15px;
                }

                .item-subtitle {
                    margin-top: 4px;
                    font-size: 12px;
                }
            }
        }
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    /* ==================== 上半区域超小屏幕适配 ==================== */
    .top-box {
        min-height: 180px;
        padding: 70px 12px 25px;

        .top-title {
            font-size: 20px;
        }

        .top-description {
            font-size: 13px;
        }
    }

    /* ==================== 富文本区域超小屏幕适配 ==================== */
    .editor-box {
        padding: 25px 8px;

        .box-title {
            .editor-keywords {
                font-size: 18px;
            }

            .editor-title {
                font-size: 16px;

                &::after {
                    width: 20px;
                    height: 3px;
                }
            }
        }

        .editor-content {
            padding: 14px 10px;
            font-size: 13px;
        }

        .editor-image {
            margin-top: 14px;
        }
    }

    /* ==================== 联系我们超小屏幕适配 ==================== */
    .contact-us {
        padding: 25px 8px 40px;

        .content-left {
            .contact-us-title {
                font-size: 18px;
            }

            .contact-us-item {
                font-size: 14px;
            }

            .qrcode2 {
                .img {
                    width: 90px;
                    height: 90px;
                }

                .code-text {
                    font-size: 11px;
                }
            }
        }
    }

    /* ==================== 使命愿景超小屏幕适配 ==================== */
    .vision-wrap {
        padding: 25px 8px;

        .vision-item {
            padding: 14px 10px;

            .item-icon {
                width: 40px;
                height: 40px;
            }

            .item-info {
                .item-title {
                    font-size: 14px;
                }

                .item-subtitle {
                    font-size: 11px;
                }
            }
        }
    }
}
