/* ============================================================
   FIREKIRIN777 — BLOG POST SHARED STYLES
   blog.css — included on every blog post page
   ============================================================ */

.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1200px;
  margin: 88px auto 0;
  padding: 60px 5% 80px;
  align-items: start;
}

/* ── ARTICLE BODY ── */
.article-body { min-width: 0; }

.article-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--border);
}
.article-hero img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1a0808, #2d1010);
}

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

/* ── BODY TYPOGRAPHY ── */
.article-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin: 28px 0 12px;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
}
.article-body p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-light); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { font-size: 0.97rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc-title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.toc-list { padding-left: 20px; margin: 0; }
.toc-list li { margin-bottom: 8px; }
.toc-list a { font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; transition: color var(--transition); }
.toc-list a:hover { color: var(--gold); }

/* ── CALLOUTS ── */
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  margin: 28px 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.callout-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.callout strong { color: var(--text-primary); }
.callout-gold { background: rgba(240,180,41,0.08); border: 1px solid rgba(240,180,41,0.25); }
.callout-red   { background: rgba(192,57,43,0.08);  border: 1px solid rgba(192,57,43,0.25); }
.callout-green { background: rgba(39,174,96,0.08);  border: 1px solid rgba(39,174,96,0.25); }

/* ── STEP CARDS ── */
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}
.step-card-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card-content strong { display: block; font-family: var(--font-ui); font-size: 0.95rem; color: var(--text-primary); margin-bottom: 6px; }
.step-card-content p { margin: 0; font-size: 0.88rem; }

/* ── TIP CARDS ── */
.tip-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 12px;
}
.tip-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(240,180,41,0.15);
  border: 1px solid rgba(240,180,41,0.4);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-card strong { font-family: var(--font-ui); font-size: 0.95rem; color: var(--text-primary); display: block; margin-bottom: 4px; }
.tip-card p { margin: 0; font-size: 0.88rem; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.compare-table th { background: var(--bg-card); padding: 12px 16px; text-align: left; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border-bottom: 2px solid var(--border); }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: #2ecc71; font-weight: 700; }
.compare-table .cross { color: #e74c3c; }

/* ── IMAGES IN ARTICLES ── */
.img-block { margin: 32px 0; }
.img-block img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); display: block; background: linear-gradient(135deg,#1a0808,#2d1010); }
.img-caption { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 8px; font-style: italic; }

/* ── ARTICLE CTA ── */
.article-cta {
  background: linear-gradient(135deg, #1a0808, #2d1010);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}
.article-cta h3 { font-size: 1.4rem; margin-bottom: 10px; }
.article-cta p  { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; max-width: 480px; margin-inline: auto; }
.article-cta > div { justify-content: center; }

/* ── RELATED POSTS ── */
.related-posts { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 1.2rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-card { text-decoration: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: block; }
.related-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.related-card img { width: 100%; height: 140px; object-fit: cover; display: block; background: linear-gradient(135deg,#1a0808,#2d1010); }
.related-card-body { padding: 14px; }
.related-card-body p { font-size: 0.82rem; color: var(--text-secondary); margin-top: 6px; line-height: 1.4; }

/* ── SIDEBAR ── */
.article-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }

/* ── FAQ inside articles ── */
.faq-list .faq-item { border-bottom: 1px solid var(--border); }
.faq-list .faq-q { display:flex; justify-content:space-between; align-items:center; padding:18px 0; cursor:pointer; font-family:var(--font-ui); font-size:.95rem; font-weight:600; color:var(--text-primary); gap:12px; user-select:none; }
.faq-list .faq-q:hover { color:var(--gold); }
.faq-list .faq-icon { width:22px; height:22px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1rem; color:var(--gold); flex-shrink:0; transition:transform var(--transition); }
.faq-list .faq-item.active .faq-icon { transform:rotate(45deg); }
.faq-list .faq-a { max-height:0; overflow:hidden; transition:max-height .4s ease; font-size:.92rem; color:var(--text-secondary); line-height:1.7; }
.faq-list .faq-item.active .faq-a { padding-bottom:16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .article-wrap { padding: 50px 5% 60px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-meta { gap: 12px; }
}
