/*
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2024-01-03 00:15:11
 * @LastEditors: iowen
 * @LastEditTime: 2024-01-13 11:05:39
 * @FilePath: \onenavsub\assets\css\sub-style.css
 * @Description: 自定义样式
 */

@media (min-width: 1200px) {
    body.home .ioui-aside.switch-container {
        left: max(16px, calc((100vw - 1580px) / 2 + 16px));
        right: auto;
        width: 176px;
        max-width: 176px;
        margin-left: 0;
        margin-right: 0;
    }

    body.home .header-banner .switch-container.search-container,
    body.home section[id^="module_id_"] > .ioui-content.switch-container,
    body.home .container-footer.switch-container {
        width: calc(100% - 280px);
        max-width: 1500px;
        margin-left: 212px;
        margin-right: 24px;
    }
}

@media (max-width: 1199.98px) {
    body.home .ioui-aside.switch-container {
        display: none !important;
    }

    body.home .header-banner .switch-container.search-container,
    body.home section[id^="module_id_"] > .ioui-content.switch-container,
    body.home .container-footer.switch-container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-left: 16px;
        margin-right: 16px;
    }

    body.home .home-container.sidebar_right .sidebar-tools {
        display: none !important;
    }
}

body.home .io-widget-about-website .about-cover {
    background-image: linear-gradient(135deg, #4f08a8 0%, #8f16c8 52%, #e21ac7 100%) !important;
    color: #fff;
}

body.home .io-widget-about-website .about-cover .avatar-md {
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    overflow: hidden;
}

body.home .io-widget-about-website .about-cover .avatar-md img {
    object-fit: contain;
    padding: 8px;
}

body.home .io-widget-about-website .social-icon {
    background: rgba(255, 255, 255, .18);
    border-radius: 8px;
}

body.home .io-widget-about-website .social-icon a,
body.home .io-widget-about-website .add-to-favorites a {
    color: #fff;
}

body.home .wzdq-header-fixed .container-header {
    max-width: 1500px;
}

body.home .wzdq-header-fixed .header-nav {
    margin: 8px;
    border-radius: 8px;
    overflow: hidden;
}

body.home .wzdq-header-fixed .navbar-logo img {
    display: block;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

body.home .wzdq-header-fixed .navbar-header {
    gap: 4px;
}

body.home .wzdq-header-fixed .navbar-header > .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 10px;
    color: rgba(32, 32, 42, .72);
    white-space: nowrap;
}

body.home .wzdq-header-fixed .navbar-header > .menu-item > a:hover {
    color: var(--theme-color, #f0445a);
}

@media (min-width: 1200px) {
    body.home .header-banner .big-search {
        max-width: 820px;
    }
}

@media (min-width: 1800px) {
    body.home .header-banner {
        min-height: 520px;
    }
}

body.home .io-widget-hot-api .hot-body,
body.home .io-widget-hot-api .hot-body ul,
body.home .posts-hot-list {
    overflow: hidden;
}

body.home .io-widget-hot-api .hot-body li,
body.home .posts-hot-list li {
    min-width: 0;
}

body.home .wzdq-hot-strip {
    width: calc(100% - 280px);
    max-width: 1500px;
    margin: -118px 24px 56px 212px;
    position: relative;
    z-index: 3;
}

body.home .wzdq-hot-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(78, 50, 120, .13);
    backdrop-filter: blur(16px);
}

body.home .wzdq-hot-title {
    flex: 0 0 auto;
    font-size: 14px;
    color: #565b66;
}

body.home .wzdq-hot-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

body.home .wzdq-hot-list a {
    display: block;
    min-width: 0;
    padding: 8px 12px;
    color: #60656f;
    background: rgba(255, 255, 255, .46);
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home .wzdq-hot-list a:hover {
    color: var(--theme-color, #f0445a);
    background: rgba(255, 255, 255, .76);
}

body.home .wzdq-hot-join {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #ff6d2d;
    border: 1px solid #ff8c45;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    body.home .wzdq-hot-strip {
        width: calc(100% - 32px);
        max-width: 100%;
        margin: -86px 16px 36px 16px;
    }

    body.home .wzdq-hot-inner {
        min-height: auto;
        align-items: flex-start;
    }

    body.home .wzdq-hot-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.home .wzdq-hot-strip {
        display: none;
    }
}
