.blogs-listing{
    background-image: url("../img/bg/gray-bg2.png");
}

.blog-title{
    margin-top: -0.25em;
    text-transform: capitalize;
    font-weight: 800;
}

#blog-detail{
    margin: 4%;
}
.blog-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--caveat-font);
    color: var(--theme-color2);
    margin-bottom: 27px;
    line-height: 24px;
    margin-top: -0.1em;
    position: relative;
}

/* ===== CONTAINER ===== */
.blog-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

/* ===== CARD ===== */
.blog-details {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeUp 0.8s ease;
  transition: transform 0.3s ease;
}

.blog-details:hover {
  transform: translateY(-5px);
}

/* ===== IMAGE ===== */
.blog-details img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-details img:hover {
  transform: scale(1.05);
}

/* ===== CONTENT ===== */
.blog-details h1 {
  font-size: 28px;
  margin: 20px;
  color: #1a1a1a;
  line-height: 1.3;
}

.blog-details p {
  font-size: 16px;
  line-height: 1.7;
  margin: 10px 20px;
  color: #555;
}

/* Meta info */
.blog-details strong {
  color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .blog-container {
    margin: 30px 15px;
  }

  .blog-details img {
    height: 250px;
  }

  .blog-details h1 {
    font-size: 22px;
  }

  .blog-details p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .blog-details {
    border-radius: 12px;
  }

  .blog-details h1 {
    font-size: 20px;
  }
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}