<style>
    html {
  scroll-behavior: smooth;
}
header {
  text-align: center;
  padding: 20px 0;           /* vertical padding */
  margin: 0 0 30px 0;                  /* remove bottom margin so spacing is controlled by sections */
  width: 100%;

  background: linear-gradient(to bottom, #7aa0d6, #f7f3ff 70%);
}
body {
  font-family: Arial, sans-serif;
  margin: 0;                /* remove page margin so header goes full width */
  background-color: #f7f3ff; /* very light blue */
  position: relative;

  display: flex;          /* 👈 important */
  flex-direction: column; /* 👈 important */
  min-height: 100vh;      /* 👈 makes page full screen height */
}
p {
  text-align: center;
}
  .page-content {
  flex: 1;   /* 👈 pushes footer to bottom */
}
.page-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.content {
  max-width: 800px;   /* controls width */
  margin: 0 auto;     /* centers the block */
  padding: 20px;      /* keeps it off the edges */
}

.content p {
  text-align: left;   /* keeps paragraph lines aligned */
  line-height: 1.6;   /* improves readability */
}

header h1 {
  font-family: 'Lobster', cursive;
  margin: 0;
  font-size: 3em;
  color: #4b0082;
}

header h2 {
  margin: 5px 0 0 0;
  font-size: 1.5em;
  color: #4b0082;
}

header h3 {
  text-align: center;
  margin-top: 20px;
  font-size: 1.5em;
  color: #4b0082;
}

.section-container {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.section-heading {
  width: 400px;
  margin-left: 350px;
  margin-right: 30px;   /* spacing between heading and dropdowns */
  font-size: 1.2em;
  font-weight: bold;
  color: #4b0082;
  white-space: nowrap;
}

.dropdown-column {
  flex: 1;
  max-width: 800px;   /* controls overall column width */
}

.dropdown-column select {
  margin: 5px 10px 5px 0;
  padding: 5px 10px;
  font-size: 1em;
    width: 180px;
}

#versionSelect {
  width: 320px;
}

/* Table Styling */
.verse-table {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

/* Chapter row gradient and spacing */
.chapter-row td {
 background: linear-gradient(to bottom, #ffe680, #fffacd 85%); 
  font-weight: bold;
  text-align: center;
  padding: 5px 10px;
  border-radius: 4px;
    font-size: 1.1em;
}

.verseText {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.2em;
}

/* Verse Rows */
.verse-row td {
  padding: 5px 10px;
  vertical-align: top;
  text-align: left;
  line-height: 1.2;   /* comfortable reading spacing */
}

.verse-number {
  width: 50px;
  font-weight: bold;
    font-size: 0.9em;
  text-align: right;
  min-width: 50px;
  vertical-align: top;
  position: relative;
  top: 2px;
}

/* Table styling */
.verse-table {
  border-collapse: separate;
  border-spacing: 0;
}

/* Spacer row above chapter */
.spacer-row td {
  height: 25px;         /* adjust white space above chapter here */
  background: transparent;
  border: none;
  padding: 0;
}

#loading {
  display: none;
  font-style: italic;
  color: #4b0082;
  margin-top: 10px;
}

#domain-top-left {
  position: absolute;
  top: 10px;
  left: 20px;
  font-weight: bold;
  color: #4b0082;
}

.site-footer {
  padding: 15px 0;
  text-align: center;

  background: linear-gradient(to top, #ffe680, #f7f3ff 85%);
}

.site-footer a {
  display: inline-block;     /* 👈 forces row layout */
  margin: 0 25px;
  text-decoration: none;
  color: #4b0082;
}

.site-footer a:hover {
  font-weight: bold;
}
.copyright {
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  font-size: 0.95em;
  line-height: 1.2;
  border-top: 1px solid #ddd;
}

.copyright h3 {
  text-align: center;
  color: #4b0082;
  margin-bottom: 15px;
}

.copyright a {
  color: #4b0082;
  text-decoration: none;
}
.copyright ul {
  margin-left: 120px !important;
  padding-left: 20px !important;
}
.copyright a:hover {
  text-decoration: underline;
}
  </style>
