/* core-combo core-combo.f26b1948c870.css | winrmb V4.0.20 | 5 files combined in cascade order: wp-content/uploads/aura-cache/vars/core-aura-option-vars.7d63e1589edc.css + wp-content/themes/winrmb/assets/css/fragments/page-archive-layout.css + wp-content/themes/winrmb/assets/css/fragments/wg-cat-image-posts.css + wp-content/themes/winrmb/assets/css/fragments/wg-latest-posts.css + wp-content/uploads/aura-cache/inline/inl-046f33bacfa0bd61.css */

          :root {
              --primary-color: #2874a6;
              --bg-color: #f4f6f9;
              --bg-image: none;
              --border-radius: 10px;
              --max-width: 1440px;
              
              /* 菜单变量 */
              --menu-bg-color: rgba(255, 255, 255, 1);
              --submenu-bg-color: #ffffff;
              --menu-text-color: #2c3e50;
              --menu-hover-color: #206be6;
              --menu-bg-image: none;
              --menu-top-offset: 0px;
              --menu-height: 80px;
              --submenu-width: 160px;
              
              /* 顶部通知条变量 */
              --topbar-bg-color: rgba(26, 26, 26, 1);
              --topbar-text-color: #a0a0a0;
              /* V3.0 样式文件化新增：深色模式复合值与二级菜单最大高度（core-style-rules.css 引用） */
              --dm-bg-image: none;
              --dm-menu-bg: rgba(24, 27, 36, 1);
              --dm-menu-bg-image: none;
              --dm-topbar-bg: rgba(15, 17, 23, 1);
              --submenu-max-h: 85vh;
          }
      
              /* 首页自定义背景 */
              body.home {
                  background-color: #f4f6f9 !important;

              }
              /* 首页自定义背景 - 深色模式 */
              html[data-theme="dark"] body.home {
                  
                  background-color: #0f1117 !important;
              }
            
      
          /* ====== 全局布局控制变量（由后台「全局设置」驱动）====== */
          :root {
              --max-width: 1440px;
              --section-gap: 48px;
          }
        
/*# sourceURL=aura-style-inline-css */

/*! WinRMB Theme (c) WinRMB - commercial component, see LICENSE.txt */
/* 文章列表布局（inc/core/archive-layout.php）：分类 / 标签 / 归档 / 搜索 / 博客页
   类名刻意不含 "-grid"：style.css 的平板规则会把 .home-module 内所有含 "-grid" 的元素强制改成 3 列 */

/* ---------- 侧边栏布局 ---------- */
.archive-sidebar-layout { display: flex; gap: 28px; align-items: flex-start; }
.archive-sidebar-layout > .archive-main { flex: 1; min-width: 0; }
.archive-sidebar { width: 320px; flex-shrink: 0; }
.archive-sidebar .sidebar-sticky-wrap { position: sticky; top: 90px; }
@media (max-width: 991px) {
    .archive-sidebar-layout { flex-direction: column; }
    .archive-sidebar { width: 100% !important; }
    .archive-sidebar .sidebar-sticky-wrap { position: static; }
}
/* 侧边栏里 WordPress 自带小工具（归档 / 分类 / 最新文章 / 标签等）的基础样式 */
.archive-sidebar .sidebar-widget { padding: 20px 22px; margin-bottom: 20px; }
.archive-sidebar .sidebar-widget h2, .archive-sidebar .sidebar-widget h3.wp-block-heading, .archive-sidebar .widget-title { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--text-main); line-height: 1.4; }
.archive-sidebar .sidebar-widget ul, .archive-sidebar .sidebar-widget ol { list-style: none; margin: 0; padding: 0; }
.archive-sidebar .sidebar-widget li { padding: 8px 0; border-bottom: 1px dashed var(--border-color); font-size: 14px; color: var(--text-muted); }
.archive-sidebar .sidebar-widget li:last-child { border-bottom: none; padding-bottom: 0; }
.archive-sidebar .sidebar-widget li ul { margin: 6px 0 0 14px; }
.archive-sidebar .sidebar-widget a { color: var(--text-main); text-decoration: none; transition: color .2s; }
.archive-sidebar .sidebar-widget a:hover { color: var(--primary-color); }
.archive-term-desc { background: var(--bg-color); padding: 14px 18px; border-radius: var(--border-radius, 10px); margin-bottom: 20px; font-size: 0.95rem; color: var(--text-muted); }

