/* ===============================
   Mofeko Blog Styles
   =============================== */

/* Layout wrapper */
.blog-wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 30px 0 50px;
}

/* Blog hero / intro */
.blog-hero {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.blog-hero h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #1f1c1f;
}

.blog-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #3a373a;
  margin-bottom: 18px;
}

/* Search / actions */
.blog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.searchbar {
  flex: 1;
  min-width: 220px;
}

.searchbar input {
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid #ddd;
}

/* Blog grid */
.blog-grid {
  margin-top: 26px;
}

/* Blog post card */
.post-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 20px 22px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

/* Post metadata */
.post-meta {
  font-size: 13px;
  color: #6a666a;
  margin-bottom: 8px;
}

/* Post title */
.post-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.post-title a {
  color: #1f1c1f !important;
}

.post-title a:hover {
  color: #d4b40f !important;
}

/* Post excerpt */
.post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #3a373a;
  margin-bottom: 12px;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1f1c1f;
  color: #ffffff;
  margin-right: 6px;
  margin-bottom: 4px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f7f7f7;
  font-weight: 700;
}

.pagination a:hover {
  background: #1f1c1f;
  color: #ffffff !important;
}

/* ===============================
   Single blog post (future use)
   =============================== */

.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 0 50px;
}

.blog-post h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.blog-post .post-meta {
  margin-bottom: 20px;
}

.blog-post p {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===============================
   Mobile tweaks
   =============================== */
@media screen and (max-width: 768px) {
  .blog-hero h2 {
    font-size: 28px;
  }

  .post-title {
    font-size: 18px;
  }

  .blog-actions {
    flex-direction: column;
  }
}
