/* Featured Stories — measured off tprsglass.com/featured-stories-3/:
   three 410px cards with a 410x309 image, an uppercase category, a 24px title
   and a single meta row carrying date, views, author and a Share control. */
.stories-intro {
  padding-block: 45px 100px;
}

.stories-intro__body {
  max-width: 950px;
  margin-inline: auto;
}

.stories-intro__body p {
  max-width: none;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.647;
  text-align: justify;
}

.stories {
  padding-bottom: 50px;
}

.story-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.story-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-card__image-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.story-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 410 / 309;
  object-fit: cover;
  transition: transform 0.6s var(--ease-default);
}

.story-card__image-wrap:hover .story-card__image,
.story-card__image-wrap:focus-visible .story-card__image {
  transform: scale(1.04);
}

.story-card__category {
  max-width: none;
  margin-top: 16px;
  color: var(--color-text-dark);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.story-card__title {
  margin-top: 11px;
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  line-height: 1.2;
}

.story-card__title a {
  color: var(--color-text-dark);
}

.story-card__title a:hover,
.story-card__title a:focus-visible {
  color: var(--color-navy);
}

/* date · views · author · Share, all on one line */
.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  max-width: none;
  margin-top: 12px;
  color: #9c9c9c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.story-card__meta > * + *::before {
  content: "•";
  margin-right: 12px;
}

.story-card__author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.story-card__share-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.story-card__share-toggle:hover,
.story-card__share-toggle:focus-visible {
  color: var(--color-navy);
}

.story-card__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.share-btn {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-btn:hover,
.share-btn:focus-visible {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}
