/* Lightweight SEO entry pages for /bible/** — independent of reader/home CSS */
:root {
  --bible-ink: #2f251d;
  --bible-muted: #6b5a48;
  --bible-gold: #8b5e2c;
  --bible-cream: #fff9ef;
  --bible-border: rgba(184, 152, 100, 0.35);
  --bible-max: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--bible-ink);
  background: linear-gradient(180deg, #f7f0e2 0%, var(--bible-cream) 40%, #fffdf8 100%);
  line-height: 1.65;
}

a {
  color: var(--bible-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #6e4a1f;
}

.page {
  width: min(100% - 2rem, var(--bible-max));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--bible-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
  color: rgba(107, 90, 72, 0.55);
}

.breadcrumb a {
  color: inherit;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 4.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--bible-muted);
  word-break: keep-all;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--bible-border);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  word-break: keep-all;
}

.btn-primary {
  background: #D4A373;
  border-color: #D4A373;
  color: #3A261A;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #C58E60;
  border-color: #C58E60;
  color: #3A261A;
}

.btn-primary:active {
  background: #B97F53;
  border-color: #B97F53;
  color: #3A261A;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--bible-ink);
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}

.nav-links .btn {
  font-size: 0.88rem;
  font-weight: 600;
}

.chapter-text {
  margin: 0 0 1.75rem;
  padding: 1rem 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--bible-border);
  border-radius: 14px;
}

.chapter-text h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.verse {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.verse:last-child {
  margin-bottom: 0;
}

.verse-number {
  grid-column: 1;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--bible-gold);
  text-align: left;
  line-height: 1.75;
}

.verse-text {
  grid-column: 2;
  display: block;
  min-width: 0;
}

.hub-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.hub-list li {
  margin: 0 0 0.55rem;
}

.hub-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bible-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--bible-ink);
  text-decoration: none;
  font-weight: 600;
}

.hub-list a:hover {
  background: rgba(248, 235, 207, 0.9);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

@media (max-width: 390px) {
  .page {
    width: min(100% - 1.5rem, var(--bible-max));
  }

  .nav-links {
    grid-template-columns: 1fr;
  }
}
