/* Story teaser grids and carousel cards */
.story-teaser-list { margin-block: 1.5rem; }
.story-teaser-carousel { margin-top: 1.5rem; }

.story-teaser-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.story-teaser-grid > * { min-width: 0; }
@media (min-width: 768px) {
    .story-teaser-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-teaser-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .story-teaser-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.story-teaser-card-image { aspect-ratio: 16 / 9; overflow: hidden; }
.story-teaser-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-teaser-card h3 { margin: 1rem 0 .5rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.story-teaser-card a { color: #000; text-decoration: none; }
.story-teaser-card a:hover,
.story-teaser-card a:focus-visible { color: #000; text-decoration: none; }

.stories-shortcode-error { color: #dc3545; text-align: center; }
.stories-shortcode-empty { text-align: center; }
