/* ═══════════════════════════════════════
   BLOG-SINGLE.CSS — sppf_blog_single.php
   ═══════════════════════════════════════ */

body.article-bg {
  background: var(--warm-white);
  color: var(--navy);
}
body.article-bg ::selection {
  color: var(--navy);
}

/* ─── Article Hero ─── */
section.article-hero {
  padding: 180px 32px 80px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
section.article-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.article-hero-inner {
  max-width: 820px; margin: 0 auto; position: relative;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 32px;
}
.article-breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.3s;
}
.article-breadcrumb a:hover { color: var(--gold); }
.article-breadcrumb .sep { opacity: 0.3; }
.article-cat-label {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 20px;
  opacity: 0.8;
}
section.article-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  color: #fff; line-height: 1.12;
  margin: 0 0 28px; font-weight: 400;
  max-width: 780px;
}
section.article-hero h1 em {
  font-style: italic; color: var(--gold);
}
.article-meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
.article-meta-divider { opacity: 0.3; }

/* ─── Featured Image ─── */
.article-featured-image {
  max-width: 1100px; margin: -40px auto 0;
  padding: 0 32px; position: relative; z-index: 2;
}
.article-featured-inner {
  height: 420px; border-radius: 16px; overflow: hidden;
  position: relative;
}
.article-featured-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 60%, rgba(200,165,92,0.1) 100%);
}
.article-featured-caption {
  position: absolute; bottom: 20px; right: 24px;
  font-size: 11px; color: rgba(255,255,255,0.4);
  background: rgba(10,22,40,0.6); backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 4px;
}

/* ─── Article Body ─── */
.article-content {
  max-width: 720px; margin: 0 auto;
  padding: 80px 32px 120px;
}
.article-content p {
  font-size: 17px; line-height: 1.85;
  color: var(--text-body); margin-bottom: 28px;
}
.article-content p.lead {
  font-size: 20px; line-height: 1.75;
  color: var(--navy); font-weight: 400;
}
.article-content h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy); line-height: 1.2;
  margin: 56px 0 20px; font-weight: 400;
}
.article-content h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--navy); line-height: 1.25;
  margin: 40px 0 16px; font-weight: 400;
}
.article-content blockquote {
  margin: 48px 0; padding: 32px 36px;
  border-left: 3px solid var(--gold);
  background: rgba(10,22,40,0.03);
  border-radius: 0 12px 12px 0;
}
.article-content blockquote p {
  font-family: var(--f-display);
  font-size: 22px; line-height: 1.55;
  color: var(--navy); font-style: italic;
  margin-bottom: 0;
}
.article-content blockquote cite {
  display: block; margin-top: 16px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--gold); font-style: normal;
  letter-spacing: 0.06em;
}
.article-content ul, .article-content ol {
  margin: 0 0 28px 24px;
  font-size: 17px; line-height: 1.85;
  color: var(--text-body);
}
.article-content li { margin-bottom: 8px; }
.article-content figure {
  margin: 48px 0;
}
.article-content figure .fig-image {
  width: 100%; height: 320px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light), rgba(200,165,92,0.08));
  margin-bottom: 12px;
}
.article-content figcaption {
  font-size: 13px; color: var(--text-muted);
  font-style: italic; text-align: center;
}
.article-content .spec-table-wrap {
  overflow-x: auto; margin: 40px 0;
  border-radius: 10px; border: 1px solid rgba(10,22,40,0.08);
}
.article-content .spec-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
}
.article-content .spec-table th {
  padding: 14px 18px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  background: rgba(10,22,40,0.04);
  border-bottom: 2px solid rgba(10,22,40,0.06);
}
.article-content .spec-table td {
  padding: 12px 18px; font-size: 14px;
  color: var(--text-body); background: #fff;
  border-bottom: 1px solid rgba(10,22,40,0.04);
  line-height: 1.5;
}
.article-content .spec-table td:first-child {
  font-weight: 600; color: var(--navy);
}

/* ─── Author Card ─── */
.author-card {
  display: flex; gap: 20px; align-items: center;
  padding: 32px; background: #fff;
  border: 1px solid rgba(10,22,40,0.06);
  border-radius: 12px; margin-top: 64px;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 22px; color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-size: 15px; color: var(--navy); font-weight: 600;
  margin-bottom: 2px;
}
.author-role {
  font-size: 13px; color: var(--text-muted);
}

/* ─── Share Bar ─── */
.article-share {
  display: flex; gap: 12px; align-items: center;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(10,22,40,0.06);
}
.share-label {
  font-size: 12px; color: var(--text-muted);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(10,22,40,0.1);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
  transition: all 0.3s;
}
.share-btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(200,165,92,0.05);
}
a.share-btn { text-decoration: none; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 40px 0; }
.article-content table th,
.article-content table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid rgba(10,22,40,0.06); font-size: 14px; }
.journal-empty { text-align: center; padding: 40px 32px 80px; color: var(--text-muted); }
.journal-pager { display: flex; justify-content: center; gap: 24px; padding: 20px 32px 80px; }
.journal-pager a { color: var(--gold); font-weight: 600; text-decoration: none; letter-spacing: 0.06em; }

/* ─── Related Articles ─── */
section.related {
  padding: 100px 32px; background: var(--navy);
}
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-header {
  text-align: center; margin-bottom: 56px;
}
.related-header h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: #fff; line-height: 1.1; margin: 0;
  font-weight: 400;
}
.related-header h2 em { font-style: italic; color: var(--gold); }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.related-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(200,165,92,0.1);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; display: block;
  transition: all 0.4s ease;
}
.related-card:hover {
  border-color: rgba(200,165,92,0.4);
  transform: translateY(-4px);
}
.related-thumb {
  height: 160px; position: relative; overflow: hidden;
}
.related-thumb-inner {
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.related-card:hover .related-thumb-inner { transform: scale(1.04); }
.related-body { padding: 24px 20px; }
.related-cat {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--gold); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 10px; opacity: 0.7;
}
.related-title {
  font-family: var(--f-display); font-size: 20px;
  color: #fff; line-height: 1.25; margin-bottom: 10px;
}
.related-excerpt {
  font-size: 13px; color: var(--text-light); line-height: 1.65;
  margin-bottom: 16px;
}
.related-read {
  font-size: 12px; color: var(--gold); font-weight: 600;
  letter-spacing: 0.04em; display: flex;
  align-items: center; gap: 6px;
}
.related-read .arrow { transition: transform 0.3s; }
.related-card:hover .related-read .arrow { transform: translateX(4px); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .article-featured-inner { height: 280px; }
  .related-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .article-hero { padding: 140px 20px 60px; }
  .article-content { padding: 48px 20px 80px; }
  .article-content blockquote { padding: 24px 20px; }
}