/* ==================================================================
   PROPHET HANRICK HUNT
   LIVING BIBLE RESPONSE — LEVEL 3
   ================================================================== */

/* ==================================================================
   PERMANENT COMPONENT ISOLATION
   ------------------------------------------------------------------
   The Living Bible section no longer uses the legacy
   .message-response-card class. These rules isolate every descendant
   from older message-card declarations in site.css.
   ================================================================== */

.living-bible-response,
.living-bible-response *,
.living-bible-response *::before,
.living-bible-response *::after {
  box-sizing: border-box;
}

.living-bible-response {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-style: normal;
  text-align: left;
}

.living-bible-response h3,
.living-bible-response p,
.living-bible-response ol,
.living-bible-response li,
.living-bible-response article,
.living-bible-response aside,
.living-bible-response footer {
  max-width: 100%;
}



.featured-message-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: hidden;
}

.featured-video-shell,
.featured-video-shell iframe,
.featured-video-shell video,
.featured-audio-message {
  width: 100%;
  min-width: 0;
}

.living-bible-response {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  grid-template-columns:
    clamp(92px, 10vw, 156px)
    minmax(0, 1fr);
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-top: 1px solid rgba(247, 199, 68, 0.34) !important;
  background:
    radial-gradient(
      circle at 83% 18%,
      rgba(0, 128, 63, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 86%,
      rgba(247, 199, 68, 0.12),
      transparent 30%
    ),
    #050505 !important;
}

.living-bible-response::after {
  content: "";
  position: absolute;
  left: clamp(92px, 10vw, 156px);
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      #009b3a,
      #fed100 46%,
      transparent
    );
  box-shadow: 0 0 24px rgba(254, 209, 0, 0.22);
}

.living-bible-word {
  position: relative;
  min-height: clamp(520px, 52vw, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.4vw, 8px);
  overflow: hidden;
  border-right: 1px solid rgba(254, 209, 0, 0.28);
  background:
    linear-gradient(
      180deg,
      rgba(0, 155, 58, 0.14),
      rgba(0, 0, 0, 0.98) 42%,
      rgba(254, 209, 0, 0.1)
    ),
    #000;
}

.living-bible-word::before {
  content: "";
  position: absolute;
  inset: 10% 18%;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 155, 58, 0.26),
      rgba(254, 209, 0, 0.2)
    );
  filter: blur(26px);
  opacity: 0.5;
  animation: livingBibleAmbient 7s ease-in-out infinite;
}

.living-bible-word span {
  position: relative;
  z-index: 1;
  color: #fed100;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 900;
  line-height: 0.82;
  animation: livingBibleJamaicaGlow 5.8s ease-in-out infinite;
}

.living-bible-word span:nth-child(2) { animation-delay: 0.18s; }
.living-bible-word span:nth-child(3) { animation-delay: 0.36s; }
.living-bible-word span:nth-child(4) { animation-delay: 0.54s; }
.living-bible-word span:nth-child(5) { animation-delay: 0.72s; }

.living-bible-response-content {
  min-width: 0;
  padding:
    clamp(34px, 5vw, 78px)
    clamp(26px, 6vw, 96px);
}

.living-bible-response-header {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid rgba(254, 209, 0, 0.18);
}

.living-bible-response-header > div {
  min-width: 0;
}

