/* ==========================================================================
   KevinMoker.com — Parchment theme
   Slimmed-down adaptation of the family Bible Study template design.
   Parchment, olive, gold, serif. Double-rule borders, letterspaced labels.
   ========================================================================== */

/* ----------------------------- CSS Variables ------------------------------ */
:root {
  --ink: #2a2a2a;
  --parchment: #f7f4ec;
  --panel: #ffffff;
  --olive: #5a6b4d;
  --olive-deep: #3d4a33;
  --gold: #b08d3f;
  --rule: #d9d3c3;
  --muted: #6b6456;
  --quote-bg: #e4ebd3;
  --on-olive: #f2efe4;

  --font-display: 'Times New Roman', Times, Georgia, serif;
  --font-body: 'Times New Roman', Times, Georgia, serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max-width: 74rem;
  --content-width: 46rem;
  --section-pad: clamp(3.5rem, 9vw, 7rem);
}

/* -------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ------------------------------ Header ------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px double var(--olive-deep);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 4.2rem;
}

.header-center {
  text-align: center;
  line-height: 1.35;
}

.header-center .header-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--olive-deep);
  letter-spacing: 0.04em;
}

.header-center .header-sub {
  display: block;
  font-size: 0.66rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav { display: flex; gap: 2rem; align-items: center; justify-content: flex-end; }

.brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--olive-deep);
  letter-spacing: 0.02em;
}

.nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--olive-deep); }

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1.3rem;
  border: 1px solid var(--olive);
  color: var(--olive-deep);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--olive);
  color: var(--on-olive);
}

/* ------------------------------ Masthead / Hero --------------------------- */
.hero {
  text-align: center;
  padding: var(--section-pad) 2rem 0;
}

.hero-inner { max-width: var(--content-width); margin: 0 auto; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 400;
  color: var(--olive-deep);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
}

.hero-title .hero-sub {
  display: block;
  font-size: 20pt;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.8rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75rem 2.4rem;
  border: 1px solid var(--olive);
  color: var(--olive-deep);
  background: transparent;
  transition: all 0.2s ease;
  margin-bottom: 3.5rem;
}
.hero-cta:hover {
  background: var(--olive);
  color: var(--on-olive);
}

/* ------------------------------ Sections ---------------------------------- */
.section {
  padding: 2.5rem 2rem var(--section-pad);
}

.section-alt { background: var(--parchment); }

.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-header {
  text-align: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 3rem;
}

.sec-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--panel);
  background: var(--olive);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive-deep);
  margin: 0;
}

.section-subtitle {
  margin: 12px auto 0;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--muted);
  max-width: 40rem;
}

/* ------------------------------ Blog Grid --------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 2rem;
}

/* ------------------------------ Archive (bottom) ---------------------------- */
.archive-bottom {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.archive-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--olive-deep);
  text-align: center;
  margin: 0 0 1.6rem;
}

.archive-months {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 2rem;
}

.archive-month-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-list li {
  margin: 0.4rem 0;
}

.archive-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.archive-list a:hover { color: var(--olive); text-decoration: underline; }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 1.6rem 1.7rem 1.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(90, 107, 77, 0.12);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--quote-bg);
  border: 1px solid var(--rule);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--olive);
}

.blog-card-verse {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 12pt;
  line-height: 1.5;
  color: var(--olive-deep);
  text-align: center;
  padding: 1.2rem 1.4rem;
  flex-direction: column;
  gap: 0.7rem;
}

.blog-card-verse-ref {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card-meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.blog-card-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-card-dot { color: var(--rule); font-size: 0.7rem; }

.blog-card-read {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 16pt;
  font-weight: 400;
  color: var(--olive-deep);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.blog-card:hover .blog-card-title { color: var(--olive); }

.blog-card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.blog-card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: auto; }

.tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--olive);
  color: var(--olive-deep);
  background: var(--quote-bg);
}

/* ------------------------------ Post Page --------------------------------- */
.post {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}

