/* Scope the effect to linked product badges, including descriptions processed before this update. */
.gd-hero-badge > a[href],
.gd-hero-badge > a[href]:visited {
    display: inline-block;
    color: inherit !important;
    text-decoration: none !important;
    border-radius: 2px;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.gd-hero-badge:hover > a[href],
.gd-hero-badge > a[href]:focus {
    color: #253064 !important;
    background-color: #fff;
    box-shadow: 0 0 0 5px #fff, 0 3px 12px 5px rgba(12, 20, 52, 0.18);
}

.gd-hero-badge > a[href]:focus-visible {
    outline: 2px solid #58d5f7;
    outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .gd-hero-badge > a[href] {
        transition: none;
    }
}
