/* 企业官网统一样式 */

/* ========= 全局 box-sizing ========= */
.about_layout,
.about_layout *,
.about_content_wrap,
.about_content_wrap * {
    box-sizing: border-box;
}

/* ========= 页面布局 ========= */
.about_layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    align-items: flex-start;
}

/* ========= 内容区域容器 ========= */
.about_content_wrap {
    flex: 1;
    min-width: 0;
}

/* ========= 内容卡片容器 ========= */
.about_content_card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ========= 通用标题样式 ========= */
.about_section_title {
    color: #1a2a56;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 600;
}

/* ========= 通用文本样式 ========= */
.about_text {
    color: #212121;
    line-height: 2.5;
    font-size: 16px;
}

/* ========= 通用段落间距 ========= */
.about_paragraph {
    margin-bottom: 20px;
}

/* ========= 分隔线 ========= */
.about_divider {
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

/* ========= 网格布局 ========= */
.about_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* ========= 卡片组件 ========= */
.about_card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* ========= 按钮样式 ========= */
.about_btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #1a2a56 0%, #1e4c8a 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.about_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 42, 86, 0.3);
}

/* ========= 表单样式 ========= */
.about_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about_form input,
.about_form textarea,
.about_form select {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.about_form textarea {
    min-height: 120px;
    resize: vertical;
}

.about_form input:focus,
.about_form textarea:focus,
.about_form select:focus {
    outline: none;
    border-color: #1a2a56;
}

/* ========= 信息框样式 ========= */
.about_info_box {
    background: #f4f9fc;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #1a2a56;
}

.about_info_box p {
    margin-bottom: 12px;
}

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

/* ========= 团队成员卡片 ========= */
.team_member_card {
    flex: 1 1 calc(25% - 18px);
    min-width: 220px;
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.team_member_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team_member_avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a2a56 0%, #1e4c8a 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.team_member_name {
    color: #1a2a56;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.team_member_position {
    color: #707070;
    margin-bottom: 16px;
    font-size: 14px;
}

.team_member_desc {
    color: #707070;
    font-size: 14px;
    line-height: 1.6;
}

/* ========= 图片在内容中自适应 ========= */
.about_content_card img,
.about_content_wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========= 响应式：平板/小屏 PC (992px) ========= */
@media (max-width: 992px) {
    .about_layout {
        flex-direction: column;
        gap: 20px;
        padding: 24px 0;
    }

    .about_content_card {
        padding: 28px;
    }

    .about_section_title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about_text {
        font-size: 15px;
        line-height: 2.2;
    }

    .team_member_card {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
        padding: 24px 20px;
    }

    .team_member_avatar {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }
}

/* ========= 响应式：手机端 (768px) ========= */
@media (max-width: 768px) {
    .about_layout {
        padding: 16px 0;
        gap: 16px;
    }

    .about_content_card {
        padding: 20px 16px;
        border-radius: 6px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    }

    .about_section_title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .about_text {
        font-size: 14px;
        line-height: 2;
    }

    .about_paragraph {
        margin-bottom: 14px;
    }

    .about_divider {
        margin: 20px 0;
    }

    .about_grid {
        gap: 14px;
    }

    .about_btn {
        padding: 10px 24px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .about_info_box {
        padding: 16px;
    }

    .about_form input,
    .about_form textarea,
    .about_form select {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* ========= 响应式：小手机 (576px) ========= */
@media (max-width: 576px) {
    .about_layout {
        padding: 12px 0;
        gap: 12px;
    }

    .about_content_card {
        padding: 16px 14px;
    }

    .team_member_card {
        flex: 1 1 100%;
        padding: 20px 16px;
    }

    .team_member_avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .team_member_name {
        font-size: 16px;
    }

    .team_member_position,
    .team_member_desc {
        font-size: 13px;
    }

    .about_section_title {
        font-size: 17px;
        margin-bottom: 12px;
    }
}

/* ========= 全局移动端宽度保护：防止内部大固定宽度溢出手机屏 ========= */
@media (max-width: 992px) {
    .about_content_wrap > * > .work-card,
    .about_content_wrap .work-card,
    .about_content_wrap .service-card,
    .about_content_wrap .case-card,
    .about_content_wrap .category-card,
    .about_content_wrap .jobs-hero,
    .about_content_wrap .partners-hero,
    .about_content_wrap .cases-hero,
    .about_content_wrap .contact-hero,
    .about_content_wrap .staff-hero,
    .about_content_wrap .products-hero,
    .about_content_wrap .services-hero,
    .about_content_wrap .team-hero {
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 576px) {
    .about_content_wrap .category-card,
    .about_content_wrap .case-card,
    .about_content_wrap .team-member,
    .about_content_wrap .product-list-card,
    .about_content_wrap .product-card {
        min-width: 0;
        flex: 1 1 100%;
    }
}

/* ========= body 被移动端模板限制为 480px 居中时的全局保护 ========= */
@media (max-width: 480px) {
    .about_layout {
        padding: 10px 0;
        gap: 10px;
    }

    .about_content_card {
        padding: 14px 12px;
    }

    .about_content_wrap [class*="-card"],
    .about_content_wrap [class*="-hero"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .about_content_wrap img {
        max-width: 100%;
        height: auto;
    }
}
