﻿@media (max-width: 1600px) {
    .post-card .stat-box {
        width: 82px;
        height: 100px;
    }

    .post-card .tags span {
        padding: 4px 8px;
        font-size: 13px;
        margin-right: 5px;
    }

    .post-card .tags {
        display: flex;
        flex-wrap: wrap;
    }

    .post-card {
        gap: 14px;
        padding: 10px;
    }

        .post-card .post-title {
            font-size: 15px;
        }

        .post-card .stat-box .icon {
            width: 30px;
            height: 30px;
        }

        .post-card .stat-box {
            width: 88px;
            height: 88px;
            padding: 10px;
        }

    .forum-right {
        overflow: inherit;
    }

    .forum-center .post-card p {
        font-size: 13px;
    }
}

@media (max-width: 1500px) {
    .forum-layout {
        grid-template-columns: 220px minmax(0, 1fr) 290px;
    }

    .forum-card .card-body {
        padding: 15px 11px;
    }

        .forum-card .card-body .pr {
            font-size: 13px;
        }

    .post-card .stat-box {
        padding: 7px;
    }
}

@media (max-width: 1280px) {
    .forum-layout {
        grid-template-columns: 280px minmax(0, 1fr) 280px;
    }

    .post-card .post-title {
        font-size: 14px;
    }

    .post-card .stat-box {
        width: 80px;
        height: 90px;
    }

    .post-card .post-right {
        grid-template-columns: repeat(2, 1fr);
        width: 32%;
    }

    .post-card {
        gap: 0px;
    }

        .post-card .stat-box .icon {
            width: 30px;
            height: 30px;
            padding: 8px;
        }

        .post-card .stat-box .num {
            font-size: 13px;
        }

        .post-card .tags {
            display: flex;
            gap: 2px;
        }

    .post-card {
        gap: 11px;
        height: 270px;
    }

        .post-card .stat-box .icon {
            width: 30px;
            height: 30px;
        }

        .post-card .desc {
            font-size: 13px;
        }

        .post-card .tags span {
            margin-right: 2px;
        }

        .post-card .stat-box {
            font-size: 13px;
        }

    .forum-center .post-card p {
        font-size: 13px;
    }

    .forum .center-header .center-title {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .post-card {
        display: block;
    }

        .post-card .post-right {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }

        .post-card .stat-box {
            width: 23%;
        }

        .post-card .post-left {
            margin-bottom: 12px;
        }

    .post-card {
        height: auto;
    }

    .topics-section.group-section .post-card {
        height: auto;
    }
}

@media (max-width: 1080px) {
    .forum .center-header .center-title {
        font-size: 18px;
    }
}

@media (max-width: 992px) {

    .forum-layout {
        display: flex;
        flex-wrap: wrap;
    }

        .forum-layout .forum-center {
            order: 1;
        }

        .forum-layout .forum-right {
            order: 2;
        }

    .form-left {
        order: 3;
        width: 100%;
    }

    .post-card {
        height: auto;
    }

    .topics-section.group-section .post-card {
        height: auto;
        display: flex;
    }

    .forum-right {
        position: static;
        max-height: 100%;
        display: block;
        width: 100%;
    }

    .forum-filters .filter-tab {
        line-height: normal;
    }
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }

    .topics-section.group-section .post-card {
        height: auto;
    }

    .post-right {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
    }

    .stats-container .top-stats {
        justify-content: center;
        text-align: center;
    }

    .stats-container .middle-section {
        flex-direction: column;
        gap: 14px;
    }

    .stats-container .stat-box {
        flex: 40%;
    }

    .post-card .post-right {
        display: grid;
        grid-template-columns: auto auto auto auto;
    }

    .post-card .profile {
        float: left;
    }

    .post-card .stat-box {
        width: 100%;
    }

    .stats-container .stat-box {
        text-align: left;
    }

    .stats-container .stat-box {
        flex: 10%;
    }

    .detail-forum-layout .post-card .post-left .profile {
        float: none;
    }

    .sign-up-wrap .login-container, .login-wrap .login-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0 0 15px 15px;
    }

    .sign-up-wrap, .login-wrap {
        display: block;
        height: auto;
        overflow: inherit;
    }

        .sign-up-wrap .left-form-box, .login-wrap .left-form-box {
            width: 100%;
            border-radius: 15px 15px 0 0;
        }

    .page-title {
        margin-top: 0;
    }

    .forum .breadcrumb-container {
        justify-content: center;
    }

    .block-wrap {
        display: block;
    }

        .block-wrap .link-box {
            width: 100%;
        }

    .stats-container .inline-box {
        display: block;
    }
}

