﻿.about-banner img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.about-tabs-wrapper {
    position: relative;
}

/* 横线分隔 */
.about-tab-divider {
    height: 1px;
    background-color: #ccc;
    width: 100%;
}

/* 按钮行 */
.about-tabs {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

/* 单个按钮 */
.about-tabs {
    display: flex;
    justify-content: center; /* 所有 tab 水平居中 */
}

.about-tab {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center; /* 垂直居中图片和文字 */
    justify-content: center; /* 水平居中整个 tab 内容 */
    background: white;
    box-sizing: border-box;
}

    .about-tab img {
        width: 36px;
        height: 36px;
        object-fit: contain;
        margin-right: 0.75rem; /* 图片与文字之间的间距 */
    }

    .about-tab span {
        font-size: 1rem;
        color: #333;
        white-space: nowrap;
    }

    .about-tab.active {
        background-color: red;
        border-color: red;
        color: white;
    }

        .about-tab.active span {
            color: white;
        }

/* 内容区域 */
.about-content {
    padding: 2rem 1rem;
    max-width: 80%;
    margin: 0 auto;
}

/* 内容隐藏用 */
.about-section {
    font-size: 1.1rem;
    line-height: 1.8;
}

.d-none {
    display: none;
}

/* 移动端 */
@media (max-width: 768px) {
    .about-tabs {
        flex-direction: column;
        width: 100%;
    }

    .about-tab {
        margin: 4px 0;
    }
}

.intro-container {
    display: flex;
    flex-wrap: wrap; /* 支持响应式 */
    gap: 2rem;
    align-items: flex-start;
}

.intro-left {
    flex: 1 1 40%;
    min-width: 300px;
}

    .intro-left .intro-main-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

.intro-right {
    flex: 1 1 50%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-top-image .intro-small-img {
    object-fit: contain;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

    .intro-text p {
        margin-bottom: 1rem;
    }

.advantage-module {
    margin-bottom: 2rem;
}

.advantage-header {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 1rem; /* 图标与标题之间的间距 */
}

.advantage-icon {
    object-fit: contain;
}

.advantage-title {
    color: #000;
    font-size: 1.5rem;
    margin: 0; /* 移除默认的margin */
}

.advantage-content {
    margin-top: 1rem;
}

.advantage-item {
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.item-title {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #555;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-content {
        max-width: 100%;
    }

    .advantage-item {
        margin-left: 0;
    }
}

/* 公司动态模块 */
.news-module {
    margin-bottom: 2rem;
}

.news-header {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 1rem; /* 图标与标题之间的间距 */
}

.news-icon {
    object-fit: contain;
}

.news-title {
    color: #000;
    font-size: 1.5rem;
    margin: 0; /* 移除默认的margin */
}

.news-content {
    text-align: center;
}

.news-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
