/* Ancestral Theme - L'Atelier du Distillateur */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Manrope:wght@300;400;500;600;800&family=Poiret+One&display=swap');

/* Base */
body {
  background-color: #131313;
  color: #e5e2e1;
  font-family: 'Manrope', sans-serif;
}

h1, h2, h3, .font-serif {
  font-family: 'Noto Serif', serif;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}


/* Utility classes */
.text-glow {
  text-shadow: 0 0 15px rgba(194, 146, 127, 0.3);
}

.glass-panel {
  background: rgba(53, 53, 52, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Selection */
::selection {
  background-color: rgba(212, 175, 55, 0.3);
  color: #e5e2e1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #131313; }
::-webkit-scrollbar-thumb { background: #4d4635; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C2927F; }

/* ============================================================
   Pagination (bloc Actualites) — s2ts-pg
   ============================================================ */
.s2ts-pg {
  display: flex;
  justify-content: center;
  width: 100%;
}
.s2ts-pg__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.s2ts-pg__item { margin: 0; }
.s2ts-pg__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #d0c5af;
  text-decoration: none;
  border: 1px solid rgba(77, 70, 53, 0.4);
  background: transparent;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
.s2ts-pg__link:hover {
  color: #131313;
  background: #C2927F;
  border-color: #C2927F;
}
.s2ts-pg__link--active,
.s2ts-pg__link--active:hover {
  color: #131313;
  background: #C2927F;
  border-color: #C2927F;
  font-weight: 700;
  cursor: default;
}
.s2ts-pg__nav { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; }
.s2ts-pg__link--disabled,
.s2ts-pg__link--disabled:hover {
  color: rgba(208, 197, 175, 0.3);
  border-color: rgba(77, 70, 53, 0.2);
  background: transparent;
  cursor: not-allowed;
  pointer-events: none;
}
.s2ts-pg__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: rgba(208, 197, 175, 0.5);
}
@media (max-width: 640px) {
  .s2ts-pg__nav-label { display: none; }
  .s2ts-pg__link { min-width: 40px; height: 40px; padding: 0 8px; }
}
