/* 1. Make the card the reference point for positioning */
.grid .admonition {
    position: relative;
    height: 100%; /* Ensures cards are uniform height if the grid supports it */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

/* 2. Optional: Add a hover effect to indicate interaction */
.grid .admonition:hover {
    transform: translateY(-5px); /* Moves card up slightly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 3. The Magic: Stretch the link to cover the parent card */
.grid .admonition a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Puts the link layer on top */
    cursor: pointer;
}