/* ─── BLOG V6 ─────────────────────────────────────────────────────── */
:root {
  --blog: #E0734B;
  --blog2: #D97757;
  --blog-light: rgba(224, 115, 75, 0.1);
  --blog-border: rgba(224, 115, 75, 0.2);
  --dp: #181818;
  --dp2: #2D2D2D;
  --cream: #FAF8F5;
  --ink: #181818;
  --ink2: #374151;
  --muted: #6b7280;
  --border: rgba(18, 18, 18, 0.08);
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--ink);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* BLOG HERO */
.blog-hero {
  background: linear-gradient(135deg, var(--dp) 0%, #4a1060 50%, #1a0045 100%);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.blog-hero-glow {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #e0734b59 0%, transparent 60%);
  pointer-events: none;
}

.blog-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #ddd6fe;
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.blog-hero h1 em {
  color: var(--blog);
  font-style: italic;
}

.blog-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* BLOG LIST */
.section-blog {
  padding: 80px 0 100px;
}

.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blog);
  color: #fff;
  border-color: var(--blog);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45, 16, 96, 0.08);
}

.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dp) 0%, var(--blog2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-cat-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blog);
  background: var(--blog-light);
  padding: 3px 10px;
  border-radius: 999px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-read {
  font-weight: 700;
  color: var(--blog);
}

/* EMPTY STATE */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}

.blog-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.blog-empty h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

/* BREADCRUMB */
.breadcrumb-bar {
  margin-bottom: 20px;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

.breadcrumb-inner a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-inner a:hover {
  color: #fff;
}

.bc-sep {
  opacity: 0.4;
}

.breadcrumb-inner span[aria-current] {
  color: #fff;
  font-weight: 600;
}

/* ARTICLE PAGE */
.article-hero {
  background: linear-gradient(135deg, var(--dp) 0%, #4a1060 50%, #1a0045 100%);
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.article-hero-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #e0734b59 0%, transparent 60%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-cats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-cat-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.article-hero-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.article-hero-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ARTICLE BODY */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  align-items: start;
}

.article-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 36px 0 14px;
  line-height: 1.2;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink2);
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink2);
  margin-bottom: 6px;
}

.article-content a {
  color: var(--blog);
  font-weight: 600;
}

.article-content a:hover {
  color: var(--blog2);
}

.article-content strong {
  color: var(--ink);
  font-weight: 700;
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
}

.article-content blockquote {
  border-left: 4px solid var(--blog);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--blog-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--ink2);
}

/* SIDEBAR */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 16px;
}

.sidebar-cta-btn {
  display: block;
  background: var(--blog);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  margin-top: 12px;
  transition: background 0.2s, transform 0.2s;
}

.sidebar-cta-btn:hover {
  background: var(--blog2);
  transform: translateY(-2px);
}

.related-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.related-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blog);
  flex-shrink: 0;
  margin-top: 5px;
}

.related-link a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.related-link a:hover {
  color: var(--blog);
}

/* SHARE BUTTONS */
.share-bar {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.85;
}

.share-btn.twitter {
  background: #1DA1F2;
  color: #fff;
}

.share-btn.linkedin {
  background: #0A66C2;
  color: #fff;
}

.share-btn.copy {
  background: var(--blog);
  color: #fff;
}

li > svg {
  width: 15px;
  height: 15px;
}

article > svg {
  width: 15px;
  height: 15px;
}

/* RESPONSIVE */
@media(max-width:1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media(max-width:900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 24px;
  }

  .article-layout {
    padding: 32px 16px 60px;
  }
}