.anecdotes-page,
.anecdote-reader-page {
  background: #ffffff;
  color: #111111;
}

/* =========================
   NAVIGATION HAUTE
========================= */

.top-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.top-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-logo img {
  width: 240px;
  max-width: 60vw;
  height: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.top-logo:hover img,
.top-logo:focus-visible img {
  opacity: 0.55;
  transform: scale(1.04);
}

.top-logo:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 6px;
}

/* =========================
   PAGE LISTE
========================= */

.anecdotes-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 190px 24px 40px;
}

.anecdotes-panel {
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.anecdotes-header {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.anecdotes-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.anecdotes-description {
  width: 100%;
}

.anecdotes-description p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-word;
}

.anecdotes-nav {
  width: 100%;
}

.anecdotes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.anecdotes-list li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.anecdote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 560px);
  min-height: 68px;
  padding: 16px 22px;
  text-decoration: none;
  color: #111111;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.anecdote-link:hover,
.anecdote-link:focus-visible {
  opacity: 0.74;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* =========================
   PAGE LECTURE
========================= */

.anecdote-reader-shell {
  min-height: 100vh;
  width: 100%;
  padding: 170px 24px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.anecdote-paper {
  width: min(100%, 900px);
  background: #fffdf8;
  border: 1px solid rgba(17, 17, 17, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  padding: 48px 52px;
}

.anecdote-paper-title {
  margin: 0 0 28px 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.anecdote-paper-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.anecdote-paper-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-word;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 1100px) {
  .top-logo img {
    width: 200px;
    max-width: 58vw;
  }

  .anecdotes-shell {
    padding: 170px 20px 34px;
  }

  .anecdote-link {
    min-width: min(100%, 480px);
  }

  .anecdote-reader-shell {
    padding: 152px 20px 32px;
  }

  .anecdote-paper {
    padding: 38px 34px;
  }
}

/* =========================
   SMARTPHONE
========================= */

@media (max-width: 720px) {
  .top-nav {
    top: 10px;
  }

  .top-logo img {
    width: 160px;
    max-width: 72vw;
  }

  .anecdotes-shell {
    padding: 140px 16px 32px;
  }

  .anecdotes-title {
    font-size: 0.98rem;
    letter-spacing: 0.18em;
  }

  .anecdotes-description p {
    font-size: 0.94rem;
    line-height: 1.68;
    text-align: left;
  }

  .anecdote-link {
    min-width: 100%;
    min-height: 62px;
    padding: 14px 16px;
    font-size: 0.96rem;
  }

  .anecdote-link:hover,
  .anecdote-link:focus-visible {
    transform: none;
  }

  .anecdote-reader-shell {
    padding: 132px 12px 20px;
  }

  .anecdote-paper {
    width: 100%;
    padding: 26px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  }

  .anecdote-paper-title {
    margin-bottom: 18px;
    font-size: 0.94rem;
    letter-spacing: 0.1em;
  }

  .anecdote-paper-content {
    gap: 14px;
  }

  .anecdote-paper-content p {
    font-size: 0.94rem;
    line-height: 1.72;
    text-align: left;
  }
}