.gallery-section .screen-rail {
  margin-inline: 0;
  padding-inline: 0;
  border-radius: 0;
}

.tablet-story .screen-card {
  flex-basis: min(84%, 860px);
  margin: 0;
  min-width: 0;
}

.tablet-story .screen-card figcaption {
  padding: 18px 14px 4px;
  text-align: start;
}

.tablet-story .screen-card h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
}

.tablet-story .screen-card p {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--muted);
}

.gallery-section .screen-rail:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

@media (min-width: 1000px) {
  .gallery-section:not(.tablet-story) .screen-card {
    flex-basis: max(285px, calc((100% - 72px) / 4));
  }
}

@media (max-width: 600px) {
  .tablet-story .screen-card {
    flex-basis: 94%;
  }
}
