/* ========== 设计 token：优先使用 Kadence :root 变量，便于与主题一致、降低维护成本 ========== */
/* 颜色/间距尽量用 var(--global-palette*)、var(--global-*-spacing)；仅无对应变量时用下方局部 token */
:root {
    --spzh-card-radius: var(--global-boxed-border-radius, 12px);
    --spzh-button-border-soft: rgba(148, 163, 184, 0.45); /* 轮播/按钮柔和边线 */
    --spzh-card-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.08);
    --spzh-tooltip-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --spzh-tooltip-bg: rgba(255, 255, 255, 0.97);
    /* 精选项目「全文」浮层背景：略透明以透出背后图片，增强层次感 */
    --spzh-program-intro-tooltip-bg: rgba(255, 255, 255, 0.92);
    --spzh-placeholder-bg: rgba(0, 0, 0, 0.08);
    /* 卡片标题字号：介于 medium 与 large 之间，可在 :root 覆盖统一调整 */
    --spzh-entry-title-size: 1.5rem;
    /* 客户评价卡片圆角（与 Kadence 一致可改为 var(--global-boxed-border-radius)） */
    --spzh-testimonial-radius: 8px;
}

/* 导师展示短码样式已迁至 css/spzh-profile-shortcodes.css（kcp-instructor1） */

/* ========== 页脚最新文章（钩子输出，两栏×3 篇共 6 篇，缩略图放大） ========== */
#colophon .spzh-footer-latest-posts,
.site-footer .spzh-footer-latest-posts {
    --spzh-ft-thumb-size: 72px;
    --spzh-ft-thumb-radius: 10px;
    /* 浅色页脚：主文/标题深色，分类略浅深灰 */
    --spzh-ft-text: var(--kc-read-title);
    --spzh-ft-category: var(--kc-read-muted);
    width: 100%;
    box-sizing: border-box;
    color: var(--spzh-ft-text);
}

#colophon .spzh-footer-latest-posts__heading,
.site-footer .spzh-footer-latest-posts__heading {
    margin: 0 0 0.75em;
    font-size: 1.08em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--spzh-ft-text);
}

/* 两栏网格：左栏 3 篇、右栏 3 篇（grid-auto-flow: column 保证 1–3 左、4–6 右） */
#colophon .spzh-footer-latest-posts__list,
.site-footer .spzh-footer-latest-posts__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    row-gap: 0.5rem;
    column-gap: 1.5rem;
}

#colophon .spzh-footer-latest-posts__list li,
.site-footer .spzh-footer-latest-posts__list li {
    list-style: none !important;
    margin: 0 0 0.65em;
    padding: 0 !important;
}

#colophon .spzh-footer-latest-posts__item:last-child,
.site-footer .spzh-footer-latest-posts__item:last-child {
    margin-bottom: 0;
}

/* 扁长形容器：横向排列，左缩略图 + 右标题与分类 */
#colophon .spzh-footer-latest-posts__link,
.site-footer .spzh-footer-latest-posts__link {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.25em 0;
    text-decoration: none;
    color: var(--spzh-ft-text);
}

#colophon .spzh-footer-latest-posts__link:hover,
.site-footer .spzh-footer-latest-posts__link:hover {
    color: var(--global-palette-highlight, var(--global-palette3));
}

#colophon .spzh-footer-latest-posts__link:hover .spzh-footer-latest-posts__title,
.site-footer .spzh-footer-latest-posts__link:hover .spzh-footer-latest-posts__title {
    text-decoration: underline;
}

/* 标题+分类竖向堆叠，整体略下移以平衡缩略图 */
#colophon .spzh-footer-latest-posts__content,
.site-footer .spzh-footer-latest-posts__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    padding-top: 0.4em;
}

#colophon .spzh-footer-latest-posts__category,
.site-footer .spzh-footer-latest-posts__category {
    font-size: 0.75em;
    color: var(--spzh-ft-category);
    margin-top: 0.2em;
    line-height: 1.3;
}

/* 缩略图：固定尺寸 + 圆角 */
#colophon .spzh-footer-latest-posts__thumb,
.site-footer .spzh-footer-latest-posts__thumb {
    width: var(--spzh-ft-thumb-size) !important;
    height: var(--spzh-ft-thumb-size) !important;
    min-width: var(--spzh-ft-thumb-size) !important;
    max-width: var(--spzh-ft-thumb-size) !important;
    flex-shrink: 0 !important;
    object-fit: cover;
    border-radius: var(--spzh-ft-thumb-radius) !important;
    display: block;
}

