/*
Theme Name: zibllchild
Template: zibll
Version: 1.0
/* 隐藏导航栏选中项/悬停时的下划线效果，但保留文字高亮 */
.navbar-top li.current-menu-item:before,
.navbar-top li.current-menu-item > a:before,
.navbar-top li:hover:before,
.navbar-top li:hover > a:before {
    opacity: 0 !important;
}

/* 给底部footer第三个及以后的list-inline项增加右边距 */
.footer .list-inline > li + li + li {
    float: right;
    margin-right: 50px;
}

/* 网格列表卡片，电脑端一行4改5 */
@media (min-width: 992px) {
  .fluid-widget-wrap .card,
  .site-layout-1 .card {
    width: calc(20% - 16px) !important;
  }
}

/* 隐藏虚线边框效果 */
.hidden-box {
    border: none !important;
    border-bottom: none !important;
    border-right: none !important;
}

/* 分类标签：深色模式白色文字，浅色模式黑色文字，圆角改为半圆，背景透明，边框和文字图标都带透明度 */
.but.c-blue, .but.c-blue-2, .but.c-cyan, .but.c-gray, .but.c-green, .but.c-green-2,
.but.c-purple, .but.c-purple-2, .but.c-red, .but.c-red-2, .but.c-theme, .but.c-white,
.but.c-yellow, .but.c-yellow-2 {
    color: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.6) !important;
    border-radius: 999px !important;
    background: transparent !important;
}

.but.c-blue i, .but.c-blue-2 i, .but.c-cyan i, .but.c-gray i, .but.c-green i, .but.c-green-2 i,
.but.c-purple i, .but.c-purple-2 i, .but.c-red i, .but.c-red-2 i, .but.c-theme i, .but.c-white i,
.but.c-yellow i, .but.c-yellow-2 i {
    color: rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .but.c-blue, body.dark-theme .but.c-blue-2, body.dark-theme .but.c-cyan,
body.dark-theme .but.c-gray, body.dark-theme .but.c-green, body.dark-theme .but.c-green-2,
body.dark-theme .but.c-purple, body.dark-theme .but.c-purple-2, body.dark-theme .but.c-red,
body.dark-theme .but.c-red-2, body.dark-theme .but.c-theme, body.dark-theme .but.c-white,
body.dark-theme .but.c-yellow, body.dark-theme .but.c-yellow-2 {
    color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
}

body.dark-theme .but.c-blue i, body.dark-theme .but.c-blue-2 i, body.dark-theme .but.c-cyan i,
body.dark-theme .but.c-gray i, body.dark-theme .but.c-green i, body.dark-theme .but.c-green-2 i,
body.dark-theme .but.c-purple i, body.dark-theme .but.c-purple-2 i, body.dark-theme .but.c-red i,
body.dark-theme .but.c-red-2 i, body.dark-theme .but.c-theme i, body.dark-theme .but.c-white i,
body.dark-theme .but.c-yellow i, body.dark-theme .but.c-yellow-2 i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ===== 刊目导航小工具 ===== */
.widget_zibllchild_vol_widget {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
}
.widget_zibllchild_vol_widget .title-theme {
    background: transparent !important;
}
.vol-sidebar-body {
    padding: 8px 0;
}
.vol-sidebar-list {
    list-style: none !important;
    padding: 0;
    padding-right: 4px;
    margin: 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent !important;
}
.vol-sidebar-list::-webkit-scrollbar {
    width: 3px !important;
    background: transparent !important;
}
.vol-sidebar-list::-webkit-scrollbar-track {
    background: transparent !important;
}
.vol-sidebar-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    transition: background 0.2s;
}
.vol-sidebar-list:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35) !important;
}
.vol-sidebar-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.vol-sidebar-list li:last-child {
    border-bottom: none;
}
.vol-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888;
    flex-shrink: 0;
    margin-top: 6px;
}
.vol-sidebar-list li.active .vol-dot,
.vol-sidebar-list li:hover .vol-dot {
    background: #B7CC3B;
}
.vol-sidebar-list li.active a {
    color: #B7CC3B;
    font-weight: bold;
}
.vol-sidebar-list a {
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.5;
    flex: 1;
}
.vol-sidebar-list a:hover {
    color: #B7CC3B;
}

/* 移动端首页图标卡片按钮上下间距 */
.row.gutters-5 .icon-card.mb20 {
    margin-top: 12px;
    margin-bottom: 0 !important;
  }
 
 /* 去除全站标题下划线 */ 
  .tab-nav-theme li:before,
.title-h-center:before,
.title-h-left:before,
.wp-posts-content>h1.wp-block-heading:before,
.wp-posts-content>h1:not([class]):before,
.wp-posts-content>h2.wp-block-heading:before,
.wp-posts-content>h2:not([class]):before,
.wp-posts-content>h3.wp-block-heading:before,
.wp-posts-content>h3:not([class]):before,
.wp-posts-content>h4.wp-block-heading:before,
.wp-posts-content>h4:not([class]):before,
.zib-widget>h3:before {
    display: none !important;
}

/* ===== 阅览室-文章页调整 1：隐藏付费内容边框 ===== */
.hidden-box {
    border: none;
}

.hidden-box.show .hidden-text {
    border-bottom: none;
    border-right: none;
}

/* ===== 阅览室-文章页调整 2：去掉提示词后，一并去掉顶部占位空隙 ===== */
.hidden-box.show.no-label {
    padding-top: 0;
}

/* ===== 用户中心侧栏：用户中心/我的订单/退出登录 图标文字改黑白（更亮） ===== */
.sub-user-box .header-user-href {
    filter: grayscale(100%) brightness(0.4);   /* 浅色：压暗成深灰 */
}
body.dark-theme .sub-user-box .header-user-href {
    filter: grayscale(100%) brightness(1.8);   /* 深色：提亮成浅色 */
}

/* ===== 用户中心：隐藏"打赏收款"功能入口 ===== */
.icon-but-rewards {
    display: none;
}


/* 文章目录小工具 - 缩小标题底部间距 */
.posts-nav-box .title-theme {
    margin-bottom: -3px !important;
    padding-bottom: 0 !important;
}

/* 缩小"文章目录"小工具底部间距，不影响其他 .zib-widget */
.posts-nav-box .zib-widget {
    margin-bottom: 15px !important;
}

/* 隐藏无评论时的占位插图 */
.comment-null img {
  display: none !important;
}

/* 隐藏评论标题的“抢沙发”小字 */
#comments .title-theme small {
  display: none !important;
}