@media (max-width: 575px) {
    .forum-center .post-card p {
        font-size: 13px;
    }

    .stats-container .stat-box {
        flex: 7%;
    }

    .comment-section .replies {
        margin-left: 18px;
    }

        .comment-section .replies .avatar {
            width: 40px;
            height: 40px;
        }

    .pagination-container .prev-text, .pagination-container .next-text {
        font-size: 13px;
    }

    .pagination-container .arrow-btn {
        width: 30px;
        height: 30px;
    }

    .pagination-container .page.active {
        padding: 4px 10px;
        font-size: 13px;
    }

    .pagination-container .pagination {
        gap: 10px;
        padding: 10px 14px;
        margin: 0;
    }

    .comment-section p {
        font-size: 14px;
    }

    .forum {
        padding: 25px 16px 33px;
    }

    .pagination-container {
        margin-top: 0;
    }

    .comment-section .replies .pagination-container .pagination span {
        font-size: 14px;
        padding: 2px 9px;
    }

    .comment-section .replies .pagination-container .arrow-btn {
        width: 26px;
        height: 26px;
    }

    .pagination-container .dots {
        padding: 0;
    }

    .detail-forum-layout .grp-wrap {
        display: block;
    }
}

@media (max-width: 500px) {
    .pagination {
        padding: 12px 20px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .post-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container .stat-box:nth-last-child(1) {
        border-bottom: 0;
    }

    .post-card .stat-box {
        width: 100%;
    }

    .post-card .profile {
        margin: 0 auto;
    }

    .bottom-icons .item .content {
        width: 78%;
    }

    .stats-container .middle-section {
        gap: 10px;
    }

    .stats-container .top-stats {
        text-align: left;
    }

    .page-title {
        width: 233px;
        font-size: 15px;
    }

    .post-card {
        padding: 9px;
    }

        .post-card .post-title {
            font-size: 14px !important;
        }

        .post-card .tags span {
            margin-right: 2px;
        }

    .forum {
        padding: 73px 16px 33px;
    }

        .forum .center-header .center-title {
            font-size: 14px;
        }

    .stats-container .stat-box {
        flex: 48%;
    }

    .stats-container {
        padding: 11px 10px;
    }

        .stats-container .middle-section .item .content p {
            line-height: 16px;
            margin-top: 0;
        }

        .stats-container .bottom-icons p {
            font-size: 14px;
        }

        .stats-container .stat-box .icon {
            width: 30px;
            height: 30px;
        }

    .pagination-container .pagination {
        gap: 7px;
        padding: 8px 8px;
        border-radius: 28px;
    }

    .pagination-container .arrow-btn {
        width: 28px;
        height: 28px;
    }

    .comment-section .replies .pagination-container .pagination span {
        font-size: 14px;
        padding: 0px 6px;
    }

    .forum-layout .forum-right {
        max-height: 100% !important;
    }

    .sign-up-form .form-wrap {
        display: block;
    }

    .remember-me {
        align-items: start;
    }

    .login-container .remember-me input {
        margin-top: 3px;
    }
}

@media (max-width: 360px) {
    .post-card .stat-box .icon {
        width: 26px;
        height: 26px;
        padding: 6px;
    }

    .stats-container .stat-box {
        flex: 44%;
    }

    .pagination-container .page.active {
        padding: 2px 8px;
        font-size: 13px;
    }

    .remember-me {
        justify-content: center;
    }

    .login-wrap .form-options {
        display: block;
        text-align: center;
    }
}
