/* ==========================================================================
   Lexique - Notions à connaître (template-parts/lexique.php)
   ========================================================================== */

.p-lexique .lexique {
  margin-bottom: 80px;
}

/* Outils : recherche + alphabet */
.p-lexique .lexique-outils {
  border-left: 1px solid #1b4379;
  padding-left: 15px;
  margin: 0 0 40px 30px;
}

.p-lexique .lexique-label {
  display: block;
  font-family: 'azo-sans-web', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #48a8bc;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.p-lexique .lexique-recherche {
  position: relative;
  max-width: 560px;
}

.p-lexique .lexique-recherche i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #1b4379;
  pointer-events: none;
}

.p-lexique .lexique-recherche input {
  width: 100%;
  height: 48px;
  padding: 0 15px 0 42px;
  border: 1px solid #1b4379;
  border-radius: 0;
  font-family: 'azo-sans-web', sans-serif;
  font-size: 16px;
  color: #002b4d;
  background: #fff;
}

.p-lexique .lexique-recherche input:focus {
  outline: none;
  border-color: #009fe3;
  box-shadow: 0 0 0 2px rgba(0, 159, 227, .25);
}

.p-lexique .lexique-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 20px 0 10px;
}

.p-lexique .lexique-alphabet button,
.p-lexique .lexique-alphabet span {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #1b4379;
  background: #fff;
  color: #1b4379;
  font-family: 'azo-sans-web', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.p-lexique .lexique-alphabet button:hover,
.p-lexique .lexique-alphabet button:focus,
.p-lexique .lexique-alphabet button.is-active {
  background: #1b4379;
  color: #fff;
  outline: none;
}

.p-lexique .lexique-alphabet span.is-disabled {
  border-color: #d6dde6;
  color: #b5c0cc;
  cursor: default;
}

.p-lexique .lexique-compteur {
  font-size: 14px;
  color: #6c7a89;
  margin: 0;
}

.p-lexique .lexique-compteur span {
  font-weight: 700;
  color: #1b4379;
}

/* Groupes par lettre */
.p-lexique .lexique-groupe {
  margin-bottom: 30px;
}

.p-lexique .lexique-lettre {
  font-family: 'azo-sans-web', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #48a8bc;
  border-bottom: 1px solid #1b4379;
  padding-bottom: 5px;
  margin: 0 0 10px;
}

/* Notions en accordéon */
.p-lexique .lexique-notion {
  border-bottom: 1px solid #d6dde6;
}

.p-lexique .lexique-notion h3 {
  margin: 0;
}

.p-lexique .lexique-notion h3 button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 5px;
  border: 0;
  background: none;
  text-align: left;
  font-family: 'azo-sans-web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1b4379;
  cursor: pointer;
}

.p-lexique .lexique-notion h3 button:hover,
.p-lexique .lexique-notion h3 button:focus {
  color: #009fe3;
  outline: none;
}

.p-lexique .lexique-notion h3 button i {
  font-size: 14px;
  transition: transform .2s;
}

.p-lexique .lexique-notion h3 button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.p-lexique .lexique-descriptif {
  border-left: 1px solid #1b4379;
  padding: 0 5px 10px 15px;
  margin: 0 0 15px 5px;
  text-align: justify;
}

.p-lexique .lexique-vide {
  font-style: italic;
  color: #6c7a89;
}

@media (max-width: 767px) {
  .p-lexique .lexique-outils {
    margin-left: 0;
  }

  .p-lexique .lexique-notion h3 button {
    font-size: 16px;
  }
}
