/* ═══════════════════════════════════════════════════════
   BLOG ARCHIVE PAGE STYLES
   ═══════════════════════════════════════════════════════ */

/* ── PAGE HERO BANNER ── */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 10, 0.2);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.page-hero__title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.1;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero__breadcrumb a:hover {
  color: #fff;
}
.page-hero__breadcrumb-sep {
  opacity: 0.5;
}

/* ── MAIN GRID LAYOUT ── */
.blog-main {
  padding: 60px 0;
  background: #ffffff;
}

.blog-main__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.blog-main__posts {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ── BLOG POST CARDS ── */
.blog-post-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
}

/*.blog-post-card:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
/*}*/

.blog-post-card__image {
  width: 100%;
  height: 498px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
}

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

.blog-post-card__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
}

.blog-post-card__category {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #3d3d3d;
  margin: 0;
}

.blog-post-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
  margin: 0;
}

.blog-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-card__title a:hover {
  color: #650202;
}

.blog-post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #989898;
}

.blog-post-card__date {
  white-space: nowrap;
}

.blog-post-card__divider {
  opacity: 0.5;
}

.blog-post-card__comments {
  white-space: nowrap;
}

.blog-post-card__excerpt {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #3d3d3d;
  margin: 0;
}

/* ── SIDEBAR ── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-sidebar__box {
  background: #fff9f1;
  padding: 20px;
  border-radius: 8px;
}

.blog-sidebar__box--recent {
  padding: 20px;
}

.blog-sidebar__title {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #3d3d3d;
  margin: 0 0 20px 0;
  width: 100%;
}

/* ── SEARCH ── */
.blog-sidebar__search {
  width: 100%;
}

.blog-sidebar__search-input {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #989898;
  border-radius: 8px;
  padding: 10px 20px;
  gap: 10px;
}

.blog-sidebar__search-field {
  flex: 1;
  border: none;
  outline: none;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #3d3d3d;
  background: transparent;
}

.blog-sidebar__search-field::placeholder {
  color: #989898;
}

/* ── CATEGORIES ── */
.blog-sidebar__categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-sidebar__category-item {
  border-bottom: 0.5px solid #989898;
  padding: 8px 10px;
  transition: background 0.3s ease;
}

.blog-sidebar__category-item:last-child {
  border-bottom: none;
}

.blog-sidebar__category-item a {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #989898;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.blog-sidebar__category-item.active a {
  color: #3d3d3d;
  font-weight: 500;
}

.blog-sidebar__category-item a:hover {
  color: #650202;
}

/* ── RECENT POSTS ── */
.blog-sidebar__recent-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-sidebar__recent-post {
  display: flex;
  gap: 20px;
}

.blog-sidebar__recent-image {
  width: 130px;
  min-width: 130px;
  height: 119px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.blog-sidebar__recent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-sidebar__recent-category {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #3d3d3d;
  margin: 0;
}

.blog-sidebar__recent-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
  margin: 0;
}

.blog-sidebar__recent-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-sidebar__recent-title a:hover {
  color: #650202;
}

.blog-sidebar__recent-excerpt {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3d3d3d;
  margin: 0;
}

.blog-sidebar__recent-date {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #989898;
  margin: 0;
}

/* ── PAGINATION ── */
.blog-pagination {
  padding: 40px 0;
  border-top: 1px solid #e5e5e5;
}

.blog-pagination .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination .pagination a,
.blog-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #3d3d3d;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.blog-pagination .pagination a:hover {
  background: #650202;
  color: #fff;
  border-color: #650202;
}

.blog-pagination .pagination .current {
  background: #650202;
  color: #fff;
  border-color: #650202;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .blog-main__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-main__posts {
    gap: 40px;
  }

  .blog-post-card__image {
    height: 300px;
  }

  .blog-post-card__title {
    font-size: 36px;
  }

  .blog-sidebar {
    gap: 20px;
  }

  .blog-sidebar__recent-post {
    flex-direction: column;
  }

  .blog-sidebar__recent-image {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .blog-main {
    padding: 40px 0;
  }

  .blog-post-card__image {
    height: 200px;
  }

  .blog-post-card__title {
    font-size: 24px;
  }

  .blog-post-card__content {
    gap: 16px;
  }

  .blog-sidebar__box {
    padding: 15px;
  }

  .blog-sidebar__title {
    margin-bottom: 15px;
  }
}
