
/* ── Hero ── */
.sp-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet) 60%, #4e3680 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 4rem) 4rem 4rem;
  position: relative; overflow: hidden;
}
.sp-hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px);
}
.sp-hero-bg { position: absolute; inset: 0; }
.sp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; display: block; }
.sp-hero-bg-dim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--violet-deep) 0%, rgba(61,43,107,0.7) 60%, transparent 100%);
}
.sp-hero-content { position: relative; z-index: 2; max-width: 780px; }

/* Breadcrumb */
.sp-breadcrumb {
  display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 1.25rem;
}
.sp-breadcrumb a { color: var(--gold); text-decoration: none; }
.sp-breadcrumb a:hover { text-decoration: underline; }
.sp-breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* Category pill */
.sp-cat-pill {
  display: inline-block;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(232,160,32,0.15); color: var(--gold);
  padding: 0.3rem 0.85rem; border-radius: 2px;
  text-decoration: none; margin-bottom: 1rem;
  border: 1px solid rgba(232,160,32,0.3);
  transition: background 0.2s;
}
.sp-cat-pill:hover { background: rgba(232,160,32,0.28); }

/* Title */
.sp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem;
}

/* Meta row */
.sp-hero-meta { display: flex; align-items: center; gap: 0.85rem; }
.sp-author-avatar { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }
.sp-hero-meta-text { display: flex; flex-direction: column; gap: 0.15rem; }
.sp-author-name { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.sp-meta-details { font-size: 0.7rem; font-weight: 300; color: rgba(255,255,255,0.4); }
.sp-meta-dot { margin: 0 0.3rem; }

/* ── Body wrap ── */
.sp-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start;
}

/* ── Article ── */
.sp-article { min-width: 0; }

/* Lead paragraph */
.sp-lead {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.15rem; font-weight: 400; color: var(--violet);
  line-height: 1.75; border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem; margin-bottom: 2.5rem;
}

/* Content typography */
.sp-content { font-size: 0.95rem; font-weight: 300; color: #444; line-height: 1.95; }
.sp-content p { margin-bottom: 1.5rem; }
.sp-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 500; color: var(--violet);
  margin: 2.5rem 0 1rem; line-height: 1.3;
}
.sp-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--violet);
  margin: 2rem 0 0.75rem;
}
.sp-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 2rem 0; padding: 0.75rem 0 0.75rem 1.5rem;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.05rem; color: var(--violet); line-height: 1.7;
}
.sp-content img { max-width: 100%; border-radius: 4px; margin: 1.5rem 0; display: block; }
.sp-content a { color: var(--violet); text-decoration: underline; }
.sp-content a:hover { color: var(--gold); }
.sp-content ul, .sp-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.sp-content li { margin-bottom: 0.4rem; }

/* Tags */
.sp-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(61,43,107,0.1);
}
.sp-tags-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #aaa;
}
.sp-tag {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 2px;
  background: var(--violet-pale); color: var(--violet);
  text-decoration: none; transition: background 0.2s;
}
.sp-tag:hover { background: rgba(61,43,107,0.15); }

/* Author card */
.sp-author-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-top: 2.5rem; padding: 1.75rem;
  background: var(--violet-pale); border-radius: 4px;
  border: 1px solid rgba(61,43,107,0.1);
}
.sp-author-card-avatar { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.sp-author-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 500; color: var(--violet); margin-bottom: 0.4rem;
}
.sp-author-card-bio {
  font-size: 0.8rem; font-weight: 300; color: #666; line-height: 1.75; margin: 0;
}

/* Prev / Next nav — compact inline links */
.sp-post-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(61,43,107,0.1);
}
.sp-nav-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet); text-decoration: none;
  padding: 0.45rem 0.9rem; border: 1px solid rgba(61,43,107,0.18);
  border-radius: 2px; background: transparent;
  transition: border-color 0.2s, color 0.2s;
}
.sp-nav-item:hover { border-color: var(--gold); color: var(--gold); }
.sp-nav-next { margin-left: auto; }
.sp-nav-label { display: none; } /* hidden — arrow + truncated title is enough */
.sp-nav-title {
  font-size: 0.7rem; font-weight: 500; color: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
}

/* Comments */
.sp-comments-wrap {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(61,43,107,0.1);
}
.sp-comments-wrap .comment-form input,
.sp-comments-wrap .comment-form textarea {
  border: 1px solid rgba(61,43,107,0.15); border-radius: 2px;
  padding: 0.65rem 0.9rem; font-size: 0.85rem;
  width: 100%; box-sizing: border-box; outline: none;
  background: var(--cream); color: #333;
}
.sp-comments-wrap .comment-form input:focus,
.sp-comments-wrap .comment-form textarea:focus { border-color: var(--violet-light); }
.sp-comments-wrap .comment-form .submit input {
  width: auto; background: var(--violet); color: var(--white);
  border: none; cursor: pointer; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 1.75rem; transition: background 0.2s;
}
.sp-comments-wrap .comment-form .submit input:hover { background: var(--violet-deep); }

