/* Medium story cards, shared by /stories and the home page "Latest Stories" section */
.story-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .story-grid { grid-template-columns: repeat(3, 1fr); }
}
.story-card {
  background: var(--bg);
  border-top: 3px solid var(--gold);
  display: flex; flex-direction: column;
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.15);
}
.story-card .story-img {
  aspect-ratio: 16/10;
  background: var(--ink, #0E0D0B);
  overflow: hidden;
}
.story-card .story-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.story-card .story-body {
  padding: 30px 28px 32px;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.story-card .story-date {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 16px;
}
.story-card h3 {
  font-family: var(--display); font-size: 24px;
  font-weight: 400; line-height: 1.25;
  margin: 0 0 14px; color: var(--ink);
}
.story-card .story-preview {
  font-family: var(--serif); font-size: 16px;
  font-style: italic; color: var(--muted);
  line-height: 1.55; margin: 0 0 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card .story-read {
  margin-top: auto;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); border-bottom: 1px solid var(--gold);
  padding-bottom: 4px; align-self: flex-start;
  text-decoration: none;
}
.story-card .story-read:hover { color: var(--ink); border-color: var(--ink); opacity: 1; }
.story-loading {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--muted); padding: 40px 0;
}
.story-actions { text-align: center; margin-top: 56px; }
.story-btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  background: var(--ink); color: var(--bg);
  text-decoration: none;
  transition: all .25s ease;
}
.story-btn:hover { background: var(--gold); color: var(--ink); opacity: 1; }
