/*
Theme Name: JustNews Child - 蓝点网同款
Theme URI: https://www.156189.com/
Description: 子主题，全站视觉与首页布局复刻蓝点网(landian.news)。覆盖 justnews 配色变量 + 网格卡片样式，首页/分类页/文章页共用同一套样式。
Author: StarHub Lab
Template: justnews
Version: 3.0.0
*/

/* ============================================================
   1. 全局 CSS 变量覆盖（蓝点网配色）
   ============================================================ */
:root {
    --theme-color: #1677FF !important;
    --theme-hover: #3B8CFF !important;
    --theme-active: #1677FF !important;
    --special-color: #222222 !important;

    --text-color: #222222 !important;
    --text-color-secondary: #999999 !important;
    --meta-color: #999999 !important;

    --theme-body-bg-color: #F5F6F7 !important;
    --theme-el-bg-color: #FFFFFF !important;
    --theme-card-bg-color: #FFFFFF !important;

    --theme-border-color: #EEF0F3 !important;
    --theme-radius: 8px !important;
}

/* 锁定浅色模式 */
body,
html {
    background-color: #F5F6F7 !important;
    color: #222222 !important;
    color-scheme: light !important;
}
@media (prefers-color-scheme: dark) {
    :root {
        --theme-body-bg-color: #F5F6F7 !important;
        --theme-el-bg-color: #FFFFFF !important;
        --theme-card-bg-color: #FFFFFF !important;
    }
    body,
    html {
        background-color: #F5F6F7 !important;
        color: #222222 !important;
    }
}

/* ============================================================
   2. 字体与排版
   ============================================================ */
body {
    font-family: "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

a {
    color: #1677FF;
}
a:hover {
    color: #3B8CFF;
}

h1, h2, h3, h4, h5, h6 {
    color: #222222;
}

/* ============================================================
   3. 顶部导航栏（白色，蓝点网同款）
   ============================================================ */
.header,
.header-pc,
.navbar,
.top-bar {
    background-color: #FFFFFF !important;
    background-image: none !important;
    border-bottom: 1px solid #EEF0F3 !important;
}

.navbar-nav > li > a,
.header .nav > li > a,
.navbar .nav-menu a {
    color: #222222 !important;
    font-size: 15px !important;
}
.navbar-nav > li > a:hover,
.navbar-nav > li.current-menu-item > a,
.navbar-nav > li.current-menu-parent > a,
.header .nav > li > a:hover {
    color: #1677FF !important;
    background-color: transparent !important;
}

/* ============================================================
   4. 文章标题 / 元信息
   ============================================================ */
.item-title a,
.entry-title {
    color: #222222;
}
.item-meta,
.item-meta-li,
.entry-meta,
.post-metas {
    color: #999999;
}

/* ============================================================
   5. 内容模块（白底卡片 + 圆角）
   ============================================================ */
.sec-panel,
.widget,
.entry-main,
.entry-comments,
.panel,
.module-bg,
.module-radius {
    background-color: #FFFFFF !important;
    border-radius: 8px !important;
    border: 1px solid #EEF0F3 !important;
    box-shadow: none !important;
}

/* ============================================================
   6. 热门推荐（一行两列标题列表）
   ============================================================ */
.home-sticky-ticker {
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #EEF0F3;
    margin-bottom: 16px;
}
.ticker-inner {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
}
.ticker-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 16px;
    color: #FF6600;
    font-weight: 600;
    text-decoration: none;
    line-height: 28px;
    font-size: 15px;
}
.ticker-label i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF6600;
    margin-right: 6px;
}
.ticker-window {
    flex: 1;
    min-width: 0;
    height: 28px;
    overflow: hidden;
}
.ticker-track {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}
.ticker-item {
    display: block;
    height: 28px;
    line-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
a.ticker-links {
    color: #FF6600;
    text-decoration: none;
    font-size: 15px;
}
a.ticker-links:hover {
    color: #FF8A33;
}

/* ============================================================
   7. 头条网格区（左 1 大图 + 右 2×2 小图）
   ============================================================ */
.sx-headline {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    height: 360px;
}

/* 左侧大图 */
.sx-headline-main {
    flex: 0 0 50%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #222222;
}
.sx-headline-main > a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.sx-headline-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sx-headline-noimg {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: #222222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 16px;
}
.sx-headline-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    box-sizing: border-box;
}
.sx-headline-title h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右侧 2×2 小图 */
.sx-headline-side {
    flex: 0 0 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}
