/* Same restrained lift and keyboard focus as the existing blog cards. */
body.cc-site .cc-linked-card {
    position: relative;
    isolation: isolate;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}
body.cc-site .cc-linked-card .cc-card-link {
    position: static;
    color: var(--cc-text) !important;
    font: inherit;
    text-decoration: none !important;
    border: 0;
}
body.cc-site .cc-linked-card .cc-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: var(--cc-radius);
}
/* Elementor heading widgets must let the card contain the expanded link. */
body.cc-site .cc-card-service.cc-linked-card .elementor-widget-heading,
body.cc-site .cc-card-service.cc-linked-card .elementor-widget-heading > .elementor-widget-container,
body.cc-site .cc-card-service.cc-linked-card .elementor-widget-heading h3,
body.cc-site .cc-wissen__eintrag.cc-linked-card .cc-wissen__frage {
    position: static;
}
body.cc-site .cc-linked-card:hover,
body.cc-site .cc-linked-card:focus-within {
    border-color: var(--cc-border-strong);
}
body.cc-site .cc-linked-card .cc-card-link:focus-visible {
    outline: none;
    box-shadow: none;
}
body.cc-site .cc-linked-card .cc-card-link:focus-visible::after {
    outline: 3px solid var(--cc-focus);
    outline-offset: -3px;
    box-shadow: inset 0 0 0 7px var(--cc-focus-halo);
}
body.cc-site .cc-linked-card .cc-card-link__more {
    color: var(--cc-accent-text);
}
/* Keep service-card labels white, as before. */
body.cc-site .cc-card-service.cc-linked-card .cc-card-link__more {
    color: var(--cc-text);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    body.cc-site .cc-linked-card:hover {
        transform: translateY(-3px);
    }
    body.cc-site .cc-linked-card .cc-card-link__more .cc-icon {
        transition: transform .2s ease;
    }
    body.cc-site .cc-linked-card:hover .cc-card-link__more .cc-icon {
        transform: translateX(4px);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.cc-site .cc-linked-card,
    body.cc-site .cc-linked-card .cc-card-link__more .cc-icon {
        transition: none !important;
        transform: none !important;
    }
}
