/* Resource imagery shares one frame; original cover and event artwork stays legible. */
.resources .editorial-grid{align-items:stretch}
.resources .editorial-card{padding:0;overflow:hidden}
.resources .editorial-card[hidden]{display:none}
.resources .resource-image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2.1;flex-shrink:0;overflow:hidden;background:#111;border-bottom:1px solid var(--line)}
.resource-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.resource-image:hover img{transform:scale(1.025)}
.resource-image:focus-visible{outline:2px solid var(--red);outline-offset:-5px}
.resource-image--portrait img{object-position:50% 35%}
.resources .resource-image--book{background:#151b1a}
.resource-image--book img{width:auto;height:86%;max-width:80%;object-fit:contain;box-shadow:7px 9px 22px #0006}
.resources .resource-image--paper{background:#faf9f6}
.resource-image--paper img{object-fit:contain}
.resources .resource-image--event{background:#fcfaf3}
.resource-image--event img{object-position:50% 50%}
.resource-image--conference img{object-position:60% 65%}
.editorial-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;width:100%;padding:29px 31px 31px}
.editorial-card-body .article-meta{font-size:12px;margin-bottom:24px}
.editorial-card-body>p:not(.publisher-name){font-size:16px;line-height:1.65;max-width:530px;margin-bottom:24px}
.editorial-card-body .publisher-name{font-size:13px}
.editorial-card-body>.textlink,.editorial-card-body>.article-links{margin-top:auto}
.editorial-card-body>.book-subtitle{color:var(--text);font-size:15px}
.editorial-card-body>small{font-size:12px}
.resources .book-feature h2{font-size:30px}
@media(max-width:850px){.editorial-card-body{padding:25px}.editorial-card-body .article-meta{gap:10px;font-size:12px}.resources .book-feature h2{font-size:27px}}
@media(max-width:600px){.editorial-card-body{padding:25px 24px 27px}.resources .resource-image{aspect-ratio:2.1}.editorial-card-body>p:not(.publisher-name){font-size:16px}.resources .book-feature h2{font-size:29px}.resources .press-feature h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.resource-image img{transition:none}.resource-image:hover img{transform:none}}