.sx-headline-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #222222;
}
.sx-headline-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sx-headline-item-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   8. 栏目区块 + 5 列网格卡片
   ============================================================ */
.home-post {
    margin-bottom: 16px;
}
.module-title {
    padding: 12px 16px;
    border-bottom: 1px solid #EEF0F3;
    margin-bottom: 0;
}
.module-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
}
.module-title h3 a {
    color: #222222;
    text-decoration: none;
}
.module-title h3 a:hover {
    color: #1677FF;
}

/* 5 列网格 */
.sx-grid {
    list-style: none;
    margin: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
@media (max-width: 1200px) {
    .sx-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .sx-grid { grid-template-columns: repeat(2, 1fr); }
}
.sx-grid > li {
    margin: 0;
}
.post-grid-main {
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    transition: box-shadow 0.2s, transform 0.2s;
}
.post-grid-main:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.post-grid-main .thumb {
    width: 100%;
}
.post-grid-main .thumb a {
    display: block;
}
.post-grid-main .thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 338;
    object-fit: cover;
    display: block;
}
.post-grid-main .list-content {
    padding: 10px 12px 12px;
}
.post-grid-main .title {
    text-decoration: none;
    display: block;
}
.post-grid-main .title h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.post-grid-main:hover .title h3 {
    color: #1677FF;
}
.post-grid-main .post-metas {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999999;
}
.post-grid-main .post-metas .separate {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #CCCCCC;
}

/* ============================================================
   9. 文章正文（详情页）
   ============================================================ */
.entry-content {
    font-size: 15.4px;
    line-height: 32px;
    color: #222222;
}
.entry-content a {
    color: #1677FF;
}

/* ============================================================
   10. 容器宽度（蓝点网 1300px）
   ============================================================ */
.container {
    max-width: 1300px;
}

/* ============================================================
   11. 侧边栏标题（带主色短竖条）
   ============================================================ */
.widget-title,
.sec-panel-head {
    color: #222222;
}

/* ============================================================
   12. 分类页：justnews 默认列表改成网格卡片
   ============================================================ */
.post-loop.post-loop-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 1024px) {
    .post-loop.post-loop-default {
        grid-template-columns: repeat(2, 1fr);
    }
}
.post-loop.post-loop-default > .item {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.post-loop.post-loop-default > .item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.post-loop.post-loop-default .item-img {
    position: relative;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}
.post-loop.post-loop-default .item-img-inner {
    display: block;
    width: 100%;
}
.post-loop.post-loop-default .item-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 338;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}
.post-loop.post-loop-default .item-category {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: #FFFFFF;
    background: #1677FF;
    border-radius: 4px;
}
.post-loop.post-loop-default .item-content {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
}
.post-loop.post-loop-default .item-title {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.6;
}
.post-loop.post-loop-default .item-title a {
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-loop.post-loop-default .item-excerpt {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #999999;
}
.post-loop.post-loop-default .item-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-loop.post-loop-default .item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999999;
}
.post-loop.post-loop-default .item-meta-li.author {
    display: none;
}

/* ============================================================
   13. 蓝点网 1:1 —— 容器 / 分类标签 / 模块标题
   ============================================================ */
.container.sx-main {
    width: 100% !important;
    max-width: 1300px !important;
    padding: 0 !important;
    margin: 0 auto 24px;
}
@media (max-width: 1340px) {
    .container.sx-main { max-width: 100%; padding: 0 15px; }
}

