.stories__intro {
  text-align: center;
}

.stories__copy {
  max-width: 800px;
  margin: 0 auto;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

.stories__item {
  color: var(--color-blue);
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.stories__item:hover {
  transform: translateY(-5px);
}

.stories__item-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.stories__content-wrapper {
  padding: 15px 0;
}

.stories__date {
  color: var(--color-pink);
  font-size: 14px;
}

.stories__title {
  font-size: 2.5rem;
  color: var(--color-blue);
}

/* Story Detail Page */
.story__article {
  max-width: 900px;
  margin: 0 auto;
}

.story__header {
  text-align: center;
  margin-bottom: 40px;
}

.story__date {
  color: var(--color-pink);
  font-size: 14px;
}

.story__title {
  font-size: 2.5rem;
  color: var(--color-blue);
  line-height: 1.2;
}

.story__main-image,
.story__bottom-image {
  width: 100%;
}

.story__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.story__content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--color-blue);
}

.story__content h2,
.story__content h3,
.story__content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-blue);
}

.story__content p {
  margin-bottom: 1.5rem;
}

.story__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.story__content a {
  color: var(--color-pink);
  text-decoration: underline;
}

.story__back-button {
  display: none;
  color: var(--color-blue);
  text-decoration: none;
  margin-bottom: 20px;
}

.story__back-button:hover {
  color: var(--color-pink);
}

.story__footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

@media only screen and (min-width: 768px) {
  .stories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story__back-button {
    display: block;
  }
}

@media only screen and (min-width: 1100px) {
  .stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
