/*
 * Heart of Hope — Single Posts & Standard Pages
 */

/* =========================
   Single Post Layout
   ========================= */

.single-post .hoh-single-wrapper {
  max-width: var(--hoh-max-width-single);
  margin: 60px auto 80px auto;
  padding: 0 20px;
}

.single-post .hoh-single-post {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  animation: hohFadeIn 0.4s ease-out;
}

.single-post .hoh-single-halo {
  content: "";
  position: absolute;
  top: -32px;
  left: -32px;
  right: -32px;
  bottom: -32px;
  background: radial-gradient(
    circle at center,
    rgba(90, 62, 166, 0.12),
    rgba(90, 62, 166, 0) 70%
  );
  border-radius: 32px;
  z-index: -1;
}

.single-post .hoh-single-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--hoh-text-main);
  text-align: center;
}

.single-post .hoh-single-meta {
  text-align: center;
  font-size: 14px;
  color: var(--hoh-text-muted);
  margin-bottom: 36px;
}

.single-post .hoh-single-meta span {
  margin: 0 6px;
}

.single-post .hoh-single-content {
  font-size: 17px;
  line-height: 1.75;
  color: #444444;
}

.single-post .hoh-single-content p {
  margin-bottom: 24px;
}

.single-post .hoh-single-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* Blockquote styling */
.single-post .hoh-single-content blockquote {
  position: relative;
  background: #f7f4ff;
  border-left: 4px solid var(--hoh-purple);
  padding: 24px;
  margin: 36px 0;
  font-style: italic;
  border-radius: 12px;
  color: var(--hoh-text-main);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  line-height: 1.8;
  overflow: hidden;
}

.single-post .hoh-single-content blockquote p {
  margin: 0;
}

.single-post .hoh-single-content blockquote::before {
  content: "📖";
  font-size: 24px;
  display: block;
  text-align: center;
  margin-bottom: 12px;
  color: var(--hoh-purple);
}

.single-post .hoh-single-content blockquote::after {
  content: "✝";
  position: absolute;
  font-size: 80px;
  color: rgba(90, 62, 166, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* Width refinement */
.single-post .entry-content,
.single-post .hoh-main,
.single-post .hoh-front-content-card {
  max-width: var(--hoh-max-width-single);
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
  margin-top: 48px;
  margin-bottom: 72px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .single-post .hoh-single-wrapper {
    padding: 0;
  }

  .single-post .hoh-single-post {
    padding: 28px;
    border-radius: 16px;
  }

  .single-post .hoh-single-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .single-post .hoh-single-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .single-post .hoh-single-content p {
    margin-bottom: 20px;
  }

  .single-post .hoh-single-content blockquote {
    padding: 20px;
    margin: 28px 0;
    font-size: 16px;
    line-height: 1.7;
  }

  .single-post .hoh-single-content blockquote::after {
    font-size: 60px;
  }
}

/* =========================
   Standard Pages (About, Contact, etc.)
   ========================= */

.hoh-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hoh-page-title {
  font-family: var(--hoh-font-serif);
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: var(--hoh-purple);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hoh-section-title {
  font-family: var(--hoh-font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1rem;
  color: var(--hoh-purple);
}

.hoh-page p {
  font-family: var(--hoh-font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--hoh-text-main);
  margin-bottom: 1.5rem;
}

/* Standard-page card override */
.hoh-page .hoh-card {
  background: var(--hoh-white-bg);
  border-radius: var(--hoh-radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin: 2rem 0;
}

/* Scripture card block */
.hoh-scripture-card {
  background: #faf7ff;
  border-left: 6px solid var(--hoh-purple);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  border-radius: 12px;
  font-family: var(--hoh-font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: #3a2a6a;
  text-align: center;
  line-height: 1.5;
}

.hoh-scripture-card span {
  display: block;
  margin-top: 0.75rem;
}