/* 图片上的分类角标 */
.sx-cat-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 18px;
    color: #FFFFFF;
    background: rgba(22, 119, 255, 0.92);
    border-radius: 3px;
    white-space: nowrap;
}

/* 模块标题：左标题 + 右 MORE */
.sx-panel {
    margin-bottom: 16px;
    overflow: hidden;
}
.sx-panel .module-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
    border-bottom: 1px solid #EEF0F3;
}
.sx-panel .module-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    line-height: 52px;
}
.sx-more {
    font-size: 12px;
    color: #999999;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.sx-more:hover { color: #1677FF; }

/* ============================================================
   14. 头条区（通栏：左大图 650 + 右 2×2 315）
   ============================================================ */
.sx-headline {
    height: 364px;
    gap: 10px;
    margin-bottom: 16px;
}
.sx-headline-main { flex: 0 0 calc(50% - 5px); }
.sx-headline-side { flex: 0 0 calc(50% - 5px); gap: 10px; }
.sx-headline-item { border-radius: 6px; }
.sx-headline-main { border-radius: 6px; }
.sx-headline-title {
    padding: 30px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0) 100%);
}
.sx-headline-title h2 {
    font-size: 20px;
    line-height: 1.45;
}
.sx-headline-item-title {
    padding: 26px 10px 10px;
    font-size: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0) 100%);
}
.sx-headline-item .sx-cat-tag,
.sx-headline-main .sx-cat-tag {
    top: 10px;
    left: 10px;
}
.sx-noimg-sm {
    min-height: 100%;
    font-size: 13px;
}

/* ============================================================
   15. 网格卡片（4 列，图片更大、标题更大）
   ============================================================ */
.sx-grid {
    padding: 12px;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
}
.sx-grid .post-grid-main {
    border: 1px solid transparent;
    border-radius: 6px;
    background: #FFFFFF;
}
.sx-grid .post-grid-main:hover {
    border-color: #EEF0F3;
}
.sx-grid .post-grid-main .thumb img {
    aspect-ratio: 600 / 338;
    border-radius: 6px;
}
.sx-grid .post-grid-main .list-content {
    padding: 10px 2px 6px;
}
.sx-grid .post-grid-main .title h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    -webkit-line-clamp: 2;
    min-height: 48px;
}
.sx-grid .post-grid-main .post-metas {
    font-size: 13px;
    color: #999999;
    gap: 8px;
}
.sx-grid .post-grid-main .post-metas .view::before {
    content: "👁 ";
    font-size: 11px;
}

/* ============================================================
   16. 热门阅读（通栏 4 列大图叠字）
   ============================================================ */
.sx-hot {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sx-hot > li { margin: 0; }
.sx-hot-item {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #222222;
    aspect-ratio: 313 / 176;
}
.sx-hot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: transform 0.35s;
}
.sx-hot-item:hover img { transform: scale(1.04); }
.sx-hot-item .sx-cat-tag {
    background: rgba(22, 119, 255, 0.9);
}
.sx-hot-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
}

/* ============================================================
   17. 最新发布 Tab 双栏区（主 930 + 侧 360）
   ============================================================ */
.sx-tabwrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.sx-tabmain {
    flex: 1 1 auto;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
}

