.him-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  line-height: 1.75;
  font-size: 1.05rem;
}

.him-intro h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.him-intro p {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
}

.him-section {
  margin-top: 2rem;
}

.him-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #c2a869;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.him-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.him-button {
  background: linear-gradient(#fff, #f8f4ec);
  border: 1px solid #c2a869;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  color: #3e2f10;
  font-weight: 600;
  transition: all 0.2s ease;
}

.him-button:hover {
  background: #f5efdf;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.him-foot {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  color: #555;
}
/* ===== Poem Layout: Heaven In A Moment ===== */

:root{
  --font-head: "EB Garamond", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  /* Storm → Paradise palette */
  --storm-1: #0b1020;
  --storm-2: #1a2742;
  --storm-3: #2d3b5f;
  --paradise-1: #8fd3ff;
  --paradise-2: #c9ffd8;
  --paradise-3: #fff6d1;
  --ink: #f5f7ff;
  --ink-dim: #dbe3ff;
  --card-bg: rgba(8,12,24,0.55);
  --card-border: rgba(255,255,255,0.15);
  --glow: 0 0 60px rgba(255,255,255,0.25);
}

/* Section fills the viewport with a pulsing sky */
.poem-hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 48px);
  color: var(--ink);
}

/* Animated “storm to paradise” background */
.poem-sky{
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%) no-repeat,
    radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%) no-repeat,
    linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3)) fixed;
  animation: skyShift 18s ease-in-out infinite;
}

/* Glowing “pathway” overlay SVG */
.poem-path{
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: blur(8px) saturate(120%);
  mix-blend-mode: screen;
  animation: pathPulse 6s ease-in-out infinite;
  pointer-events: none;
}

/* Centered card for the poem */
.poem-card{
  width: min(800px, 92vw);
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--glow);
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
}

/* Title styling */
.poem-title{
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin: 0 0 0.75em 0;
  color: white;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

/* Poem body */
.poem-body{
  font-family: var(--font-head);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.8;
  color: var(--ink);
}

/* Each line sits on its own, gently breathing in */
.poem-body p{
  margin: 0.3em 0;
  opacity: 0;
  transform: translateY(8px);
  animation: lineRise 700ms ease-out forwards;
}

/* Stagger the line entrance */
.poem-body p:nth-child(n){
  animation-delay: calc(80ms * var(--i, 1));
}
.poem-body p:nth-child(1){ --i:1 } .poem-body p:nth-child(2){ --i:2 }
.poem-body p:nth-child(3){ --i:3 } .poem-body p:nth-child(4){ --i:4 }
.poem-body p:nth-child(5){ --i:5 } .poem-body p:nth-child(6){ --i:6 }
.poem-body p:nth-child(7){ --i:7 } .poem-body p:nth-child(8){ --i:8 }
.poem-body p:nth-child(9){ --i:9 } .poem-body p:nth-child(10){ --i:10 }
.poem-body p:nth-child(11){ --i:11 } .poem-body p:nth-child(12){ --i:12 }
.poem-body p:nth-child(13){ --i:13 }

/* Emphasis lines (“You,” “Make,”) */
.poem-body em{
  font-style: italic;
  letter-spacing: 0.6px;
  color: var(--ink-dim);
}

/* Animations */
@keyframes skyShift{
  0%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%),
      radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%),
      linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3));
    filter: saturate(110%) contrast(105%);
  }
  40%{
    background:
      radial-gradient(1100px 650px at 50% 120%, rgba(255,255,255,0.15), transparent 60%),
      radial-gradient(900px 500px at 50% 0%, rgba(255,255,255,0.10), transparent 70%),
      linear-gradient(180deg, #142036, #243255 50%, #2f4a72);
  }
  60%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.22), transparent 60%),
      radial-gradient(1000px 520px at 50% -10%, rgba(255,255,255,0.18), transparent 70%),
      linear-gradient(180deg, var(--paradise-1), var(--paradise-2) 60%, var(--paradise-3));
  }
  100%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%),
      radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%),
      linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3));
  }
}

@keyframes pathPulse{
  0%, 100%{ opacity: 0.35; transform: scale(1); }
  50%{ opacity: 0.65; transform: scale(1.03); }
}

