.media-flex{
	gap: 5px;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
	display: flex;
    justify-content: center;
    max-width: 100%;
}
.temoignage-card{
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #999;
    margin: 20px;
    width: 950px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	text-align: justify;
	width: 950px;
}
.temoignage-card p{
    max-width: 100%;
	font-size: 0.9rem;
}
.nomposte{
    background-color: #555;
    border-radius: 5px;
    color: rgb(218, 222, 143);
    font-weight: 600;
    font-size: 0.9em;
}
hr{
    margin: 6px 0 5px 0;
}
.temoignages-flex{
    /*display: flex;*/
    width: 950px;
}
@media (max-width: 1000px) {
    .temoignage-card{
        width: 100%;
    }
    
    .temoignages-flex{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}
@media (max-width: 480px) {
    .temoignage-card{
        width: 100%;
    }
    
    .temoignages-flex{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

    }
}
.modal {
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.formmodal {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    /*max-width: 500px;*/
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.formmodal input, .formmodal select, .formmodal textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.checkbox-inline {
    display: flex;
    gap: 8px; /* espace entre la case et le texte */
    font-size: 14px;
}
.checkbox-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.formmodal button {
    display: inline-block;
    background: #8db7e3;
    color: #000000;
    padding: 5px 5px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    font-weight: 700;
}
.formmodal button:hover {
    background: #0056b3;
    color: #ffffff;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    cursor: pointer;
    font-size: 20px;
}

/* --- ACCESSIBILITÉ --- */
    [aria-live] {
      position: relative;
    }

.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 2px 2px;
  margin: 2px;
  border-radius: 5px;
  background: #eee;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.pagination a:hover {
  background: #0055a4;
  color: #fff;
}

.pagination a.active {
  background: #0055a4;
  color: #fff;
  font-weight: bold;
}
/****************************************** 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 *************************************************/

.retour-temoignages {
  margin: 1em 0;
}

.btn-retour {
  display: inline-block;
  background-color: #f4f4f4;
  color: #333;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #ccc;
  transition: background-color 0.3s;
}

.btn-retour:hover {
  background-color: #e2e2e2;
}

.filtre-annee {
  margin-bottom: 1.5em;
  font-style: italic;
  color: #666;
}