#preload-image {
   position: relative;
  width: 100%;
  height: 200px;

}

#preload-image img {
  max-width: 100%;
  height: auto;
}

#slider-preload-image-size {
    position: relative;
  width: 100%;
  height: 300px;
}

.article-wrapper {
  margin: 2em;
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.article-card {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  margin-bottom: 4em; /* 👈 Updated bottom margin */
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.article-card img {
  width: 20%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 20px;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-content h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.article-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px;
}

.article-content a {
  align-self: flex-start;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}
