/*
 * single-post.css — fmv-gold blog post styling.
 * Centered single-column reading layout. Dark luxury hero (with the
 * featured image set via inline background-image shorthand from
 * single.php) + elegant article body typography.
 */

/* ----------------------------------------
   HERO (dark luxury, optionally with bg image)
---------------------------------------- */
.single-post-header {
  /* Default — no featured image. Pure gradient hero. */
  background:
    radial-gradient(ellipse at top right, rgba(197, 160, 40, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(26, 31, 58, 0.5), transparent 50%),
    var(--fmv-dark, #1a1f3a);
  color: #ffffff;
  padding: 96px 0 96px;
  min-height: 480px;
  text-align: center;
  display: flex;
  align-items: center;
  background-color: var(--fmv-dark, #1a1f3a);
}

/* When the post has a featured image, single.php sets the
   `background-image` inline (gradient + url shorthand). We just need
   to specify how it sizes/repeats and keep the hero tall enough for
   the image to read. */
.single-post-header.has-bg-image {
  background-color: var(--fmv-dark, #1a1f3a);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 540px;
  padding: 120px 0;
}

.single-post-header > .container { width: 100%; }

.single-post-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fmv-gold, #c5a028);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.single-post-eyebrow a {
  color: var(--fmv-gold, #c5a028);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.single-post-eyebrow a:hover { border-bottom-color: var(--fmv-gold, #c5a028); }

.single-post-eyebrow-sep,
.single-post-meta-sep {
  display: inline-block;
  margin: 0 0.75rem;
  opacity: 0.5;
}

.single-post-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #ffffff;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.single-post-meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.single-post-author {
  color: #ffffff;
  font-weight: 600;
}

/* ----------------------------------------
   ARTICLE BODY
---------------------------------------- */
/* Generous top padding so the article doesn't feel jammed against
   the hero. Also adds a subtle hairline gold accent at the top of the
   body region for a clean visual transition from hero to white. */
.single-post-body {
  padding: 96px 0 96px;
  background: #ffffff;
  position: relative;
}

.single-post-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--fmv-gold, #c5a028);
  border-radius: 2px;
  margin-top: 40px;
}

.single-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--fmv-dark, #1a1f3a);
  margin-top: 24px; /* small extra clearance below the gold accent */
}

.single-post-content > p,
.single-post-content > ul,
.single-post-content > ol,
.single-post-content > blockquote,
.single-post-content > figure { margin-bottom: 1.5rem; }

.single-post-content h2 {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--fmv-dark, #1a1f3a);
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.single-post-content h3 {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fmv-dark, #1a1f3a);
  margin: 2.25rem 0 0.75rem;
  line-height: 1.3;
}

.single-post-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fmv-dark, #1a1f3a);
  margin: 2rem 0 0.5rem;
  line-height: 1.35;
}

.single-post-content a {
  color: var(--fmv-gold-dark, #a07f1e);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.single-post-content a:hover { color: var(--fmv-gold, #c5a028); }

.single-post-content strong {
  color: var(--fmv-dark, #1a1f3a);
  font-weight: 700;
}

.single-post-content blockquote {
  border-left: 4px solid var(--fmv-gold, #c5a028);
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(26, 31, 58, 0.85);
  background: rgba(197, 160, 40, 0.04);
  border-radius: 0 8px 8px 0;
}

.single-post-content blockquote p:last-child { margin-bottom: 0; }

.single-post-content figure { margin: 2rem 0; text-align: center; }

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.single-post-content figcaption {
  font-size: 0.9rem;
  color: var(--fmv-muted, #6c757d);
  margin-top: 0.75rem;
  font-style: italic;
}

.single-post-content ul,
.single-post-content ol { padding-left: 1.5rem; }

.single-post-content li { margin-bottom: 0.5rem; }

/* ----------------------------------------
   TAGS + BACK LINK
---------------------------------------- */
.single-post-tags {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
}

.single-post-tags-label {
  color: var(--fmv-muted, #6c757d);
  font-weight: 600;
  margin-right: 0.5rem;
}

.single-post-tag {
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--fmv-gold-dark, #a07f1e);
  text-decoration: none;
  font-weight: 500;
}

.single-post-tag:hover { color: var(--fmv-gold, #c5a028); }

.single-post-back-link {
  color: var(--fmv-muted, #6c757d);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.single-post-back-link:hover { color: var(--fmv-dark, #1a1f3a); }

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (max-width: 767.98px) {
  .single-post-header { padding: 72px 0; min-height: 360px; }
  .single-post-header.has-bg-image { padding: 80px 0; min-height: 400px; }
  .single-post-body { padding: 64px 0 72px; }
  .single-post-body::before { margin-top: 24px; }
  .single-post-content { font-size: 1.02rem; line-height: 1.7; }
  .single-post-content h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
  .single-post-content h3 { font-size: 1.25rem; }
}