.post-header {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 3px double var(--olive-deep);
  padding-bottom: 2.2rem;
}

.post-meta {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
}

.post-meta time,
.post-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-meta .dot { color: var(--rule); font-size: 0.7rem; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--olive-deep);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.post-tags { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------ Prose ------------------------------------- */
.prose {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}

.prose > *:first-child { margin-top: 0; }

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--olive-deep);
  margin: 2.6rem 0 1.1rem;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--olive);
  margin: 2.1rem 0 0.9rem;
}

.prose p { margin: 0 0 1.3rem; }

.prose a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.2s ease;
}
.prose a:hover { text-decoration-thickness: 2px; }

.prose ul, .prose ol {
  margin: 0 0 1.3rem;
  padding-left: 1.6rem;
}
.prose li { margin: 0.45rem 0; }
.prose li::marker { color: var(--olive); }

.prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.6rem;
  background: var(--quote-bg);
  border-left: 4px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--olive-deep);
  line-height: 1.5;
}
.prose blockquote p { margin: 0 0 0.5rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--quote-bg);
  border: 1px solid var(--rule);
  padding: 0.15em 0.4em;
  color: var(--olive-deep);
}

.prose pre {
  background: var(--olive-deep);
  border-left: 4px solid var(--gold);
  padding: 1.3rem 1.6rem;
  overflow-x: auto;
  margin: 1.6rem 0;
  line-height: 1.6;
}
.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--on-olive);
}

.prose img {
  border: 1px solid var(--rule);
  margin: 2rem auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: 0.95rem;
}
.prose th {
  text-align: left;
  font-weight: 700;
  color: var(--olive-deep);
  border-bottom: 1px solid var(--olive);
  padding: 0.7rem 0.9rem;
}
.prose td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem auto;
  width: 30%;
}

.prose input[type="checkbox"] {
  accent-color: var(--olive);
  margin-right: 0.5rem;
}

/* ------------------------------ Post Nav ---------------------------------- */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 3px double var(--olive-deep);
}

.post-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s ease;
}
.post-nav a:hover { color: var(--olive-deep); }

/* ------------------------------ Read More Button -------------------------- */
.read-more-btn {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 2.2rem;
  border: 1px solid var(--olive);
  color: var(--olive-deep);
  background: transparent;
  transition: all 0.2s ease;
  margin-top: 3rem;
}
.read-more-btn:hover {
  background: var(--olive);
  color: var(--on-olive);
}

/* ------------------------------ About Page -------------------------------- */
.about-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}

.about-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  color: var(--olive-deep);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 2.4rem;
  border-bottom: 3px double var(--olive-deep);
  padding-bottom: 1.4rem;
}

.about-page p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.3rem;
}

/* ------------------------------ Footer ------------------------------------ */
.site-footer {
  background: var(--parchment);
  border-top: 3px double var(--olive-deep);
  padding: 3rem 2rem;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--olive-deep);
  margin-bottom: 1rem;
}

.footer-info {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--olive-deep); }

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ------------------------------ Empty State ------------------------------- */
.empty {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  padding: 4rem 2rem;
  border: 1px dashed var(--rule);
}

/* ------------------------------ Progress Bar ------------------------------ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  z-index: 200;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Bible-study post format (type: bible-study in frontmatter)
   Mirrors the family study template: masthead, numbered sections, footer.
   ========================================================================== */

.study-page .post { max-width: 52rem; }

.study-prose { font-size: 1.04rem; }

/* Masthead */
.study-page .masthead {
  border-bottom: 3px double var(--olive-deep);
  padding-bottom: 22px;
  margin-bottom: 28px;
}
.study-page .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 10px;
}
.study-page .book-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 400;
  color: var(--olive-deep);
  letter-spacing: -0.01em;
}
.study-page .book-title .chapter {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}
.study-page .translation-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 8px;
}

