body {
  font-family: "Playfair Display", sans-serif;
  background-color: #fff;
}
.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.article-overlay.open {
  opacity: 1;
  visibility: visible;
}

.article-content-wrapper {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  max-width: 900px;
  width: 95%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
}

.article-overlay.open .article-content-wrapper {
  transform: translateY(0);
}

.article-image-full {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
