/* Système onglet */
.tabs-container {
  max-width: 900px;
  margin: 2rem auto;
  font-family: system-ui, -apple-system, sans-serif;
}

.tabs-header {
  display: flex;
  gap: 1.5rem;
  align-items: center; /* Aligne les boutons par le bas */
  height: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 1rem;
  
}

.tab-btn {
  background: none;
  flex-shrink: 0;
  flex-wrap: nowrap;
  border: none;
  padding: 0.5rem 0.25rem;
  font-size: 1.125rem; /* Taille normale */
  font-weight: 500;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.tab-btn.active {
  font-size: 1.75rem; /* Texte nettement plus grand */
  font-weight: 700;
  flex-wrap: nowrap;
}

/* Panneaux de contenu */
.tab-panel {
  padding-top: 1.5rem;
  line-height: 1.7;
  color: #374151;
}

.tab-panel[hidden] {
  display: none;
}

.reader-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
