/* --- AI Blog Post Styles ---------------------------------------- */

/* Breadcrumb */
.zz-breadcrumb {
  background: #FAF5FF;
  border-bottom: 1px solid #EDD9F7;
  padding: 0.75rem 0;
}
.zz-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.zz-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
}
.zz-breadcrumb ol li::after {
  content: '›';
  margin-left: 0.5rem;
  color: #C0A0D0;
}
.zz-breadcrumb ol li:last-child::after { content: ''; }
.zz-breadcrumb a { color: #9040B8; text-decoration: none; }
.zz-breadcrumb a:hover { text-decoration: underline; }

/* Article layout */
.zz-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* Article illustration */
.zz-article-illustration {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
  line-height: 0;
}
.zz-article-illustration img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* Article header */
.zz-article-header {
  background: linear-gradient(135deg, #FDF5FF 0%, #F5E8FF 60%, #FFF0F8 100%);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 3rem 0 2.5rem;
  margin-bottom: 2.5rem;
}
.zz-article-header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}
.zz-article-cluster {
  display: inline-block;
  background: #F0D8FF;
  color: #7030A0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.zz-article-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  color: #2D1050;
  margin: 0 0 1.25rem;
}
.zz-article-intro {
  background: #fff;
  border-left: 4px solid #9040B8;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}
.zz-article-intro p { margin: 0; }

/* Meta row */
.zz-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #777;
}
.zz-article-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.zz-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C050B0, #8030A0);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zz-author-info { display: flex; flex-direction: column; gap: 0.1rem; }
.zz-author-name { font-weight: 600; color: #333; font-size: 0.9rem; }
.zz-author-role { font-size: 0.78rem; color: #999; }

/* Article body: content + sidebar */
.zz-article-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.zz-article-content {
  min-width: 0;
}

/* Content typography */
.zz-article-content h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.55rem;
  color: #2D1050;
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #EDD9F7;
  line-height: 1.35;
}
.zz-article-content h2:first-child { margin-top: 0; }
.zz-article-content h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.2rem;
  color: #3D1870;
  margin: 1.75rem 0 0.65rem;
  line-height: 1.4;
}
.zz-article-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4A2080;
  margin: 1.5rem 0 0.5rem;
}
.zz-article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1.25rem;
}
.zz-article-content ul,
.zz-article-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.zz-article-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 0.4rem;
}
.zz-article-content strong { color: #2D1050; }
.zz-article-content blockquote {
  border-left: 4px solid #C050B0;
  background: #FBF0FF;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #555;
}
.zz-article-content a {
  color: #9040B8;
  text-decoration: underline;
  text-decoration-color: #C890E8;
}
.zz-article-content a:hover { color: #6020A0; }

/* FAQ Section */
.zz-faq-section {
  background: #FAF5FF;
  border: 1px solid #EDD9F7;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2.5rem 0;
}
.zz-faq-section > h2 {
  border-bottom: none;
  margin-top: 0;
  font-size: 1.4rem;
}
.zz-faq-item {
  border-bottom: 1px solid #EDD9F7;
  padding: 1.25rem 0;
}
.zz-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.zz-faq-question {
  font-size: 1.05rem !important;
  color: #2D1050 !important;
  margin: 0 0 0.6rem !important;
}
.zz-faq-answer p { margin: 0; color: #555; line-height: 1.75; }

/* Key Takeaways */
.zz-takeaways {
  background: linear-gradient(135deg, #2D1050, #5020A0);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2.5rem 0;
  color: white;
}
.zz-takeaways h2 {
  color: white !important;
  border-bottom-color: rgba(255,255,255,0.2) !important;
  font-size: 1.3rem !important;
  margin-top: 0 !important;
}
.zz-takeaways-list {
  padding-left: 1.25rem;
  margin: 0;
}
.zz-takeaways-list li {
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.7 !important;
  margin-bottom: 0.6rem !important;
}

/* Sidebar */
.zz-article-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* TOC */
.zz-toc {
  background: #FAF5FF;
  border: 1px solid #EDD9F7;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.zz-toc-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7030A0;
  margin-bottom: 0.75rem;
}
#zz-toc-nav ul { list-style: none; padding: 0; margin: 0; }
#zz-toc-nav li { margin: 0; }
#zz-toc-nav li.toc-h3 { padding-left: 0.85rem; }
#zz-toc-nav a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  line-height: 1.4;
  border-bottom: 1px solid #F0E0FF;
}
#zz-toc-nav a:hover { color: #9040B8; }
#zz-toc-nav li:last-child a { border-bottom: none; }

/* Author box */
.zz-author-box {
  background: white;
  border: 1px solid #EDD9F7;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.zz-author-box-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C050B0, #8030A0);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.zz-author-box-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #2D1050;
  margin-bottom: 0.5rem;
}
.zz-author-box-bio {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* Related posts */
.zz-related {
  background: #FAF5FF;
  border: 1px solid #EDD9F7;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.zz-related-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7030A0;
  margin-bottom: 0.75rem;
}
.zz-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.zz-related-list li {
  border-bottom: 1px solid #F0E0FF;
  padding: 0.4rem 0;
}
.zz-related-list li:last-child { border-bottom: none; }
.zz-related-list a {
  font-size: 0.875rem;
  color: #555;
  text-decoration: none;
  line-height: 1.45;
}
.zz-related-list a:hover { color: #9040B8; }

/* Responsive */
@media (max-width: 900px) {
  .zz-article-body {
    grid-template-columns: 1fr;
  }
  .zz-article-sidebar {
    position: static;
    order: -1;
  }
  .zz-toc { display: none; }
}
@media (max-width: 600px) {
  .zz-article { padding: 0 1rem 3rem; }
  .zz-article-header-inner { padding: 0 1rem; }
  .zz-article-title { font-size: 1.5rem; }
}
