/* =========================================
   CATEGORY - DROPMMS STYLE
   ========================================= */

.vf-category {
    margin-bottom: 24px;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 5px;

    overflow: hidden;
}


/* Blue category header */

.vf-category-title {
    min-height: 59px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px;

    background: #1d6fa5;
    color: #ffffff;
}


.vf-category-title-text {
    min-width: 0;
}


.vf-category-title a {
    color: #ffffff;

    font-size: 19px;
    font-weight: 700;

    text-decoration: none;
}


.vf-category-description {
    display: none;
}


/* Collapse arrow */

.vf-category-toggle {
    display: flex;
    align-items: center;

    margin-left: 20px;
}


.vf-category-toggle img {
    width: 20px;
    height: 20px;

    object-fit: contain;

    opacity: 0.55;

    cursor: pointer;
}



/* =========================================
   FORUM ROW
   ========================================= */

.vf-forum-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        105px
        minmax(250px, 290px);

    gap: 20px;

    align-items: center;

    min-height: 140px;

    padding: 28px 30px;

    background: #ffffff;

    border-bottom: 1px solid #edf0f3;
}


.vf-forum-row:last-child {
    border-bottom: 0;
}



/* =========================================
   LEFT FORUM INFORMATION
   ========================================= */

.vf-forum-main {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 26px;
}



/* Forum thumbnail */

.vf-forum-thumb {
    width: 72px;
    height: 72px;

    flex: 0 0 72px;

    border-radius: 5px;

    background: #e5ebf1;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/*
   We don't need MyBB's old
   online/offline forum icon.
*/

.vf-forum-thumb .forum_status {
    display: none;
}



/* Forum title + description */

.vf-forum-info {
    min-width: 0;
}


.vf-forum-name {
    display: inline-block;

    margin-bottom: 4px;

    color: #131821;

    font-size: 21px;
    font-weight: 400;

    line-height: 1.25;

    text-decoration: none;
}


.vf-forum-name:hover {
    color: #1d6fa5;
}


.vf-forum-description {
    max-width: 620px;

    color: #70809a;

    font-size: 15px;
    line-height: 1.55;
}


.vf-forum-description a {
    color: #70809a;
}



/* =========================================
   POSTS
   ========================================= */

.vf-forum-post-count {
    text-align: center;

    color: #151922;
}


.vf-forum-post-count strong {
    display: block;

    font-size: 21px;
    font-weight: 400;

    line-height: 1.1;
}


.vf-forum-post-count span {
    display: block;

    margin-top: 4px;

    color: #728097;

    font-size: 14px;
}



/* =========================================
   LAST POST
   ========================================= */

.vf-forum-lastpost {
    min-width: 0;

    color: #71809a;

    font-size: 14px;

    line-height: 1.45;
}


.vf-forum-lastpost a {
    color: #151922;

    text-decoration: none;
}


.vf-forum-lastpost a:hover {
    color: #1d6fa5;
}


.vf-forum-lastpost strong {
    font-weight: 400;
}



/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 850px) {

    .vf-forum-row {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 22px 20px;
    }


    .vf-forum-post-count {
        text-align: left;

        padding-left: 98px;
    }


    .vf-forum-post-count strong,
    .vf-forum-post-count span {
        display: inline;
    }


    .vf-forum-post-count strong {
        margin-right: 4px;
    }


    .vf-forum-lastpost {
        padding-left: 98px;
    }

}



@media (max-width: 550px) {

    .vf-category-title {
        min-height: 52px;

        padding: 0 16px;
    }


    .vf-category-title a {
        font-size: 16px;
    }


    .vf-forum-row {
        padding: 20px 15px;
    }


    .vf-forum-main {
        align-items: flex-start;

        gap: 15px;
    }


    .vf-forum-thumb {
        width: 62px;
        height: 62px;

        flex-basis: 62px;
    }


    .vf-forum-name {
        font-size: 18px;
    }


    .vf-forum-description {
        font-size: 14px;
    }


    .vf-forum-post-count,
    .vf-forum-lastpost {
        padding-left: 77px;
    }

}* =========================================
   DROPMMS STYLE - LAST POST
   ========================================= */

