/* ================================================
   BRAND VALUE MAKERS — BLOG ARTICLE CSS
   File: css/blog-article.css
   Used on: all blog article pages
================================================ */

/* PAGE HERO */
.page-hero {
  background: var(--primary); padding: 140px 24px 80px;
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37,99,235,0.18) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); font-size: 0.82rem; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.25); font-size: 0.7rem; }
.breadcrumb p { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: white; margin-bottom: 20px; line-height: 1.2;
}
.page-hero h1 span { color: var(--accent-light); }
.article-meta {
  display: flex; align-items: center; gap: 20px;
  justify-content: center; flex-wrap: wrap; margin-top: 16px;
}
.article-meta span {
  color: rgba(255,255,255,0.55); font-size: 0.82rem;
  display: flex; align-items: center; gap: 6px;
}
.article-meta span i { color: var(--accent-light); }
.hero-category {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.35);
  color: var(--accent-light); padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 18px;
}

/* BLOG LAYOUT */
.blog-article-page { padding: 80px 24px 100px; background: white; }
.blog-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; max-width: 1280px; margin: 0 auto;
  align-items: start;
}

/* FEATURED IMAGE */
.featured-image {
  width: 100%; aspect-ratio: 16/7; border-radius: var(--radius);
  background: var(--gradient); display: flex;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden; margin-bottom: 40px;
}
.featured-image::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(37,99,235,0.25), transparent 60%);
}
.featured-image i {
  font-size: 5rem; color: rgba(255,255,255,0.15); position: relative; z-index: 1;
}

/* ARTICLE CONTENT */
.article-content h2 {
  font-size: 1.45rem; font-weight: 800; color: var(--primary);
  margin: 44px 0 16px; line-height: 1.3; position: relative; padding-left: 18px;
}
.article-content h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--accent); border-radius: 2px;
}
.article-content h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 0.97rem; color: var(--text-body); line-height: 1.85;
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 20px 0; padding-left: 0; list-style: none;
}
.article-content ul li, .article-content ol li {
  font-size: 0.95rem; color: var(--text-body); line-height: 1.75;
  padding: 6px 0 6px 28px; position: relative; border-bottom: 1px solid var(--border);
}
.article-content ul li:last-child, .article-content ol li:last-child { border: none; }
.article-content ul li::before {
  content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--accent); position: absolute; left: 0; top: 8px; font-size: 0.82rem;
}
.article-content ol { counter-reset: ol-counter; }
.article-content ol li { counter-increment: ol-counter; }
.article-content ol li::before {
  content: counter(ol-counter); position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; background: var(--accent); color: white;
  border-radius: 50%; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: var(--light-gray); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; margin: 28px 0;
}
.highlight-box p { margin: 0; font-size: 0.95rem; color: var(--text-body); font-style: italic; }
.highlight-box strong { color: var(--accent); }

/* STAT BOXES */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 32px 0;
}
.stat-box-sm {
  background: var(--light-gray); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; border: 1px solid var(--border);
}
.stat-box-sm strong {
  font-size: 1.8rem; font-weight: 800; color: var(--accent); display: block;
}
.stat-box-sm span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* CHECKLIST BOX */
.checklist-box {
  background: var(--primary); border-radius: var(--radius);
  padding: 32px; margin: 32px 0;
}
.checklist-box h3 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.checklist-box ul { list-style: none; margin: 0; padding: 0; }
.checklist-box ul li {
  color: rgba(255,255,255,0.75); font-size: 0.9rem;
  padding: 8px 0 8px 28px; border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.checklist-box ul li:last-child { border: none; }
.checklist-box ul li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: #22c55e; position: absolute; left: 0; top: 10px; font-size: 0.78rem;
}

/* ARTICLE CTA */
.article-cta {
  background: var(--gradient); border-radius: var(--radius);
  padding: 40px; text-align: center; margin-top: 56px; position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.25), transparent 70%);
}
.article-cta-inner { position: relative; z-index: 1; }
.article-cta h3 { color: white; font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.article-cta p  { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 28px; line-height: 1.7; }
.article-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* TAGS */
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--border); }
.tag {
  background: var(--accent-glow); color: var(--accent);
  font-size: 0.75rem; font-weight: 600; padding: 5px 14px;
  border-radius: 100px; border: 1px solid rgba(37,99,235,0.2);
}

/* RELATED POSTS */
.related-posts { padding: 80px 24px; background: var(--light-gray); }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1280px; margin: 0 auto;
}
.related-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.related-img {
  aspect-ratio: 16/9; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.related-img i { font-size: 2rem; color: rgba(255,255,255,0.25); }
.related-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white; font-size: 0.7rem;
  font-weight: 600; padding: 3px 10px; border-radius: 100px;
}
.related-body { padding: 20px; }
.related-body h4 { font-size: 0.92rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.related-body span { font-size: 0.75rem; color: var(--text-muted); }
.related-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  margin-top: 12px; transition: gap 0.3s;
}
.related-card:hover .related-link { gap: 9px; }

/* SIDEBAR */
.sidebar-widget {
  background: var(--light-gray); border-radius: var(--radius);
  padding: 28px; margin-bottom: 28px; border: 1px solid var(--border);
  position: sticky; top: 90px;
}
.sidebar-widget h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--primary);
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.recent-item {
  display: flex; gap: 14px; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); align-items: flex-start;
}
.recent-item:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.recent-thumb {
  width: 56px; height: 56px; border-radius: 10px; background: var(--gradient);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 1.1rem;
}
.recent-info strong { font-size: 0.83rem; color: var(--primary); font-weight: 600; display: block; line-height: 1.4; margin-bottom: 4px; }
.recent-info span { font-size: 0.72rem; color: var(--text-muted); }
.recent-info a { color: var(--primary); transition: color 0.2s; }
.recent-info a:hover { color: var(--accent); }
.cat-list { list-style: none; }
.cat-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.87rem;
}
.cat-list li:last-child { border: none; }
.cat-list li a { color: var(--text-body); transition: color 0.2s; }
.cat-list li a:hover { color: var(--accent); }
.cat-count {
  background: var(--accent-glow); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
}
.cta-widget { background: var(--primary) !important; border-color: rgba(37,99,235,0.2) !important; }
.cta-widget h4 { color: white !important; border-color: rgba(255,255,255,0.1) !important; }
.cta-widget p { color: rgba(255,255,255,0.6); font-size: 0.87rem; line-height: 1.7; margin-bottom: 20px; }

/* RESPONSIVE */
@media (max-width: 1024px) { .blog-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .article-cta-btns { flex-direction: column; }
  .article-cta-btns .btn { width: 100%; justify-content: center; }
}