/* Section shell */
.study-prose section { margin-top: 44px; }
.study-prose .intro { margin-bottom: 30px; }

.study-prose .sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.study-prose .sec-num {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--panel);
  background: var(--olive);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.study-prose .sec-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--olive-deep);
  margin: 0;
}

/* Overview panel */
.study-prose .overview {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
}

/* Verse commentary */
.study-prose .verse-block { margin-bottom: 26px; }
.study-prose .verse-ref {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.study-prose .verse-text {
  background: var(--quote-bg);
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 10px;
}
.study-prose .commentary { margin-left: 4px; }

/* Apply box */
.study-prose .apply {
  background: var(--olive-deep);
  color: var(--on-olive);
  padding: 24px 26px;
  border-radius: 4px;
}
.study-prose .apply p { color: #e6e2d5; }
.study-prose .apply .prompt-line {
  border-top: 1px dashed #c9c3b3;
  padding-top: 14px;
  margin-top: 14px;
  font-style: italic;
}

/* Word study */
.study-prose .word-card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.study-prose .word-original {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--olive-deep);
  margin: 0;
}
.study-prose .word-translit { font-style: italic; color: var(--muted); font-size: 0.95rem; }
.study-prose .word-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 10px;
}

/* Five lenses */
.study-prose .five-lens {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
}
.study-prose .five-lens h3 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--olive-deep);
  margin: 0 0 8px;
}

/* Discussion questions */
.study-prose ol.qlist { padding-left: 0; counter-reset: q; list-style: none; }
.study-prose ol.qlist li {
  counter-increment: q;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}
.study-prose ol.qlist li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--olive);
  background: var(--quote-bg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Quiz */
.study-prose .quiz-q {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dotted var(--rule);
}
.study-prose .quiz-q p { font-weight: 600; margin-bottom: 8px; }
.study-prose .choices { list-style: none; padding: 0; margin: 0; }
.study-prose .choices li {
  font-size: 0.94rem;
  padding: 4px 0 4px 28px;
  position: relative;
}
.study-prose .choices li .lettr {
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--olive);
}

/* Answer key */
.study-prose .answer-key {
  background: var(--panel);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 18px 24px;
}
.study-prose .answer-key summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--olive-deep);
  list-style: none;
}
.study-prose .answer-key summary::before { content: '\25B8 '; color: var(--gold); }
.study-prose .answer-key[open] summary::before { content: '\25BE '; }
.study-prose .answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.study-prose .answer-grid span { color: var(--muted); }
.study-prose .answer-grid span b { color: var(--olive-deep); }

/* Cross references */
.study-prose .cross-ref {
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
}
.study-prose .cross-ref:last-child { border-bottom: none; }
.study-prose .ref-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.study-prose .ref-desc { color: var(--muted); font-size: 0.94rem; }

/* Study footer */
.study-page .study-footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 3px double var(--olive-deep);
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.study-page .study-footer p { margin: 4px 0; }
.study-page .study-footer .key-verse { color: var(--olive-deep); font-weight: 700; font-size: 0.9rem; }

/* Verse-text decorative quotes */
.study-prose .verse-text::before {
  content: '\201C';
  color: var(--gold);
  font-size: 1.4rem;
  margin-right: 2px;
}
.study-prose .verse-text::after { content: '\201D'; color: var(--gold); }

/* Five-lenses grid (overview) */
.study-prose .five-lenses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.study-prose .lens-card {
  background: var(--quote-bg);
  border-radius: 4px;
  padding: 12px 14px;
  border-top: 3px solid var(--gold);
}
.study-prose .lens-card h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive-deep);
  margin: 0 0 6px;
}
.study-prose .lens-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* cf-callout inside commentary */
.study-prose .cf-callout {
  background: #f0ead6;
  border-left: 3px solid #d4a843;
  padding: 8px 14px;
  margin: 10px 0;
  font-style: italic;
  color: #5a5040;
  font-size: 0.95rem;
  display: block;
}

