/* ==========================================================
   SEO 增强模块样式（UTF-8 新增文件，不改动原有 style.css）
   设计约束：全部流式布局 / 相对单位 / 允许换行 /
             不设固定宽度与绝对定位，确保手机端显示正常
   ========================================================== */

/* 面包屑中不可点击的层级（原来是 href="#" 的无效占位链接） */
.breadcrumb-list .bc-text {
    color: var(--gray, #8a94a6);
}

/* 仅供屏幕阅读器与搜索引擎读取，不影响任何视觉呈现 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 正文下方附加信息区 */
.seo-extra {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e8ee;
    clear: both;
}

.seo-extra h2 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: 600;
}

/* 游览提示 */
.seo-tips {
    margin-bottom: 28px;
}

.seo-tips p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    opacity: 0.88;
}

/* 相关推荐 */
.seo-rel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-rel-item {
    display: inline-block;
    max-width: 100%;
    padding: 9px 16px;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    color: #33415c;
    background: #f4f6f9;
    border: 1px solid #e5e8ee;
    border-radius: 999px;
    word-break: break-word;
    -webkit-transition: background 0.25s, border-color 0.25s;
    transition: background 0.25s, border-color 0.25s;
}

.seo-rel-item:hover,
.seo-rel-item:focus {
    background: #eaf2ea;
    border-color: #cfded0;
}

/* 最后更新时间 */
.seo-updated {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #8a94a6;
}

/* 手机端微调 */
@media (max-width: 768px) {
    .seo-extra {
        margin-top: 28px;
        padding-top: 20px;
    }
    .seo-extra h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .seo-tips p {
        font-size: 15px;
        line-height: 1.75;
    }
    .seo-rel-list {
        gap: 8px;
    }
    .seo-rel-item {
        font-size: 14px;
        padding: 8px 14px;
    }
    .seo-updated {
        font-size: 13px;
    }
}
