/* Templates Styles - Ecclesiastical Theme */

:root {
  /* Colors matching header */
  --bg-cream: #F5F5DC;
  --bg-light: #FAF8F3;
  --text-dark: #2C2C2C;
  --text-muted: rgba(44, 44, 44, 0.7);
  --gold: #D4AF37;
  --gold-light: rgba(212, 175, 55, 0.3);
  --gold-border: rgba(212, 175, 55, 0.5);
  --burgundy: #6B2C3E;
  --burgundy-light: #8B4A5F;
  --border-color: rgba(212, 175, 55, 0.2);
}

/* Common Styles */
body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.8;
}

.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .site-main {
    padding: 3rem 2rem;
  }
}

/* Breadcrumb Navigation */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--gold);
}

.breadcrumb-separator {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.breadcrumb-separator svg {
  width: 16px;
  height: 16px;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* Page Headers */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.archive-header {
  position: relative;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.decoration-line-left,
.decoration-line-right {
  height: 1px;
  width: 3rem;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.decoration-line-right {
  background: linear-gradient(to left, transparent, var(--gold-border), transparent);
}

.decoration-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.page-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.archive-description {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Grid Layouts */
.fathers-grid,
.volumes-grid,
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .fathers-grid,
  .volumes-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fathers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .volumes-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Father Card */
.father-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.father-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.father-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.father-card-image {
  position: relative;
  background: var(--bg-light);
  padding: 2rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.father-card-image-wrapper {
  position: relative;
  width: 128px;
  height: 128px;
}

.father-card-image-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.father-card:hover .father-card-image-ring {
  opacity: 1;
}

.father-card-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.father-card-placeholder {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
}

.placeholder-icon {
  font-size: 3rem;
  color: var(--gold);
}

.father-card-volume-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--burgundy);
  color: var(--bg-cream);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.father-card-content {
  padding: 1.5rem;
}

.father-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.father-card:hover .father-card-title {
  color: var(--gold);
}

.father-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.father-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.father-card-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--gold-light);
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0.25rem;
  color: var(--text-muted);
}

.father-card-accent {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.father-card:hover .father-card-accent {
  opacity: 1;
}

/* Single Father Template */
.single-father {
  max-width: 1200px;
  margin: 0 auto;
}

.father-hero {
  position: relative;
  margin-bottom: 3rem;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-light);
  border-radius: 0.75rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--bg-light), var(--bg-cream), var(--bg-light));
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.father-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.father-image-ring-outer {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, var(--gold-light), var(--gold-border), var(--gold-light));
}

.father-image-ring-inner {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
}

.father-image {
  position: relative;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .father-image {
    width: 240px;
    height: 240px;
  }
}

.father-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.father-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.father-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.father-volumes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.volume-badge {
  padding: 0.5rem 1rem;
  background: var(--burgundy);
  color: var(--bg-cream);
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

.volume-badge:hover {
  background: var(--burgundy-light);
}

.hero-divider {
  margin-top: 2rem;
  height: 1px;
  width: 75%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.father-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.father-content-grid.has-sidebar {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .father-content-grid.has-sidebar {
    grid-template-columns: 2fr 1fr;
  }
  
  .father-content-grid.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
}

.father-main-content {
  min-width: 0;
}

.biography-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-divider-left,
.section-divider-right {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold-light), transparent);
}

.section-divider-right {
  background: linear-gradient(to left, var(--gold-light), transparent);
}

.section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  white-space: nowrap;
}

.biography-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.biography-content p {
  margin-bottom: 1.5rem;
}

.biography-content p:first-child::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  color: var(--gold);
}

/* Works Section (when no biography) */
.works-section {
  margin-bottom: 3rem;
}

.works-list-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work-item-main {
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.work-item-main:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.work-title-main {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-dark);
}