#colophon .spzh-footer-latest-posts__thumb-placeholder,
.site-footer .spzh-footer-latest-posts__thumb-placeholder {
    width: var(--spzh-ft-thumb-size) !important;
    height: var(--spzh-ft-thumb-size) !important;
    min-width: var(--spzh-ft-thumb-size) !important;
    flex-shrink: 0 !important;
    background: var(--spzh-placeholder-bg, rgba(0, 0, 0, 0.06));
    display: block;
    border-radius: var(--spzh-ft-thumb-radius) !important;
}

#colophon .spzh-footer-latest-posts__title,
.site-footer .spzh-footer-latest-posts__title {
    min-width: 0;
    font-size: 0.92em;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 归档模版（分类/日期/作者等）样式优化 ========== */
/* 1. 桌面与大平板（≥1024px）：内容区与左右、下方页脚增加边距 */
@media screen and (min-width: 1024px) {
    body.archive #primary .content-container.site-container {
        padding-left: var(--global-lg-spacing, 3rem);
        padding-right: var(--global-lg-spacing, 3rem);
        padding-bottom: var(--global-xl-spacing, 3.5rem);
    }
}

/* 2. 归档页 / 博客列表单篇文章卡片圆角，并让卡片内「阅读更多」底对齐 + 悬停浮起阴影（与相关文章卡片一致） */
body.archive #primary .kadence-posts-list .entry.loop-entry,
body.blog #primary .kadence-posts-list .entry.loop-entry {
    border-radius: var(--spzh-card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* 默认状态：浅浅的阴影，与相关文章卡片风格接近 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* 992px 以下：公共归档页/博客列表卡片区域左右边距（不影响学苑等其它区域） */
/* 手机端 ≤576px：适中边距，保证内容不贴边且不显得过窄 */
@media screen and (max-width: 576px) {
    body.archive #primary ul.kadence-posts-list.post-archive,
    body.blog #primary ul.kadence-posts-list.post-archive {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }
}
/* 小平板 577–992px：稍大边距，阅读更舒适 */
@media screen and (min-width: 577px) and (max-width: 992px) {
    body.archive #primary ul.kadence-posts-list.post-archive,
    body.blog #primary ul.kadence-posts-list.post-archive {
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}

/* 悬停时：轻微上浮 + 阴影，复用相关文章卡片的动画与阴影参数 */
body.archive #primary .kadence-posts-list .entry.loop-entry:hover,
body.blog #primary .kadence-posts-list .entry.loop-entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 卡片内部文字区域：增加左右与下边距，避免贴边 */
body.archive #primary .kadence-posts-list .entry.loop-entry .entry-content-wrap,
body.blog #primary .kadence-posts-list .entry.loop-entry .entry-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
}

body.archive #primary .kadence-posts-list .entry.loop-entry .entry-footer,
body.blog #primary .kadence-posts-list .entry.loop-entry .entry-footer {
    margin-top: auto;
}

/* 3. 归档页卡片标题字号与链接色（与精选项目一致，跟随主题 palette） */
body.archive #primary .kadence-posts-list .loop-entry .entry-title {
    font-size: var(--spzh-entry-title-size);
    text-wrap: pretty; /* 避免最后一个字单独换行 */
    margin-bottom: 0.5em;
}
body.archive #primary .kadence-posts-list .loop-entry .entry-title a,
body.blog #primary .kadence-posts-list .loop-entry .entry-title a {
    color: var(--kc-read-title);
    text-decoration: none;
}
body.archive #primary .kadence-posts-list .loop-entry .entry-title a:hover,
body.blog #primary .kadence-posts-list .loop-entry .entry-title a:hover {
    color: var(--global-palette-highlight-alt);
    text-decoration: none;
}
/* 确保手机、平板端同样生效（防止主题响应式覆盖） */
@media screen and (max-width: 1023px) {
    body.archive #primary .kadence-posts-list .loop-entry .entry-title {
        font-size: var(--spzh-entry-title-size);
    }
}

/* 4. 归档页卡片：作者行与内容简介之间行距略减 */
body.archive #primary .kadence-posts-list .loop-entry .entry-header {
    margin-bottom: 0.4em;
}
body.archive #primary .kadence-posts-list .loop-entry .entry-summary {
    margin-top: 0;
}

