.latest-posts-container {
  max-width: 100%;
  margin: 60px auto;
  padding: 40px 0;
  background-color: #15005c;
  border: 1px solid #000;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}

.container {
 
  padding: 1.5rem;
  border: 1px solid silver;
}

h1 {
  color: rgb(255, 166, 0);

}

/* Blog List Container */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  padding: 60px 20px;
  margin: 0 auto;
}

/* Blog Card */
.blog-card {
  display: flex;
  width: 100%;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.blog-card:hover {

  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Blog Card Image */
.blog-img {
  width: 180px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* Blog Card Content */
.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card-desc {
  font-size: 0.95rem;
  color: #333;
}

main, .mainbar {
    background-image: url(/assets/images/cloudbackground.png);
  background-color: #3d667f;
  background-blend-mode: screen; /* or overlay, multiply, soft-light, etc. */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #3d667f;
  padding: 1.5rem;
  margin: 100px auto;
  width: 100%;
  max-width: 1000px;
  border: 1px solid silver;

}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .blog-card img {
    width: 180px;
    height: 180px;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
  }



  .blog-card-content {
    padding: 15px;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }

  .blog-card-desc {
    font-size: 0.9rem;
  }
}

/* Responsive: Small Phones */
@media (max-width: 480px) {
  .blog-list {
    padding: 40px 16px;
  }
}