.work-link-main {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-link-main:hover {
  color: var(--gold);
}

.work-excerpt-main {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.father-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.sidebar-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  color: var(--gold);
}

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

.sidebar-list li {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-link:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.father-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.nav-link {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.nav-link:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.nav-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.nav-title {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

/* Volume Templates */
.volume-archive-header {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(107, 44, 62, 0.1);
  color: var(--burgundy);
  flex-shrink: 0;
}

.header-divider {
  margin-top: 1.5rem;
  height: 1px;
  width: 96px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.volume-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.volume-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  border-color: var(--gold);
}

.volume-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.volume-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: var(--bg-light);
}

.volume-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.volume-card:hover .volume-card-thumbnail {
  transform: scale(1.05);
}

.volume-card-content {
  padding: 0;
}

.volume-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.volume-number-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--bg-cream);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.volume-icon {
  color: var(--text-muted);
}

.volume-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.volume-card:hover .volume-card-title {
  color: var(--gold);
}

.volume-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.volume-card-stats {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.volume-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.volume-stat svg {
  width: 14px;
  height: 14px;
}

/* Single Volume */
.single-volume {
  max-width: 1200px;
  margin: 0 auto;
}

.volume-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 0.5rem;
}

.volume-number-large {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.volume-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.volume-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.volume-main-content {
  max-width: 900px;
  margin: 0 auto;
}

.volume-thumbnail {
  margin-bottom: 2rem;
}

.volume-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.volume-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.volume-fathers-section,
.volume-works-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.volume-fathers-section .section-title,
.volume-works-section .section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.volume-fathers-section .section-title::before,
.volume-fathers-section .section-title::after,
.volume-works-section .section-title::before,
.volume-works-section .section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-color);
}

.volume-fathers-section .section-title::before,
.volume-works-section .section-title::before {
  left: 0;
}

.volume-fathers-section .section-title::after,
.volume-works-section .section-title::after {
  right: 0;
}

.volume-fathers-list,
.volume-works-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.volume-father-link,
.volume-work-link {
  display: block;
  padding: 1rem 1.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.volume-father-link:hover,
.volume-work-link:hover {
  border-color: var(--gold);
  background: var(--bg-light);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
  transform: translateX(4px);
}

.volume-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

/* Work Templates */
.work-archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Taxonomy Father Archive */
.work-card-header {
  margin-bottom: 1rem;
}

.work-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.work-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-card-title a:hover {
  color: var(--gold);
}

.work-card-excerpt {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.work-card-chapters {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.chapters-list-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  color: var(--gold);
}

.work-card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.work-read-more {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.work-read-more:hover {
  color: var(--burgundy);
  text-decoration: underline;
}

.work-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.work-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.work-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.work-card:hover .work-card-title {
  color: var(--gold);
}

.work-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.work-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.work-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.work-meta-item svg {
  width: 14px;
  height: 14px;
}

/* Single Work */
.single-work {
  max-width: 1200px;
  margin: 0 auto;
}

.work-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.work-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.work-meta-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.work-meta-link:hover {
  color: var(--gold);
}

.work-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .work-content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.work-main-content {
  min-width: 0;
}

.work-excerpt {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.work-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.work-chapters {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.chapters-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--text-dark);
}

.chapters-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chapter-preview {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 2rem;
}

.chapter-preview:last-child {
  margin-bottom: 0;
}

.chapter-preview:hover {
  border-color: transparent;
  box-shadow: none;
}

.chapter-preview-header {
  padding: 0;
  background: transparent;
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.chapter-preview-title {
  margin: 0 0 0.5rem;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.chapter-preview-title.chapter-number-only {
  font-size: 1.1rem;
  font-weight: 500;
}

.chapter-preview-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.chapter-preview-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.chapter-preview-content {
  padding: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.chapter-preview-content p {
  margin-bottom: 1rem;
}

.chapter-preview-content p:last-child {
  margin-bottom: 0;
}

.chapter-preview-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.chapter-read-more {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.chapter-read-more:hover {
  color: var(--burgundy);
  text-decoration: underline;
}

/* Legacy styles for backwards compatibility */
.chapters-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapters-list li {
  margin-bottom: 0.5rem;
}

.chapter-link {
  display: block;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.chapter-link:hover {
  border-color: var(--gold);
  background: var(--bg-light);
  color: var(--gold);
}

.work-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

/* Single Chapter */
.single-chapter {
  max-width: 900px;
  margin: 0 auto;
}

.chapter-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.chapter-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.chapter-number {
  font-weight: 600;
  color: var(--gold);
}

.chapter-father-link,
.chapter-work-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.chapter-father-link:hover,
.chapter-work-link:hover {
  color: var(--gold);
}

.chapter-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--text-dark);
}

.chapter-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .chapter-content-wrapper {
    grid-template-columns: 1fr 300px;
  }
}

.chapter-content {
  font-size: 1.125rem;
  line-height: 2;
  color: var(--text-dark);
  max-width: 700px;
}

.chapter-content p {
  margin-bottom: 1.5rem;
}

.chapter-content p:first-child::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  color: var(--gold);
}

.chapter-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.chapter-navigation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.chapter-nav-link {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.chapter-nav-link:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

/* Footer Styles */
.site-footer {
  background-color: var(--burgundy);
  color: var(--bg-cream);
  margin-top: 4rem;
}

.footer-top-border {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .footer-content {
    padding: 3rem 1.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  min-width: 0;
}

.footer-branding {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .footer-branding {
    grid-column: 1;
  }
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--bg-cream);
  transition: opacity 0.2s ease;
  margin-bottom: 1rem;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: rgba(139, 74, 95, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-letter {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.125rem;
  color: var(--gold);
}

.footer-site-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 245, 220, 0.8);
}

.footer-decoration {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(212, 175, 55, 0.6);
}

.decoration-line {
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
}

.decoration-cross {
  font-family: serif;
  font-size: 1.125rem;
}

.footer-column-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu-list a {
  font-size: 0.875rem;
  color: rgba(245, 245, 220, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu-list a:hover {
  color: var(--gold);
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 245, 220, 0.8);
  margin: 0 0 1rem;
}

.footer-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-learn-more:hover {
  color: var(--gold-hover);
}

.footer-learn-more svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--gold-light);
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
    padding: 1.5rem 1.5rem;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(245, 245, 220, 0.7);
  margin: 0;
}

.footer-blessing {
  font-size: 0.75rem;
  color: rgba(245, 245, 220, 0.5);
  margin: 0;
}

/* No Posts Message */
.no-posts {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.no-posts p {
  font-size: 1.125rem;
  margin: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination a {
  color: var(--text-dark);
  background: white;
  border: 1px solid var(--border-color);
}

.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-light);
}

.pagination .current {
  background: var(--burgundy);
  color: var(--bg-cream);
  border-color: var(--burgundy);
}

/* Archive Filters */
.archive-filters {
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.volume-filter-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
}

.volume-filter-select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background: white;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.volume-filter-select:hover {
  border-color: var(--gold);
}

.volume-filter-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

/* Lazy Pagination */
.lazy-pagination-sentinel {
  height: 1px;
  width: 100%;
  margin: 2rem 0;
}

.lazy-pagination-loading {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
}

.loading-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
  margin: 0;
}

.lazy-pagination-loading::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Homepage Styles */
.home-hero {
  position: relative;
  padding: 4rem 1rem;
  text-align: center;
  background: var(--bg-light);
  margin: -2rem -1rem 0;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .home-hero {
    padding: 6rem 2rem;
    margin: -3rem -2rem 0;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--bg-light), var(--bg-cream), var(--bg-light));
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-decoration .decoration-line-left,
.hero-decoration .decoration-line-right {
  height: 1px;
  width: 4rem;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.hero-decoration .decoration-line-right {
  background: linear-gradient(to left, transparent, var(--gold-border), transparent);
}

.hero-decoration .decoration-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.hero-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  color: var(--burgundy);
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cta-primary {
  background: var(--burgundy);
  color: var(--bg-cream);
  border: 1px solid var(--burgundy);
}

.cta-primary:hover {
  background: var(--burgundy-light);
  border-color: var(--burgundy-light);
  color: var(--bg-cream);
}

.cta-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--gold-border);
}

.cta-secondary:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text-dark);
}

/* Features Section */
.home-features {
  padding: 4rem 0;
  margin-top: 4rem;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 1rem;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.feature-link:hover {
  color: var(--gold);
}

/* Featured Fathers Section */
.home-featured-fathers {
  padding: 4rem 0;
  margin-top: 4rem;
}

.featured-fathers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .featured-fathers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-fathers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-father-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.featured-father-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.featured-father-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-father-image {
  position: relative;
  background: var(--bg-light);
  padding: 2rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-father-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-father-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.featured-father-placeholder .placeholder-icon {
  font-size: 3rem;
  color: var(--text-muted);
}

.featured-father-content {
  padding: 1.5rem;
  text-align: center;
}

.featured-father-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.featured-father-volume {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-light);
  color: var(--burgundy);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--gold-border);
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text-dark);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: rgba(212, 175, 55, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin: 0;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-0.25rem) scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.95);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   ΑΓΙΑ ΓΡΑΦΗ TEMPLATES
   ============================================ */

