/* Conteneur global main + aside */
body {
  display: flex;
  justify-content: center;
  background-color: #fff; /* ou ta couleur */
  margin: 0;
}


.accueil-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  width: 80%;             /* ✅ Largeur du contenu centré */
  max-width: 1200px;      /* ✅ Largeur max pour éviter que ça s’étale trop */
  margin: 40px auto;      /* ✅ Centre horizontalement */
  align-items: flex-start;
}

/* Contenu principal à gauche */
.contenu-principal {
  flex: 1 1 65%;
  min-width: 60%;
}

/* Encadré du dernier témoignage à droite */
.dernier-temoignage {
  flex: 0 0 25%;
  background-color: #f9f9f9;
  border-left: 4px solid #4a90e2;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  align-self: flex-start; /* ✅ évite que l’aside descende si le contenu est court */
}

.dernier-temoignage h3 {
    margin-top: 0;
    color: #ffd700;
    font-size: 0.95em;
    background-color: #333;
    padding: 5px 0 5px 0;
    border-radius: 5px;
}

.dernier-temoignage p {
  font-size: 0.85em;
}
.dernier-temoignage blockquote {
  font-style: italic;
  color: #555;
  margin: 10px 0;
  font-size: 0.9em;
}

.lien-temoignage {
  color: #004080;
  text-decoration: none;
  font-weight: bold;
}

.lien-temoignage:hover {
  text-decoration: underline;
}

/* ✅ Responsive : empile main + aside sur petits écrans */
@media (max-width: 920px) {
  .accueil-layout {
    flex-direction: column;
  }

  main, aside {
    width: 100%;
  }

  aside {
    margin-top: 1.5rem;
  }
}

.asidetout{
    border: 1px #4a90e2 solid;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 5px;
}
/****************************************** Menu principal *************************************************/
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0055a4;
  color: white;
  padding: 8px 15px;
  z-index: 100;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 10px; /* le lien devient visible quand il a le focus clavier */
}
a:focus, button:focus {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}
/****************************************** Menu principal *************************************************/

/****************************************** aside archives *************************************************/
.archives-temoignages {
  margin-top: 20px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

hr{
  margin: 10px 0 10px 0;
}

.archives-temoignages h3 {
  font-size: 1.1em;
  color: #0055a4;
  margin-bottom: 10px;
}

.liste-archives {
  list-style: none;
  padding: 0;
  margin: 0;
}

.liste-archives li {
  margin: 6px 0;
  text-decoration: none;
  font-size: 0.80em;
}

.liste-archives a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.liste-archives a:hover {
  color: #0055a4;

}
.event-item strong {
  color: #222;
}

.event-date {
  color: #666;

}

.event-location {
  color: #444;
  font-size: 0.9rem;
  font-style: italic;
}
.event-item{
  font-size: 0.85rem;
}
.liste-evenements{
  margin: 5px;
}
.liste-evenements li{
  text-decoration: none;
  list-style: none;
}
/****************************************** aside archives *************************************************/