/* ===== 关于我们页面特定样式 ===== */
.about-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--spacing-lg);
    border-radius: 12px;
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 12px;
    /* 使用附件建议的text-shadow优化 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.about-banner-title {
    font-size: 42px;
    font-family: var(--font-accent);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.02em; /* 附件建议：标题适当缩减字间距 */
}

.about-banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.about-content {
    background-color: white;
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-lg);
}

.about-section-title {
    font-size: 28px;
    font-family: var(--font-accent);
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
    line-height: 1.3;
}

.about-intro {
    margin-bottom: var(--spacing-lg);
}

.about-intro p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    /* 附件建议：两端对齐 */
    text-align: justify;
}

.highlight-box {
    background-color: #f7f8fc;
    border-left: 4px solid var(--color-brand);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    border-radius: 0 8px 8px 0;
}

.highlight-title {
    font-size: 20px;
    font-family: var(--font-accent);
    color: var(--color-brand);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    line-height: 1.4;
}

.highlight-box p {
    color: var(--color-text);
    line-height: var(--lh-body);
    font-size: var(--fs-body);
}

.values-section {
    margin: var(--spacing-lg) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.value-item {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--color-brand);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    background-color: white;
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(29, 82, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-brand);
    font-size: 30px;
}

.value-title {
    font-size: 18px;
    font-family: var(--font-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-title);
    line-height: 1.4;
}

.value-desc {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.6;
}

.team-section {
    margin: var(--spacing-lg) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
}

.member-info {
    padding: var(--spacing-md);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 18px;
    font-family: var(--font-accent);
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-title);
    line-height: 1.4;
}

.member-position {
    font-size: var(--fs-small);
    color: var(--color-brand);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.member-desc {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.6;
    flex: 1;
}

.history-section {
    margin: var(--spacing-lg) 0;
}

.history-timeline {
    position: relative;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-md);
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-brand);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-year {
    position: absolute;
    top: 0;
    width: 120px;
    height: 40px;
    background-color: var(--color-brand);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: 600;
    font-size: var(--fs-body);
    font-family: var(--font-accent);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: calc(50% - 60px);
}

.timeline-item:nth-child(even) .timeline-year {
    left: calc(50% - 60px);
}

.timeline-content {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-size: 18px;
    font-family: var(--font-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-title);
    line-height: 1.4;
}

.timeline-desc {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.6;
}

.contact-section {
    margin: var(--spacing-lg) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-item {
    background-color: #f7f8fc;
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    background-color: white;
    border-color: rgba(29, 82, 200, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(29, 82, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-brand);
    font-size: 30px;
}

.contact-title {
    font-size: 18px;
    font-family: var(--font-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-title);
    line-height: 1.4;
}

.contact-detail {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--color-brand);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ===== 子栏目导航 ===== */
.subnav-container {
    margin: var(--spacing-lg) 0;
    background-color: white;
    border-radius: 12px;
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.subnav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.subnav-tab {
    padding: 8px 20px;
    font-size: var(--fs-body);
    color: var(--color-text);
    background-color: #f5f7fa;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 140px;
    text-align: center;
    font-weight: 500;
}

.subnav-tab:hover {
    background-color: rgba(29, 82, 200, 0.1);
    color: var(--color-brand);
    border-color: var(--color-brand-light);
    transform: translateY(-2px);
}

.subnav-tab.active {
    background-color: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
    font-weight: 600;
}
.subnav-tab.active a {
   color:#fff;
}
/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .values-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-banner-title {
        font-size: 36px;
    }
    
    .about-banner-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .history-timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: var(--spacing-md);
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }
    
    .subnav-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 28px;
        --fs-h2: 22px;
        --fs-h3: 18px;
        --fs-body: 15px;
        --lh-body: 1.65;
    }
    
    .about-banner {
        height: 300px;
    }
    
    .about-banner-title {
        font-size: 28px;
    }
    
    .about-banner-subtitle {
        font-size: 16px;
        text-align: center;
        padding: 0 var(--spacing-sm);
    }
    
    .about-content {
        padding: var(--spacing-md);
    }
    
    .values-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section-title {
        font-size: 24px;
    }
    
    .highlight-box {
        padding: var(--spacing-sm);
    }
    
    .highlight-title {
        font-size: 18px;
    }
    
    .value-item,
    .team-member,
    .contact-item {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 576px) {
    .about-banner {
        height: 250px;
    }
    
    .about-banner-title {
        font-size: 24px;
        text-align: center;
        padding: 0 var(--spacing-sm);
    }
    
    .subnav-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .subnav-tab {
        min-width: auto;
        padding: 10px var(--spacing-sm);
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: var(--spacing-xs);
    }
    
    .timeline-year {
        width: 100px;
        height: 35px;
        font-size: var(--fs-small);
    }
}

/* ===== 针对AI抓取的优化 ===== */
/* 确保所有文字对比度符合WCAG标准 */
.about-banner-overlay,
.about-content,
.value-item,
.team-member,
.timeline-content,
.contact-item {
    /* 确保背景与文字有足够对比度 */
    color: var(--color-text);
}

.about-banner-overlay {
    /* 深色背景上的白色文字，对比度足够 */
    color: white;
}

/* 价格标签AI识别优化 */
.price-info[itemprop="offers"] {
    font-weight: 700;
}

/* 联系信息结构化标记 */
.contact-detail[itemprop="telephone"],
.contact-detail[itemprop="email"] {
    font-weight: 600;
}

/* 团队成员结构化标记 */
.team-member[itemtype="http://schema.org/Person"] {
    margin-bottom: var(--spacing-md);
}

/* 时间线结构化标记 */
.timeline-item[itemtype="http://schema.org/Event"] {
    margin-bottom: var(--spacing-lg);
}


/* ===== 链接样式优化 ===== */
/* 基础链接样式 - 无下划线 */
a {
    color: var(--color-brand);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 悬停状态 - 无下划线，有颜色变化 */
a:hover {
    color: var(--color-accent);
    text-decoration: none;
    /* 可选：添加其他悬停效果 */
    opacity: 0.9;
    transform: translateY(-1px); /* 轻微上移效果 */
}

/* 特殊情况下需要下划线的链接（如正文内容） */
.content-area a,
.text-content a,
.rich-text a {
    text-decoration: underline;
    text-decoration-color: rgba(29, 82, 200, 0.4);
    text-underline-offset: 3px; /* 下划线偏移，更好看 */
}

.content-area a:hover,
.text-content a:hover,
.rich-text a:hover {
    text-decoration-color: var(--color-accent);
}

/* 确保导航相关链接没有下划线 */
.nav-menu a,
.routes-categories a,
.subnav-tab,
.footer-links a,
.more-link,
.news-item a {
    text-decoration: none !important;
}

/* 按钮样式的链接 */
.button,
.btn,
.cta-button {
    text-decoration: none !important;
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-brand);
    color: white;
    border-radius: 6px;
    font-weight: 500;
}

.button:hover,
.btn:hover,
.cta-button:hover {
    background-color: var(--color-brand-light);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 82, 200, 0.2);
}