/* Bible Book Archive */
.testament-section {
  margin-bottom: 4rem;
}

.testament-section:last-child {
  margin-bottom: 0;
}

.testament-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold-border);
}

.testament-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.testament-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.bible-books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .bible-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bible-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bible-book-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.bible-book-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.bible-book-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem;
}

.bible-book-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.bible-book-card:hover .bible-book-card-title {
  color: var(--gold);
}

.bible-book-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.bible-book-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.bible-book-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bible-book-meta-item svg {
  flex-shrink: 0;
}

/* Single Bible Book */
.single-bible-book {
  max-width: 1200px;
  margin: 0 auto;
}

.bible-book-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.bible-book-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.bible-book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.bible-book-testament {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  background: var(--burgundy);
  color: var(--bg-cream);
  border-radius: 0.375rem;
  font-weight: 500;
}

.bible-book-main-content {
  margin-top: 2rem;
}

.bible-book-excerpt {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.bible-book-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.bible-book-content p {
  margin-bottom: 1.5rem;
}

.bible-book-chapters {
  margin-top: 3rem;
}

.chapters-section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--text-dark);
}

/* Single Bible Chapter */
.single-bible-chapter {
  max-width: 1200px;
  margin: 0 auto;
}

.bible-chapter-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.bible-chapter-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.bible-chapter-number {
  font-weight: 600;
  color: var(--text-dark);
}