/* ========== 文章合集索引导航（标题下、卡片上） ========== */
/* 外层仅负责外边距 */
.spzh-archive-index-nav {
    --spzh-archive-index-tab-bg: var(--kc-gray-bg-subtle);
    margin: 0 0 var(--global-md-spacing, 1.5rem);
    padding: 0;
}
/* 父容器：整条导航下方的默认细线（与主题灰统一） */
.spzh-archive-index-nav__wrap {
    border-bottom: 1px solid var(--kc-border-subtle);
    padding: 0;
}
.spzh-archive-index-nav__list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.spzh-archive-index-nav__item {
    margin: 0;
}
/* 链接/当前项：无圆角、无 border，底线用 ::after 画直线 */
.spzh-archive-index-nav__link {
    display: inline-block;
    position: relative;
    padding: 0;
    margin: 0;
    font-size: var(--global-font-size-sm, 0.9em);
    font-weight: 600;
    color: var(--kc-read-muted) !important;
    text-decoration: none !important;
    border: none;
    border-radius: 0;
    transition: color 0.2s;
}
.spzh-archive-index-nav__link:hover {
    color: var(--kc-read-body) !important;
}
/* 文字内层：悬停浅灰背景、圆角 */
.spzh-archive-index-nav__link-inner {
    display: inline-block;
    padding: 0.5em 1rem 0.6em;
    margin: 0.2em 0.15em 0 0;
    border-radius: 4px;
    transition: background 0.2s;
}
.spzh-archive-index-nav__link:hover .spzh-archive-index-nav__link-inner {
    background: var(--spzh-archive-index-tab-bg);
}
/* 当前项：深黑色文字 + 3px 直线底线（::after 无圆角） */
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link {
    color: var(--kc-read-title) !important;
}
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link-inner {
    background: var(--spzh-archive-index-tab-bg);
}
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--kc-read-title);
    border-radius: 0;
}
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link:hover {
    color: var(--kc-read-body) !important;
}
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link:hover .spzh-archive-index-nav__link-inner {
    background: var(--spzh-archive-index-tab-bg);
}
.spzh-archive-index-nav__item.is-current .spzh-archive-index-nav__link:hover::after {
    background: var(--kc-read-body);
}
@media (max-width: 767px) {
    .spzh-archive-index-nav__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .spzh-archive-index-nav__list::-webkit-scrollbar {
        display: none;
    }
}

/* ========== 精选项目集合页（与归档卡片样式一致） ========== */
/* 页眉与卡片列表之间的上边距（使用主题间距变量） */
.spzh-featured-programs-collection #main {
    padding-top: var(--global-md-spacing, 2.5rem);
}
/* 手机端 ≤576px：为精选项目集合页主内容区域增加左右边距（覆盖默认无 padding 情况） */
@media screen and (max-width: 576px) {
    .spzh-featured-programs-collection #main {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media screen and (min-width: 1024px) {
    .spzh-featured-programs-collection .content-container.site-container {
        padding-left: var(--global-lg-spacing, 3rem);
        padding-right: var(--global-lg-spacing, 3rem);
        padding-bottom: var(--global-xl-spacing, 3.5rem);
    }
    .spzh-featured-programs-collection #main {
        padding-top: var(--global-lg-spacing, 3rem);
    }
}

.spzh-featured-programs-collection .kadence-posts-list .entry.loop-entry {
    border-radius: var(--spzh-card-radius);
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: var(--global-palette9);
    box-shadow: var(--spzh-card-shadow);
}
.spzh-featured-programs-collection .kadence-posts-list .entry.loop-entry .post-thumbnail {
    overflow: hidden;
    border-radius: var(--spzh-card-radius) var(--spzh-card-radius) 0 0;
}

/* 文字容器与文章合集一致：上下左右内边距，不再只靠元素间距 */
.spzh-featured-programs-collection .kadence-posts-list .entry.loop-entry .entry-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--global-boxed-spacing, 2rem);
}

.spzh-featured-programs-collection .kadence-posts-list .entry.loop-entry .entry-footer {
    margin-top: auto;
}

.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-title {
    font-size: var(--spzh-entry-title-size);
    text-wrap: pretty; /* 避免最后一个字单独换行 */
    margin-bottom: 0.5em;
}

.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-title a {
    color: var(--global-palette3);
    text-decoration: none;
}

.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-title a:hover {
    color: var(--global-palette-highlight-alt);
    text-decoration: none;
}

