/* ========== 关于我们页 ========== */
.about-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========== 左栏 ========== */
.about-main-area {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    flex: 2.5;
    min-width: 0;
}

/* ========== 白底内容容器 ========== */
.about-content-box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    color: #374151;
    line-height: 1.9;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 标题样式 */
.about-content-box h2 {
    font-size: 1.8rem;
    color: #1e2a3a;
    margin-bottom: 20px;
    border-left: 4px solid #ffcc00;
    padding-left: 15px;
}
.about-content-box h3 {
    font-size: 1.25rem;
    color: #1e2a3a;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* 段落首行缩进2字符 */
.about-content-box p {
    text-indent: 2em;
    margin-bottom: 1em;
    color: #374151;
}

/* 其他文字样式 */
.about-content-box strong {
    color: #1e2a3a;
}
.about-content-box a {
    color: #d97706;
    text-decoration: underline;
}

/* ========== 右栏 ========== */
.about-sidebar-area {
    flex: 1;
    min-width: 280px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* 右栏内部卡片和样式复用 software-detail.css 中的样式 */

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    .about-content-box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
        padding: 25px;
    }
}
@media (max-width: 768px) {
    .about-content-box h2 {
        font-size: 1.4rem;
    }
}

/* ========== 从 software-detail.css 复用的右栏样式 ========== */
.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 14px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.sidebar-news-box h3 {
    color: #d97706;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-left: 3px solid #ffcc00;
    padding-left: 10px;
}

.latest-software-list {
    list-style: none;
    padding: 0;
}

.latest-software-list li {
    margin-bottom: 8px;
    background: #f9fafb;
    border-radius: 10px;
    transition: 0.2s;
}

.latest-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    text-decoration: none;
    color: #1f2937 !important;
}

.latest-name {
    font-weight: 500;
    margin-bottom: 2px;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #374151;
}

.latest-meta {
    font-size: 0.7rem;
    color: #6b7280;
}

.latest-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.latest-icon img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
}

.rec-home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.rec-home-category {
    color: #1f2937;
}

.rec-home-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.rec-home-title {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
}

.rec-home-desc {
    color: #4b5563;
    margin-bottom: 12px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
}

.rec-home-btn {
    display: block;
    width: 80%;
    padding: 8px 12px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.sidebar-ad-box {
    background: #f9fafb !important;
    border-radius: 8px !important;
    padding: 8px !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    border: 1px solid #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

.sidebar-ad-box::before {
    content: "广告" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
    border-radius: 0 0 4px 0 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.sidebar-recommend-box {
    margin-bottom: 20px;
}

.sidebar-recommend-box h3 {
    color: #d97706;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-left: 3px solid #ffcc00;
    padding-left: 10px;
}

.rec-home-card:hover {
    background: #fffbeb;
    border-color: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rec-home-card:hover .rec-home-title,
.rec-home-card:hover .rec-home-desc,
.rec-home-card:hover .rec-home-category {
    color: #1f2937;
}