@keyframes lineRise{
  to{ opacity: 1; transform: translateY(0); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  .poem-sky, .poem-path, .poem-body p{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Small screens: keep it readable and centered */
@media (max-width: 420px){
  .poem-card{ padding: 20px; }
  .poem-body{ line-height: 1.7; }
}
/* --- Poem block containment & mobile polish --- */
.poem-hero{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  border-radius: 16px; /* gives a gentle card edge inside narrow themes */
  padding-bottom: max(56px, env(safe-area-inset-bottom)); /* room for language widget on mobile */
}
.poem-card,
.poem-sky,
.poem-path{ box-sizing: border-box; }

/* Slightly tighter mobile sizing so nothing clips */
@media (max-width: 420px){
  .poem-card{
    width: min(560px, 94vw);
    padding: 18px 16px 22px;
    margin-inline: auto;
  }
}

/* If your theme adds side paddings via a wrapper, make sure our hero never overflows */
.entry-content .poem-hero,
.wp-block-post-content .poem-hero{
  max-width: 100%;
  overflow: hidden;
}
/* ===== Poem Layout – Heaven In A Moment ===== */
:root{
  --font-head: "EB Garamond", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  /* Storm → Paradise palette */
  --storm-1: #0b1020;
  --storm-2: #1a2742;
  --storm-3: #2d3b5f;
  --paradise-1: #8fd3ff;
  --paradise-2: #c9ffd8;
  --paradise-3: #fff6d1;
  --ink: #f5f7ff;
  --ink-dim: #dbe3ff;
  --card-border: rgba(255,255,255,0.15);
  --glow: 0 0 60px rgba(255,255,255,0.25);
}

.poem-hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 48px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  color: var(--ink);
  border-radius: 16px; /* keeps it tidy inside narrow themes */
  padding-bottom: max(56px, env(safe-area-inset-bottom));
}

/* Animated “storm to paradise” background */
.poem-sky{
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%) no-repeat,
    radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%) no-repeat,
    linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3)) fixed;
  animation: skyShift 18s ease-in-out infinite;
}

/* Glowing “pathway” overlay */
.poem-path{
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: blur(8px) saturate(120%);
  mix-blend-mode: screen;
  animation: pathPulse 6s ease-in-out infinite;
  pointer-events: none;
}

/* Centered glass card */
.poem-card{
  width: min(800px, 92vw);
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--glow);
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
  box-sizing: border-box;
}

.poem-title{
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 0.75em 0;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

.poem-body{
  font-family: var(--font-head);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.8;
  color: var(--ink);
}

.poem-body p{
  margin: 0.3em 0;
  opacity: 0;
  transform: translateY(8px);
  animation: lineRise 700ms ease-out forwards;
}

/* Stagger reveal */
.poem-body p:nth-child(n){ animation-delay: calc(80ms * var(--i, 1)); }
.poem-body p:nth-child(1){ --i:1 } .poem-body p:nth-child(2){ --i:2 }
.poem-body p:nth-child(3){ --i:3 } .poem-body p:nth-child(4){ --i:4 }
.poem-body p:nth-child(5){ --i:5 } .poem-body p:nth-child(6){ --i:6 }
.poem-body p:nth-child(7){ --i:7 } .poem-body p:nth-child(8){ --i:8 }
.poem-body p:nth-child(9){ --i:9 } .poem-body p:nth-child(10){ --i:10 }
.poem-body p:nth-child(11){ --i:11 } .poem-body p:nth-child(12){ --i:12 }
.poem-body p:nth-child(13){ --i:13 }

.poem-body em{ color: var(--ink-dim); }

/* Prevent overflow inside theme content wrappers */
.entry-content .poem-hero,
.wp-block-post-content .poem-hero{
  max-width: 100%;
  overflow: hidden;
}

/* Animations */
@keyframes skyShift{
  0%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%),
      radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%),
      linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3));
    filter: saturate(110%) contrast(105%);
  }
  40%{
    background:
      radial-gradient(1100px 650px at 50% 120%, rgba(255,255,255,0.15), transparent 60%),
      radial-gradient(900px 500px at 50% 0%, rgba(255,255,255,0.10), transparent 70%),
      linear-gradient(180deg, #142036, #243255 50%, #2f4a72);
  }
  60%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.22), transparent 60%),
      radial-gradient(1000px 520px at 50% -10%, rgba(255,255,255,0.18), transparent 70%),
      linear-gradient(180deg, var(--paradise-1), var(--paradise-2) 60%, var(--paradise-3));
  }
  100%{
    background:
      radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,0.10), transparent 60%),
      radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,0.08), transparent 70%),
      linear-gradient(180deg, var(--storm-1), var(--storm-2) 50%, var(--storm-3));
  }
}

@keyframes pathPulse{
  0%, 100%{ opacity: 0.35; transform: scale(1); }
  50%{ opacity: 0.65; transform: scale(1.03); }
}

