/* Extend the existing link to the bounds of its card. */
.beta-v2 .beta-linked-card {
    position: relative;
}

.beta-v2 .beta-linked-card > :is(.article-meta, .archive-content) {
    position: static;
}

.beta-v2 .beta-linked-card > .article-meta > .beta-card-link,
.beta-v2 .industry-solutions .beta-linked-card > .archive-content > .beta-card-link {
    position: static;
}

@media (max-width: 767px) {
    /* The responsive industry card already uses an absolute link for its arrow. */
    .beta-v2.industry-responsive .industry-solutions .beta-linked-card > .archive-content > .beta-card-link {
        position: absolute;
    }
}

.beta-v2 .beta-linked-card .beta-card-link[href]:not([href=""], [href="#"])::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    cursor: pointer;
    content: "";
}

.beta-v2 .beta-linked-card .beta-card-link:focus-visible::before {
    outline: 2px solid #0a4c99;
    outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
    .beta-v2 .beta-linked-card:has(.beta-card-link[href]:not([href=""], [href="#"])) {
        transition: transform .2s, box-shadow .2s;
    }

    .beta-v2 .beta-linked-card:has(.beta-card-link[href]:not([href=""], [href="#"])):hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgb(8 45 81 / .13);
    }
}

@media (prefers-reduced-motion: reduce) {
    .beta-v2 .beta-linked-card:has(.beta-card-link[href]:not([href=""], [href="#"])):hover {
        transform: none;
        transition: none;
    }
}