/* Memory-verses panel */
.study-prose .memory-verses {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
}
.study-prose .memory-verses h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 10px;
}
.study-prose .memory-verses blockquote {
  border-left: 3px solid var(--olive);
  padding: 8px 14px;
  margin: 0 0 12px;
  background: var(--quote-bg);
  border-radius: 0 3px 3px 0;
}
.study-prose .memory-verses blockquote p {
  font-style: italic;
  margin: 0 0 4px;
}
.study-prose .memory-verses blockquote cite {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

/* Applications panel */
.study-prose .applications {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
}
.study-prose .applications h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive-deep);
  margin: 0 0 10px;
}
.study-prose .applications ol { padding-left: 20px; margin: 0 0 16px; }
.study-prose .applications li { margin-bottom: 8px; font-size: 0.94rem; }

/* Cross-ref list */
.study-prose .cross-ref-list {
  columns: 2;
  column-gap: 24px;
  padding-left: 1.2rem;
}
.study-prose .cross-ref-list li {
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.study-prose .cross-ref-list li b { color: var(--olive-deep); }

/* ------------------------------ Teaser posts ------------------------------- */
.study-page .teaser-footer {
  margin-top: 56px;
}
.teaser-cta {
  background: var(--panel);
  border: 1px solid var(--rule);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 34px 36px;
  text-align: center;
}
.teaser-cta-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}
.teaser-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--olive-deep);
  margin: 0 0 14px;
  line-height: 1.25;
}
.teaser-cta-keyverse {
  font-style: italic;
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.teaser-cta .btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.teaser-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.teaser-cta .btn-subscribe {
  background: var(--olive);
  color: var(--panel);
}
.teaser-cta .btn-subscribe:hover { background: var(--olive-deep); }
.teaser-cta .btn-paperback {
  background: transparent;
  color: var(--olive-deep);
  border: 2px solid var(--gold);
}
.teaser-cta .btn-paperback:hover {
  background: var(--gold);
  color: var(--panel);
}

@media (max-width: 640px) {
  .study-prose .cross-ref-list { columns: 1; }
  .study-prose .five-lenses { grid-template-columns: 1fr; }
}

/* ========================= Paid Content Styles ========================== */

.paid-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #c9a84f 100%);
  color: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}
.paid-badge {
  display: inline-block;
  background: var(--panel);
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.paid-notice {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.paid-notice a {
  color: var(--panel);
  text-decoration: underline;
  font-weight: 600;
}
.paid-notice a:hover { color: var(--ink); }

.paid-footer {
  background: var(--quote-bg);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 3rem 0 1rem;
  text-align: center;
  border: 2px solid var(--gold);
}
.paid-cta {
  font-size: 1rem;
  margin: 0;
}
.paid-cta a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}
.paid-cta a:hover { color: var(--olive-deep); }

/* Reading plan */
.reading-plan {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--olive);
  margin: 2rem 0;
}
.reading-plan p { margin-bottom: 1rem; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.plan-list li:last-child { border-bottom: none; }

/* Prayer block */
.prayer-block {
  background: var(--quote-bg);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-style: italic;
  border-left: 4px solid var(--olive);
}

/* Reading block */
.reading-block {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  margin: 2rem 0;
  text-align: center;
}
.reading-ref {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Context block */
.context-block {
  background: var(--quote-bg);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--gold);
}

/* Thematic sections */
.thematic-intro, .thematic-conclusion {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--olive);
  margin: 2rem 0;
}
.thematic-lenses {
  background: var(--quote-bg);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}