@keyframes lineRise{
  to{ opacity: 1; transform: translateY(0); }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce){
  .poem-sky, .poem-path, .poem-body p{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Small-screen polish */
@media (max-width: 420px){
  .poem-card{ width: min(560px, 94vw); padding: 18px 16px 22px; margin-inline: auto; }
  .poem-body{ line-height: 1.7; }
}
/* ======= Heaven In A Moment — Reaction Post Styles ======= */
:root{
  --hiam-bg1: #0f1026;
  --hiam-bg2: #111b33;
  --hiam-accent: #79ffe1;
  --hiam-accent-2: #ffd36e;
  --hiam-ink: #e9eef7;
  --hiam-ink-dim: #c9d2e5;
  --hiam-card: rgba(14,16,30,0.45);
  --hiam-card-border: rgba(255,255,255,0.12);
  --hiam-glow: rgba(121,255,225,0.25);
  --hiam-shadow: 0 10px 30px rgba(0,0,0,0.35);
  --hiam-radius: 18px;
  --hiam-max: 860px;
}

.hiam-reactor, .hiam-reactor * { box-sizing: border-box; }
.hiam-reactor{ position:relative; isolation:isolate; color:var(--hiam-ink); }

/* Animated background */
.hiam-bg{
  position:fixed; inset:0; z-index:-2;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(121,255,225,0.10), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(255,211,110,0.10), transparent 60%),
    radial-gradient(1000px 700px at 50% 90%, rgba(120,160,255,0.10), transparent 60%),
    linear-gradient(160deg, var(--hiam-bg1), var(--hiam-bg2));
  filter: saturate(110%);
  animation: hiamShift 20s linear infinite alternate;
}
@keyframes hiamShift{
  0% { filter: hue-rotate(0deg) saturate(110%); }
  100%{ filter: hue-rotate(10deg) saturate(120%); }
}
@media (prefers-reduced-motion: reduce){
  .hiam-bg{ animation: none; }
}

/* Card layout */
.hiam-card{
  width:min(95%, var(--hiam-max));
  margin: clamp(24px, 6vw, 64px) auto;
  background: linear-gradient( to bottom right, rgba(255,255,255,0.06), rgba(255,255,255,0.03) );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hiam-card-border);
  border-radius: var(--hiam-radius);
  box-shadow: var(--hiam-shadow);
  padding: clamp(18px, 3.2vw, 36px);
}
.hiam-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(121,255,225,0.15), rgba(255,211,110,0.10), transparent 40%);
  z-index:-1; filter: blur(10px);
}

/* Sidebar */
.hiam-sidebar{
  position: sticky;
  top: 20px;
  max-width: 360px;
  margin: 20px auto 60px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hiam-card-border);
  border-radius: var(--hiam-radius);
  box-shadow: var(--hiam-shadow);
  padding: 18px 20px;
}
.hiam-sidebar h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: .4px;
  color: var(--hiam-accent);
}
.hiam-sidebar ul{
  margin: 0; padding-left: 18px; color: var(--hiam-ink-dim);
}
.hiam-sidebar li{ margin: 6px 0; }

@media (min-width: 1200px){
  .hiam-reactor{
    display: grid;
    grid-template-columns: 1fr minmax(0, var(--hiam-max)) 360px 1fr;
    gap: 20px;
  }
  .hiam-card{ grid-column: 2; }
  .hiam-sidebar{ grid-column: 3; margin: clamp(24px, 6vw, 64px) 0; }
}

/* Header */
.hiam-header{ margin-bottom: 10px; }
.hiam-kicker{
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--hiam-accent);
  margin: 0 0 6px;
}
.hiam-header h1{
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 4px;
}
.hiam-sub{
  margin: 0 0 12px;
  color: var(--hiam-ink-dim);
  font-size: clamp(.95rem, 2.5vw, 1.05rem);
}

/* Body */
.hiam-body{
  font-size: clamp(1rem, 2.3vw, 1.12rem);
  line-height: 1.65;
  color: var(--hiam-ink);
}
.hiam-body p{ margin: 1em 0; }
.hiam-lede{
  font-size: clamp(1.05rem, 2.6vw, 1.22rem);
  color: #f6f9ff;
  text-wrap: pretty;
}
.hiam-pull{
  margin: 1.2em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--hiam-accent);
  background: linear-gradient(to right, rgba(121,255,225,0.08), rgba(121,255,225,0.03));
  border-radius: 8px;
  color: #f3fffb;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Scripture & callouts */
.hiam-scripture{
  margin: 1.1em 0;
  padding: 14px 16px;
  background: linear-gradient( to right, rgba(255,211,110,0.10), rgba(255,211,110,0.04) );
  border: 1px solid rgba(255,211,110,0.18);
  border-left: 3px solid var(--hiam-accent-2);
  border-radius: 10px;
  color: #fff6e0;
}
.hiam-scripture span{ display:block; font-style: italic; }

.hiam-callout{
  margin: 1.2em 0;
  padding: 14px 16px;
  background: linear-gradient( to right, rgba(121,255,225,0.10), rgba(120,160,255,0.08) );
  border: 1px solid rgba(140,170,255,0.20);
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--hiam-glow);
}
.hiam-closer{
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255,255,255,0.08);
}

/* Footer tag */
.hiam-footer{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.14);
}
.hiam-tag{
  margin: 8px 0 0;
  color: var(--hiam-accent);
  font-size: .95rem;
  letter-spacing: .5px;
}

/* Links inside card */
.hiam-card a{ color: var(--hiam-accent); text-underline-offset: 3px; }
.hiam-card a:hover{ text-decoration-thickness: 2px; }

/* WP helpers & fallbacks */
.hiam-card :where(h1,h2,h3,h4,h5){ word-wrap: break-word; }
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))){
  .hiam-card, .hiam-sidebar{ background: rgba(20,22,32,0.92); }
}
.single-post .entry-content { color:#0f172a !important; }
.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content blockquote,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 { color:#0f172a !important; }