/* Yac Konection - Temoignages */

.yk-tem-wrap {
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.yk-tem-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.yk-tem-carte {
  margin: 0;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10, 61, 98, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yk-tem-etoiles {
  color: #F5A623;
  font-size: 20px;
  letter-spacing: 2px;
}

.yk-tem-texte {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.yk-tem-texte p {
  margin: 0 0 8px;
}

.yk-tem-auteur {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.yk-tem-auteur span {
  color: #5F6B76;
  font-size: 13px;
}

.yk-tem-vide {
  text-align: center;
  color: #5F6B76;
}

/* Choix de la note : etoiles cliquables
   Les boutons sont dans l'ordre 5 -> 1 et affiches de droite a gauche,
   ce qui permet d'allumer toutes les etoiles jusqu'a celle choisie. */
.yk-note-champ {
  border: none;
  padding: 0;
  margin: 0 0 18px;
}

.yk-note-champ legend {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
  padding: 0;
}

.yk-note {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.yk-note input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.yk-note label {
  font-size: 34px;
  line-height: 1;
  color: #CBD9E6;
  cursor: pointer;
  padding: 0 3px;
  transition: color 0.15s ease;
}

.yk-note label:hover,
.yk-note label:hover ~ label,
.yk-note input:checked ~ label {
  color: #F5A623;
}

.yk-note input:focus-visible + label {
  outline: 2px solid #0091EA;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Texte reserve aux lecteurs d'ecran */
.yk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
