html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: #000000;                 /* fallback color while image loads */
  background: url('../assets/images/torah-scroll-bg.webp') no-repeat;
  background-size: cover;
  background-attachment: fixed; /* keeps it pinned while scrolling */
}
/* Learn More button and modal ------------------------------------------------------------------------------------ */
.bibleheader3 {
  display: flex;
  align-items: center;
  gap: 10px; /* space between h3 and button */
  justify-content: center; /* optional: center them in the container */
}

.bibleheader3 h3 {
  color: #eec01b !important;
}

.bibleheader3 {
  margin: 0; /* remove default margin so it aligns neatly */
}

.lwb-dailybible-info {
  display:inline-block; vertical-align:middle;
  background: #dfb10ed7;
  border: none;
  padding: 3px 7px 4px 5px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 320;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lwb-dailybible-info .info-icon {
  font-size: 0.7rem;
}

/* Modal overlay */
.lesson-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0,0,0,0.9); /* 90% dark background */
  overflow: hidden;
  padding: 40px 0;
}

/* Modal content */
.lesson-modal-content {
  background: transparent;
  color: #fff;
  text-shadow: 3px 3px 5px #000; /* black shadow behind text */
  padding: 30px;
  max-width: 700px;
  margin: 0px auto;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;

  max-height: calc(100vh - 80px); /* viewport aware */
  overflow-y: auto; /* scroll if content exceeds max height */
  overscroll-behavior: contain; /* don't pass scroll to body */
}
.modal-image {
    display: block;
    margin: 20px auto 0;
    max-width: 45vw; /* no more than 45% of viewport width */
    height: auto;
}
/* Close button */
.lesson-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
/* Learn more button and moda END END END ----------------------------------------------END----------------------- */

/* Bible content container */
.bible-container {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(0,0,0,0.65);
  padding: 20px 30px 60px; /* extra bottom padding for footer */
  box-shadow: 0 8px 30px rgba(0,0,0,0.75);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.bible-container h1 {
  font-size: 2.1rem;
  color: #eec01b;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}
.bible-container h3 {
  font-size:1.1rem;
  color: #e2e2e2;
  text-shadow: 4px 4px 5px rgba(0,0,0,0.8);
}
/* targets <div id="bibleContent"> */
#bibleContent {
  color: #ffffff;
  line-height: 1.5;
  font-size: 1rem;
  /*text shadows */
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.75),   /* small directional shadow (increased) */
    0 -2px 4px rgba(0,0,0,0.6),
    2px 0 4px rgba(0,0,0,0.6),
    -2px 0 4px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.45),    /* larger soft halo (was 6px) */
    0 0 22px rgba(0,0,0,0.25);    /* extra outer glow */
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.15px rgba(0,0,0,0.45);
}
.bible-extra { width:40vw; max-width:100%; height:auto; display:block; margin:0 auto; }
/* Bible commentary styling */
.bible-commentary {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-top: 12px;
  line-height: 1.5;
  text-align: left;
  /*text shadows */
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.75),   /* small directional shadow (increased) */
    0 -2px 4px rgba(0,0,0,0.6),
    2px 0 4px rgba(0,0,0,0.6),
    -2px 0 4px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.45),    /* larger soft halo (was 6px) */
    0 0 22px rgba(0,0,0,0.25);    /* extra outer glow */
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.15px rgba(0,0,0,0.45);
}

/* Bible image */
.bible-image {
  margin-top: 20px;
  max-width: 100%;
  border: 2px solid #fff;
}

/* Footer */
footer {
  position: relative; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  margin-top: 20px;
  margin-bottom: 0px;
  line-height: 1.5;
  z-index: 9999;
  box-sizing: border-box;
}
footer p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.80rem;
}

