.apicodo-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/*
 * The sitepackage theme's link styling breaks Bootstrap's `.stretched-link`
 * in two independent ways — confirmed live on production
 * (calden.ortspage.de), not reproducible on ddev because its sitepackage
 * CSS build predates both theme rules below:
 *
 * 1. `#page-content a:not(.btn) { position: relative; ... }` (specificity
 *    1-1-1 via the ID) beats any class-based selector, so it silently wins
 *    over `.stretched-link` and turns the ANCHOR itself into the
 *    positioning context for its own `::after` — instead of the `.card`
 *    (which already has `position: relative` from Bootstrap core).
 * 2. The theme's animated-underline effect
 *    (`#page-content a:not(.btn)::after { bottom: -1px; height: 1px;
 *    width: 100%; background: currentcolor; transform: scaleX(0); ... }`)
 *    also matches `.stretched-link::after`. The theme *tried* to opt
 *    `.stretched-link::after` back out with a targeted
 *    `.stretched-link::after { top: auto; right: auto; }`, but only reset
 *    two of the four inset sides — `bottom`/`height`/`width`/`background`/
 *    `transform` from the underline rule are still in effect, so the
 *    pseudo-element collapses to a 1px sliver instead of covering the card.
 *
 * Net effect either way: the link's href is correct (inspecting the DOM
 * looks fine), but only a sliver — not the row/card — is actually
 * clickable. Both fixes below are needed together; each alone is
 * insufficient (verified live).
 */
.apicodo-card a.stretched-link {
    position: static !important;
}

.apicodo-card a.stretched-link::after {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    transform: none !important;
}