/* ── Sidebar ── (reuses .blog-widget tokens from blog page) ── */
.sp-sidebar {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.sp-widget { background: var(--white); border: 1px solid rgba(61,43,107,0.1); border-radius: 4px; padding: 1.5rem; }
.sp-widget-title {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  padding-bottom: 0.65rem; border-bottom: 1px solid rgba(232,160,32,0.2);
}
.sp-widget-verse { background: var(--violet-pale); border-color: rgba(61,43,107,0.12); text-align: center; }
.sp-verse-flame { margin: 0 auto 0.75rem; display: block; }
.sp-verse-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 0.92rem; color: var(--violet); line-height: 1.65; margin: 0 0 0.5rem;
}
.sp-verse-ref { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.sp-widget-cats { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }
.sp-cat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(61,43,107,0.06);
  font-size: 0.8rem; font-weight: 400; color: #666; text-decoration: none; transition: color 0.2s;
}
.sp-cat-row:hover { color: var(--violet); }
.sp-cat-count {
  font-size: 0.65rem; font-weight: 600; color: var(--gold);
  background: rgba(232,160,32,0.1); padding: 0.15rem 0.5rem; border-radius: 10px;
}
.sp-recent-row {
  display: flex; gap: 0.85rem; align-items: flex-start; text-decoration: none;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(61,43,107,0.06);
}
.sp-recent-row:last-child { border-bottom: none; }
.sp-recent-thumb { width: 52px; height: 52px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.sp-recent-thumb-fallback { background: linear-gradient(135deg, var(--violet-pale), rgba(232,160,32,0.12)); }
.sp-recent-title {
  font-size: 0.78rem; font-weight: 500; color: var(--violet); line-height: 1.4; margin-bottom: 0.25rem; transition: color 0.2s;
}
.sp-recent-row:hover .sp-recent-title { color: var(--gold); }
.sp-recent-date { font-size: 0.65rem; color: #bbb; }
.sp-widget-cta { background: var(--violet-deep); border-color: transparent; text-align: center; }
.sp-widget-cta-icon { font-size: 1.2rem; color: var(--gold); margin-bottom: 0.5rem; }
.sp-widget-cta-text { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.75; }
.sp-back-link {
  display: block; text-align: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); text-decoration: none; padding: 0.75rem;
  border: 1px solid rgba(61,43,107,0.15); border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.sp-back-link:hover { border-color: var(--violet); color: var(--gold); }

/* ── Related posts section ── */
.sp-related {
  background: var(--cream, #faf9f7);
  padding: 5rem 2rem 4rem;
  border-top: 1px solid rgba(61,43,107,0.08);
}
.sp-related-inner { max-width: 1180px; margin: 0 auto; }
.sp-related-header { margin-bottom: 2.5rem; }
.sp-related-eyebrow {
  display: inline-block;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.sp-related-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400;
  color: var(--violet); line-height: 1.2;
}
.sp-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}

/* ── Related card (sp-card) — fully self-contained ── */
.sp-card {
  background: #fff;
  border: 1px solid rgba(61,43,107,0.09);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.sp-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,43,107,0.1);
}

/* Image */
.sp-card-img-wrap {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16/9; background: var(--violet-pale, #f0ecf8);
  text-decoration: none;
}
.sp-card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease;
}
.sp-card:hover .sp-card-img { transform: scale(1.05); }
.sp-card-img-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(232,160,32,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(61,43,107,0.08) 0%, rgba(61,43,107,0.04) 100%);
}
.sp-card-cat {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--violet, #3d2b6b); color: #fff;
  padding: 0.28rem 0.65rem; border-radius: 2px;
  pointer-events: none;
}

/* Body */
.sp-card-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex; flex-direction: column; flex: 1; gap: 0.55rem;
}
.sp-card-meta {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.67rem; color: #bbb; font-weight: 400;
}
.sp-card-dot { color: #ddd; }

/* Title */
.sp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem; font-weight: 500;
  color: var(--violet, #3d2b6b); line-height: 1.35;
}
.sp-card-title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.sp-card-title a:hover { color: var(--gold, #c8900a); }

/* Excerpt */
.sp-card-excerpt {
  font-size: 0.79rem; font-weight: 300; color: #777;
  line-height: 1.75; flex: 1;
}

/* Footer */
.sp-card-footer {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: auto; padding-top: 0.85rem;
  border-top: 1px solid rgba(61,43,107,0.07);
}
.sp-card-avatar {
  border-radius: 50%; width: 28px; height: 28px;
  object-fit: cover; flex-shrink: 0;
}
.sp-card-author { font-size: 0.72rem; font-weight: 500; color: #666; flex: 1; }
.sp-card-read-link {
  font-size: 0.68rem; font-weight: 700;
  color: var(--gold, #c8900a); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.2s; white-space: nowrap;
}
.sp-card-read-link:hover { color: var(--violet, #3d2b6b); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Closing banner — centred + generous gap before footer ── */
.blog-closing-banner {
  background: var(--violet-deep);
  padding: 6rem 2rem 8rem;
  text-align: center;
}
.blog-closing-inner {
  max-width: 580px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.75rem;
}
.blog-closing-inner blockquote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.5rem; color: var(--white); line-height: 1.45;
  text-align: center; margin: 0;
}
.blog-closing-inner cite {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sp-wrap { grid-template-columns: 1fr 260px; gap: 2rem; }
}
@media (max-width: 900px) {
  .sp-wrap { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sp-hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem; }
  .sp-wrap { padding: 2.5rem 1.25rem 4rem; }
  .sp-post-nav { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .sp-nav-next { margin-left: 0; }
  .sp-related { padding: 3rem 1.25rem; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .blog-closing-banner { padding: 4rem 1.5rem 6rem; }
}
