/* ============================================
   企业简介页面样式 - About Page Styles
   采用BEM命名规范，扁平化设计风格
   ============================================ */

/* ============================================
   Block: about-intro
   企业简介主容器，采用3:7左右分栏布局
   ============================================ */
.about-intro {
    display: flex;
    gap: 60px;
    padding: 40px 0;
    align-items: stretch;
}

/* ============================================
   Element: about-intro__media
   左侧图片媒体区域，占比30%
   ============================================ */
.about-intro__media {
    flex: 0 0 30%;
    /* max-width: 400px; */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 图片包装器 */
.about-intro__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* min-height: 400px; */
    overflow: hidden;
    /* background-color: var(--header-color-border); */
}

/* 主图片 */
.about-intro__image {
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* 图片悬停效果 */
.about-intro__image-wrapper:hover .about-intro__image {
    transform: scale(1.05);
}

/* 图片遮罩层 */
.about-intro__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 60%,
            rgba(19, 69, 226, 0.1) 100%);
    pointer-events: none;
}

/* ============================================
   Element: about-intro__content
   右侧内容区域，占比70%
   ============================================ */
.about-intro__content {
    /* flex: 0 0 70%; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}

/* ============================================
   Element: about-intro__header
   内容头部区域，包含标题和副标题
   ============================================ */
.about-intro__header {
    /* margin-bottom: 40px; */
}

/* 主标题 */
.about-intro__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--datai-color);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

/* 副标题包装器 */
.about-intro__subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 英文副标题 */
.about-intro__subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--header-color-accent);
    /* letter-spacing: 2px; */
}

/* 副标题装饰线 */
.about-intro__subtitle-line {
    flex: 1;
    height: 1px;
    background-color: var(--header-color-border);
    max-width: 200px;
}

/* ============================================
   Element: about-intro__body
   富文本内容主体区域
   ============================================ */
.about-intro__body {
    flex: 1;
    margin-bottom: 40px;
}

/* 富文本内容样式 */
.about-intro__body p {
    font-size: 16px;
    line-height: 1.8;
    /* color: var(--header-color-text-secondary); */
    color: #000;
    margin-bottom: 20px;
    text-align: justify;
}

.about-intro__body p:last-child {
    margin-bottom: 0;
}

/* 富文本中的标题 */
.about-intro__body h3,
.about-intro__body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--header-color-text);
    margin: 30px 0 16px 0;
}

/* 富文本中的列表 */
.about-intro__body ul,
.about-intro__body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.about-intro__body li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--header-color-text-secondary);
    margin-bottom: 8px;
}

/* 富文本中的强调 */
.about-intro__body strong {
    color: var(--header-color-text);
    font-weight: 600;
}

/* ============================================
   响应式适配 - Responsive Design
   ============================================ */

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .about-intro {
        gap: 40px;
        padding: 60px 0;
    }

    .about-intro__title {
        font-size: 28px;
    }

}

/* 移动端设备 */
@media screen and (max-width: 768px) {
    .about-intro {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0;
    }

    .about-intro__media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .about-intro__image-wrapper {
        min-height: 280px;
    }

    .about-intro__content {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-intro__header {
        margin-bottom: 24px;
    }

    .about-intro__title {
        font-size: 24px;
    }

    .about-intro__body {
        margin-bottom: 30px;
    }

    .about-intro__body p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* 小屏移动设备 */
@media screen and (max-width: 480px) {
    .about-intro {
        padding: 30px 0;
    }

    .about-intro__image-wrapper {
        min-height: 220px;
    }

    .about-intro__title {
        font-size: 22px;
    }

    .about-intro__subtitle {
        font-size: 12px;
    }
}