/* ═══════════════════════════════════════════════════
   BLOG PAGE — Additional Styles
   ═══════════════════════════════════════════════════ */

/* Blog Hero */
.blog-hero {
  padding: 80px 0 60px;
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.blog-hero-bg { position: absolute; inset: 0; z-index: 0; }
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin: 12px 0 16px;
  line-height: 1.15;
}
.blog-hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.blog-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border-color);
  border-radius: 60px;
  padding: 8px 8px 8px 20px;
  transition: border-color 0.2s;
}
.blog-search-bar:focus-within { border-color: var(--coral); }
.blog-search-bar .fa { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; }
.blog-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}
.blog-search-bar input::placeholder { color: var(--text-muted); }
.blog-search-bar .btn { border-radius: 50px; padding: 10px 22px; font-size: 0.88rem; flex-shrink: 0; }
.blog-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blog-hero-stats strong { color: var(--coral); }

/* Blog Filters */
.blog-filters-section {
  background: var(--navy-900);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 50;
}
.blog-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-cat-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--font-main);
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.blog-filter-btn:hover { color: var(--coral); border-color: var(--coral); }
.blog-filter-btn.active {
  background: linear-gradient(135deg, var(--coral), #e53e3e);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,107,107,0.3);
}
.blog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.blog-sort select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
}

/* Featured Post */
.featured-post-section { padding: 48px 0 0; background: var(--navy-950); }
.featured-post-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 8px;
}
.featured-post-card:hover {
  border-color: rgba(255,107,107,0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.fp-image { position: relative; }
.fp-img-placeholder {
  height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #0f1729, #FF6B6B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.fp-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
}
.fp-cat-badge {
  background: rgba(0,0,0,0.7);
  color: var(--coral);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  font-family: var(--font-main);
}
.fp-content { padding: 36px 36px 36px 0; display: flex; flex-direction: column; gap: 16px; }
.fp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.fp-author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-secondary); }
.author-avatar-sm { font-size: 1.1rem; }
.fp-date, .fp-read, .fp-views { display: flex; align-items: center; gap: 6px; }
.fp-title {
  font-family: var(--font-main);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
}
.fp-excerpt { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }
.fp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,0.07);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-main);
  transition: var(--transition);
  cursor: pointer;
}
.tag:hover { background: rgba(255,107,107,0.1); color: var(--coral); border-color: rgba(255,107,107,0.3); }
.tag-sm { font-size: 0.72rem; padding: 3px 10px; }
.fp-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.fp-engagement { display: flex; gap: 12px; }
.engage-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 7px 14px;
  transition: var(--transition);
  font-family: var(--font-body);
}
.engage-btn:hover { color: var(--coral); border-color: var(--coral); }

/* Blog Main Layout */
.blog-main-section { padding: 48px 0 80px; background: var(--navy-950); }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,107,107,0.3);
  box-shadow: var(--shadow-md);
}
.pc-image { position: relative; flex-shrink: 0; }
.pc-img-ph {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.pc-cat-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--coral);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.pc-hot-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--coral);
  color: white;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  animation: pulse-badge 2s infinite;
}
.pc-new-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--emerald);
  color: white;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 800;
}
.pc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pc-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.pc-views { display: flex; align-items: center; gap: 4px; }
.pc-title { font-family: var(--font-main); font-size: 1rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; }
.pc-title a { color: inherit; transition: color 0.2s; }
.pc-title a:hover { color: var(--coral); }
.pc-excerpt { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap 0.2s;
}
.pc-read-more:hover { gap: 10px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  font-family: var(--font-main);
  padding: 0 14px;
}
.page-btn:hover { color: var(--coral); border-color: var(--coral); }
.page-btn.active { background: var(--coral); color: white; border-color: var(--coral); }
.page-ellipsis { color: var(--text-muted); font-size: 1rem; }
.page-next { display: flex; align-items: center; gap: 8px; }

/* BLOG SIDEBAR */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-height) + 70px); }
.bs-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.bs-widget h3 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Newsletter Widget */
.bs-newsletter { text-align: center; background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(245,158,11,0.05)); border-color: rgba(255,107,107,0.25); }
.bsn-icon { font-size: 2.5rem; margin-bottom: 10px; }
.bs-newsletter h3 { justify-content: center; font-size: 1.1rem; }
.bs-newsletter p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 14px; }
.bs-nl-form { display: flex; flex-direction: column; gap: 10px; }
.bs-nl-form input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.bs-nl-form input:focus { border-color: var(--coral); }
.bs-nl-form input::placeholder { color: var(--text-muted); }
.bs-nl-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }

/* Trending List */
.trending-list { display: flex; flex-direction: column; gap: 14px; }
.tr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}
.tr-item:hover .tr-title { color: var(--coral); }
.tr-rank {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(255,107,107,0.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
}
.tr-info { display: flex; flex-direction: column; gap: 4px; }
.tr-title { font-size: 0.84rem; font-weight: 600; color: var(--text-secondary); line-height: 1.4; transition: color 0.2s; }
.tr-views { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* Deal Widget */
.bs-deal-widget { border-color: rgba(255,107,107,0.3); }
.bs-deal-card { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bsdc-img { font-size: 2.8rem; }
.bsdc-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.bsdc-name { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.bsdc-price { font-family: var(--font-main); font-size: 1.2rem; font-weight: 900; color: var(--text-primary); }
.bsdc-price del { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.bsdc-off { font-size: 0.78rem; font-weight: 700; color: var(--emerald); }
.bsdc-timer { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.bsdc-timer strong { color: var(--coral); }

/* Tags Cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* Social Widget */
.bs-social-links { display: flex; flex-direction: column; gap: 10px; }
.bs-social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 1.3rem;
  color: white;
}
.bs-social-item:hover { transform: translateX(4px); opacity: 0.9; }
.bs-social-item.yt { background: rgba(255,0,0,0.15); border: 1px solid rgba(255,0,0,0.25); }
.bs-social-item.yt .fa-youtube { color: #FF0000; }
.bs-social-item.tg { background: rgba(0,136,204,0.15); border: 1px solid rgba(0,136,204,0.25); }
.bs-social-item.tg .fa-telegram { color: #0088cc; }
.bs-social-item.ig { background: rgba(225,48,108,0.15); border: 1px solid rgba(225,48,108,0.25); }
.bs-social-item.ig .fa-instagram { color: #E1306C; }
.bs-social-item.tw { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.bs-social-item div { display: flex; flex-direction: column; gap: 2px; }
.bss-name { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.bss-count { font-size: 0.75rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1000px) {
  .featured-post-card { grid-template-columns: 1fr; }
  .fp-img-placeholder { min-height: 200px; }
  .fp-content { padding: 24px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .blog-filter-row { flex-direction: column; align-items: flex-start; }
  .blog-search-bar { border-radius: 12px; flex-wrap: wrap; }
  .blog-search-bar .btn { width: 100%; border-radius: 8px; }
}
