/* Equal columns explicitly use grid, independent of Reveal column wrapping. */
.reveal .slides section.resources-slide { height: 100%; top: 0 !important; box-sizing: border-box; }
.reveal .slides section.resources-slide.present { display: flex !important; flex-direction: column; }
.reveal .resources-slide h2 { flex: 0 0 auto; }
.reveal .resources-slide .resources-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); flex: 1; min-height: 0; width: 100%; gap: 0; }
.reveal .resources-slide .resource-links { min-width: 0; display: flex; align-items: center; }
.reveal .resources-slide .resource-cover { min-width: 0; min-height: 0; }
.reveal .resources-slide .resource-cover p { height: 100%; width: 100%; margin: 0; }
.reveal .resources-slide .resource-cover img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; display: block; object-fit: contain; margin: 0; }
