.forums-top{
    padding-bottom: 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.forums {
    padding-bottom: 32px !important;
}

.forums-top-content {
    top: 101px;
    width: 100%;
    gap: 32px;
}

.forums-top-text {
    max-width: 1296px;
    width: 100%;
    gap: 16px;
}

.forums-top-title {
    color: #FFF;
}

.forums-top-description {
    color: #FFF;
    font-weight: 600;
    line-height: 150%;
}

.forums-top-search {
    border-radius: 8px !important;
    height: 40px;
    max-width: 451px;
    width: 100%;
}

.forums-top-input-base {
    border-radius: 8px 0 0 8px;
    padding: 8px 16px;
    background: #FFF;
}

.forums-top-input-base input {
    border: none;
    color: #212529;
}

.forums-top-submit {
    padding: 8px 16px;
    max-width: 107px;
    width: 100%;
    height: 40px;
    gap: 8px;
    border-radius: 0 8px 8px 0;
    border: 1px solid #0D6EFD;
    background: #0D6EFD;
}

.forums-top-icon {
    background: rgba(255, 255, 255, 0.00);
}

.forums-top-button-text {
    background: rgba(255, 255, 255, 0.00);
    color: #fff;
    font-weight: 700;
    line-height: 150%;
    font-size: 16px;
}

.forums {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px 72px;
    gap: 32px;
}

.forums-status {
    gap: 16px;
    height: 40px;
}

.forums-status-wrapper {
    padding: 8px 0;
    font-size: 16px;
    line-height: 150%;
    cursor: pointer;
}

.forums-active {
    border-bottom: 2px solid #000;
    color: #000;
}

.forums-link {
    color:  #0C2F64;
}

.forums-disabled {
    color: rgba(33, 37, 41, 0.75);
}

.forums-main-flex {
    gap: 24px;
}

.forums-left {
    max-width: 966px;
    width: 100%;
    height: fit-content;
    border-radius: 8px;
    border: 1px solid #CED4DA;
    background: rgba(248, 249, 250, 0.20);
}

.forums-card-wrapper, .forums-cards  {
    max-width: 966px;
    width: 100%;
}

.forums-card {
    padding: 24px 32px;
    width: 100%;
    max-width: 966px;
    border-bottom: 1px solid #CED4DA;
}

.forums-cards-wrapper .forums-card {
    cursor: pointer;
}
.forums-card-flex {
    gap: 12px;
}

.forum-author-img {
    min-width: 32px;
    min-height: 32px;
    border-radius: 999px;
    border: 1px solid #FFF;
}

.forum-author-img img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

.forum-right-side {
    gap: 16px;
    align-self: stretch;
}

.forum-author {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    color: #000;
}

.forum-card-content {
    gap: 8px;
}

.forum-card-text {
    color: #000;
}

.forum-card-meta {
    gap: 24px;
}

.forum-card-comments , .forum-card-views {
    gap: 8px;
}

.forum-card-meta p {
    color: #000;
}

.forums-right {
    gap: 48px;
    min-width: 280px;
    width: 306px;
}

.latest-commented-forum , .popular-forums {
    gap: 12px;
}

.latest-commented-forum {
    padding-top: 20px;
    border-radius: 8px;
    border: 1px solid #CED4DA;
}

.latest-commented-forums-header , .popular-forums-header {
    padding: 0 16px;
    gap: 12px;
}

.latest-comment-card , .popular-forums-card {
    padding: 12px 16px;
    gap: 4px;
}

.latest-comment-card {
    border-bottom: 1px solid #CED4DA;
}

.popular-forums-card {
    border-radius: 8px;
    border: 1px solid #CED4DA;
    width: 100%;
}

.latest-comment-element-1 , .popular-forum-element-1 {
    gap: 12px;
    font-weight: 600;
    color: #000;
}

.popular-forum-element-2 {
    margin-bottom: 8px;
}

.latest-comment-element-2 , .popular-forum-element-2 {
    line-height: 150%;
    word-break: break-all;
}

.latest-comment-element-3 , .popular-forum-element-3 {
    line-height: 150%;
    gap: 24px;
}

.popular-forum-comments , .popular-forum-views {
    gap: 8px;
}

.popular-forums-cards {
    gap: 8px;
    width: 100%;
}

.latest-comment-card:last-child {
    border-bottom: none;
}

.forum-view-sidebar {
    width: 306px;
}

.forums-cards-actions {
    max-width: 966px;
    width: 100%;
    gap: 32px;
    height: 24px;
}

.forums-action-btn-1 , .forums-action-btn-2 {
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.forums-actions-wrapper {
    padding: 8px 30px;
    background: #F8F9FA;
    border-radius: 0 0 8px 8px;
}

.forums-view {
    border-radius: 8px;
    border: 1px solid #CED4DA;
}

.forums-view-comments .comments {
    margin-bottom: 32px;
}

.forum-card-title {
    word-break: break-all;
}

.forums-right .sidebar-ad {
    margin-bottom: 0px !important;
}

@media (max-width: 1440px) {

    .forums {
        padding: 24px 16px;
    }

    .forums-status {
        height: fit-content;
    }
}


@media (max-width: 1200px) {
    .forums-top-content {
        top: 80px;
    }

    .forums-top-img{
        min-height: 320px !important;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .forums-main-flex  {
        flex-direction: column !important;
    }
    .forums-status {
        flex-wrap: nowrap !important;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .forums-top {
        padding-bottom: 0;
    }
    .forums-status-wrapper {
        min-width: fit-content !important;
    }
    .forums-right {
        width: 100%;
    }
    .forums {
        padding-bottom: 24px !important;
        margin-top: 0 !important;
    }
    .forums-paginator-wrapper .pagination {
        margin-bottom: 0;
    }
    .forums-main-flex, .forums-right, .forums {
        gap: 24px;
    }
    .forums-cards-actions-2 {
        justify-content: space-between !important;
    }
    .forums-actions-wrapper {
        padding: 8px 12px;
    }
    .main-content.forum-view {
        margin-bottom: 0px !important;
    }
    .forum-view-sidebar {
        width: 100%;
    }
    #forum-add {
        margin-top: 8px !important;
    }
    .add-forum-form-btn {
        margin-top: 0px !important;
    }
}

@media (max-width: 576px) {
    .forums-card {
        padding: 16px 12px;
    }
}