/* ==========================================================================
   about.html —— 公司简介 / 单页
   ========================================================================== */

/* 横幅：有栏目大图时作为背景 */
.about-banner {
    position: relative;
    background-image: linear-gradient(135deg, #167cba 0%, #0d5a8a 100%);
    background-size: cover;
    background-position: center;
}

.about-banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 45, 72, .82) 0%, rgba(10, 45, 72, .45) 55%, rgba(10, 45, 72, .25) 100%);
}

.about-banner .container {
    position: relative;
    z-index: 2;
}

/* ---------- 布局 ---------- */
.about-layout {
    display: flex;
    gap: 34px;
    padding: 30px 0 60px;
    align-items: flex-start;
}

.about-main {
    flex: 1;
    min-width: 0;
}

/* ---------- 正文排版 ---------- */
.about-content {
    font-size: 16px;
    line-height: 1.95;
    color: #4a5259;
    text-align: justify;
    word-break: break-word;
}

.about-content p {
    padding: 10px 0;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4 {
    position: relative;
    margin-top: 30px;
    margin-bottom: 12px;
    padding-left: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
}

.about-content h1 { font-size: 25px; }
.about-content h2 { font-size: 22px; }
.about-content h3 { font-size: 19px; }
.about-content h4 { font-size: 17px; }

/* 蓝色竖条：用 transform 居中，避免 margin-top 百分比按宽度计算导致错位 */
.about-content h1::before,
.about-content h2::before,
.about-content h3::before,
.about-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0.95em;
    background: #167cba;
    border-radius: 2px;
    transform: translateY(-50%);
}

.about-content img {
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 8px;
    display: block;
}

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

.about-content li {
    list-style: disc;
    padding: 4px 0;
}

.about-content ol li {
    list-style: decimal;
}

.about-content a {
    color: #167cba;
    text-decoration: none;
    border-bottom: 1px solid rgba(22, 124, 186, .3);
    transition: border-color .25s ease;
}

.about-content a:hover {
    border-bottom-color: #167cba;
}

.about-content table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.about-content td,
.about-content th {
    padding: 11px 14px;
    border: 1px solid #e4e9ee;
}

.about-content th {
    background: #f7f9fb;
    font-weight: 600;
}

.about-content blockquote {
    margin: 16px 0;
    padding: 14px 20px;
    background: #f7fafc;
    border-left: 3px solid #167cba;
    border-radius: 0 8px 8px 0;
    color: #5a636c;
}

/* ---------- 右侧边栏 ---------- */
.about-side {
    flex: 0 0 320px;
    width: 320px;
}

.about-side-card {
    padding: 24px 22px;
    margin-bottom: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.about-side-title {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.about-side-title .item-title-line {
    width: 46px;
    height: 3px;
    margin: 12px 0 0;
    background: #167cba;
}

/* 栏目导航 */
.about-nav li {
    border-bottom: 1px solid #edf1f5;
}

.about-nav li:last-child {
    border-bottom: none;
}

.about-nav a {
    position: relative;
    display: block;
    padding: 13px 8px 13px 16px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    transition: all .25s ease;
}

.about-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #167cba;
    transform: translateY(-50%);
    transition: width .25s ease;
}

.about-nav a:hover,
.about-nav a.is-current {
    color: #167cba;
    padding-left: 22px;
}

.about-nav a:hover::before,
.about-nav a.is-current::before {
    width: 12px;
}

.about-nav a.is-current {
    font-weight: 600;
}

/* 联系卡片 */
.about-contact .msg-contact-list li {
    display: flex;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px dashed #e4e9ee;
}

.about-contact .msg-contact-list li:last-child {
    border-bottom: none;
}

.about-side-card .msg-contact-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6fc;
    border-radius: 9px;
    transition: all .3s ease;
}

.about-side-card .msg-contact-icon .layui-icon {
    font-size: 17px;
    color: #167cba;
}

.about-contact li:hover .msg-contact-icon {
    background: #167cba;
}

.about-contact li:hover .msg-contact-icon .layui-icon {
    color: #fff;
}

.about-contact .msg-contact-body {
    flex: 1;
    min-width: 0;
}

.about-contact .msg-contact-label {
    font-size: 12px;
    color: #9aa5b1;
    margin-bottom: 3px;
}

.about-contact .msg-contact-value {
    font-size: 15px;
    color: #333;
    line-height: 1.55;
    word-break: break-all;
    text-decoration: none;
}

.about-contact a.msg-contact-value:hover {
    color: #167cba;
}

.about-cta {
    width: 100%;
    margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 992px) {
    .about-layout {
        flex-direction: column;
        gap: 24px;
        padding: 22px 0 40px;
    }

    .about-side {
        flex: 1 1 auto;
        width: 100%;
    }

    .about-side-card {
        margin-bottom: 18px;
    }

    .about-banner {
        height: 170px;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .about-content h1 { font-size: 20px; }
    .about-content h2 { font-size: 18px; }
    .about-content h3 { font-size: 17px; }

    .about-banner {
        height: 140px;
    }

    .about-side-card {
        padding: 20px 18px;
    }
}
