@import '../header/sub.css';

/* ============================================
   About 模块 - 关于我们区块
   BEM 命名：.about / .about__*
   1:1 左右分栏：左侧图片，右侧富文本
   ============================================ */

.about {
    padding: 20px 0 60px;
}

.about__inner {
    display: flex;
    align-items: stretch;
    gap: 60px;
}

/* --------------------------------------------
   左侧 - 图片区域
   -------------------------------------------- */
.about__media {
    flex: 1 1 50%;
    position: relative;
    min-width: 0;
}

.about__media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.18);
}

.about__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about__media-frame:hover .about__image {
    transform: scale(1.04);
}

/* 左上角标签 */
.about__media-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a2a44;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --------------------------------------------
   右侧 - 富文本区域
   -------------------------------------------- */
.about__content {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about__eyebrow {
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    /* letter-spacing: 0.2em; */
    text-transform: uppercase;
    color: var(--header-color-accent-2);
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}

.about__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background-color: var(--header-color-accent-2);
}

.about__body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.85;
    color: #4a5568;
    margin: 0;
}

.about__body p {
    margin: 0 0 14px;
}

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

.about__body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 12px 0;
}

.about__body h2,
.about__body h3,
.about__body h4 {
    color: #1a2a44;
    font-weight: 600;
    line-height: 1.4;
    margin: 18px 0 10px;
}

.about__body h2 {
    font-size: 22px;
}

.about__body h3 {
    font-size: 19px;
}

.about__body a {
    color: var(--header-color-accent-2);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.about__body a:hover {
    border-bottom-color: var(--header-color-accent-2);
}

.about__body ul,
.about__body ol {
    padding-left: 22px;
    margin: 10px 0 14px;
}

.about__body ul {
    list-style: disc;
}

.about__body ol {
    list-style: decimal;
}

.about__body li {
    margin-bottom: 6px;
}

.about__body blockquote {
    margin: 14px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--header-color-accent-2);
    background-color: #fafbfc;
    color: #4a5568;
    font-style: italic;
}

/* --------------------------------------------
   响应式适配
   -------------------------------------------- */

/* 平板：缩小间距与字号 */
@media screen and (max-width: 1024px) {
    .about {
        padding: 10px 24px 50px;
    }

    .about__inner {
        gap: 40px;
    }
}

/* 手机端：上下堆叠 */
@media screen and (max-width: 768px) {
    .about {
        padding: 0 16px 40px;
    }

    .about__inner {
        flex-direction: column;
        gap: 36px;
    }

    .about__media {
        width: 100%;
    }

    .about__media-frame {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .about__media-tag {
        top: 16px;
        left: 16px;
        font-size: 11px;
        height: 28px;
        padding: 0 12px;
    }

    .about__eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
        padding-left: 30px;
    }

    .about__eyebrow::before {
        width: 22px;
    }

    .about__body {
        font-size: 14px;
        line-height: 1.8;
    }
}