/* Tab 头 */
.sx-tabhead {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    height: 52px;
    border-bottom: 1px solid #EEF0F3;
}
.sx-tab {
    position: relative;
    padding: 0 14px;
    height: 52px;
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s;
}
.sx-tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #1677FF;
    transform: translateX(-50%);
    transition: width 0.2s;
}
.sx-tab:hover { color: #1677FF; }
.sx-tab.active { color: #1677FF; }
.sx-tab.active::after { width: 28px; }

/* Tab 面板 */
.sx-tab-panel { display: none; }
.sx-tab-panel.active { display: block; }

/* 左图右文列表项 */
.sx-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sx-list > li {
    margin: 0;
    border-bottom: 1px solid #F2F4F7;
}
.sx-list > li:last-child { border-bottom: 0; }
.sx-list-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 16px;
    text-decoration: none;
    transition: background 0.15s;
}
.sx-list-item:hover { background: #FAFBFC; }
.sx-list-thumb {
    flex: 0 0 280px;
    width: 280px;
    border-radius: 6px;
    overflow: hidden;
    background: #EEF0F3;
}
.sx-list-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 158;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.sx-list-item:hover .sx-list-thumb img { transform: scale(1.03); }
.sx-list-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}
.sx-list-body h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.sx-list-item:hover .sx-list-body h3 { color: #1677FF; }
.sx-list-excerpt {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 22px;
    color: #8A93A0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #A6AEBA;
}
.sx-list-cat {
    display: inline-block;
    padding: 1px 8px;
    background: #F2F4F7;
    border-radius: 3px;
    color: #6B7686;
}
.sx-list-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sx-list-views::before {
    content: "👁 ";
    font-size: 11px;
}
.sx-list-cmt::before {
    content: "💬 ";
    font-size: 11px;
}

/* 加载更多 */
.sx-loadmore {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #8A93A0;
    background: #FAFBFC;
    border-top: 1px solid #F2F4F7;
    cursor: pointer;
}
.sx-loadmore:hover { color: #1677FF; }

/* ============================================================
   18. 右侧边栏
   ============================================================ */
.sx-sidebar {
    flex: 0 0 360px;
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
    position: sticky;
    top: 16px;
}

/* 隐藏 justnews 右侧浮动分享条（蓝点网无此元素，避免压住侧栏） */
.action.action-style-1 {
    display: none !important;
}
.sx-side-card {
    background: #FFFFFF;
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
}
.sx-side-title {
    padding: 0 16px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    border-bottom: 1px solid #EEF0F3;
    background: #FAFBFC;
}
.sx-side-nav {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.sx-side-nav > li { margin: 0; }
.sx-side-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 14px;
    color: #222222;
    text-decoration: none;
    border-bottom: 1px solid #F5F7FA;
}
.sx-side-nav > li:last-child a { border-bottom: 0; }
.sx-side-nav a:hover { color: #1677FF; background: #FAFBFC; }
.sx-side-nav a i {
    font-style: normal;
    color: #C4CBD5;
    font-size: 16px;
}
.sx-side-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.sx-side-list > li { margin: 0; }
.sx-side-list a {
    display: flex;
    gap: 10px;
    padding: 9px 12px;
    text-decoration: none;
    align-items: flex-start;
}
.sx-side-list a:hover { background: #FAFBFC; }
.sx-side-thumb {
    flex: 0 0 72px;
    width: 72px;
    border-radius: 4px;
    overflow: hidden;
    background: #EEF0F3;
}
.sx-side-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 72 / 48;
    object-fit: cover;
    display: block;
}
.sx-side-body { flex: 1 1 auto; min-width: 0; }
.sx-side-body h4 {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 19px;
    font-weight: 400;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-side-list a:hover h4 { color: #1677FF; }
.sx-side-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #A6AEBA;
}
.sx-side-views::before {
    content: "👁 ";
    font-size: 11px;
}

/* 响应式：窄屏收起侧栏 */
@media (max-width: 1100px) {
    .sx-tabwrap { flex-wrap: wrap; }
    .sx-sidebar { flex: 1 1 100%; width: 100%; }
    .sx-hot { grid-template-columns: repeat(2, 1fr); }
    .sx-list-thumb { flex-basis: 200px; width: 200px; }
}
@media (max-width: 760px) {
    .sx-headline { height: auto; flex-direction: column; }
    .sx-headline-main { flex: none; height: 220px; }
    .sx-headline-side { flex: none; height: 220px; }
    .sx-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-list-item { flex-direction: column; gap: 10px; }
    .sx-list-thumb { flex-basis: auto; width: 100%; }
}

/* ============================================================
   19. 页脚（浅色，蓝点网同款）
   ============================================================ */
.footer {
    background: #FFFFFF !important;
    border-top: 1px solid #EEF0F3 !important;
    color: #8A93A0 !important;
    padding: 28px 0 22px !important;
}
.footer .container {
    max-width: 1300px !important;
}
.footer .footer-col-wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}
.footer .footer-col-logo img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
}
.footer .footer-col-copy { flex: 1; }
.footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}
.footer .footer-nav li { margin: 0 !important; }
.footer .footer-nav a {
    color: #4A5566 !important;
    font-size: 13px;
    text-decoration: none;
}
.footer .footer-nav a:hover { color: #1677FF !important; }
.footer .copyright,
.footer .copyright p,
.footer .copyright a {
    color: #A6AEBA !important;
    font-size: 12px !important;
    line-height: 22px !important;
    margin: 0 0 4px !important;
}
.footer .copyright a:hover { color: #1677FF !important; }
@media (max-width: 760px) {
    .footer .footer-col-wrap { flex-direction: column; gap: 14px; }
}

/* ============================================================
   20. 分类页（面包屑 + 双栏列表）
   ============================================================ */
.sx-crumb-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #EEF0F3;
}
.sx-crumb-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sx-crumb {
    font-size: 13px;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sx-crumb a {
    color: #6B7686;
    text-decoration: none;
}
.sx-crumb a:hover { color: #1677FF; }
.sx-crumb i {
    font-style: normal;
    margin: 0 8px;
    color: #C4CBD5;
}
.sx-crumb-current { color: #222222; }
.sx-crumb-count {
    flex-shrink: 0;
    margin-left: 16px;
    font-size: 13px;
    color: #999999;
}
.sx-crumb-count b {
    color: #1677FF;
    font-size: 18px;
    font-weight: 700;
    margin-right: 4px;
}

/* 文章页：ticker 与面包屑合并到一个白底区域 */
.sx-crumb-inner-col {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0 15px;
}
.sx-crumb-inner-col .home-sticky-ticker {
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #F2F4F7;
}
.sx-crumb-inner-col .home-sticky-ticker .ticker-inner {
    padding: 12px 0;
}
.sx-crumb-inner-col .sx-crumb {
    padding: 13px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sx-crumb-inner-col .sx-crumb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
}
.sx-crumb-inner-col .sx-crumb-row .sx-crumb {
    padding: 0;
    flex: 1;
    min-width: 0;
}
.sx-crumb-inner-col .sx-crumb-row .sx-crumb-count {
    flex-shrink: 0;
}

.sx-cat-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
}
.sx-cat-main {
    flex: 1 1 auto;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
}
.sx-cat-head {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid #EEF0F3;
}
.sx-cat-head h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
}

/* 分类页列表项（左图 30% + 右标题/摘要/元信息） */
.sx-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sx-cat-list > li {
    margin: 0;
    border-bottom: 1px solid #F2F4F7;
}
.sx-cat-list > li:last-child { border-bottom: 0; }
.sx-cat-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px;
    transition: background 0.15s;
}
.sx-cat-item:hover { background: #FAFBFC; }
.sx-cat-thumb {
    flex: 0 0 30%;
    width: 30%;
    min-width: 30%;
    border-radius: 6px;
    overflow: hidden;
    background: #EEF0F3;
}
.sx-cat-thumb a { display: block; }
.sx-cat-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 338;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.sx-cat-item:hover .sx-cat-thumb img { transform: scale(1.04); }
.sx-cat-body {
    flex: 1 1 auto;
    min-width: 0;
}
.sx-cat-title { text-decoration: none; display: block; }
.sx-cat-title h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.sx-cat-item:hover .sx-cat-title h3 { color: #1677FF; }
.sx-cat-excerpt {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 22px;
    color: #8A93A0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-cat-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #A6AEBA;
}
.sx-cat-cat a {
    color: #6B7686;
    text-decoration: none;
}
.sx-cat-cat a:hover { color: #1677FF; }
.sx-cat-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C4CBD5;
}
.sx-cat-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.sx-cat-views::before {
    content: "👁 ";
    font-size: 11px;
}

/* 分页 */
.sx-cat-main .navigation,
.sx-cat-main .pagination {
    padding: 16px;
    text-align: center;
}
.sx-cat-main .pagination .page-numbers,
.sx-cat-main .nav-links .page-numbers {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0 4px;
    padding: 0 8px;
    border: 1px solid #EEF0F3;
    border-radius: 4px;
    color: #4A5566;
    font-size: 13px;
    text-decoration: none;
    background: #FFFFFF;
    box-sizing: border-box;
}
.sx-cat-main .pagination .page-numbers.current,
.sx-cat-main .nav-links .page-numbers.current {
    background: #1677FF;
    border-color: #1677FF;
    color: #FFFFFF;
}
.sx-cat-main .pagination .page-numbers:hover,
.sx-cat-main .nav-links .page-numbers:hover {
    border-color: #1677FF;
    color: #1677FF;
}
.sx-empty {
    padding: 60px 0;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 1100px) {
    .sx-cat-wrap { flex-wrap: wrap; }
    .sx-sidebar { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 760px) {
    .sx-cat-item { flex-direction: column; gap: 10px; }
    .sx-cat-thumb { flex: none; width: 100%; }
}

/* ============================================================
   21. 文章详情页（面包屑 + 标题 + 正文 + 侧栏）
   ============================================================ */
.sx-single-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
}
.sx-entry {
    flex: 1 1 auto;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #EEF0F3;
    border-radius: 8px;
    overflow: hidden;
}

/* 标题区 */
.sx-post-header {
    padding: 24px 32px 20px;
    border-bottom: 1px solid #F2F4F7;
}
.sx-post-header h1 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.5;
    font-weight: 600;
    color: #222222;
}
.sx-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #8A93A0;
}
.sx-post-cat a {
    color: #1677FF;
    text-decoration: none;
}
.sx-post-cat a:hover { text-decoration: underline; }
.sx-post-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C4CBD5;
}
.sx-post-view::before {
    content: "👁 ";
    font-size: 11px;
}

/* 文章页正文底部分享按钮 */
.sx-post-share-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-top: 1px solid #F2F4F7;
    margin-top: 8px;
}
.sx-share-label {
    font-size: 13px;
    color: #8A93A0;
    margin-right: 4px;
}
.sx-poster-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 14px;
    border-radius: 15px;
    border: 1px solid #1677FF;
    color: #1677FF;
    font-size: 13px;
    text-decoration: none;
    margin-right: 4px;
    transition: all 0.15s;
}
.sx-poster-btn:hover {
    background: #1677FF;
    color: #FFFFFF;
}
.sx-poster-btn .wpcom-icon,
.sx-poster-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}
.sx-share-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #EEF0F3;
    color: #8A93A0;
    text-decoration: none;
    transition: all 0.15s;
}
.sx-share-item:hover {
    color: #1677FF;
    border-color: #1677FF;
}
/* 微信二维码气泡：hover 时显示在按钮上方 */
.sx-share-item:hover .share-wx-wrap {
    bottom: 40px;
    opacity: 1;
    transition: all .3s ease-out 0s;
}
.sx-share-item .wpcom-icon,
.sx-share-item svg {
    width: 16px;
    height: 16px;
    display: block;
}
.sx-share-item .wpcom-icon {
    font-size: 16px;
    line-height: 1;
}