.vf-lastpost-inner {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
}


/* Temporary avatar until our helper plugin is added */

.vf-lastpost-avatar {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 50%;
    overflow: hidden;

    background: #edf1f5;
}

.vf-avatar-placeholder {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: #d8dee8;
}


/* Text area */

.vf-lastpost-details {
    min-width: 0;
    flex: 1;
}


.vf-lastpost-title {
    display: block;

    overflow: hidden;

    color: #151922 !important;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.35;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.vf-lastpost-title:hover {
    color: #1d6fa5 !important;
}


.vf-lastpost-meta {
    margin-top: 3px;

    color: #74839c;

    font-size: 14px;
    line-height: 1.35;
}


.vf-lastpost-user a {
    color: #e6538a !important;
}


.vf-lastpost-user a:hover {
    text-decoration: underline;

    min-height: 112px;
    padding: 20px 24px;

    grid-template-columns:
        minmax(0, 1fr)
        90px
        minmax(230px, 280px);

    gap: 18px;
}


/* Left forum area */

.vf-forum-main {
    gap: 20px;
}

.vf-forum-thumb {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
}


/* Forum title */

.vf-forum-name {
    font-size: 17px !important;
    line-height: 1.3;
    margin-bottom: 3px;
}


/* Forum description */

.vf-forum-description {
    font-size: 13px !important;
    line-height: 1.45;
    color: #71809a;
}


/* Posts count */

.vf-forum-post-count strong {
    font-size: 17px;
}

.vf-forum-post-count span {
    font-size: 12px;
    margin-top: 2px;
}


/* Latest post */

.vf-lastpost-title {
    font-size: 13px;
}

.vf-lastpost-meta {
    font-size: 12px;
}

.vf-lastpost-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}


/* Mobile gets slightly larger text for readability */

@media (max-width: 600px) {

    .vf-category-title {
        min-height: 54px;
        padding: 0 16px;
    }

    .vf-category-title a {
        font-size: 17px;
    }

    .vf-forum-name {
        font-size: 18px !important;
    }

    .vf-forum-description {
        font-size: 14px !important;
        line-height: 1.5;
    }

    .vf-forum-row {
        padding: 20px 16px;
    }

    .vf-forum-thumb {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }
}/* =========================================
   DROPMMS - COMPACT DESKTOP SIZE
   ========================================= */

.vf-category-title {
    min-height: 44px !important;
    padding: 0 18px !important;
}

.vf-category-title a {
    font-size: 14px !important;
}


/* Forum row */

.vf-forum-row {
    min-height: 0 !important;
    height: auto !important;

    padding: 14px 20px !important;

    grid-template-columns:
        minmax(0, 1fr)
        80px
        minmax(210px, 260px);

    gap: 15px !important;
}


/* Forum thumbnail */

.vf-forum-main {
    gap: 16px !important;
}

.vf-forum-thumb {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
}


/* Forum name */

.vf-forum-name {
    color: #171717 !important;

    font-size: 15px !important;
    font-weight: 400 !important;

    line-height: 1.25 !important;

    margin-bottom: 2px !important;
}

.vf-forum-name:hover {
    color: #1d6fa5 !important;
}


/* Description */

.vf-forum-description {
    font-size: 12px !important;
    line-height: 1.4 !important;

    color: #718096 !important;
}


/* Post count */

.vf-forum-post-count strong {
    font-size: 15px !important;
}

.vf-forum-post-count span {
    font-size: 11px !important;
}


/* Latest post */

.vf-lastpost-title {
    font-size: 12px !important;
}

.vf-lastpost-meta {
    font-size: 11px !important;
}

.vf-lastpost-avatar {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
}