/* ACTU / PAGES ARTICLE — styles scoped to .article so ça ne casse rien ailleurs */
:root{
  --pp-orange:#fb911f;
  --pp-text:#222;
  --pp-muted:#6b7280;
  --pp-bg:#fff;
}

.article{
  max-width:1100px;
  margin:40px auto 80px;
  padding:0 16px;
  color:var(--pp-text);
  line-height:1.65;
  font-family: "Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
}

/* Fil d’ariane */
.breadcrumbs{
  position: relative;      /* passe au-dessus des blocs éventuels */
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: 14px;
  color: #666;
  margin: 0 auto 24px;
  max-width: 1100px;
  padding: 0 16px;
}

.breadcrumbs a{
  color: #fb911f;
  text-decoration: none;
  pointer-events: auto;    /* au cas où un style global aurait mis none */
}

.breadcrumbs a:hover{
  text-decoration: underline;
}

.breadcrumbs span{
  color: #999;
}


/* Titres */
.article h1{
  font-size:clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight:700;
  margin:0 0 10px;
}
.article .meta{
  color:var(--pp-muted);
  font-size:.95rem;
  margin:0 0 24px;
}

/* Hero */
.article-hero{
  margin:24px 0;
}
.article-hero img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.article-hero figcaption{
  font-size:.92rem;
  color:var(--pp-muted);
  margin-top:8px;
}

/* Sous-titres */
.article h2{
  font-size:clamp(1.2rem, 2.3vw, 1.6rem);
  margin:26px 0 10px;
  font-weight:700;
  border-left:6px solid var(--pp-orange);
  padding-left:10px;
}

/* Galerie */
.article-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:18px;
  margin:14px 0 10px;
}
.article-gallery figure{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.article-gallery img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}
.article-gallery figcaption{
  text-align:center;
  font-size:.92rem;
  color:var(--pp-muted);
  margin-top:6px;
}

/* Réseaux */
.article .socials img{ vertical-align:middle; margin-right:8px; }

/* Bloc “À lire aussi” */
.article-next{
  margin-top:40px;
  padding-top:16px;
  border-top:1px dashed #e5e7eb;
}
.article-next h3{
  margin:0 0 10px;
  font-size:1.1rem;
  font-weight:700;
}
.article-next ul{
  list-style:none; padding:0; margin:0;
  display:flex; gap:16px; flex-wrap:wrap;
}
.article-next a{
  color:var(--pp-orange); text-decoration:underline;
}
/* ---- Habillage des pages Actu ---- */

/* Centrer la galerie d'images */
.article-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  flex-wrap: wrap;
}

/* Style des figures */
.article-gallery figure {
  text-align: center;
  max-width: 250px;
}
.article-gallery img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.article-gallery figcaption {
  margin-top: 6px;
  font-style: italic;
  font-size: 0.9rem;
  color: #444;
}

/* Réseaux sociaux */
.socials {
  text-align: center;
  margin: 30px 0;
}
.socials img {
  margin: 0 6px;
  transition: transform 0.2s ease;
}
.socials img:hover {
  transform: scale(1.1);
}

/* Liens "à lire aussi" */
.article-next {
  background: #fff6f0; /* léger orange pastel */
  border-left: 4px solid #fb911f;
  padding: 16px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 6px;
}
.article-next h3 {
  color: #fb911f;
  margin-bottom: 10px;
  text-align: center;
}
.article-next ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.article-next li {
  margin: 6px 0;
}
.article-next a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
}
.article-next a:hover {
  color: #fb911f;
}

/* Footer (mentions légales centrées et colorées) */
.footer {
  text-align: center;
  padding: 20px;
  background: #f5f5f5;
  margin-top: 40px;
}
.footer a {
  color: #fb911f;
  text-decoration: none;
  font-weight: 500;
}
.footer a:hover {
  text-decoration: underline;
}
.article p.socials-text {
  text-align: center;
  margin: 20px 0 10px;
  font-weight: 500;
  color: #333;
}

/* Petites largeurs */
@media (max-width:640px){
  .article{ margin:24px auto 60px; }
  .article-gallery img{ height:180px; }
}

