/* =========================================
   BLOG ARCHIVE & SINGLE POST
   ========================================= */

/* Archive Page */
.blog-page { background: #fff; }
.blog-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 60%, #faf5fc 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.blog-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  margin: 20px 0;
}
.blog-hero p {
  font-size: 1.05rem;
  color: #555;
  line-height: 2;
}

/* Filters */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 10px 22px;
  background: #fff;
  border: 2px solid #eef2f7;
  border-radius: 50px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(109, 191, 58, 0.3);
}

/* Blog Grid */
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-list-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}
.blog-list-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(109, 191, 58, 0.15);
}
.blog-list-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 220px;
}
.blog-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-list-card:hover .blog-list-image img {
  transform: scale(1.08);
}
.blog-list-cat {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--purple);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-list-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-list-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 12px;
}
.blog-list-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}
.blog-list-title a {
  color: inherit;
  text-decoration: none;
}
.blog-list-title a:hover { color: var(--green); }
.blog-list-excerpt {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.read-more:hover { color: var(--purple); gap: 12px; }

/* Pagination */
.blog-pagination {
  margin-top: 60px;
  text-align: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 12px;
  margin: 0 4px;
  background: #fff;
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(109, 191, 58, 0.3);
}

/* Single Post */
.single-post-page { background: #fff; }
.article-hero {
  padding: 120px 0 40px;
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 60%, #faf5fc 100%);
  position: relative;
  overflow: hidden;
}
.article-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.article-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 25px;
}
.article-breadcrumbs a { color: var(--green); text-decoration: none; }
.article-cat {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
}
.article-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 30px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.meta-author { display: flex; align-items: center; gap: 12px; }
.meta-author img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid var(--green); }
.meta-author strong { display: block; color: var(--navy); font-size: 0.95rem; }
.meta-author span { display: block; color: #999; font-size: 0.8rem; }
.meta-divider { width: 1px; height: 40px; background: #e5e5e5; }
.meta-item-lg { display: flex; align-items: center; gap: 8px; color: #777; font-size: 0.9rem; }

/* Article Layout */
.article-featured-image-section { padding: 0 0 40px; margin-top: -40px; }
.article-featured-image img { width: 100%; height: auto; border-radius: 25px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: flex-start; }
.article-content { font-size: 1.05rem; line-height: 2; color: #444; }
.article-content h2 { font-size: 1.6rem; color: var(--navy); margin: 40px 0 20px; padding-right: 15px; border-right: 4px solid var(--green); }
.article-content h3 { font-size: 1.3rem; color: var(--navy); margin: 30px 0 15px; }
.article-content p { margin-bottom: 20px; }
.article-content img { max-width: 100%; height: auto; border-radius: 15px; margin: 20px 0; }

/* Tags & Share */
.article-tags, .article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eef2f7;
}
.article-tags a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 12px;
  background: rgba(109, 191, 58, 0.1);
  border-radius: 50px;
}
.share-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: #f5f7fa; border-radius: 12px; color: var(--navy); border: none; cursor: pointer; transition: all 0.3s ease; }
.share-btn:hover { transform: translateY(-3px); }
.share-btn.telegram:hover { background: #0088cc; color: #fff; }
.share-btn.whatsapp:hover { background: #25D366; color: #fff; }
.share-btn.linkedin:hover { background: #0077b5; color: #fff; }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 25px; position: sticky; top: 100px; }
.sidebar-widget { background: #fff; border-radius: 20px; padding: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); border-top: 4px solid var(--green); }
.sidebar-widget h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; }
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-posts-list li { display: flex; gap: 12px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.recent-thumb img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.recent-title { display: block; color: var(--navy); text-decoration: none; font-size: 0.9rem; font-weight: 600; line-height: 1.5; margin-bottom: 5px; }
.recent-date { color: #999; font-size: 0.75rem; }
.cta-widget { background: linear-gradient(135deg, var(--navy), #1e3a4c); color: #fff; border-top-color: var(--green); text-align: center; }
.cta-widget h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.1); }
.cta-widget p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 992px) {
  .blog-list-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-title { font-size: 2rem; }
  .blog-hero h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
  .blog-list-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.6rem; }
  .article-meta { flex-direction: column; gap: 10px; }
  .meta-divider { display: none; }
}