/* v1.5.10: featured homepage category background matches category label color.
   Theme gl-home-v2.css hardcodes pink for .lead .kicker, and purple for
   .fresh__body .kicker. This is why PlayStation appeared pink on the main
   feature even though the corresponding list text was blue.

   Scope only to the two large-image homepage badges. Keep original shapes,
   sizing, typography, card links and all other badges untouched. */
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker {
    --gavb-home-category-color: #632488;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background-color: var(--gavb-home-category-color);
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 46%),
        linear-gradient(135deg, var(--gavb-home-category-color), var(--gavb-home-category-color));
    filter: drop-shadow(0 5px 14px rgba(0,0,0,.42));
}

/* Use the SAME CSS color tokens as category text links alongside each card.
   This automatically follows the theme's light/dark color palette. */
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--ps {
    --gavb-home-category-color: var(--ps, #1f6feb);
}
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--xbox {
    --gavb-home-category-color: var(--xbox, #2a9d35);
}
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--nin {
    --gavb-home-category-color: var(--nin, #e4002b);
}
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--pc {
    --gavb-home-category-color: var(--pc, #0ca59f);
}
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--coral {
    --gavb-home-category-color: var(--coral, #e23e6b);
}
:is(.hero .lead .lead__body, .fresh-dark .fresh__feature .fresh__body) > a.kicker.gl-kicker.--gold {
    --gavb-home-category-color: var(--gold, #e0a32e);
}
