/* The news card (CZ-6799): one component for the home page's latest news and the related news on collection, set and item pages (Pages/Shared/_StoryCard).
   Photo-left editorial cards in a grid of at most three columns; the picture is cropped to fill its side, so a wide screen never makes it huge. */
.home-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-story__title { font-family: var(--font-display); color: var(--navy); font-weight: 700; letter-spacing: -0.015em; }
.home-story { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); height: 100%; min-height: 176px; color: var(--ink); background: var(--panel);
  border: 1px solid var(--card-line, #E4DED2); border-radius: 8px; overflow: hidden; text-decoration: none; }
.home-story:hover { text-decoration: none; border-color: var(--outline); box-shadow: 0 4px 16px rgba(28, 36, 54, 0.10); }
.home-story__media { display: block; position: relative; background: var(--well, #F3EFE7); overflow: hidden; }
.home-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-story__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; min-width: 0; }
.home-story__topic { font-size: 11.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.home-story__title { font-size: 20px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.home-story__excerpt { font-size: 14px; line-height: 1.45; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-story__go { margin-top: auto; padding-top: 4px; font-weight: 500; font-size: 15px; color: var(--action); }
.home-story:hover .home-story__go { text-decoration: underline; text-underline-offset: 3px; }
/* A card without a picture is one text column. */
.home-story--plain { grid-template-columns: minmax(0, 1fr); }
/* In the narrow item-page aside the cards stack in one column and keep the same photo-left look. */
.cl-stories--compact .home-stories { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cl-stories--compact .home-story { min-height: 150px; }
@media (min-width: 1500px) { .home-stories { gap: 24px; } .home-story { min-height: 200px; } }
@media (max-width: 1100px) { .home-stories { grid-template-columns: minmax(0, 1fr); } .home-story { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); } }
@media (max-width: 640px) { .home-story { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); min-height: 150px; } .home-story__excerpt { display: none; } }