.thematic-section {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Study intro/conclusion */
.study-intro, .study-conclusion {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  margin: 2rem 0;
}
.study-section, .study-lenses, .study-words, .study-questions, .study-quiz {
  background: var(--panel);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .paid-banner { padding: 1.2rem 1rem; }
  .paid-footer { padding: 1.2rem 1rem; }
  .reading-plan, .reading-block, .context-block,
  .thematic-intro, .thematic-conclusion, .thematic-lenses, .thematic-section,
  .study-intro, .study-conclusion, .study-section, .study-lenses, .study-words,
  .study-questions, .study-quiz, .prayer-block {
    padding: 1.2rem 1rem;
  }
}

/* ========================= Password Gate ================================ */

.paid-gate {
  position: relative;
  background: var(--panel);
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.paid-gate-lock {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.paid-gate h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--olive-deep);
}
.paid-gate p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.paid-gate-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.paid-gate-form input {
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--rule);
  border-radius: 6px;
  font-size: 1rem;
  width: 280px;
  max-width: 100%;
  background: var(--parchment);
}
.paid-gate-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.paid-gate-form button {
  padding: 0.8rem 1.5rem;
  background: var(--gold);
  color: var(--panel);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.paid-gate-form button:hover { background: var(--olive-deep); }
.paid-gate-error {
  color: #c0392b;
  font-size: 0.9rem;
}
.paid-gate-error a {
  color: var(--gold);
  font-weight: 600;
}
.paid-gate-subscribe {
  font-size: 0.9rem;
}
.paid-gate-subscribe a {
  color: var(--gold);
  font-weight: 600;
}

/* ========================= Subscribe Page =============================== */

.subscribe-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.subscribe-page h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--olive-deep);
}
.subscribe-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 3rem;
}
.subscribe-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.benefit {
  background: var(--panel);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--rule);
}
.benefit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.benefit h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--olive-deep);
}
.benefit p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.subscribe-products {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.subscribe-card {
  background: var(--panel);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--gold);
  text-align: center;
  min-width: 280px;
}
.subscribe-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--olive-deep);
}
.subscribe-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.subscribe-options .btn {
  display: block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.subscribe-options .btn-subscribe {
  background: var(--olive);
  color: var(--panel);
}
.subscribe-options .btn-subscribe:hover { background: var(--olive-deep); }
.subscribe-options .btn-paperback {
  background: transparent;
  color: var(--olive-deep);
  border: 2px solid var(--gold);
}
.subscribe-options .btn-paperback:hover {
  background: var(--gold);
  color: var(--panel);
}
.subscribe-password {
  background: var(--panel);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--olive);
  text-align: center;
  margin-bottom: 2rem;
}
.subscribe-password h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--olive-deep);
}
.subscribe-password p {
  margin-bottom: 1rem;
  color: var(--muted);
}
.subscribe-success {
  color: var(--olive);
  font-weight: 600;
}
.subscribe-error {
  color: #c0392b;
}

@media (max-width: 640px) {
  .paid-gate { padding: 2rem 1rem; }
  .paid-gate-form { flex-direction: column; align-items: center; }
  .paid-gate-form input { width: 100%; }
  .subscribe-page { padding: 2rem 1rem; }
  .subscribe-benefits { grid-template-columns: 1fr; }
  .subscribe-products { flex-direction: column; align-items: center; }
  .subscribe-card { min-width: auto; width: 100%; }
}

/* ------------------------------ Animations -------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-inner, .blog-card, .post { animation: fadeUp 0.6s ease both; }
.blog-card:nth-child(2) { animation-delay: 0.08s; }
.blog-card:nth-child(3) { animation-delay: 0.16s; }
.blog-card:nth-child(4) { animation-delay: 0.24s; }

/* ------------------------------ Responsive -------------------------------- */
@media (max-width: 640px) {
  .header-inner { padding: 0 1.2rem; }
  .nav { gap: 1.2rem; }
  .nav a { font-size: 0.72rem; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.68rem; }
  .hero { padding: 4rem 1.2rem 0; }
  .section { padding: 0 1.2rem 4rem; }
  .section-subtitle { margin-left: 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-header .header-inner { grid-template-columns: 1fr; }
  .post { padding: 4rem 1.2rem; }
  .post-nav { flex-direction: column; gap: 0.8rem; }
}