.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-header {
    margin-bottom: 0.35em;
}

/* 精选项目卡片标题上方小字「进阶精进」（与文章合集分类小字层级接近） */
.spzh-featured-programs-collection .entry-taxonomies.program-label-wrap {
    font-size: 0.8em;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.4em;
}
.spzh-featured-programs-collection .entry-taxonomies.program-label-wrap .program-label {
    color: var(--global-palette1);
}

/* 课程详情链接后的箭头图标 */
.spzh-featured-programs-collection .post-more-link .kadence-svg-icon,
.spzh-featured-programs-collection .post-more-link .kadence-arrow-right-alt-svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25em;
    width: 1em;
    height: auto;
}
/* 草稿/待审页面：课程详情悬停时显示小字「仅限SP从业者」 */
.spzh-featured-programs-collection .post-more-link.is-draft .program-detail-hint {
    font-size: 0.85em;
    color: var(--global-palette5);
    margin-left: 0.35em;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.spzh-featured-programs-collection .post-more-link.is-draft:hover .program-detail-hint {
    opacity: 1;
}

/* 摘要与文章合集卡片一致：字号、行高；与导师轻微拉开间距 */
.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-summary {
    margin-top: 0.75em;
    font-size: 1em;
    line-height: 1.6;
}
.spzh-featured-programs-collection .kadence-posts-list .loop-entry .entry-summary p {
    margin: 0;
}

/* 摘要区域悬停显示全文：浮层覆盖在摘要上方、略右偏上，不挡课程详情与箭头 */
.spzh-featured-programs-collection .entry-summary.program-intro-summary {
    position: relative;
    overflow: visible;
}
/* 原文与浮层之间的空隙纳入同一点击区域：用伪元素填满空隙，点击空隙与点击原文/浮层逻辑一致 */
.spzh-featured-programs-collection .entry-summary.program-intro-summary::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: var(--global-xs-spacing, 0.4rem);
}
.spzh-featured-programs-collection .program-intro-tooltip {
    position: absolute;
    left: 0;
    right: 0;
    /* 整体略上移：bottom 在摘要上缘基础上再加一小段间距变量，浮层在文字上方且不遮挡 */
    bottom: calc(100% + var(--global-xs-spacing, 0.4rem));
    margin-bottom: 0;
    padding: var(--global-xs-spacing, 0.75rem) var(--global-sm-spacing, 0.9rem);
    /* 浮层略透明，与图片重叠时可轻微透出背后图片，增强层次感；图片本身不改动 */
    background: var(--spzh-program-intro-tooltip-bg);
    backdrop-filter: blur(4px);
    color: var(--global-palette4);
    font-size: var(--global-font-size-small, 0.9em);
    line-height: 1.65;
    text-wrap: pretty;
    border-radius: var(--spzh-card-radius);
    box-shadow: var(--spzh-tooltip-shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    z-index: 8;
    pointer-events: auto; /* 浮层可 hover/点击，便于移入阅读与滚动 */
    /* 最大高度留出与上方图片的距离，仅超长文需滚动；避免过小导致短文也出现 1～3 行滚动 */
    max-height: min(50vh, 28em);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 992px 以下：提升精选项目「全文」浮层字体大小，手机和平板更易阅读 */
@media screen and (max-width: 992px) {
    .spzh-featured-programs-collection .program-intro-tooltip {
        font-size: 15px;
        line-height: 1.7;
    }
}
/* 悬停或点击展开时显示浮层（兼容鼠标、触控板、触摸） */
.spzh-featured-programs-collection .entry-summary.program-intro-summary:hover .program-intro-tooltip,
.spzh-featured-programs-collection .entry-summary.program-intro-summary.is-expanded .program-intro-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
/* 悬停/展开时摘要略变淡 */
.spzh-featured-programs-collection .entry-summary.program-intro-summary:hover > p,
.spzh-featured-programs-collection .entry-summary.program-intro-summary.is-expanded > p {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

/* 集合页专属：导师（与文章合集作者/meta 视觉层级一致）、价格 */
.spzh-featured-programs-collection .program-instructor {
    margin: 0 0 0.65em;
    font-size: 0.9em;
    line-height: 1.4;
    color: var(--global-palette5);
    opacity: 1;
}

/* 上线前隐藏价格；正式开售时移除此规则即可显示 */
.spzh-featured-programs-collection .program-price {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* 客户评价与学员评价短码样式已迁至 css/spzh-profile-shortcodes.css */

/* ========== 页脚导航：两列垂直布局，父 + 子一起展示 ========== */
@media screen and (min-width: 1025px) {
    /* 顶层 ul：两列网格，垂直方向居左对齐 */
    #colophon .footer-navigation .footer-menu-container > ul.menu {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        row-gap: 0.4rem;
        column-gap: 2.5rem;
        justify-content: flex-start;
        justify-items: start;
        text-align: left;
    }

    /* 每个父级 li：纵向堆叠，父链接在上，子菜单在下，垂直居左对齐 */
    #colophon .footer-navigation .footer-menu-container > ul.menu > li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        text-align: left;
    }

    /* 父菜单文字与左侧「最新文章」标题统一：1.08em、600；色彩用 2d2d2d 层级（palette3） */
    #colophon .footer-navigation .footer-menu-container > ul.menu > li > a {
        padding-left: 0;
        padding-right: 0;
        font-size: 1.08em !important;
        font-weight: 600 !important;
        line-height: 1.3;
        color: var(--kc-read-title) !important;
    }

    /* 子菜单始终可见，竖向列表，垂直居左对齐；与父菜单间距略加大 */
    #colophon .footer-navigation .footer-menu-container ul.sub-menu {
        position: static;
        display: block !important;
        margin: 0.5em 0 0;
        padding: 0;
        list-style: none;
        width: 100%;
        text-align: left;
    }

    #colophon .footer-navigation .footer-menu-container ul.sub-menu > li {
        margin: 0;
        padding: 0;
    }

    #colophon .footer-navigation .footer-menu-container ul.sub-menu > li > a {
        display: block;
        padding: 0.35em 0;
        font-size: 0.9em;
        text-align: left;
        text-decoration: none;
    }

    #colophon .footer-navigation .footer-menu-container ul.sub-menu > li > a:hover {
        text-decoration: underline;
    }
}