/* 正文 */
.sx-post-content {
    padding: 24px 32px 32px;
    font-size: 15.4px;
    line-height: 40px;
    color: #1B2C3D;
    letter-spacing: 0.5px;
    word-wrap: break-word;
}
.sx-post-content p {
    margin: 0 0 24px;
    font-size: 15.4px;
    line-height: 40px;
}
.sx-post-content h2,
.sx-post-content h3,
.sx-post-content h4 {
    color: #222222;
    line-height: 1.5;
    margin: 28px 0 16px;
    font-weight: 600;
}
.sx-post-content h2 { font-size: 21px; }
.sx-post-content h3 { font-size: 18px; }
.sx-post-content h4 { font-size: 16px; }
.sx-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
}
.sx-post-content a {
    color: #1677FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(22, 119, 255, 0.3);
}
.sx-post-content a:hover { border-bottom-color: #1677FF; }
.sx-post-content blockquote {
    margin: 20px 0;
    padding: 12px 20px;
    border-left: 3px solid #1677FF;
    background: #F7F9FC;
    color: #5A6B82;
    font-size: 14px;
    line-height: 28px;
}
.sx-post-content ul,
.sx-post-content ol {
    padding-left: 24px;
    line-height: 36px;
}
.sx-post-content li { margin: 4px 0; }
.sx-post-content code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    background: #F2F4F7;
    color: #C7254E;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.6;
}
.sx-post-content pre {
    background: #1E2430;
    color: #E6E8EC;
    padding: 16px 20px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    margin: 20px 0;
}
.sx-post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: 13px;
}

