:root {
    --home-heading-color: #086db1;
    --home-link-color: #605ce9;
    --home-link-hover-color: blue;
    --home-figure-border-color: #aaaaaa;
    --home-figure-caption-color: #444444;
}

.section__title {
    font-family: "Georgia Local", Times, serif;
    font-size: var(--blog-font-heading);
    font-weight: normal;
    color: var(--home-heading-color);
    margin: 1.32rem 0 0.86rem;
}

.section--about p {
    margin: 1.15rem 0;
    text-align: justify;
    hyphens: auto;
}

.section--publications li {
    margin: 0.85rem 0;
    text-align: justify;
    hyphens: auto;
}

/* ===== 公共行为（提取重复） ===== */
.section--about a,
.section--publications a {
    color: var(--home-link-color);
    transition: color 0.2s ease;

    &:hover,
    &:focus-visible {
        color: var(--home-link-hover-color);
    }
}

/* ===== about：始终 underline ===== */
.section--about a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* ===== publications：hover underline ===== */
.section--publications a {
    text-decoration: none;

    &:hover,
    &:focus-visible {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }
}

.profile,
.home-content .post-content__figure {
    border-radius: 5px;
    border: 1px solid var(--home-figure-border-color);
    padding: 4px;
    margin: 1.15rem 0;
    text-align: center;
}

.profile__image,
.home-content .post-content__figure img {
    /* 视具体业务场景而定：仅在拖拽系统内才保留以下两行 */
    -webkit-user-drag: none;
    user-select: none;

    display: block;
    width: 100%;
    max-width: 100%; /* 防御性样式，防止图片因自身固有尺寸撑爆容器 */
    height: auto;
    border-radius: 5px;
}

.profile__caption,
.home-content .post-content__figure figcaption {
    color: var(--home-figure-caption-color);
    font-size: var(--blog-font-small);

    padding-top: 4px;
    margin-top: 4px;
    border-top: 1px solid var(--home-figure-border-color);
}

.profile__divider {
    margin: 0 0.5rem;
    color: #888;
}