.rfj-taxonomy-light-body {
    background: #f5f7fb;
    color: #111827;
}

.rfj-taxonomy-page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 18px 16px 48px;
}

.rfj-taxonomy-hero,
.rfj-taxonomy-section,
.rfj-taxonomy-static {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
    padding: 18px;
}

.rfj-taxonomy-breadcrumb {
    margin-bottom: 14px;
}

.rfj-taxonomy-hero__kicker {
    color: #d1191a;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
}

.rfj-taxonomy-hero h1 {
    color: #111827;
    font-size: 28px;
    line-height: 1.35;
    margin: 0;
}

.rfj-taxonomy-hero__desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
    margin-top: 10px;
}

.rfj-taxonomy-chip-row {
    border-top: 1px solid #eef0f3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
}

.rfj-taxonomy-chip {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 9px 12px;
    text-decoration: none;
}

.rfj-taxonomy-chip:hover,
.rfj-taxonomy-chip:focus {
    border-color: #f3b4b4;
    color: #d1191a;
    text-decoration: none;
}

.rfj-taxonomy-section__head {
    align-items: center;
    border-bottom: 1px solid #eef0f3;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.rfj-taxonomy-section__head h2 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.rfj-taxonomy-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfj-taxonomy-list--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rfj-taxonomy-component-card,
.rfj-taxonomy-component-card > article {
    height: 100%;
    min-width: 0;
    max-width: none;
}

.rfj-taxonomy-component-card > .rfzj_video_card,
.rfj-taxonomy-component-card > .rfzj_event_card--media_top {
    max-width: none;
}

.rfj-taxonomy-component-card > .rfzj_event_card--media_top {
    height: 100%;
}

.rfj-taxonomy-component-card > .rfzj_software_card,
.rfj-taxonomy-component-card > .rfzj_company_card,
.rfj-taxonomy-component-card > .rfzj_post_card,
.rfj-taxonomy-component-card > .rfzj-download-card,
.rfj-taxonomy-component-card > .rfzj_guide_card {
    max-width: none;
}

.rfj-taxonomy-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 14px;
}

.rfj-taxonomy-card__media {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    color: #d1191a;
    display: flex;
    flex: 0 0 72px;
    font-size: 24px;
    font-weight: 800;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    width: 72px;
}

.rfj-taxonomy-card__media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.rfj-taxonomy-card__body {
    min-width: 0;
}

.rfj-taxonomy-card__meta {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.rfj-taxonomy-card h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 8px;
}

.rfj-taxonomy-card h2 a {
    color: #111827;
    text-decoration: none;
}

.rfj-taxonomy-card h2 a:hover,
.rfj-taxonomy-card h2 a:focus {
    color: #d1191a;
}

.rfj-taxonomy-card p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.rfj-taxonomy-pagination {
    margin-top: 20px;
}

.rfj-taxonomy-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rfj-taxonomy-pagination a,
.rfj-taxonomy-pagination span {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    display: inline-flex;
    font-size: 14px;
    min-height: 36px;
    padding: 0 12px;
    text-decoration: none;
}

.rfj-taxonomy-pagination .current {
    background: #d1191a;
    border-color: #d1191a;
    color: #fff;
}

.rfj-taxonomy-empty {
    color: #6b7280;
    font-size: 15px;
    padding: 24px;
    text-align: center;
}

.rfj-taxonomy-static-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfj-taxonomy-static-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}

.rfj-taxonomy-static-card h2,
.rfj-taxonomy-static-card h3 {
    color: #111827;
    font-size: 18px;
    margin: 0 0 10px;
}

.rfj-taxonomy-static-card p,
.rfj-taxonomy-static-card li {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.rfj-taxonomy-static-card ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 767px) {
    .rfj-taxonomy-page {
        padding: 12px 12px 76px;
    }

    .rfj-taxonomy-hero,
    .rfj-taxonomy-section,
    .rfj-taxonomy-static {
        border-radius: 10px;
        padding: 14px;
    }

    .rfj-taxonomy-hero h1 {
        font-size: 22px;
    }

    .rfj-taxonomy-list,
    .rfj-taxonomy-list--compact,
    .rfj-taxonomy-static-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rfj-taxonomy-card {
        gap: 12px;
        padding: 12px;
    }

    .rfj-taxonomy-card__media {
        flex-basis: 58px;
        height: 58px;
        width: 58px;
    }

    .rfj-taxonomy-card h2 {
        font-size: 16px;
    }
}
