/*------------------------------
    Hero Section
------------------------------*/

.blog-hero-section {
  padding: 120px 0 55px;
  background: #fff;
}

.blog-page-title {
  font-size: 35px;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.3;
}

.blog-page-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 25px;
  color: #666;
}
/*==================================================
                BLOG SECTION
==================================================*/

.blog-section {
  margin-top: -10px;
  background: #fff;
}

/*==================================================
                BLOG CARD
==================================================*/

.blog-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(44, 43, 43, 0.05);
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

#blog-container > div {
  margin-bottom: 40px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/*==================================================
                BLOG IMAGE
==================================================*/

.blog-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: fill;
  display: block;
}

/*==================================================
                BLOG CONTENT
==================================================*/

.blog-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.blog-date i {
  color: #007bff;
  margin-right: 5px;
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 80px;
}

.blog-description {
  font-size: 14px;
  color: #666;
  line-height: 24px;
  margin-top: -15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.blog-read-btn {
  display: inline-block;
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-size: 16px;
  margin-top: auto;
  margin-bottom: 20px;
}

.blog-read-btn:hover {
  color: #0056b3;
  text-decoration: none;
}

.blog-read-btn i {
  margin-left: 5px;
  transition: 0.3s;
}

.blog-read-btn:hover i {
  margin-left: 10px;
}

/*==================================================
                PAGINATION
==================================================*/

.blog-pagination {
  margin-top: -10px;
  margin-bottom: 20px;
}

.blog-pagination button {
  width: 42px;
  height: 42px;
  margin: 25px 4px;
  border: none;
  border-radius: 5px;
  background: #f1f3f5;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

.blog-pagination button:hover {
  background: #007bff;
  color: #fff;
}

.blog-pagination button.active {
  background: #007bff;
  color: #fff;
}

.blog-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media (max-width: 1024px) {
  .blog-image {
    height: 230px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 19px;
    min-height: 96px;
  }

  .blog-description {
    min-height: 72px;
  }
}
@media (max-width: 991px) {
  .blog-image {
    height: 230px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 22px;
    min-height: 96px;
  }

  .blog-description {
    min-height: 72px;
  }
}

@media (max-width: 768px) {
  .blog-card {
    margin-bottom: 30px;
  }

  .blog-image {
    height: 210px;
  }

  .blog-content {
    padding: 18px;
  }

  .blog-title {
    font-size: 16px;
    min-height: 88px;
  }

  .blog-description {
    font-size: 13px;
    min-height: 72px;
  }

  .blog-read-btn {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .blog-image {
    height: 190px;
  }

  .blog-content {
    padding: 16px;
  }

  .blog-title {
    font-size: 17px;
    min-height: 80px;
  }

  .blog-description {
    font-size: 13px;
    min-height: 72px;
  }

  .blog-pagination button {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