/* 标签 */
.sx-post-tags {
    padding: 16px 32px;
    border-top: 1px solid #F2F4F7;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}
.sx-post-tags a {
    display: inline-block;
    padding: 3px 12px;
    background: #F2F4F7;
    color: #6B7686;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.15s;
}
.sx-post-tags a:hover {
    background: #1677FF;
    color: #FFFFFF;
}

/* 版权声明 */
.sx-copyright {
    margin: 16px 32px 0;
    padding: 16px 18px;
    background: rgba(138, 158, 184, 0.06);
    color: #657C98;
    border-radius: 6px;
    font-size: 13px;
    line-height: 24px;
}
.sx-copyright b {
    color: #657C98;
    font-weight: 600;
}
.sx-copyright a {
    color: #1677FF;
    text-decoration: none;
}
.sx-copyright a:hover {
    text-decoration: underline;
}

/* 上一篇下一篇 */
.sx-post-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 32px;
    border-top: 1px solid #F2F4F7;
    font-size: 13px;
}
.sx-post-nav a {
    color: #4A5566;
    text-decoration: none;
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sx-post-nav a:hover { color: #1677FF; }
.sx-post-nav-next { text-align: right; }

/* 相关推荐（图 + 标题，2 列） */
.sx-related {
    margin-top: 0;
    border-top: 1px solid #EEF0F3;
    padding: 0 0 16px;
}
.sx-related-title {
    padding: 0 32px;
    height: 52px;
    line-height: 52px;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    border-bottom: 1px solid #F2F4F7;
}
.sx-related-list {
    list-style: none;
    margin: 0;
    padding: 16px 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sx-related-list > li { margin: 0; }
.sx-related-item .thumb {
    border-radius: 6px;
    overflow: hidden;
    background: #EEF0F3;
}
.sx-related-item .thumb a { display: block; }
.sx-related-item .thumb img {
    width: 100%;
    aspect-ratio: 600 / 338;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.sx-related-item:hover .thumb img { transform: scale(1.04); }
.sx-related-item .list-content {
    padding: 10px 2px 0;
}
.sx-related-item .title {
    display: block;
    text-decoration: none;
}
.sx-related-item .title h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.sx-related-item:hover .title h3 { color: #1677FF; }
.sx-related-item .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #A6AEBA;
}
.sx-related-item .meta .views::before {
    content: "👁 ";
    font-size: 11px;
}
@media (max-width: 760px) {
    .sx-related-title { padding: 0 16px; }
    .sx-related-list { padding: 16px 16px 0; grid-template-columns: 1fr; }
}

/* 响应式 */
@media (max-width: 1100px) {
    .sx-single-wrap { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .sx-post-header,
    .sx-post-content,
    .sx-post-tags,
    .sx-post-nav { padding-left: 16px; padding-right: 16px; }
    .sx-post-header h1 { font-size: 21px; }
}
