/*调整全局字体大小*/
body,html{font-size:14px;}

/*左导航悬浮sidebar-menu-inner宽度调整为90px*/
.sidebar-popup.sidebar-menu-inner > div > ul > li.sidebar-item>ul{position:absolute;top:0px;left:10px;width:90px;z-index:99}
.sidebar-popup.sidebar-menu-inner ul{width:90px}
.sidebar-popup.sidebar-menu-inner ul li{width:90px}

/*隐藏左导航scrollbar*/
.sidebar-menu.flex-fill::-webkit-scrollbar{display:none}

/*搜索框搜索图标颜色*/
#search button i{color:#6C757D;font-size:18px}

/*顶部导航栏字体+图标颜色*/
.big-header-banner .page-header{color:#ffffff;background:rgba(255,255,255,0);box-shadow:none;transition:color .3s,background-color .3s}
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item){color:#ffffff;}
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover{color:#dc3545;}
.big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#ffffff;}
.big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#ffffff;}

/*搜索栏字体+背景*/
.header-big #search-text{color:#6C757D;}
.io-black-mode .header-big #search-text{color:#fff;}

/*搜索activate图标颜色*/
.header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#ffffff transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}

/*主页搜索搜索框(头+底部)字体颜色*/
.header-big:not(.no-bg) .s-type-list{color:#20c997}
.header-big:not(.no-bg) .text-muted,.header-big:not(.no-bg) .search-type .menu-item a,.header-big:not(.no-bg) .big-title .h1{color:#ffffff!important}

/*主页header-banner底部宽度*/
.post-top{padding-bottom:50px}

/*左导航二级导航标题左侧距离*/
.sidebar-menu-inner ul li ul li a{margin-left:30px;}

/*头部导航二级导航iconfont图标*/
.navbar-collapse ul li.menu-item-has-children:after{content:'\e612';}

/*搜索部分背景样式*/
.header-big.css-color{background-size:unset;background-position:unset;animation:unset;}

/*搜索热词样式调整*/
.search-hot-text{
    position: absolute;
    z-index: 100;
    width: 100%;
    border-radius: 0 0 10px 10px;
    background: #FFF;
    box-shadow: 0px 4px 5px 0px #cccccc94;
    overflow: hidden;
}
.search-hot-text ul{
    margin: 0;
    padding: 5px 0;
}
.search-hot-text ul li{
    line-height: 30px;
    font-size: 14px;
    padding: 0px 25px;
    color: #777;
    cursor: pointer;
}
.io-black-mode .search-hot-text ul li{
    color: #fff;
}    
.search-hot-text ul li.current{
    background: #f1f1f1;
    color: #2196f3;
}
.search-hot-text ul li:hover{
    background: #f1f1f1;
    color: #2196f3;
    cursor: pointer;
}
.search-hot-text ul li span{
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background: #e5e5e5;
    margin-right: 10px;
    border-radius: 10px;
    color: #999;
}

footer.main-footer .footer-text {
    text-align: center;
}
footer.main-footer .footer-text a {
    color: #007bff;
}
footer.main-footer .footer-text a:hover {
    color: red;
}

/*About页面*/
.panel .panel-body a {color: #007bff;}
.panel .panel-body a:hover {color: #979898;}

/*网格背景*/
.io-grey-mode .page-container .grid-bg {
    background-image: linear-gradient(rgba(50, 0, 0, 0.05) 1px, transparent 0), linear-gradient(90deg, rgba(50, 0, 0, 0.05) 1px, transparent 0); 
    background-size: 15px 15px;
    background-color: #d8d8d8;
}

/*导航 Logo 图标裁剪边角*/
.url-card .url-img > img {
    border-radius: 20%;
}

/* Hub page visual refresh */
body,
html {
    font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans", sans-serif;
}

#search-bg {
    position: relative;
    overflow: hidden;
    background-position: center center !important;
    background-size: cover !important;
}

#search-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(6, 18, 45, 0.78) 0%, rgba(13, 31, 64, 0.62) 48%, rgba(29, 58, 92, 0.42) 100%);
}

#search-bg .s-search {
    position: relative;
    z-index: 2;
}

.hub-hero-title {
    font-size: clamp(1.5rem, 3.2vw, 2.45rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #f2f7ff;
    text-shadow: 0 4px 22px rgba(4, 10, 27, 0.55);
}

.hub-hero-intro {
    max-width: 920px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(232, 241, 255, 0.94);
}

.hub-search-wrap {
    max-width: 540px;
}

.hub-search-wrap .super-search-fm {
    border-radius: 26px;
    box-shadow: 0 12px 35px rgba(8, 20, 44, 0.34);
}

.hub-search-input {
    outline: 0;
    height: 46px !important;
    border-radius: 26px !important;
    padding-left: 22px !important;
}

#content h2,
#content h3 {
    word-break: break-word;
}

#content h2 {
    color: #2a3140;
    font-weight: 700;
}

#content h3 {
    color: #2f3c50;
    font-weight: 600;
}

.hub-section-desc {
    color: #5f6d82;
    font-size: 0.96rem;
    line-height: 1.6;
}

.hub-section-desc-primary {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(8, 18, 36, 0.4);
}

.sidebar-logo .brand-with-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.sidebar-logo .brand-with-text .brand-icon {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-logo .brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2d40;
    letter-spacing: 0.01em;
}

.io-black-mode .sidebar-logo .brand-name {
    color: #e8eef8;
}

.tool-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 12px;
}

.hub-tool-col {
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    display: flex;
    min-width: 260px;
}

.hub-tool-card {
    width: 100%;
}

.hub-tool-card .tool-card-shell {
    border-radius: 14px;
    border: 1px solid rgba(28, 53, 91, 0.12);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(17, 34, 68, 0.08);
    overflow: hidden;
    min-height: 166px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hub-tool-card .tool-card-shell:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 91, 173, 0.24);
    box-shadow: 0 16px 28px rgba(13, 33, 67, 0.18);
}

.hub-tool-card .card-body {
    padding: 14px 14px 12px;
}

.hub-tool-card .url-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff5ff;
}

.hub-tool-card .url-img img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hub-tool-card .url-info strong {
    font-size: 0.97rem;
    line-height: 1.3;
    color: #1f2d40;
}

.hub-tool-card .tool-topic {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 0.55rem 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #3e557e;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hub-tool-card .tool-desc {
    color: #5b6575 !important;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.1em;
}

.hub-tool-card .tool-card-shell:hover .tool-desc {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
}

.hub-tool-card .tool-cta {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
}

@media (max-width: 992px) {
    .hub-hero-intro {
        font-size: 0.96rem;
    }

    .hub-section-desc-primary {
        font-size: 0.98rem;
    }

    .hub-tool-col {
        flex: 0 0 calc(50% - 7px);
        width: calc(50% - 7px);
        max-width: calc(50% - 7px);
        min-width: 0;
    }
}

@media (max-width: 390px) {
    .hub-hero-title {
        font-size: 1.35rem;
    }

    .hub-hero-intro {
        font-size: 0.91rem;
        line-height: 1.55;
        padding: 0 8px;
    }

    .hub-section-desc-primary {
        font-size: 0.92rem;
    }

    .hub-tool-card .card-body {
        padding: 12px;
    }

    .hub-tool-card .tool-desc {
        -webkit-line-clamp: 4;
        min-height: auto;
    }

    .hub-tool-col {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}









