@media all and (max-width: 1440px) {
    :root {
        --gap: 18px;
    }
}

@media all and (max-width: 960px) {
    :root {
        --gap: 16px;
    }

    .log-list-text .log-list-text-item {
        width: 100%;
    }

    .col-md-4 {
        width: 25%;
    }

    .mobile-full-width {
        width: 100%;
    }

    .mobile-flex-column {
        flex-direction: column;
    }

    .mobile-no-padding {
        padding: 0;
    }

    .mobile-no-padding-left {
        padding-left: 0;
    }

    .mobile-no-margin {
        margin: 0;
    }

    .mobile-d-block {
        display: block;
    }

    .mobile-center {
        text-align: center;
        display: block;
        margin: 0 auto;
    }

    .header .blur-bg {
        padding: 20px;
    }

    .container, .content-wrap {
        max-width: 100%
    }

    .home .section {
        display: block;
    }

    .home .section .left,
    .home .section .right {
        width: 100%;
    }

    .home-download {
        margin-top: 15px;
        white-space: nowrap;
    }

    .navbar {
        justify-content: space-between;
        height: 56px;
    }

    .home .slider .swiper-container,
    .slider .swiper-container {
        height: 4rem
    }

    .nav .icon-menu {
        display: inline-block;
    }

    .nav .logo {
        font-size: 0.3rem;
        margin: 0;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .slider .slider-title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .menu {
        position: fixed;
        left: 0;
        top: 0;
        display: none;
        width: 60%;
        height: 100vh;
        box-sizing: border-box;
        z-index: 997;
        line-height: 45px;
        overflow-y: auto;
        background: var(--background-color);
        box-shadow: 1px 0 100px rgba(0, 0, 0, .5);
        backdrop-filter: blur(40px);
        padding-top: 56px;
    }

    .menu li {
        display: block;
        text-align: center;
    }

    .menu-item .sub-menu {
        position: initial;
        transform: translate(0);
        display: none;
        width: 100%;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-left: none;
        border-right: none;
        border-radius: 0
    }

    .menu-item span:after {
        display: none
    }

    .content-wrap .content,
    .content {
        float: none;
        width: 100%
    }

    .sidebar {
        display: none
    }

    .footer {
        display: none
    }

    .site-tools {
        bottom: 10px;
        right: 10px;
        margin-bottom: 0;
    }

    .site-tools .item {
        width: 1rem;
        height: 1rem;
        line-height: 1rem
    }

    /* 经典图文-移动端 */
    .log-list-default-item {
        display: block
    }

    .log-list-default-item .cover-image {
        width: 100%;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        margin-bottom: var(--gap);
    }

    .log-list-default-item .cover-image img {
        margin: 0 auto;
        min-height: fit-content;
        display: block;
    }

    .home .log-list-default .log-list-default-item .cover-image {
        width: 100%;
    }

    .log-list-default-item .description,
    .log-list-default-item .info {
        display: none;
    }

    .sort-desc {
        border-radius: 0;
    }

    .log-title {
        font-size: 20px;
    }

    .form-group .btn {
        width: 100%
    }

    .card-head {
        padding-left: 15px
    }

    .card-body {
        padding: 15px;
    }

    .search-list {
        padding: 15px
    }

    .search-list-item {
        height: auto;
        white-space: initial
    }

    .search-list-item .pull-right {
        display: none
    }

    .user-list li {
        width: 33.33%
    }

    .search-form form,
    .search-form .tag-list {
        width: 100%;
    }

    .log-list-community .statistic {
        display: none;
    }

    .log-list-community .log-list-community-item {
        border-bottom: 2px dashed var(--line-color);
    }

    .log-list-community .log-list-community-item .title {
        padding: 0;
    }

    .log-list-community .log-list-community-item .title h3 {
        font-weight: bold;
        margin-bottom: 0;
    }

    .log-list-community .date {
        text-align: left;
        margin-top: 10px;
    }

    .log-list-community .log-list-community-item,
    .comment-user {
        flex-direction: column;
    }

    .comment-user .form-group {
        width: 100%;
    }

    .log-body {
        line-height: 1.5;
    }

    .log-body .btn-box .btn {
        display: block;
        margin-bottom: 10px;
    }

    .log-hide-content {
        flex-direction: column;
    }

    .log-body .log-hide-content .input {
        width: 100%;
        margin-bottom: 10px;
    }

    .log-body .log-hide-content .hide-card-right {
        width: 100%;
    }

    .home-cms-left,
    .home-cms-right {
        width: 100%;
        padding-right: 0;
        margin-bottom: 15px;
    }


    .log-list-book .log-list-book-item {
        width: calc((100% - var(--gap)) / 2);
    }

    .log-list-card .log-list-item {
        width: 100%;
    }

    .links-item {
        width: calc((100% - var(--gap)) / 2);
    }

    .log-info .item {
        margin-right: 10px
    }

    .comment-box .comment {
        padding: 10px;
    }

    .tag-card .tag {
        width: 50%;
    }
}


@media all and (max-width: 768px) {
    :root {
        --gap: 10px;
    }

    .col-sm-2 {
        width: 50%;
    }
}

@media screen and (max-width: 599px) {
    .images {
        width: 100%;
    }

    .images .img-item {
        width: 50%;
    }
}