.living-bible-response-header h3 {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #f7d875;
  font-size: clamp(2.8rem, 5.8vw, 7rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.045em;
  text-align: left;
  text-transform: uppercase;
  text-wrap: balance;
}

.living-bible-response-seal {
  flex: 0 0 auto;
  max-width: 210px;
  padding: 11px 14px;
  border: 1px solid rgba(0, 155, 58, 0.42);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(0, 155, 58, 0.08);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.living-bible-response-body {
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(230px, 0.34fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 56px);
}

.living-bible-message-copy {
  min-width: 0;
  columns: 2;
  column-gap: clamp(28px, 4vw, 62px);
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.living-bible-principles {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.living-bible-principles li {
  min-width: 0;
  min-height: 150px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(0, 155, 58, 0.065),
      transparent 58%
    ),
    rgba(255, 255, 255, 0.018);
}

.living-bible-principles li:last-child {
  grid-column: 1 / -1;
}

.living-bible-principles li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(254, 209, 0, 0.32);
  border-radius: 50%;
  color: #050505;
  background:
    linear-gradient(
      135deg,
      #ffe783,
      #d6a92d
    );
  font-size: 0.62rem;
  font-weight: 900;
}

.living-bible-principles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.living-bible-scripture {
  position: sticky;
  top: 24px;
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(254, 209, 0, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(0, 155, 58, 0.15),
      transparent 36%
    ),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.living-bible-scripture > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #050505;
  background:
    linear-gradient(
      135deg,
      #fed100,
      #b89425
    );
}

.living-bible-scripture small,
.living-bible-scripture strong {
  display: block;
  overflow-wrap: anywhere;
}

.living-bible-scripture small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.living-bible-scripture strong {
  margin-top: 8px;
  color: #f7d875;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

@keyframes livingBibleJamaicaGlow {
  0%, 100% {
    color: #fed100;
    text-shadow: 0 0 16px rgba(254, 209, 0, 0.28);
  }

  35% {
    color: #009b3a;
    text-shadow: 0 0 18px rgba(0, 155, 58, 0.38);
  }

  68% {
    color: #0b0b0b;
    -webkit-text-stroke: 1px rgba(254, 209, 0, 0.58);
    text-shadow: 0 0 12px rgba(254, 209, 0, 0.24);
  }
}

@keyframes livingBibleAmbient {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.06);
  }
}

@media (max-width: 1050px) {
  .living-bible-response-body {
    grid-template-columns: 1fr;
  }

  .living-bible-scripture {
    position: relative;
    top: auto;
  }
}

@media (max-width: 780px) {
  .living-bible-response {
    grid-template-columns: 1fr;
  }

  .living-bible-response::after {
    left: 0;
  }

  .living-bible-word {
    min-height: auto;
    flex-direction: row;
    gap: clamp(4px, 2vw, 14px);
    padding: 20px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(254, 209, 0, 0.28);
  }

  .living-bible-word span {
    font-size: clamp(2.7rem, 12vw, 5rem);
    line-height: 1;
  }

  .living-bible-response-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .living-bible-message-copy {
    columns: 1;
  }

  .living-bible-principles {
    grid-template-columns: 1fr;
  }

  .living-bible-principles li:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .living-bible-response-content {
    padding: 28px 18px 34px;
  }

  .living-bible-response-header h3 {
    font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
  }

  .living-bible-principles li {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 17px;
  }

  .living-bible-principles li > span {
    width: 36px;
    height: 36px;
  }

  .living-bible-scripture {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px;
  }

  .living-bible-scripture > span {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .living-bible-word::before,
  .living-bible-word span {
    animation: none !important;
  }

  .living-bible-word span {
    color: #fed100;
    -webkit-text-stroke: 0;
  }
}

/* ==================================================================
   KINDLE PAPERWHITE READING SURFACE
   ------------------------------------------------------------------
   Overrides the earlier response-body presentation with a restrained,
   document-like reading layout and right-aligned Scripture citation.
   ================================================================== */

.living-bible-response-body {
  display: block;
  padding-top: clamp(28px, 4vw, 56px);
}

.living-bible-reading-sheet {
  position: relative;
  width: min(100%, 980px);
  min-width: 0;
  margin: 0 auto;
  padding:
    clamp(42px, 6vw, 84px)
    clamp(28px, 7vw, 96px)
    clamp(34px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(74, 65, 44, 0.22);
  border-radius: 4px;
  color: #27251f;
  background:
    linear-gradient(
      90deg,
      rgba(92, 76, 41, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.42),
      transparent 22%
    ),
    #eee9dc;
  background-size:
    6px 100%,
    100% 100%,
    auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.living-bible-reading-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(60, 51, 34, 0.035) 0,
      rgba(60, 51, 34, 0.035) 1px,
      transparent 1px,
      transparent 4px
    );
}

.living-bible-message-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  columns: 1;
  color: #2b2923;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.08rem, 1.25vw, 1.24rem);
  font-weight: 400;
  line-height: 1.88;
  letter-spacing: 0.002em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.living-bible-message-copy p {
  max-width: 72ch;
  margin: 0 auto 1.28em;
  color: inherit;
}

.living-bible-message-copy p + p {
  text-indent: 1.35em;
}

.living-bible-message-copy p:last-child {
  margin-bottom: 0;
}

.living-bible-message-copy p:first-child::first-letter {
  float: left;
  margin:
    0.08em
    0.12em
    0
    0;
  color: #80631f;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 3.85em;
  font-weight: 700;
  line-height: 0.72;
}

.living-bible-reading-list {
  max-width: 66ch;
  margin:
    0.4em
    auto
    1.55em;
  padding: 0;
  display: grid;
  gap: 0.72em;
  list-style: none;
  text-align: left;
}

.living-bible-reading-list li {
  position: relative;
  padding-left: 1.7em;
  color: #2b2923;
  line-height: 1.72;
}

.living-bible-reading-list li::before {
  content: "◆";
  position: absolute;
  left: 0.1em;
  top: 0.08em;
  color: #947126;
  font-size: 0.68em;
}

.living-bible-scripture {
  position: relative;
  top: auto;
  z-index: 1;
  width: fit-content;
  max-width: min(100%, 460px);
  margin:
    clamp(34px, 5vw, 60px)
    0
    0
    auto;
  padding:
    18px
    0
    0
    clamp(24px, 4vw, 46px);
  display: block;
  border: 0;
  border-top: 1px solid rgba(128, 99, 31, 0.38);
  border-radius: 0;
  color: #2b2923;
  background: transparent;
  box-shadow: none;
  text-align: right;
}

.living-bible-scripture::before {
  content: "“";
  position: absolute;
  left: 0;
  top: 8px;
  color: rgba(128, 99, 31, 0.38);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 3rem;
  line-height: 1;
}

.living-bible-scripture small,
.living-bible-scripture strong {
  display: block;
  color: inherit;
  overflow-wrap: anywhere;
}

.living-bible-scripture small {
  color: #776a4e;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.living-bible-scripture strong {
  margin-top: 8px;
  color: #66501d;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.28;
}

@media (max-width: 780px) {
  .living-bible-reading-sheet {
    padding:
      38px
      clamp(22px, 7vw, 42px)
      34px;
  }

  .living-bible-message-copy {
    font-size: clamp(1rem, 4.4vw, 1.1rem);
    line-height: 1.78;
    text-align: left;
    hyphens: none;
  }

  .living-bible-message-copy p + p {
    text-indent: 0;
  }
}

@media (max-width: 520px) {
  .living-bible-reading-sheet {
    border-radius: 2px;
  }

  .living-bible-message-copy p:first-child::first-letter {
    font-size: 3.2em;
  }

  .living-bible-scripture {
    max-width: 88%;
  }
}


/* ==================================================================
   FEATURED MESSAGE MEDIA — CENTERED, CONTAINED, NEVER STRETCHED
   ================================================================== */

.featured-video-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(232, 189, 80, 0.08),
      transparent 44%
    ),
    #000000;
}

.featured-video-shell iframe,
.featured-video-shell video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 0;
  background: #000000;
}

.featured-video-shell video {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.featured-audio-message {
  width: 100%;
  min-height: clamp(360px, 48vw, 680px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: clamp(22px, 4vw, 52px);
  overflow: hidden;
  background: #000000;
}

.featured-audio-message img {
  display: block;
  width: min(100%, 1180px);
  height: auto;
  max-height: min(68vh, 680px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.featured-audio-message audio {
  width: min(100%, 900px);
  margin: 0 auto;
}

@media (max-width: 680px) {
  .featured-video-shell {
    border-radius: 16px;
  }

  .featured-audio-message {
    min-height: 300px;
    padding: 18px;
  }

  .featured-audio-message img {
    max-height: 54vh;
  }
}
