/* =========================
   全局样式
========================= */
body.author-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

.author-page a {
    color: #1a73e8;
    text-decoration: none;
}

.author-page a:hover {
    text-decoration: underline;
}

/* =========================
   Hero / 作者信息模块
========================= */
.author-hero {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.author-info h1 {
    font-size: 2rem;
    margin: 0 0 10px;
}

.author-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.author-info .btn-cta {
    display: inline-block;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #1a73e8;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.author-info .btn-cta:hover {
    background-color: #0d5ed7;
}

/* =========================
   文章列表
========================= */
.author-articles {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.author-articles h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    border-left: 4px solid #1a73e8;
    padding-left: 10px;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-list li a {
    font-weight: 600;
    font-size: 1.05rem;
}

.article-list li time {
    font-size: 0.9rem;
    color: #888;
}

/* =========================
   联系方式模块
========================= */
.author-contact {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    margin: 30px auto 60px auto;
    max-width: 1200px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.author-contact h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.author-contact p a {
    font-weight: 500;
}

/* =========================
   移动端自适应
========================= */
@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-avatar img {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }

    .author-info h1 {
        font-size: 1.6rem;
    }

    .author-info p {
        font-size: 0.95rem;
    }

    .author-info .btn-cta {
        width: 90%;
        margin: 12px auto 0 auto;
    }

    .article-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .article-list li time {
        font-size: 0.85rem;
    }
}