/* Homepage section graphics (templates/resources/home.html).
   Each card holds that section's illustration (static/img/home/),
   cropped to the drawing. The picture is edge to edge in the card
   on every screen width; the text columns beside it are unchanged. */

.illustration-card {
    display: block;
    background: transparent;
    border: none;
    border-radius: var(--radius-md, 12px);
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    transition: transform var(--transition-base, 250ms ease);
}
.illustration-card:hover {
    transform: translateY(-4px);
}
.illustration-card picture {
    display: block;
    width: 100%;
    margin: 0;
}
.illustration-card svg,
.illustration-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .illustration-card {
        transition: none;
    }
    .illustration-card:hover {
        transform: none;
    }
}
