/* BLOG SECTION */


.blog-banner {
  position: relative;
  height: 60vh;
  background: url("../images/blogtopbanner.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK OVERLAY */
.blog-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* CONTENT */
.blog-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}

.blog-banner-content h1 {
  font-size: 60px;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.blog-banner-content p {
  font-size: 18px;
  color: #ddd;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .blog-banner {
    height: 50vh;
  }

  .blog-banner-content h1 {
    font-size: 36px;
  }

  .blog-banner-content p {
    font-size: 16px;
  }
}

.blog-section {
  padding: 120px 0;
  background: #eef2f3;
}

.blog-wrapper {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 40px;
}

/* BLOG CARD */

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.blog-img {
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.blog-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #f57c00;
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.blog-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #f57c00;
}

.blog-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.read-more {
  margin-top: 10px;
  display: inline-block;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

/* SIDEBAR */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-box {
  background: #dfe6e9;
  padding: 20px;
  border-radius: 10px;
}

.sidebar-box h3 {
  margin-bottom: 15px;
}

/* SEARCH */

.search-box {
  display: flex;
}

.search-box input {
  flex: 1;
  padding: 10px;
  border: none;
}

.search-box button {
  padding: 10px;
  background: #ccc;
  border: none;
}

/* RELATED */

.related-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.related-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/* CATEGORIES */

.categories li {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 6px;
}

/* TAGS */

.tags span {
  display: inline-block;
  background: #fff;
  padding: 6px 10px;
  margin: 5px;
  border-radius: 5px;
  font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .blog-wrapper {
    grid-template-columns: 1fr;
  }
}