/* ---------- 列表容器与列数 ---------- */
.aura-archive-list { display: grid; gap: 24px; grid-template-columns: repeat(var(--aal-cols, 4), minmax(0, 1fr)); }
.aura-archive-list .aal-empty { grid-column: 1 / -1; padding: 20px; color: var(--text-muted); }
@media (max-width: 1199px) {
    .aura-archive-list[data-cols="4"], .aura-archive-list[data-cols="5"], .aura-archive-list[data-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .aura-archive-list[data-cols="3"], .aura-archive-list[data-cols="4"], .aura-archive-list[data-cols="5"], .aura-archive-list[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 575px) {
    .aura-archive-list { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
    .aura-archive-list.aal-s-overlay[data-cols="4"], .aura-archive-list.aal-s-overlay[data-cols="5"], .aura-archive-list.aal-s-overlay[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* 图文列表最多 2 列、纯标题最多 3 列 */
.aura-archive-list.aal-s-list:not([data-cols="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aura-archive-list.aal-s-title[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aura-archive-list.aal-s-title:not([data-cols="1"]):not([data-cols="2"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) {
    .aura-archive-list.aal-s-list { grid-template-columns: minmax(0, 1fr) !important; }
    .aura-archive-list.aal-s-title:not([data-cols="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 卡片通用 ---------- */
.aal-item { position: relative; display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--border-radius, 12px); overflow: hidden; box-shadow: 0 4px 15px var(--shadow-color, rgba(0,0,0,.04)); transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1), border-color .25s; }
.aal-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow-hover, rgba(0,0,0,.08)); border-color: color-mix(in srgb, var(--primary-color) 25%, transparent); }
.aal-thumb { display: block; aspect-ratio: var(--aal-ratio, 3 / 2); overflow: hidden; background: var(--bg-color); }
.aal-thumb img { width: 100%; height: 100%; object-fit: var(--aal-fit, cover); object-position: var(--aal-pos, center center); display: block; transition: transform .5s cubic-bezier(.25,.8,.25,1); }
.aal-item:hover .aal-thumb img { transform: scale(1.05); }
.aal-natural .aal-thumb { aspect-ratio: auto; }
.aal-natural .aal-thumb img { height: auto; }
.aal-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; flex: 1; min-width: 0; }
.aal-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.aal-cat, .aal-vip, .aal-top { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1; padding: 4px 9px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.aal-cat { color: var(--primary-color); background: color-mix(in srgb, var(--primary-color) 10%, transparent); }
/* 浅色模式：主题色文字在主题色 10% 浅底上对比度不足（如 #3498db 为 2.85），文字混 25% 黑色（≥4.5）；深色模式保持原主题色（2026-11-05） */
html:not([data-theme="dark"]) .aura-archive-list:not(.aal-s-overlay) .aal-cat:not(:hover) { color: color-mix(in srgb, var(--primary-color) 75%, #000); }
.aal-cat:hover { background: var(--primary-color); color: #fff; }
.aal-vip { color: #a16207; background: #fef3c7; }
.aal-top { color: #fff; background: #ef4444; margin-right: 6px; }
html[data-theme="dark"] .aal-vip { color: #fcd34d; background: rgba(250, 204, 21, .14); }
.aal-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.aal-title a { color: var(--text-main); text-decoration: none; transition: color .2s; }
.aal-title a:hover { color: var(--primary-color); }
.aal-excerpt { margin: 0; font-size: .875rem; line-height: 1.7; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aal-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border-color); font-size: 12px; color: var(--text-muted); }
.aal-meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.aal-m-price { color: #d97706; font-weight: 600; }
/* 列数多时卡片更紧凑 */
.aura-archive-list[data-cols="5"] .aal-body, .aura-archive-list[data-cols="6"] .aal-body { padding: 12px 14px; }
.aura-archive-list[data-cols="5"] .aal-title, .aura-archive-list[data-cols="6"] .aal-title { font-size: .95rem; }
.aura-archive-list[data-cols="6"] .aal-excerpt { display: none; }

/* ---------- 覆盖网格：文字压在图片上 ---------- */
.aal-s-overlay .aal-item { border: none; }
.aal-s-overlay .aal-thumb { aspect-ratio: var(--aal-ratio, 3 / 2); height: 100%; }
.aal-s-overlay.aal-natural .aal-thumb { aspect-ratio: auto; }
/* 文字层铺满整张卡片、内容贴底；角标固定在左上角——小卡片（多列 / 1:1）时也不会被裁掉 */
.aal-s-overlay .aal-body { position: absolute; inset: 0; justify-content: flex-end; padding: 44px 14px 12px; gap: 6px; overflow: hidden; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.3) 55%, rgba(0,0,0,.05) 80%, transparent); pointer-events: none; }
.aal-s-overlay .aal-badges { position: absolute; top: 10px; left: 10px; right: 10px; flex-wrap: nowrap; overflow: hidden; }
.aal-s-overlay .aal-title { margin-top: auto; }
.aal-s-overlay .aal-meta { flex-shrink: 0; margin-top: 0; }
.aura-archive-list.aal-s-overlay[data-cols="5"] .aal-m-date, .aura-archive-list.aal-s-overlay[data-cols="6"] .aal-m-date { display: none; }
.aal-s-overlay .aal-body a { pointer-events: auto; }
.aal-s-overlay .aal-title a { color: #fff; }
.aal-s-overlay .aal-title a:hover { color: #fff; text-decoration: underline; }
.aal-s-overlay .aal-meta { border-top: none; padding-top: 0; color: rgba(255,255,255,.85); }
.aal-s-overlay .aal-m-price { color: #fcd34d; }
.aal-s-overlay .aal-cat { color: #fff; background: color-mix(in srgb, var(--primary-color) 85%, transparent); }

/* ---------- 图文列表：左图右文 ---------- */
.aal-s-list .aal-item { flex-direction: row; }
/* 缩略图保持设置的比例（不随右侧文字高度拉伸），在卡片内垂直居中 */
.aal-s-list .aal-item { align-items: center; }
.aal-s-list .aal-thumb { width: 38%; max-width: 300px; flex-shrink: 0; aspect-ratio: var(--aal-ratio, 3 / 2); align-self: center; margin-left: 14px; border-radius: calc(var(--border-radius, 12px) - 4px); }
.aal-s-list .aal-thumb img { height: 100%; }
.aal-s-list.aal-natural .aal-thumb { aspect-ratio: auto; }
.aal-s-list .aal-body { padding: 18px 20px; }
@media (max-width: 575px) {
    .aal-s-list .aal-item { flex-direction: column; align-items: stretch; }
    .aal-s-list .aal-thumb { width: 100%; max-width: none; margin: 0; border-radius: 0; align-self: stretch; }
}

/* ---------- 纯标题 ---------- */
.aura-archive-list.aal-s-title { gap: 10px 24px; }
.aal-s-title .aal-item { padding: 14px 18px; border-radius: 10px; box-shadow: none; }
.aal-s-title .aal-item:hover { transform: none; }
.aal-s-title .aal-title { -webkit-line-clamp: 1; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.aal-s-title .aal-title a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aal-s-title .aal-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.aal-s-title .aal-meta { margin: 0; padding: 0; border: none; }

/* ---------- 子分类导航（自定义分类布局 → 子分类导航） ---------- */
.aal-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.aal-subnav-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-main); font-size: .875rem; line-height: 1.4; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.aal-subnav-item:hover { border-color: var(--primary-color); color: var(--primary-color); }
.aal-subnav-item.is-active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.aal-subnav-n { font-size: 12px; opacity: .6; }
@media (max-width: 575px) {
    .aal-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
    .aal-subnav::-webkit-scrollbar { display: none; }
    .aal-subnav-item { flex-shrink: 0; }
}

/* ---------- 分页 / 加载更多 ---------- */
.aal-pagination { margin-top: 40px; text-align: center; }
.aal-more-wrap { margin-top: 32px; text-align: center; }
.aal-more { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; padding: 10px 28px; border-radius: 999px; border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-main); font-size: .95rem; text-decoration: none; transition: all .2s; }
.aal-more:hover { border-color: var(--primary-color); color: var(--primary-color); }
.aal-more .aal-more-loading, .aal-more .aal-more-done { display: none; }
.aal-more.is-loading .aal-more-text { display: none; }
.aal-more.is-loading .aal-more-loading { display: inline; }
.aal-more.is-done { pointer-events: none; opacity: .6; }
.aal-more.is-done .aal-more-text, .aal-more.is-done .aal-more-loading { display: none; }
.aal-more.is-done .aal-more-done { display: inline; }

/*! WinRMB Theme (c) WinRMB - commercial component, see LICENSE.txt */
/* 首页｜分类图片文章（inc/widgets/widget-cat-image-posts.php，2026-11-04）
 * 根元素变量：--cip-cols-pc / -pad / -m 三档列数，--cip-big-* 大图跨几格（该档 1 列时为 1），
 * --cip-ratio 卡片高宽比（如 4 / 3），--cip-r 同一比例的数值（宽 / 高），用于按容器宽度算行高，
 * 这样「第一篇大图」跨两行时正好等于两张普通卡片加一道间距的高度。 */
:is(.aws-cat-image-posts, #aws) {
    --cip-gap: 1.25rem;
    --cip-cols: var(--cip-cols-m, 1);
    --cip-big: var(--cip-big-m, 1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
    :is(.aws-cat-image-posts, #aws) {
        --cip-cols: var(--cip-cols-pad, 2);
        --cip-big: var(--cip-big-pad, 2);
    }
}
@media (min-width: 1200px) {
    :is(.aws-cat-image-posts, #aws) {
        --cip-gap: 1.5rem;
        --cip-cols: var(--cip-cols-pc, 3);
        --cip-big: var(--cip-big-pc, 2);
    }
}

/* 标题区：与「首页｜最新文章」一致（居中 h2 + 灰色描述） */
:is(.aws-cat-image-posts, #aws) .cip-section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}
:is(.aws-cat-image-posts, #aws) .cip-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main, #333);
    margin: 1em 0 0.5rem;
}
:is(.aws-cat-image-posts, #aws) .cip-desc {
    font-size: 0.875rem;
    color: var(--text-muted, #6c757d);
    margin: 0;
}

/* 网格：行高 = 单列宽度 / 高宽比（容器查询单位按 .cip-wrap 的内容宽度计算） */
:is(.aws-cat-image-posts, #aws) .cip-wrap {
    container-type: inline-size;
}
:is(.aws-cat-image-posts, #aws) .cip-list {
    display: grid;
    gap: var(--cip-gap);
    grid-template-columns: repeat(var(--cip-cols), minmax(0, 1fr));
    grid-auto-rows: calc((100cqw - (var(--cip-cols) - 1) * var(--cip-gap)) / var(--cip-cols) / var(--cip-r, 1.3333));
    grid-auto-flow: row dense;
}
:is(.aws-cat-image-posts, #aws) .cip-card.is-big {
    grid-column: span var(--cip-big);
    grid-row: span var(--cip-big);
}
/* 不支持容器查询单位的旧浏览器：每张卡按高宽比撑开，大图只跨列 */
@supports not (width: 1cqw) {
    :is(.aws-cat-image-posts, #aws) .cip-list { grid-auto-rows: auto; }
    :is(.aws-cat-image-posts, #aws) .cip-card { aspect-ratio: var(--cip-ratio, 4 / 3); }
    :is(.aws-cat-image-posts, #aws) .cip-card.is-big { grid-row: auto; }
}

/* 卡片：缩略图满幅铺底，渐变遮罩压暗下半部分，文字叠在底部 */
:is(.aws-cat-image-posts, #aws) .cip-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    margin: 0;
    border-radius: 8px;
    background: var(--bg-color, #f4f6f9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}
:is(.aws-cat-image-posts, #aws) .cip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
:is(.aws-cat-image-posts, #aws) .cip-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}
:is(.aws-cat-image-posts, #aws) .cip-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
:is(.aws-cat-image-posts, #aws) .cip-card:hover .cip-cover img {
    transform: scale(1.06);
}
:is(.aws-cat-image-posts, #aws) .cip-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.38) 64%, rgba(0, 0, 0, 0.82) 100%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}
:is(.aws-cat-image-posts, #aws) .cip-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 16px 18px;
    color: #fff;
    pointer-events: none; /* 空白处的点击落到下面整卡的链接上 */
}
:is(.aws-cat-image-posts, #aws) .cip-body a {
    pointer-events: auto;
}
:is(.aws-cat-image-posts, #aws) .cip-cat {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 2px 9px;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    transition: filter 0.2s;
}
:is(.aws-cat-image-posts, #aws) .cip-cat:hover {
    filter: brightness(1.12);
    color: #fff;
}
:is(.aws-cat-image-posts, #aws) .cip-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
:is(.aws-cat-image-posts, #aws) .cip-title a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    background: linear-gradient(currentColor, currentColor) no-repeat left 92% / 0 2px;
    transition: background-size 0.3s ease;
}
:is(.aws-cat-image-posts, #aws) .cip-card:hover .cip-title a,
:is(.aws-cat-image-posts, #aws) .cip-title a:focus-visible {
    background-size: 100% 2px;
}
:is(.aws-cat-image-posts, #aws) .cip-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 第一篇大图 */
:is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-body {
    padding: 24px 26px;
}
:is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-title {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 8px;
}
:is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-meta {
    font-size: 13px;
}

/* 空状态 */
:is(.aws-cat-image-posts, #aws) .cip-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-muted, #6c757d);
    background: var(--card-bg, #fff);
    border: 1px dashed var(--border-color, #e5e7eb);
    border-radius: 8px;
}

/* 平板 */
@media (max-width: 1199px) and (min-width: 768px) {
    :is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-title { font-size: 20px; }
}
/* 手机 */
@media (max-width: 767px) {
    :is(.aws-cat-image-posts, #aws) { --cip-gap: 0.75rem; }
    :is(.aws-cat-image-posts, #aws) .cip-heading { font-size: 1.25rem; }
    :is(.aws-cat-image-posts, #aws) .cip-card { border-radius: 6px; }
    :is(.aws-cat-image-posts, #aws) .cip-body { padding: 12px 14px; }
    :is(.aws-cat-image-posts, #aws) .cip-title { font-size: 15px; }
    :is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-body { padding: 14px 16px; }
    :is(.aws-cat-image-posts, #aws) .cip-card.is-big .cip-title { font-size: 18px; }
    :is(.aws-cat-image-posts, #aws) .cip-cat { margin-bottom: 6px; font-size: 11px; }
}
/* 手机两列时卡片又窄又矮（16:9 时只有约 80px 高）：小卡片只留标题，分类和日期隐藏 */
@media (max-width: 767px) {
    :is(.aws-cat-image-posts, #aws).is-m2 .cip-card:not(.is-big) .cip-body { padding: 10px; }
    :is(.aws-cat-image-posts, #aws).is-m2 .cip-card:not(.is-big) .cip-title { font-size: 13px; -webkit-line-clamp: 2; margin-bottom: 0; }
    :is(.aws-cat-image-posts, #aws).is-m2 .cip-card:not(.is-big) :is(.cip-cat, .cip-meta) { display: none; }
}

/* 深色模式：图片上的文字本来就是白色，只调整底色、阴影和标题区 */
html[data-theme="dark"] :is(.aws-cat-image-posts, #aws) .cip-card {
    background: var(--card-bg, #181b24);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] :is(.aws-cat-image-posts, #aws) .cip-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}
html[data-theme="dark"] :is(.aws-cat-image-posts, #aws) .cip-heading {
    color: #f8fafc;
}
html[data-theme="dark"] :is(.aws-cat-image-posts, #aws) .cip-desc {
    color: var(--text-muted, #94a3b8);
}

@media (prefers-reduced-motion: reduce) {
    :is(.aws-cat-image-posts, #aws) .cip-card,
    :is(.aws-cat-image-posts, #aws) .cip-cover img,
    :is(.aws-cat-image-posts, #aws) .cip-title a { transition: none; }
    :is(.aws-cat-image-posts, #aws) .cip-card:hover,
    :is(.aws-cat-image-posts, #aws) .cip-card:hover .cip-cover img { transform: none; }
}

/*! WinRMB Theme (c) WinRMB - commercial component, see LICENSE.txt */
/* 由 inc/widgets/widget-latest-posts.php 的内联 <style> 迁出（2026-10-10）；:is(.aws-latest-posts, #aws) 保持原 ID 选择器的优先级 */
:is(.aws-latest-posts, #aws) .ri-cat-btn-outline:hover {
    color: var(--primary-color) !important;
    background: #fff !important;
    border-color: var(--primary-color) !important;
}
:is(.aws-latest-posts, #aws) .post-item:is(.item-grid, .item-list) {
    background: var(--card-bg, #fff);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color, rgba(0,0,0,0.05));
}
:is(.aws-latest-posts, #aws) .post-item:is(.item-grid, .item-list):hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .post-item:is(.item-grid, .item-list) {
    background: var(--card-bg, #181b24) !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.05);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .post-item:is(.item-grid, .item-list):hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
    border-color: var(--primary-color);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .entry-title {
    color: #e2e8f0;
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .entry-title a {
    color: #e2e8f0;
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .entry-title a:hover {
    color: var(--primary-color);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .latest-section-title :is(h2, h3) {
    color: #f8fafc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .latest-section-title p {
    color: #94a3b8 !important;
}
:is(.aws-latest-posts, #aws) .entry-media {
    position: relative;
    width: 100%;
    padding-top: 66.666%; /* 3:2 ratio */
    overflow: hidden;
    background: var(--bg-color, #f8f9fa);
    display: block;
}
:is(.aws-latest-posts, #aws) .media-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
:is(.aws-latest-posts, #aws) .media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
:is(.aws-latest-posts, #aws) .post-item:is(.item-grid, .item-list):hover .media-img {
    transform: scale(1.05);
}
:is(.aws-latest-posts, #aws) .entry-wrapper {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
:is(.aws-latest-posts, #aws) .entry-cat-dot {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
:is(.aws-latest-posts, #aws) .entry-cat-dot a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}
:is(.aws-latest-posts, #aws) .entry-cat-dot a:hover {
    opacity: 0.8;
}
:is(.aws-latest-posts, #aws) .entry-cat-dot::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    display: inline-block;
    margin-right: 6px;
}
:is(.aws-latest-posts, #aws) .entry-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: anywhere; /* 原 break-all 会把 24H2、WordPress 这类词从中间拆开（2026-11-05） */
    color: var(--text-main, #222);
}
:is(.aws-latest-posts, #aws) .entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
:is(.aws-latest-posts, #aws) .entry-title a:hover {
    color: var(--primary-color);
}
:is(.aws-latest-posts, #aws) .entry-desc {
    font-size: 13px;
    color: var(--text-muted, #6c757d);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
:is(.aws-latest-posts, #aws) .entry-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-top: auto;
    border-top: 1px dashed var(--border-color, #eee);
    padding-top: 10px;
}
:is(.aws-latest-posts, #aws) .entry-meta > span {
    display: inline-flex;
    align-items: center;
}
:is(.aws-latest-posts, #aws) .entry-meta .meta-date {
    margin-right: auto;
}
:is(.aws-latest-posts, #aws) .entry-meta .meta-likes {
    margin-right: 12px;
}
:is(.aws-latest-posts, #aws) .tips-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0.5rem;
    display: flex;
    gap: 5px;
}
:is(.aws-latest-posts, #aws) .tips-badge .badge {
    font-weight: normal;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
}
:is(.aws-latest-posts, #aws) .bg-dark { background-color: rgba(33,37,41,0.75) !important; color: #fff; }
:is(.aws-latest-posts, #aws) .bg-warning { background-color: rgba(255,193,7,0.75) !important; color: #000; }
:is(.aws-latest-posts, #aws) .d-none { display: none !important; }
@media (min-width: 768px) {
    :is(.aws-latest-posts, #aws) .d-md-inline-flex { display: inline-flex !important; }
}
:is(.aws-latest-posts, #aws) .me-1 { margin-right: 0.25rem !important; }
:is(.aws-latest-posts, #aws) .ms-1 { margin-left: 0.25rem !important; }
/* 分页样式适配 (现代化) */
:is(.aws-latest-posts, #aws) .aura-pagination-wrap .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
:is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
:is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers:hover {
    color: var(--primary-color);
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
:is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers.current {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 25%, transparent);
    pointer-events: none;
}
:is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    pointer-events: none;
    color: #94a3b8;
}
:is(.aws-latest-posts, #aws) .ri-pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
:is(.aws-latest-posts, #aws) .ri-pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}
:is(.aws-latest-posts, #aws) .posts-warp {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(var(--lp-cols-m, 2), minmax(0, 1fr));
}
@media (min-width: 768px) {
    :is(.aws-latest-posts, #aws) .posts-warp {
        grid-template-columns: repeat(var(--lp-cols-pad, 3), minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    :is(.aws-latest-posts, #aws) .posts-warp {
        grid-template-columns: repeat(var(--lp-cols-pc, 5), minmax(0, 1fr));
    }
}
/* ====== 补充响应式：平板降档 + 手机端内容收紧 ====== */
@media (max-width: 1199px) and (min-width: 768px) {
    :is(.aws-latest-posts, #aws) .posts-warp {
        gap: 1.2rem;
    }
}
@media (max-width: 767px) {
    :is(.aws-latest-posts, #aws) .posts-warp {
        gap: 0.9rem !important;
    }
    :is(.aws-latest-posts, #aws) .entry-wrapper {
        padding: 0.75rem 0.7rem !important;
    }
    :is(.aws-latest-posts, #aws) .entry-title {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    :is(.aws-latest-posts, #aws) .entry-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.75rem !important;
    }
    :is(.aws-latest-posts, #aws) .entry-media .media-img {
        aspect-ratio: 3 / 2;
    }
    :is(.aws-latest-posts, #aws) .tips-badge {
        margin: 0.35rem;
    }
    :is(.aws-latest-posts, #aws) .entry-meta {
        font-size: 11px !important;
        padding-top: 8px;
    }
}

/* 深色模式分页（2026-10-11：原为白底按钮） */
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers {
    background: var(--card-bg, #181b24);
    border-color: var(--border-color, #262936);
    color: var(--text-muted, #94a3b8);
    box-shadow: none;
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers:hover {
    background: var(--border-color, #262936);
    border-color: var(--border-color, #262936);
    color: var(--primary-color);
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
html[data-theme="dark"] :is(.aws-latest-posts, #aws) .aura-pagination-wrap .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}
/* 2026-10-11 标题层级调整：标签改了，补上原标签的浏览器默认上边距，外观保持不变 */
:is(.aws-latest-posts, #aws) .latest-section-title > h2 { margin-top: 1em; }

/* ====== 列表布局（2026-11-04，参照 RiPro「最新文章展示」的列表风格）======
 * 左侧缩略图、右侧分类 / 标题 / 摘要 / 日期浏览；电脑端每行 2 篇，平板和手机每行 1 篇。
 * 选择器带 .is-list，优先级高于上面按列数设置的网格规则。 */
:is(.aws-latest-posts, #aws) .posts-warp.is-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
@media (min-width: 992px) {
    :is(.aws-latest-posts, #aws) .posts-warp.is-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .post-item {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 12px;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-media {
    flex: none;
    width: 200px;
    padding-top: 0;
    aspect-ratio: 3 / 2;
    align-self: flex-start;
    border-radius: 6px;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-wrapper {
    min-width: 0;
    padding: 2px 0 !important;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-title {
    font-size: 16px;
    margin-bottom: 8px;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-desc {
    margin-bottom: 10px;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-meta {
    border-top: none;
    padding-top: 0;
}
:is(.aws-latest-posts, #aws) .posts-warp.is-list .tips-badge {
    top: 12px;
    left: 12px;
    margin: 0.35rem;
}
@media (max-width: 767px) {
    :is(.aws-latest-posts, #aws) .posts-warp.is-list {
        gap: 0.75rem !important;
    }
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .post-item {
        gap: 10px;
        padding: 10px;
    }
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-media {
        width: 120px;
    }
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-title {
        font-size: 0.9rem !important;
        margin-bottom: 6px;
    }
    /* 手机上缩略图只有 80px 高，摘要放不下，只留分类、标题和日期 */
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-desc {
        display: none;
    }
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .tips-badge {
        top: 10px;
        left: 10px;
        margin: 0.25rem;
    }
}

/* ====== 标题单行（2026-11-05，小工具选项「标题行数 = 单行」，默认）======
 * 原先标题最多两行，长标题换行后同一行卡片高低不齐；单行时超出部分显示省略号，完整标题见链接的 title 提示。 */
:is(.aws-latest-posts, #aws) .posts-warp.lp-title-1 .entry-title {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: normal;
}
/* 列宽用 minmax(0, 1fr)：普通 1fr 不会比内容更窄，单行不换行的长标题会把所在列撑宽（2026-11-05） */
:is(.aws-latest-posts, #aws) .posts-warp > .col { min-width: 0; }

/* ====== 图片更大、更大气（2026-11-05，参照 RiPro「最新文章展示」）======
 * 1) 模块本身带 .container，又放在首页模块的 .container 里，左右内边距叠了两层（每边多缩进 20px），
 *    电脑端 5 列时图片只有 195px 宽；嵌套时去掉自身的内边距与最大宽度，和其它首页模块对齐。 */
.container :is(.aws-latest-posts, #aws).container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}
/* 2) 图片比例（小工具选项，默认 3:2 与原来一致） */
:is(.aws-latest-posts, #aws).lp-r-4-3  .posts-warp:not(.is-list) .entry-media { padding-top: 75%; }
:is(.aws-latest-posts, #aws).lp-r-16-9 .posts-warp:not(.is-list) .entry-media { padding-top: 56.25%; }
:is(.aws-latest-posts, #aws).lp-r-1-1  .posts-warp:not(.is-list) .entry-media { padding-top: 100%; }
:is(.aws-latest-posts, #aws).lp-r-4-3  .posts-warp.is-list .entry-media { aspect-ratio: 4 / 3; }
:is(.aws-latest-posts, #aws).lp-r-16-9 .posts-warp.is-list .entry-media { aspect-ratio: 16 / 9; }
:is(.aws-latest-posts, #aws).lp-r-1-1  .posts-warp.is-list .entry-media { aspect-ratio: 1 / 1; }
/* 3) 列表布局的缩略图：原固定 200px，改为卡片宽度的 40%（200～320px） */
@media (min-width: 768px) {
    :is(.aws-latest-posts, #aws) .posts-warp.is-list .entry-media {
        width: clamp(200px, 40%, 320px);
    }
}
/* 4) 模块宽度「宽屏 1440 / 超宽 1600」：电脑端向两侧扩出（--aura-vw 为不含滚动条的视口宽度，由 core-header-mode.js 写入），
 *    窗口不够宽时两侧各留 80px（右侧悬浮工具栏约占 70px，留 20px 时会盖住最右一张卡片），但不会窄于网站内容区（max(100%, …)，100% 在 width 与 margin 里都按父元素宽度计算）。 */
@media (min-width: 1200px) {
    :is(.aws-latest-posts, #aws).lp-w-1440 { --lp-box: max(100%, min(1440px, var(--aura-vw, 100vw) - 160px)); }
    :is(.aws-latest-posts, #aws).lp-w-1600 { --lp-box: max(100%, min(1600px, var(--aura-vw, 100vw) - 160px)); }
    :is(.aws-latest-posts, #aws):is(.lp-w-1440, .lp-w-1600) {
        box-sizing: border-box;
        width: var(--lp-box);
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        margin-left: calc(50% - var(--lp-box) / 2);
        margin-right: calc(50% - var(--lp-box) / 2);
    }
}

#aura-aicard-1750 .yd-card{ width: 100%; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: rgba(15,23,42,.9); box-sizing: border-box; }
#aura-aicard-1750 .yd-card *{ box-sizing: border-box; }
#aura-aicard-1750 .yd-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
#aura-aicard-1750 .yd-logo{ width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: linear-gradient(135deg,#3b82f6,#2563eb); display: flex; align-items: center; justify-content: center; font-size: 22px; }
#aura-aicard-1750 .yd-title{ margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: rgba(15,23,42,.92); }
#aura-aicard-1750 .yd-sub{ margin: 2px 0 0; font-size: 12.5px; color: #6b7280; line-height: 1.4; }
#aura-aicard-1750 .yd-desc{ margin: 0 0 16px; font-size: 13.5px; line-height: 1.7; color: #4b5563; }
#aura-aicard-1750 .yd-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
#aura-aicard-1750 .yd-item{ background: #f1f5f9; border-radius: 10px; padding: 12px 10px; }
#aura-aicard-1750 .yd-ico{ font-size: 18px; display: block; margin-bottom: 6px; }
#aura-aicard-1750 .yd-name{ font-size: 13px; font-weight: 600; color: rgba(15,23,42,.9); margin: 0 0 3px; line-height: 1.35; }
#aura-aicard-1750 .yd-note{ font-size: 11.5px; color: #6b7280; line-height: 1.45; margin: 0; }
#aura-aicard-1750 .yd-stats{ display: flex; flex-wrap: wrap; gap: 10px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
#aura-aicard-1750 .yd-stat{ flex: 1 1 90px; min-width: 90px; }
#aura-aicard-1750 .yd-num{ font-size: 17px; font-weight: 700; color: #2563eb; line-height: 1.2; }
#aura-aicard-1750 .yd-label{ font-size: 11.5px; color: #4b5563; margin-top: 2px; line-height: 1.4; }
#aura-aicard-1750 .yd-actions{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#aura-aicard-1750 .yd-btn{ display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; background: #2563eb; color: #fff; transition: background .2s; }
#aura-aicard-1750 .yd-btn:hover{ background: #1d4ed8; }
#aura-aicard-1750 .yd-btn-ghost{ background: #fff; color: #2563eb; border: 1px solid #bfdbfe; }
#aura-aicard-1750 .yd-btn-ghost:hover{ background: #eff6ff; }
#aura-aicard-1750 .yd-tip{ font-size: 11.5px; color: #6b7280; }
html[data-theme="dark"] #aura-aicard-1750 .yd-title{ color: #f1f5f9; }
html[data-theme="dark"] #aura-aicard-1750 .yd-sub, html[data-theme="dark"] #aura-aicard-1750 .yd-tip{ color: rgba(203,213,225,.75); }
html[data-theme="dark"] #aura-aicard-1750 .yd-desc{ color: rgba(226,232,240,.82); }
html[data-theme="dark"] #aura-aicard-1750 .yd-item{ background: #1e293b; }
html[data-theme="dark"] #aura-aicard-1750 .yd-name{ color: #f1f5f9; }
html[data-theme="dark"] #aura-aicard-1750 .yd-note{ color: rgba(203,213,225,.78); }
html[data-theme="dark"] #aura-aicard-1750 .yd-stats{ background: #1e293b; border-color: #334155; }
html[data-theme="dark"] #aura-aicard-1750 .yd-num{ color: #60a5fa; }
html[data-theme="dark"] #aura-aicard-1750 .yd-label{ color: rgba(226,232,240,.8); }
html[data-theme="dark"] #aura-aicard-1750 .yd-btn{ background: #3b82f6; color: #fff; }
html[data-theme="dark"] #aura-aicard-1750 .yd-btn:hover{ background: #2563eb; }
html[data-theme="dark"] #aura-aicard-1750 .yd-btn-ghost{ background: transparent; color: #93c5fd; border-color: #3b82f6; }
html[data-theme="dark"] #aura-aicard-1750 .yd-btn-ghost:hover{ background: rgba(59,130,246,.14); }
@media (max-width: 520px){#aura-aicard-1750 .yd-grid{ grid-template-columns: repeat(2, 1fr); }
#aura-aicard-1750 .yd-btn{ flex: 1 1 100%; justify-content: center; }
}
/* auracard-fit-v1 */#aura-aicard-1750{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:hidden;}#aura-aicard-1750>div:first-child, #aura-aicard-1750>section:first-child{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border-style:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important;min-height:0!important;height:auto!important;}