/* Scoped theme compatibility; original visual effects remain in component CSS. */
.cortex-card, .cortex-exit { line-height: 1.4; letter-spacing: normal; text-transform: none; }
.cortex-card *, .cortex-exit * { box-sizing: border-box; }
.cortex-card .cortex-card__link, .cortex-card .cortex-card__tab,
.cortex-exit .cortex-exit__link { text-decoration: none; border-bottom: 0; }
.cortex-card .cortex-card__close, .cortex-exit .cortex-exit__close {
    min-width: 0; min-height: 0; margin: 0; font: inherit; box-shadow: none;
}
.cortex-card__close svg, .cortex-exit__close svg { display: block; flex: none; }
.cortex-card a:focus-visible, .cortex-card button:focus-visible,
.cortex-exit a:focus-visible, .cortex-exit button:focus-visible { outline: 2px solid #3fd0ff; outline-offset: -3px; }
.cortex-exit { z-index: 100000; }
.cortex-exit[hidden] { display: none !important; }

/* Preserve white link text against theme link and interaction styles. */
.cortex-card a.cortex-card__link,
.cortex-card a.cortex-card__link:hover,
.cortex-card a.cortex-card__link:focus,
.cortex-card a.cortex-card__link:visited,
.cortex-exit a.cortex-exit__link,
.cortex-exit a.cortex-exit__link:hover,
.cortex-exit a.cortex-exit__link:focus,
.cortex-exit a.cortex-exit__link:visited,
.cortex-card a.cortex-card__tab,
.cortex-card a.cortex-card__tab:hover,
.cortex-card a.cortex-card__tab:focus,
.cortex-card a.cortex-card__tab:visited {
    color: #fff !important;
}
