@charset "UTF-8";
/*
Theme Name: CeoDocs Child
Template: ceodocs
Description: CeoDocs 子主题 - 为了复刻旧版本样式而创建
Version: 1.0.0
*/


/* ------------------------------------------------------------------------------
 * 内容区域最大宽度
 * 小屏（笔记本等）90%，大屏（>=1920px，27寸及更大）80%
 * ------------------------------------------------------------------------------ */

.ceo-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
}

/* 强制覆盖移动端宽度为 95% (防止被其他样式如 UIKit 覆盖) */
@media screen and (max-width: 1023px) {
    .ceo-container {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    /* Mobile Header Welcome Text Visibility Fix */
    .ceo-app-navbar .ceo-users-lore a i {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 9999;
    }
}


/* 适配更广泛的大屏（含窗口未满屏的 27" 显示器） */
@media screen and (min-width: 1600px) {
    .ceo-container {
        max-width: 80% !important;
    }
}

.ceo-app-navbar {
    border-bottom: 1px solid rgb(229, 230, 235);
    box-shadow: none;
}

.navBar_01_c {
    z-index: 998;
    box-shadow: none;
    background: #fff;
}

header.header_cus {
    box-shadow: none;
}

/* ==========================================================================
   Header Navbar Scrollbar Fix (Aggressive)
   ========================================================================== */
/* ==========================================================================
   Header Navbar Scrollbar Fix (Refined)
   ========================================================================== */

/* 1. Hide the decorative Gradient Bar (.fat) which adds extra 5px height causing overflow */
.navBar .fat {
    display: none !important;
}

/* 2. Hide scrollbar visually but keep scroll functionality if needed */
.navBar_01,
.navBar_02,
.site-header,
header,
.header_cus,
.navBar_01_s,
.navBar_01_c {
    /* Restore width and overflow for sticky to work */
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;

    /* Hide scrollbar for Chrome, Safari and Opera (Visual only) */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.navBar_01::-webkit-scrollbar,
.navBar_02::-webkit-scrollbar,
.site-header::-webkit-scrollbar,
header::-webkit-scrollbar,
.header_cus::-webkit-scrollbar,
.navBar_01_s::-webkit-scrollbar,
.navBar_01_c::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent;
}

/* ==========================================================================
   Header Navbar Styles (Added back by request)
   ========================================================================== */
.navBar_02 .nav>ul>li>a {
    padding: 0 !important;
}

.navBar_01 .nav>ul>li>a {
    padding: 0 !important;
}

.ceo-sidebar-shop1 .cosbtn {
    font-size: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #eceff1;
    padding-bottom: 20px;
}

/* ==========================================================================
   Sidebar Shop 1 (侧边栏购买/下载模块)
   ========================================================================== */
.ceo-sidebar-shop1 {
    padding: 30px;
}

.ceo-sidebar-shop1 .download-btn {
    border-top: 1px solid #f0f0f0;
    padding: 30px 0;
    margin-top: 15px;
    padding-bottom: 20px;
}

.ceo-sidebar-shop1 .download-btn a {
    display: block;
    height: 48px;
    line-height: 48px;
    padding: 0;
    font-size: 16px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
}

.ceo-sidebar-shop1 .download-btn a:hover {
    opacity: .8;
}

.ceo-sidebar-shop1 .download-btn a.download {
    position: relative;
    transition: all .3s ease;
    overflow: hidden;
    background: var(--primary-color);
}

.ceo-sidebar-shop1 .download-btn a.download i {
    font-size: 20px !important;
    transform: translateY(2px);
    margin-right: 10px;
}

.ceo-sidebar-shop1 .download-btn a.download:after {
    content: '';
    position: absolute;
    top: -5%;
    left: -30%;
    width: 20px;
    height: 110%;
    opacity: 0.2;
    visibility: visible;
    background-color: #ffffff;
    transform: skewX(10deg);
    transition: all ease 0.6s;
}

.ceo-sidebar-shop1 .download-btn a.demo {
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.ceo-sidebar-shop1 .download-btn a.demo i {
    font-size: 20px !important;
    transform: translateY(1px);
    margin-right: 10px;
}

.ceo-sidebar-shop1 .download-btn a.btn {
    margin-top: 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.ceo-sidebar-shop1 .download-btn a.btn i {
    font-size: 20px !important;
    transform: translateY(1px);
    margin-right: 10px;
}

.ceo-sidebar-shop1 .download-btn .btn-row {
    display: flex;
    gap: 20px;
}

.ceo-sidebar-shop1 .download-btn .btn-row .download {
    flex: 7 1 0;
}

.ceo-sidebar-shop1 .download-btn .btn-row .btn-collect {
    flex: 3 1 0;
    display: block;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 8px;
    background: #e8eaec;
    color: #1f2430;
}

.ceo-sidebar-shop1 .download-btn .btn-row .btn-collect .add-collection i,
.ceo-sidebar-shop1 .download-btn .btn-row .btn-collect .cancel-collection i {
    display: none !important;
    margin: 0 !important;
}

.btn-collect a {
    color: #1f2430 !important;
}

.ceo-sidebar-shop1 ul.list {
    background: rgb(246 247 249 / 62%);
    padding: 20px;
    border-radius: 8px;
}

.ceo-sidebar-shop1 ul.list li {
    display: block;
    margin-bottom: 20px;
}

.ceo-sidebar-shop1 ul.list li p {
    display: inline-block;
    color: #888;
}

.ceo-sidebar-shop1 ul.list li em {
    float: right;
    color: #888;
}

.ceo-sidebar-shop1 ul.list li em a {
    color: #888;
}

.ceo-sidebar-shop1 ul.list li em a:hover {
    color: #202020;
}

/* Toggle/Collect Text (Custom Add-on for Child Theme consistency) */
.btn-collect .add-collection a:after {
    content: "收藏";
}

.btn-collect .cancel-collection a:after {
    content: "已收藏";
}

/* Manually added padding to match shop1 */
.ceo-sidebar-title {
    font-size: 22px;
    line-height: 30px;
    margin: 0 0 20px 0;
    color: #1f2430;
    font-weight: 700;
    word-break: break-word;
    white-space: normal;
}

.ceo-sidebar-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ceo-sidebar-chips a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgb(246 247 249 / 62%);
    color: #3b4455;
    font-size: 12px;
}

.ceo-sidebar-chips a:hover {
    background: #eef2ff;
    color: var(--primary-color);
}

/* ==========================================================================
   Sidebar Shop More (Other Posts)
   ========================================================================== */
.ceo-sidebar-shop-more {
    padding: 30px;
}

.ceo-sidebar-shop-more .recommend-title {
    margin-bottom: 20px;
    align-items: center;
}

.ceo-sidebar-shop-more .recommend-title span {
    font-size: 16px;
}

.ceo-sidebar-shop-more .recommend-title a {
    font-size: 14px;
    color: #9da3ac;
}

.ceo-sidebar-shop-more .recommend-title a:hover {
    color: #202020;
}

.ceo-sidebar-shop-more .recommend-title a i {
    margin-left: 3px;
}

.ceo-sidebar-shop-more .thumb {
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    padding-bottom: 150%;
}

.ceo-sidebar-shop-more .quick a {
    margin-bottom: 10px;
    display: block;
}

.ceo-sidebar-shop-more .quick a:last-child {
    margin-bottom: 0px;
}

.ceo-sidebar-shop-more .quick .btns {
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 0;
    border-radius: 8px;
}

.ceo-sidebar-shop-more .quick .btns:hover {
    color: #fff;
    background: var(--primary-color);
}

.ceo-sidebar-shop-more .quick .btns i.ceoicon-funds-line {
    font-size: 23px !important;
    transform: translateY(-1px);
    margin-right: 10px;
    vertical-align: top;
}

.ceo-sidebar-shop-more .quick .btns i.ceoicon-arrow-right-s-line {
    font-size: 16px !important;
    margin-right: 0;
    margin-left: 5px;
    vertical-align: inherit;
}

/* ==========================================================================
   Content Single (Article Content)
   ========================================================================== */
.ceo-single-content {
    padding: 0px;
}

/* Adding padding-top to fix header spacing issue like before */
.ceo-single-content .content-box {
    padding: 0px;
}

.ceo-single-content .content-box .single-content p {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.ceo-single-content .content-box .header {
    margin-bottom: 25px;
}

.ceo-single-content .content-box .header .title {
    align-items: center;
}

.ceo-single-content .content-box .header .title h1 {
    font-size: 20px;
    display: block;
    padding-right: 20px;
    line-height: 28px;
}

.ceo-single-content .content-box .header .title .s {
    background: url(../../static/images/s.png) no-repeat;
    width: 26px;
    height: 26px;
    display: inline-block;
    margin-right: 8px;
    transform: translateY(2px);
}

.ceo-single-content .content-box .header .title .t {
    background: var(--primary-color);
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    padding: 3px 6px;
    transform: translateY(2px);
    margin-right: 8px;
}

.ceo-single-content .content-box .header .title .t i {
    margin-right: 3px;
}

.ceo-single-content .content-box .header .title .edit a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
    background: #f7f7f7;
    color: #8693ab;
    border: 1px solid #eaeaea;
}

/* Responsive Fixes (Original from Old Theme) */
@media screen and (min-width: 1024px) {
    .ceo-single-content .ceo-grid-ceosmls {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .ceo-single-content .ceo-grid-ceosmls>.ceo-width-7-0\@s {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ceo-single-content .ceo-grid-ceosmls {
        gap: 24px;
        grid-gap: 60px;
    }
}

@media screen and (max-width: 1023px) {

    /* <1024 时改为纵向堆叠 */
    .ceo-single-content .ceo-grid-ceosmls {
        display: block;
    }

    .ceo-single-content .ceo-grid-ceosmls>* {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 移除移动端内容块内边距，让图片撑满 (User Requested Fix) */
    .ceo-single-content .content-box {
        padding: 0 !important;
    }

    /* Container Padding Fix */
    .ceo-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* 让正文媒体在小屏也能自适应容器宽度 */
/* 让正文媒体在小屏也能自适应容器宽度 */
.ceo-single-content .content-box .single-content img,
.ceo-single-content .content-box .single-content video,
.ceo-single-content .content-box .single-content iframe,
.ceo-single-content .content-box .single-content .wp-caption {
    max-width: 100% !important;
    height: auto !important;
}

.ceo-grid-ceosmls,
.ceo-grid-column-ceosmls {
    margin-top: 0px !important;
}

/* 标题在小屏稍作缩放 */
@media screen and (max-width: 767px) {
    .ceo-single-content .content-box .header .title h1 {
        font-size: 18px;
        line-height: 26px;
    }
}

/* 资源页右侧：标签下方分割线 */
.ceo-sidebar-divider {
    height: 1px;
    background: #edf1f2;
    margin: 15px 0;
}

/* 用户中心 */
.member-module {
    border-radius: 8px 8px 0 0;
}

.member-center .top .right {
    padding: 20px;
    border-radius: 8px;
}

.member-center .top .left .above {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.member-center .middle .item {
    border-radius: 8px;
}

.member-center .bottom {
    border-radius: 8px;
}

.theiaStickySidebar .member-data {
    border-radius: 0 0 8px 8px;
}

/* Ͷ�尴ť��ǩ��ʽ (Restored from old theme) */
.navBar_delivery a.tougao {
    position: relative;
}

.navBar_delivery a.tougao .delivery-tag {
    position: absolute;
    top: -4px;
    right: -24px;
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 8px 8px 8px 0;
    line-height: 1;
    white-space: nowrap;
    min-width: 20px;
    text-align: center;
    z-index: 10;
}

@media (max-width: 767px) {
    .navBar_delivery a.tougao .delivery-tag {
        font-size: 8px;
        padding: 1px 4px;
        top: -6px;
        right: -6px;
    }
}

.navBar_delivery {
    position: relative;
    margin-right: 40px;
}

.navBar_delivery a.tougao i {
    font-size: 24px !important;
    margin-right: 5px;
    transform: translateY(2px);
    color: #1b2337;
}

.navBar_delivery a {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    color: var(--primary-color);
    background: #fff;
    height: 36px;
    line-height: 36px;
    border-radius: 8px;
    padding: 0 0px
}

.navBar_01_c .navBar_delivery a {
    background: transparent;
}

header.header_cus .navBar_delivery a {
    background: transparent;
}

.navBar_01 .navBar_search {
    margin-right: 0px;
}

.ceo-home-slide1 {
    height: 475px;
}

.ceo-home-slide1 .slide1-title {
    padding: 0 15px;
    padding-top: 205px !important;
}

/* 首页幻灯片移动端适配 */
@media (max-width: 767px) {
    .ceo-home-slide1 {
        height: 320px !important;
        /* 减小移动端高度 */
    }

    .ceo-home-slide1 .slide1-title {
        padding-top: 120px !important;
        /* 调整移动端顶部间距 */
    }

    .ceo-home-slide1 .slide1-title .big_title.slide_text {
        font-size: 22px !important;
        /* 增大文字大小 */
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }

    .ceo-home-slide1 .slide1-desc {
        font-size: 14px !important;
        margin-top: 10px !important;
    }
}

/* iPad Pro / Medium Screen Navigation Fix (1024px - 1280px) */
@media screen and (max-width: 1280px) and (min-width: 1024px) {
    .navBar-box {
        padding: 0 15px !important;
    }

    .navBar_01 .nav>ul {
        margin-left: 12px !important;
    }

    .navBar_01 .nav>ul>li {
        margin-right: 12px !important;
    }

    .navBar_01 .navBar-box .whole {
        margin-left: 12px !important;
    }

    .navBar_01 .navBar_search {
        margin-right: 12px !important;
    }

    .navBar_01 .navBar_search .search input {
        min-width: 120px !important;
    }

    .navBar_01 .navBar_search .search input:focus {
        min-width: 160px !important;
    }

    .navBar_info a,
    .navBar_vip a {
        margin-right: 8px !important;
    }
}



/* 主题bug：短信登录未开启时，登录提示先获取验证码 */
.registersms {
    display: none;
}