/* Bounded public foundation fixes. Load after the retained polish stylesheet.
   Keep the scrollable menu itself constrained; only its clipping ancestors open.
   Do not broaden these rules to cards, media frames, Admin, or the page root. */
@media (max-width: 991.98px) {
    html body > header.header .main-navigation,
    html body > header.header .main-navigation .navbar,
    html body > header.header .main-navigation .custom-nav-shell {
        overflow: visible !important;
    }
}

/* Generic homepage link normalization must not recolor dark action buttons.
   These existing component backgrounds are navy/red; light/outline CTAs are
   deliberately excluded. Icons and nested labels inherit the same foreground. */
html body main.main .homepage-shell .psfm-recommendation-card .psfm-recommendation-actions > a,
html body main.main .homepage-shell .psfm-recommendation-card .psfm-recommendation-actions > a:is(:hover, :focus, :active) {
    color: #ffffff !important;
}

html body main.main .homepage-shell .psfm-recommendation-card .psfm-recommendation-actions > a :is(span, i, svg, strong) {
    color: inherit !important;
}

body :is(main, .main) .psfm-recommendation-actions > a:focus-visible {
    outline: 2px solid #071f3f;
    outline-offset: 3px;
}
