/* Container for the newsletters */
.newsletterContainer {
  padding: 20px;
  margin: 0 auto;
  width: 100%;
}

/* Individual newsletter card */
.newsletterItem {
  background-color: #ffeffe;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 12px; /* Add margin to create space between items */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  box-sizing: border-box;
  width: calc(100% - 20px); /* Adjust width to account for margin */
}
.newsletterItem:hover {
  border: 0.5px solid black;
  transform: scale(1.05); /* Add a hover effect for a smooth transition */
}
.newsletterDescription {
  font-size: 1rem;
  color: #383636;
  margin-bottom: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.newsletterDate {
  font-size: 0.9rem;
  color: #502828;
}

@media only screen and (max-width: 600px) {
  .newsletterContainer {
    padding: 2px;
    overflow-x: hidden;
    margin: 5vh 1vh;
  }
}