/* ===== 页面标题横幅：淡入 + 柔化（弱化与归档浅色横幅的视觉反差） ===== */
@keyframes spzh-hero-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 方案二：进入页面时横幅淡入，减轻切换冲击 */
.entry-hero {
    animation: spzh-hero-fade-in 0.45s ease-out forwards;
}

/* 方案三：半透明白色遮罩，略微压暗亮紫渐变（置于背景之上、标题之下） */
.entry-hero .entry-hero-container-inner {
    position: relative;
}

.entry-hero .entry-hero-container-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.entry-hero .hero-section-overlay,
.entry-hero .hero-container {
    position: relative;
    z-index: 1;
}

/* ===== 通用横幅效果：给任意行/区块加 class="spzh-soft-banner" 即可复用（适用于你现在用行布局做的亮色横幅） ===== */
.spzh-soft-banner {
    position: relative;
    animation: spzh-hero-fade-in 0.45s ease-out forwards;
}

.spzh-soft-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.12); /* 柔化强度，可按需要微调 */
    pointer-events: none;
}

.spzh-soft-banner > * {
    position: relative;
    z-index: 1; /* 确保文字和内容在遮罩之上 */
}

/* ========== 页脚版权同行：使用条款 · 隐私政策 · 课程规则 ========== */
#colophon .footer-html .spzh-footer-legal-links {
    font-weight: var(--kc-font-weight-base, 400);
    white-space: normal;
}

#colophon .footer-html .spzh-footer-legal-links a {
    font-weight: inherit;
    text-decoration: none;
}

#colophon .footer-html .spzh-footer-legal-links a:hover,
#colophon .footer-html .spzh-footer-legal-links a:focus {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

#colophon .footer-html .spzh-footer-legal-links__sep {
    font-weight: inherit;
    opacity: 0.85;
}

/* Cloudflare 短码视频圆角（封面仅用 iframe poster，无外层叠图） */
.spzh-cf-video--rounded {
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

.spzh-cf-video--rounded-sm {
    border-radius: var(--kc-border-radius-sm, 4px);
    clip-path: inset(0 round var(--kc-border-radius-sm, 4px));
}

.spzh-cf-video--rounded-md {
    border-radius: var(--kc-border-radius-md, 8px);
    clip-path: inset(0 round var(--kc-border-radius-md, 8px));
}

.spzh-cf-video--rounded-lg {
    border-radius: var(--kc-border-radius-lg, 12px);
    clip-path: inset(0 round var(--kc-border-radius-lg, 12px));
}