/* Actualités : liste (home.php / archive.php) et article seul (single.php)
   Chargé après style-2023.css, uniquement sur ces pages. */

/* ---------- Liste ---------- */
.actus-intro{
  margin-bottom: 30px;
}
.actus-grille{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0 50px;
}
.actu-carte{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(74, 89, 127, 0.12);
  transition: transform ease 0.2s, box-shadow ease 0.2s;
}
.actu-carte:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(74, 89, 127, 0.2);
}
.site-content .actu-carte__image{
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--eolis-lightblue, #d6e0ef);
  border: 0;
  padding: 0;
}
.actu-carte__image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.actu-carte__sans-image{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 48px;
  color: #4A597F;
  opacity: 0.35;
}
.actu-carte__corps{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}
.actu-carte__date{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EF8219;
}
h2.actu-carte__titre{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 29px;
  font-weight: 700;
  color: #4A597F;
}
.actu-carte__titre a{
  color: inherit;
}
.actu-carte__titre a:hover{
  color: #EF8219;
}
.actu-carte__extrait{
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.actu-carte__lien{
  margin-top: auto;
}
.actu-carte__lien a.is-blue-button{
  font-size: 16px;
  font-weight: 600;
}
.actus-vide{
  margin: 40px 0;
}

/* Pagination */
.actus-liste .pagination{
  margin-bottom: 60px;
}
.actus-liste .nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.actus-liste .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 50px;
  border: 1px solid #4A597F;
  color: #4A597F;
  font-weight: 600;
  font-size: 16px;
  transition: all ease 0.2s;
}
.actus-liste a.page-numbers:hover,
.actus-liste .page-numbers.current{
  background: #4A597F;
  color: #fff;
}
.actus-liste .page-numbers.dots{
  border-color: transparent;
}
.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- Article seul ---------- */
.actu-seule{
  max-width: 820px;
  margin: 0 auto 60px;
}
.actu-retour{
  margin: 40px 0 0;
  font-size: 16px;
}
.site-content .actu-retour a{
  border-bottom: 0;
  padding-bottom: 0;
}
.actu-seule h1{
  margin-top: 20px;
  margin-bottom: 10px;
}
.actu-meta{
  margin: 0 0 30px;
  font-size: 16px;
  color: #EF8219;
  font-weight: 600;
}
.site-content .actu-meta a{
  color: inherit;
  border-bottom: 0;
  padding-bottom: 0;
}
.actu-image-une{
  margin: 0 0 30px;
}
.actu-image-une img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.actu-contenu img{
  max-width: 100%;
  height: auto;
}
.actu-navigation{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--eolis-lightblue, #d6e0ef);
}
.actu-navigation__suiv{
  text-align: right;
}
.actu-navigation a{
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #4A597F;
}
.actu-navigation a:hover{
  color: #EF8219;
}
.actu-navigation a span{
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #EF8219;
  margin-bottom: 4px;
}

@media (max-width: 600px){
  .actus-grille{ grid-template-columns: 1fr; }
  .actu-navigation{ grid-template-columns: 1fr; }
  .actu-navigation__suiv{ text-align: left; }
  .actu-seule h1{ font-size: 32px; line-height: 36px; }
}
