/* ==========================================================
   关于页（/about/）
   与首页共用 :root 变量（定义在 home.css）
   ========================================================== */

.about-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px 2rem;
    box-sizing: border-box;
}

/* ---------- 个人信息卡 ---------- */

.about-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.75rem;
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(120, 70, 30, 0.05);
}

.about-avatar {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--home-accent-soft);
    border: 4px solid #fff;
    box-shadow: 0 8px 22px rgba(120, 70, 30, 0.14);
}

.about-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-text {
    min-width: 0;
}

.about-eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.about-name {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 1.1rem + 0.9vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.about-sub {
    margin: 0 0 1.1rem;
    font-size: 0.94rem;
    line-height: 1.8;
    color: #6f675f;
}

.about-badge {
    display: inline-block;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    background: var(--home-accent);
    color: #fff;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

/* ---------- 内容区块 ---------- */

.about-section {
    margin-top: 1.5rem;
    padding: 2.1rem 2.5rem 2.4rem;
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(120, 70, 30, 0.05);
}

.about-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.about-section h2::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 3px;
    background: var(--home-accent);
}

.about-prose p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.95;
    color: #5b544c;
}

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

.about-prose strong {
    color: var(--home-text);
    font-weight: 600;
}

/* ---------- 栏目入口 ---------- */

.about-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1.25rem 1.4rem;
    background: #fffdfb;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-topic:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(120, 70, 30, 0.08);
}

.about-topic-text {
    min-width: 0;
}

.about-topic h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.about-topic p {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--home-muted);
}

.about-topic-count {
    font-size: 0.78rem;
    color: var(--home-accent);
}

.about-topic-icon {
    display: flex;
    flex: 0 0 auto;
}

.about-icon {
    width: 40px;
    height: 40px;
    color: #d9c3b3;
}

/* ---------- 联系方式 ---------- */

.about-contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--home-border);
    font-size: 0.94rem;
}

.about-contact-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.about-contact-label {
    flex: 0 0 auto;
    width: 5rem;
    font-size: 0.88rem;
    color: var(--home-muted);
}

.about-contact-value {
    color: var(--home-accent);
}

.about-contact-value:hover {
    text-decoration: underline;
}

.about-contact-note {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--home-muted);
}

/* ---------- 页脚 ---------- */

.about-foot {
    margin: 2.2rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--home-muted);
}

/* ---------- 移动端 ---------- */

@media screen and (max-width: 720px) {
    .about-page {
        padding: 0 1rem 1.5rem;
    }

    .about-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.75rem 1.5rem;
    }

    .about-hero-text {
        align-self: stretch;
    }

    .about-avatar {
        width: 88px;
        height: 88px;
    }

    .about-name {
        font-size: 1.4rem;
    }

    .about-section {
        padding: 1.6rem 1.5rem 1.9rem;
        border-radius: 16px;
    }

    .about-topics {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-contact-row {
        flex-wrap: wrap;
        gap: 0.35rem 1rem;
    }

    .about-contact-note {
        margin-left: 0;
        flex-basis: 100%;
    }
}
