/* ===== BLOG STYLES (extends style.css) ===== */

/* Blog page top spacing under fixed navbar */
.blog-page { padding-top: 92px; }

/* ---- Blog hero / listing header ---- */
.blog-head {
  text-align: center;
  padding: 64px 24px 40px;
  max-width: 820px;
  margin: 0 auto;
}
.blog-head h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 14px 0 16px;
}
.blog-head h1 .accent { color: var(--gold); }
.blog-head p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ---- Listing grid ---- */
.blog-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.45);
  box-shadow: var(--shadow-lg);
}
.post-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--dark4); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  font-family: var(--font-head);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.post-card-body h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
  line-height: 1.35; margin-bottom: 10px; color: var(--white);
}
.post-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 18px; }
.post-meta { margin-top: auto; font-size: 0.78rem; color: #777; display: flex; gap: 10px; align-items: center; }
.post-readmore { color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; }

/* ---- Article (single post) ---- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.article-breadcrumb { font-size: 0.8rem; color: #777; padding: 28px 0 18px; }
.article-breadcrumb a { color: var(--gold); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-header { margin-bottom: 28px; }
.article-header .post-cat { margin-bottom: 14px; }
.article-header h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.15; margin-bottom: 18px;
}
.article-byline { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.article-byline .dot { color: #555; }
.article-hero-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius); margin: 8px 0 36px; border: 1px solid rgba(201,168,76,0.15);
}

.article-body { font-size: 1.04rem; line-height: 1.85; color: #d8d8d8; }
.article-body > p { margin-bottom: 22px; }
.article-body h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--white); margin: 44px 0 16px; line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--white); margin: 30px 0 12px;
}
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: #fff; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  background: var(--dark2);
  padding: 18px 22px; margin: 0 0 24px; border-radius: 0 10px 10px 0;
  color: #e8e8e8; font-style: italic;
}

/* Key-takeaway callout (good for AEO featured snippets) */
.callout {
  background: linear-gradient(135deg, rgba(201,168,76,0.10), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 22px 24px; margin: 0 0 30px;
}
.callout .callout-label {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 8px;
}
.callout p { margin: 0; color: #e8e8e8; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin: 0 0 30px; font-size: 0.92rem; }
.compare-table th, .compare-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
.compare-table thead th { font-family: var(--font-head); color: var(--gold); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.compare-table td:first-child { color: #fff; font-weight: 600; }

/* FAQ (AEO) */
.faq-section { margin: 48px 0 0; }
.faq-section h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin-bottom: 18px; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: var(--dark2); }
.faq-item summary {
  cursor: pointer; padding: 18px 20px; font-family: var(--font-head); font-weight: 600;
  color: #fff; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--text-muted); line-height: 1.75; font-size: 0.95rem; }

/* Article CTA */
.article-cta {
  margin: 48px 0 0; text-align: center; padding: 38px 28px;
  background: var(--dark3); border: 1px solid rgba(201,168,76,0.2); border-radius: 16px;
}
.article-cta h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin-bottom: 10px; }
.article-cta p { color: var(--text-muted); margin-bottom: 22px; }
/* Override .article-body a styles for buttons */
.article-cta .btn { margin: 0 6px 8px; text-decoration: none; }
.article-cta .btn-primary { color: var(--dark); }
.article-cta .btn-whatsapp { color: #fff; }
.article-cta .btn-whatsapp svg { width: 20px; height: 20px; }

/* Related posts */
.related { max-width: 1140px; margin: 0 auto; padding: 16px 24px 90px; }
.related h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
}
