
/*
 * Karpata Investor Intelligence badge fix.
 * The theme's .article-hero sets color:#fff, while .article-badges span
 * previously set only a light background. This explicitly restores
 * readable dark text on all category/taxonomy chips.
 */

.article-badges{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:10px 0;
}

.article-badges span{
    display:inline-flex;
    align-items:center;
    color:#211f1b !important;
    background:#f2ecdf !important;
    border:1px solid #d8c7a2;
    border-radius:2px;
    padding:6px 9px;
    font-size:.67rem;
    line-height:1.2;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.055em;
}

/* Individual article hero: force contrast against the dark hero. */
.article-hero .article-badges span{
    color:#171717 !important;
    background:#e8d6ab !important;
    border-color:#d5b36a !important;
}

/* Archive/article cards remain subtle on white. */
.intelligence-card .article-badges span,
.archive-kfg_intelligence .article-badges span{
    color:#2b2924 !important;
    background:#f2ecdf !important;
}

/* Make badges readable as links too if a later theme makes taxonomy terms clickable. */
.article-badges a,
.article-badges span a{
    color:inherit !important;
    text-decoration:none !important;
}

/* Keyboard/accessibility state if badges become clickable. */
.article-badges a:focus-visible{
    outline:2px solid #b28a3f;
    outline-offset:2px;
}
