/* TLV Category Hub — Resource Center layout and published post counts. */

/* ==========================================================
   1. TOP-LEVEL CATEGORY GRID
   ========================================================== */

.tlv-cats {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 38px 46px !important;
    align-items: flex-start !important;
}

.tlv-group {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: calc(33.333% - 32px) !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* ==========================================================
   2. TOP-LEVEL LINKS AND EXPANDABLE TOPICS
   ========================================================== */

.tlv-cats .tlv-category-toggle {
    display: list-item;
    cursor: pointer;
    font-family: inherit !important;
}

/* Give direct links and expandable headings the same appearance. */
.tlv-cats .tlv-group > a.tlv-parent-pill,
.tlv-cats .tlv-category-toggle > .tlv-parent-pill {
    display: inline-block !important;
    margin: 0 0 6px !important;
    padding: 0 0 4px !important;
    background: transparent !important;
    color: #1F3C34 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #1F3C34 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}

/* Let expandable headings and counts wrap beside the native arrow. */
.tlv-cats .tlv-category-toggle > .tlv-parent-pill {
    display: inline !important;
}

/* ==========================================================
   3. SUBCATEGORY LINKS AND INDENTATION
   ========================================================== */

.tlv-children {
    margin: 4px 0 0 14px !important;
    padding: 0 !important;
}

.tlv-child {
    list-style: none !important;
    display: block !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
}

.tlv-child-pill {
    display: inline-block !important;
    margin: 0 0 3px !important;
    padding: 0 0 2px !important;
    background: transparent !important;
    color: #1F3C34 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e3e3e3 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.tlv-children .tlv-children {
    margin: 2px 0 4px 14px !important;
    padding: 0 !important;
}

.tlv-children .tlv-children .tlv-child-pill {
    font-size: 13px !important;
    color: #4f5f53 !important;
}

/* ==========================================================
   4. PUBLISHED POST COUNTS
   ========================================================== */

.tlv-hub-count {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    color: #555555 !important;
    border: none !important;
    border-radius: 0 !important;
    margin-left: 4px !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: inherit !important;
}

.tlv-child-pill .tlv-hub-count {
    font-size: 14px !important;
}

/* ==========================================================
   5. CATEGORY DESCRIPTIONS
   ========================================================== */

.tlv-desc {
    display: none !important;
}

/* ==========================================================
   6. TABLET AND MOBILE LAYOUT
   ========================================================== */

@media (max-width: 980px) {
    .tlv-group {
        width: calc(50% - 24px) !important;
    }
}

@media (max-width: 600px) {
    .tlv-cats {
        display: block !important;
    }

    .tlv-group {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}