/* =========================================================
   blog.css
   Dipakai untuk: blog.html (MAIN ONLY)
   Style konsisten: Calistoga (judul) + Viga (isi)
   ========================================================= */

.blog-page {
  font-family: "Viga", sans-serif;
}

/* Title */
.blog-title {
  font-family: "Calistoga", serif;
  color: var(--primary);
  text-align: center;
  letter-spacing: 1px;
  margin: 1rem 0 1.6rem;
  font-size: 2.05rem;
  text-transform: uppercase;
}

/* Search + Select */
.blog-search {
  position: relative;
}

.blog-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(139, 30, 30, .75);
  font-size: 14px;
}

.blog-search .form-control {
  padding-left: 36px;
  border: 1.8px solid rgba(139, 30, 30, .35);
  border-radius: 10px;
  font-weight: 700;
}

.blog-select {
  border: 1.8px solid rgba(139, 30, 30, .35);
  border-radius: 10px;
  font-weight: 800;
}

/* Featured card */
.featured-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  border: 2px solid rgba(139, 30, 30, .35);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.featured-img {
  min-height: 240px;
  background: #f6f6f6;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1.6px solid rgba(139, 30, 30, .35);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
}

.dot {
  color: rgba(0, 0, 0, .35);
  font-weight: 900;
}

.date {
  color: rgba(0, 0, 0, .65);
  font-size: 0.85rem;
}

.featured-title {
  font-family: "Calistoga", serif;
  color: #111;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.featured-desc {
  margin: 0 0 14px;
  color: #222;
  font-weight: 700;
  line-height: 1.55;
  font-size: 0.92rem;
  max-width: 520px;
}

/* Blog cards */
.blog-card {
  border: 2px solid rgba(139, 30, 30, .28);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.blog-thumb {
  display: block;
  height: 170px;
  background: #f6f6f6;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 14px 14px 16px;
}

.blog-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.blog-card-title a {
  text-decoration: none;
  color: #111;
}

.blog-card-desc {
  margin: 0 0 12px;
  color: #222;
  font-weight: 700;
  line-height: 1.55;
  font-size: 0.9rem;
  min-height: 56px;
}

/* Pager */
.blog-pager {
  margin-top: 1.8rem;
  text-align: center;
}

.pager-info {
  font-weight: 800;
  margin-bottom: 10px;
}

.pager-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pager-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #111;
  font-weight: 900;
}

.pager-num {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-weight: 900;
}

.pager-num.active {
  background: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img {
    min-height: 220px;
  }
}

@media (max-width: 575px) {
  .blog-title {
    font-size: 1.7rem;
  }

  .blog-thumb {
    height: 180px;
  }
}