/* =========================================================
   VARIABLES – CUSTOMISATION RAPIDE
   ========================================================= */

:root {
  --lists-width: 600px;

  --top-font-size: 13px;
  --bottom-font-size: 13px;

  --bottom-height: 300px;
  --padding-block: 1rem;

  --bottom-bg: #FFFFFF;
  --title-bg: #FAFAFA;
  --title-color: #000;
  --border-color: #d4b89f;
}


/* =========================================================
   STRUCTURE GÉNÉRALE
   ========================================================= */

.lists-page {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.lists-wrapper {
  width: var(--lists-width);
  display: flex;
  flex-direction: column;
  gap: 0; /* continuité visuelle */
}
.lists-wrapper a{
  text-decoration: none;
  color: #808080;
}
.lists-wrapper a:hover{
  color: #000000;
}
.lists-wrapper span{
  text-decoration: none;
  color: #808080;
}


/* =========================================================
   LISTE TOP (ENCADRÉE, SANS SCROLL)
   ========================================================= */

.list-top {
  overflow: hidden;
  margin-bottom: 10px; /* ← ajuste ici (12px, 20px, etc.) */
}

/* Titre top */
.list-top .list-title {
  text-align: right;
  margin: 0;
  font-family: "Special Elite", cursive;
  font-size: 13px;
  padding: 5px 10px;
  color: var(--title-color);
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

/* Contenu */
ul li::marker {
  color: #FA4500;
}
.list-top .list-items {
  list-style: square;  
  padding: var(--padding-block);
  margin:0;
}
.list-top .list-items span{
  font-style: italic;
  color: #000;
}

.list-top .list-items li {
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 2px 0;

}
.list-top .list-items {
  font-weight: bold;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
  :root {
    --lists-width: 90%;
    --bottom-height: 220px;
  }

  .lists-page {
    padding: 40px 0;
  }
}

.preview {
  position: relative;
  text-decoration: none;
}

.thumb {
  position: absolute;
  top: 0;
  left: 400px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.8s ease, visibility 0.2s;
}

.preview:hover .thumb {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.thumb img {
  width: 100px;
}

