/* ===== 关于我页面独立样式 ===== */

/* 覆盖 hero-wrapper 背景：宽度适配容器，顶部对齐 */
.hero-wrapper {
    background: url('../bg.jpg') top/100% auto no-repeat;
}

/* ===== About Hero: "关于我" 标题区 ===== */
.about-hero {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 280px;
    padding-bottom: 0;
    margin-bottom: -40px;
}

.about-hero-title-box {
    background: #000000;
    padding: 24px 64px;
    border-radius: 4px;
}

.about-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 8px;
    text-align: center;
    line-height: 1.2;
}

/* ===== Profile Section ===== */
.profile-section {
    background: #ffffff;
    padding: 40px 48px;
    display: flex;
    justify-content: center;
}

.profile-card {
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 36px;
    background: #F5F5F5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 36px;
    align-items: flex-start;
}

/* 左侧头像 */
.profile-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 260px;
    border-radius: 6px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px #e0e0e0;
}

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

/* 右侧信息 */
.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 24px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 4px;
    line-height: 1.3;
}

.profile-name strong {
    color: #4A90E2;
    font-weight: 700;
    font-size: 28px;
}

.profile-subtitle {
    font-size: 14px;
    color: #888888;
    margin-bottom: 16px;
    line-height: 1.5;
    font-style: italic;
}

.profile-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 16px;
}

/* 信息字段 */
.profile-details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.profile-details li {
    display: flex;
    align-items: baseline;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.detail-label {
    color: #888888;
    min-width: 56px;
    margin-right: 8px;
    flex-shrink: 0;
}

.detail-value {
    color: #666666;
}

.detail-value a {
    color: #4A90E2;
    transition: color 0.2s;
}

.detail-value a:hover {
    color: #2B6CB0;
    text-decoration: underline;
}

/* 社交图标按钮 */
.profile-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ps-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ps-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ps-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.ps-icon--qq {
    background-color: #12B7F5;
}

.ps-icon--wechat {
    background-color: #07C160;
}

.ps-icon--weibo {
    background-color: #E6162D;
}

.ps-icon--douban {
    background-color: #E38C9D;
}



/* ===== 详细叙述区 ===== */
.narrative-section {
    background: #ffffff;
    padding: 0 48px 48px;
    display: flex;
    justify-content: center;
}

.narrative-inner {
    max-width: 860px;
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.narrative-initial {
    flex-shrink: 0;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    background: #4A90E2;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.narrative-body {
    flex: 1;
    min-width: 0;
}

.narrative-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.narrative-text:last-child {
    margin-bottom: 0;
}

/* ===== 页脚 ===== */
.about-footer {
    background-color: #4A5568;
    text-align: center;
    padding: 20px 48px;
}

.about-footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    line-height: 1.6;
}

.about-footer-text a {
    color: #63B3ED;
    transition: color 0.2s;
}

.about-footer-text a:hover {
    color: #90CDF4;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .about-hero {
        min-height: 160px;
        margin-bottom: -20px;
    }

    .about-hero-title-box {
        padding: 12px 36px;
    }

    .about-hero-title {
        font-size: 26px;
        letter-spacing: 4px;
    }

    .profile-section {
        padding: 20px 20px;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;
    }

    .profile-avatar {
        width: 160px;
        height: 210px;
    }

    .profile-name {
        font-size: 22px;
        text-align: center;
    }

    .profile-name strong {
        font-size: 26px;
    }

    .profile-subtitle {
        text-align: center;
    }

    .profile-details li {
        justify-content: flex-start;
    }

    .profile-socials {
        justify-content: center;
    }

    .narrative-section {
        padding: 0 20px 36px;
    }

    .narrative-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .narrative-initial {
        margin-bottom: 16px;
    }

    .narrative-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 130px;
        margin-bottom: -16px;
    }

    .about-hero-title-box {
        padding: 10px 24px;
    }

    .about-hero-title {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .profile-avatar {
        width: 140px;
        height: 185px;
    }

    .profile-section {
        padding: 16px 16px;
    }

    .narrative-section {
        padding: 0 16px 24px;
    }
}
