/* ==========================================================================
   Proust — Édition Didactique, Philologique & Exégétique
   Design System & Interface Responsive (Mac M5/M3, iPad, iPhone)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,600&display=swap');

:root {
  /* Thème Vélin Ivoire (Défaut clair) */
  --bg-primary: #fcf9f2;
  --bg-secondary: #f4eee1;
  --bg-card: #ffffff;
  --bg-sidebar: #f7f2e7;
  --text-main: #231f1d;
  --text-secondary: #655b54;
  --text-muted: #8c827a;
  --accent: #9a6b2f;
  --accent-light: #dfb271;
  --accent-soft: rgba(154, 107, 47, 0.12);
  --border: #e2d9c8;
  --border-light: #ece4d7;
  --shadow: 0 4px 20px rgba(70, 50, 30, 0.06);
  --shadow-lg: 0 10px 30px rgba(70, 50, 30, 0.12);
  
  --font-serif: 'EB Garamond', 'Lora', Georgia, serif;
  --font-title: 'Cinzel', 'EB Garamond', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --reader-max-width: 760px;
  --reader-font-size: 19px;
  --reader-line-height: 1.85;
  --sidebar-width: 400px;
  --header-height: 64px;
  --bottom-bar-height: 60px;
}

[data-theme="dark"] {
  --bg-primary: #141518;
  --bg-secondary: #1a1c20;
  --bg-card: #202227;
  --bg-sidebar: #17181c;
  --text-main: #e8e6e3;
  --text-secondary: #a8a5a0;
  --text-muted: #73706a;
  --accent: #d4a754;
  --accent-light: #fad68a;
  --accent-soft: rgba(212, 167, 84, 0.15);
  --border: #2d3037;
  --border-light: #383c44;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="sepia"] {
  --bg-primary: #f2e8d3;
  --bg-secondary: #e6dbc1;
  --bg-card: #faf3e3;
  --bg-sidebar: #ebe1c8;
  --text-main: #33261a;
  --text-secondary: #6e5c49;
  --text-muted: #8f7c67;
  --accent: #8b5120;
  --accent-light: #c27d42;
  --accent-soft: rgba(139, 81, 32, 0.12);
  --border: #d4c5a9;
  --border-light: #dfd2b9;
  --shadow: 0 4px 20px rgba(80, 50, 20, 0.08);
  --shadow-lg: 0 10px 30px rgba(80, 50, 20, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header Bar
   ========================================================================== */
.app-header {
  height: var(--header-height);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-logo {
  font-size: 24px;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-titles h1 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-titles .author {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--accent);
}

.header-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-primary);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--accent-soft);
}