.bible-chapter-book-link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bible-chapter-book-link:hover {
  color: var(--burgundy);
}

.bible-chapter-testament {
  padding: 0.25rem 0.75rem;
  background: var(--burgundy);
  color: var(--bg-cream);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.bible-chapter-title {
  font-family: 'Noto Sans', 'Commissioner', 'Sen', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--text-dark);
}

.bible-chapter-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .bible-chapter-content-wrapper {
    grid-template-columns: 2fr 1fr;
  }
}

.bible-chapter-content {
  min-width: 0;
}

.bible-verses {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.bible-verse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.bible-verse:last-child {
  border-bottom: none;
}

.verse-number {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  min-width: 2rem;
}

.verse-text {
  flex: 1;
}

.bible-chapter-content-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.bible-chapter-content-text p {
  margin-bottom: 1.5rem;
}

.bible-chapter-sidebar {
  min-width: 0;
}

.bible-chapter-navigation {
  margin-bottom: 2rem;
}

.chapter-nav-link {
  display: block;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.chapter-nav-link:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chapter-nav-link .nav-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.chapter-nav-link .nav-title {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
}

.sidebar-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.sidebar-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.sidebar-link {
  display: block;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sidebar-link:hover {
  color: var(--burgundy);
}

.chapter-verse-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}
