/* Images for existing On Demand resources. Content and navigation stay intact. */
.cards:has(>.resource-card){grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));align-items:stretch}
.cards>.resource-card{padding:0;gap:0;min-width:0;overflow:hidden}
.resource-card-body{display:flex;flex:1;flex-direction:column;gap:14px;padding:26px}
.resource-card-body h3{margin:0;line-height:1.25}
.resource-card-body p{margin:0}
.resource-card-body>.more,.resource-card-body>.card-actions,.resource-card-body>a:last-child{margin-top:auto;padding-top:10px}
.resource-media{display:block;position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;background:#eee9df;border-bottom:1px solid var(--line);flex-shrink:0}
.resource-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.resource-media:hover img{transform:scale(1.025)}
.resource-media:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
.resource-media--logo{background:#fff}
.resource-media--logo img{object-fit:contain;padding:clamp(28px,4vw,48px)}
.resource-media--cover{background:#e9e5db}
.resource-media--cover img{object-fit:contain;padding:14px}
.resource-media--artwork img{object-fit:contain;background:#fff}
.resource-figure{width:100%;margin:12px 0 36px;overflow:hidden;border-radius:16px;border:1px solid var(--line);aspect-ratio:16/9;background:var(--surf)}
.resource-figure img{display:block;width:100%;height:100%;object-fit:cover}
.resource-figure.resource-media--logo{background:#fff}
.resource-figure.resource-media--logo img{object-fit:contain;padding:clamp(40px,8vw,88px)}
.resource-figure.resource-media--artwork img{object-fit:contain;background:#fff}
.resource-figure.resource-media--cover img{object-fit:contain;padding:14px}
@media(max-width:600px){.cards>.resource-card{width:100%}.resource-card-body{padding:23px}.resource-figure{border-radius:12px;margin-bottom:26px}}
@media(prefers-reduced-motion:reduce){.resource-media img{transition:none}.resource-media:hover img{transform:none}}