.tab-btn.active {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   Main App Container
   ========================================================================== */
.app-container {
  position: absolute;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  overflow: hidden;
}

/* Tab Views */
.view-panel {
  flex: 1;
  height: 100%;
  display: none;
  overflow: hidden;
  position: relative;
}

.view-panel.active {
  display: flex;
}

/* ==========================================================================
   1. VUE LECTURE & EXÉGÈSE
   ========================================================================== */
.reader-workspace {
  display: flex;
  width: 100%;
  height: 100%;
}

.reader-main-column {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
  padding: 40px 20px 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reader-content-box {
  width: 100%;
  max-width: var(--reader-max-width);
}

/* Header de la section */
.section-meta-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 34px;
  text-align: center;
}

.tome-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-part-label {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-quick-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.section-quick-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Texte de Marcel Proust */
.proust-text-body {
  font-family: var(--font-serif);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
  color: var(--text-main);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.proust-text-body p {
  margin-bottom: 1.6em;
  text-indent: 1.8em;
}

/* Lettrine élégante sur le premier paragraphe */
.proust-text-body p:first-of-type::first-letter {
  font-family: var(--font-title);
  float: left;
  font-size: 4.4em;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* Navigation flottante de bas de page */
.reader-bottom-nav {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-arrow-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-arrow-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Volet Latéral Exégétique (Panneau droit) */
.exegese-sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease;
  overflow: hidden;
  z-index: 50;
}

.exegese-sidebar.collapsed {
  transform: translateX(100%);
  width: 0;
  border-left: none;
}

.sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.exegese-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-badge:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.tag-badge.perso {
  border-left: 3px solid #3b82f6;
}

.tag-badge.theme {
  border-left: 3px solid #10b981;
}

.tag-badge.lieu {
  border-left: 3px solid #f59e0b;
}

.specialiste-quote {
  padding: 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  margin-bottom: 12px;
  border-left: 3px solid var(--accent);
}

.specialiste-quote:last-child {
  margin-bottom: 0;
}

.spec-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.spec-text {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.5;
}

/* ==========================================================================
   2. VUE SOMMAIRE (487 SECTIONS)
   ========================================================================== */
.sommaire-view {
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  width: 100%;
}

.sommaire-header {
  max-width: 1100px;
  margin: 0 auto 24px auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sommaire-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.search-bar-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-field {
  width: 100%;
  padding: 11px 16px 11px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.tome-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tome-pill {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tome-pill:hover, .tome-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 80px;
}

.section-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-grid-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.sec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sec-num-badge {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.sec-tome-tag {
  font-size: 11px;
  color: var(--text-muted);
}

.sec-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.sec-card-incipit {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

/* ==========================================================================
   3. VUE RECHERCHE PLEIN TEXTE
   ========================================================================== */
.recherche-view {
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  width: 100%;
}

.search-results-container {
  max-width: 900px;
  margin: 20px auto;
  width: 100%;
  padding-bottom: 80px;
}

.result-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.result-title {
  font-weight: 600;
  color: var(--accent);
}

.result-snippet {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-main);
}

mark {
  background-color: var(--accent-light);
  color: #000;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* ==========================================================================
   4. VUE LABORATOIRE PHILOLOGIQUE (CONCORDANCIER & DISTRIBUTION)
   ========================================================================== */
.philologie-view {
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  width: 100%;
}

.philo-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 80px;
}

.philo-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.philo-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.distribution-chart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.chart-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.bar-label {
  width: 160px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-secondary);
}

.bar-track {
  flex: 1;
  height: 22px;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 6px;
  transition: width 0.4s ease;
}

.bar-count {
  width: 45px;
  text-align: right;
  font-weight: 600;
  color: var(--text-main);
}

/* Tableau KWIC */
.kwic-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.kwic-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-serif);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.kwic-row:hover {
  background: var(--accent-soft);
}

.kwic-meta {
  width: 90px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.kwic-left {
  flex: 1;
  text-align: right;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.kwic-keyword {
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.kwic-right {
  flex: 1;
  text-align: left;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 8px;
}

/* ==========================================================================
   5. VUE WIKI & SPÉCIALISTES
   ========================================================================== */
.wiki-view {
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  width: 100%;
}

.wiki-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 80px;
}

.wiki-nav-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.wiki-filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-filter-btn.active, .wiki-filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.wiki-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.wiki-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.wiki-card-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}

.wiki-card h3 {
  font-size: 17px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.wiki-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Modales & Tiroirs (Wiki Article, Typographie, Paramètres)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 18px;
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
}

.modal-body h2, .modal-body h3 {
  margin: 1.2em 0 0.5em 0;
  color: var(--accent);
}

.modal-body p {
  margin-bottom: 1em;
}

.modal-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 16px;
  background: var(--accent-soft);
  margin: 1.2em 0;
  font-style: italic;
}

/* ==========================================================================
   Barre de navigation mobile (iPhone / iPad)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  z-index: 100;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
}

.mobile-tab-btn.active {
  color: var(--accent);
}

.mobile-tab-btn span.icon {
  font-size: 18px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: 340px;
  }
}

@media (max-width: 820px) {
  .header-tabs {
    display: none;
  }
  
  .mobile-bottom-bar {
    display: flex;
  }
  
  .app-container {
    bottom: var(--bottom-bar-height);
  }
  
  .exegese-sidebar {
    position: fixed;
    top: 0;
    bottom: var(--bottom-bar-height);
    right: 0;
    width: 85%;
    max-width: 360px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    transform: translateX(100%);
  }
  
  .exegese-sidebar.open-mobile {
    transform: translateX(0);
  }
  
  .reader-main-column {
    padding: 24px 16px 80px 16px;
  }
  
  .section-headline {
    font-size: 20px;
  }
  
  .proust-text-body {
    font-size: 17px;
    line-height: 1.75;
  }
}
