#articles-container {
  display: flex;
  margin: 0 25% 0 25%;
  flex-direction: column;
  gap: 30px;
}

/* Style for each article box */
.article-box {
  display: flex;
  background-color: grey;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 150px; /* fixed height, adjust as needed */
}

/* Image section */
.article-image {
  flex: 1;
  min-width: 25%;
  background-size: cover;
  background-position: center;
}

/* Content section */
.article-content {
  flex: 3;
  padding: 10px 5px 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 1em;
}
  .article-title a{
    text-decoration: none;
    color: white;
  }

.article-preview {
  margin: 5px 0 5px 0;
  padding-right: 15px;
  font-size: 0.9em;
  color: #1d1d1d;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.article-date {
  bottom: 2px;
  font-size: 0.8em;
  padding: 0 4px 4px 0;
  text-align: right;
  color: rgb(46, 46, 46);
}

/* Mobile */
@media (max-width:1100px) {
    #articles-container {
        margin: 0 10% 0 10%;
    }   
    .article-image {
      min-width: 35%;
    }
    .article-title {
      font-size: 20px;
    }
    .article-preview {
        display: none;
    }
    .article-date {
      font-size: 0.7em;
    }
}