/* ==============================
   ARCHIVE PAGE STYLING
============================== */
.custom-blog-archive {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row desktop */
  gap: 30px;
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .custom-blog-archive {
    grid-template-columns: repeat(2, 1fr); /* 2 cards for tablet */
  }
}

@media (max-width: 768px) {
  .custom-blog-archive {
    grid-template-columns: 1fr; /* 1 card for mobile */
  }
}

.custom-blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
  transform: translateY(0);
}

.custom-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.custom-blog-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.custom-blog-card:hover .custom-blog-thumb img {
  transform: scale(1.05);
}

.custom-blog-title {
  font-size: 21px;
  margin: 18px 12px 10px;
  font-weight: 600;
  color: #222;
  transition: color 0.3s ease;
}

.custom-blog-card:hover .custom-blog-title {
  color: #D2AB67;
}

.custom-blog-excerpt {
  color: #666;
  font-size: 15px;
  margin: 0 25px 25px;
  line-height: 1.6;
}

.custom-blog-btn {
  display: inline-block;
  background: #D2AB67;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  border: 2px solid #D2AB67;
}

.custom-blog-btn:hover {
  background: #fff;
  color: #D2AB67;
  border-color: #D2AB67;
  transform: translateY(-2px);
}

/* ==============================
   SINGLE BLOG PAGE STYLING
============================== */
.single-blog-banner {
  position: relative;
  width: 100%;
  height: 450px;
  margin: 0 0 50px 0;
  overflow: hidden;
}

.single-blog-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* full cover banner */
  display: block;
}

.single-blog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.single-blog-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding: 0 20px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .single-blog-banner h1 {
    font-size: 34px;
  }
}

.single-blog-content {
  max-width: 1140px;
  margin: 0 auto 60px;
  width: 95%;
  font-size: 17px;
  line-height: 1.7;
}
