/* Corps du site */
body {
  font-family: 'Luciole', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 900px; /* largeur max pour lecture agréable */
  background-image: url("https://gazeta.riom-pop.org/wp-content/uploads/fd.jpg");
  background-attachment: fixed;       /* image reste fixe au scroll */
  background-size: cover;             /* couvre tout l'écran sans déformation */
  background-position: center center; /* centre l'image */
  background-repeat: no-repeat;       /* pas de répétition */
}

/* Header */
header {
  padding: 1rem;
  text-align: center;
  background-color: #fff;
  border: 0.5rem solid #fff;
}
header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
header nav a {
  color: #222;
  margin: 0 0.8rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
}
header nav a:hover {
  font-weight: lighter;
}
header nav li {
	display: inline;
}
header nav li + li:before {
	content:"•";
	padding: 0 10px;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.6rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* Titres */
h1, h2, h3, h4 {
  font-family: 'dejavu', serif;
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}

/* Paragraphes */
p {
  margin-bottom: 1rem;
  text-align: justify;
}
main {
	background-color: #fff;
  	border: 0.5rem solid #fff;
}

/* Liens dans le contenu */
main a {
  color: #000;
  text-decoration: underline;
}
main a:hover {
  opacity: 0.7;
}

/* Images fluides */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  header h1 {
    font-size: 1.5rem;
  }
  header nav a {
    display: inline-block;
    margin: 0.4rem 0.6rem;
  }
}

.double-line {
  width: 100%;         /* prend toute la largeur du container */
  display: flex;
  flex-direction: column;
  gap: 4px;            /* espace entre les deux lignes */
  margin: 2rem 0;      /* espace avant et après */
}

.double-line::before,
.double-line::after {
  content: "";
  display: block;
  height: 2px;         /* épaisseur de chaque ligne */
  background-color: #000;
  width: 100%;
}
.double-line-full {
  width: 100%;         /* prend toute la largeur du container */
  display: flex;
  flex-direction: column;
  gap: 4px;            /* espace entre les deux lignes */
  margin: 2rem 0;      /* espace avant et après */
}

.double-line-full::before,
.double-line-full::after {
  content: "";
  display: block;
  height: 2px;         /* épaisseur de chaque ligne */
  background-color: #000;
  width: 100%;
}
.img-right {
  float: right;          /* fait flotter l'image à droite */
  margin: 0 0 1rem 1rem; /* espace : haut 0, droite 0, bas 1rem, gauche 1rem */
  max-width: 40%;        /* largeur max de l'image (s’adapte aux écrans) */
  height: auto;          /* conserve les proportions */
}

@media (max-width: 600px) {
  .img-right {
    float: none;         /* sur mobile, image au-dessus du texte */
    display: block;
    width: 100%;         /* prend toute la largeur disponible */
    margin: 0 0 1rem 0;  /* espace dessous */
  }
}
.post-thumb img{
  float: right;
  width: 150px;
  height: 150px;
  object-fit: cover; /* recadre l’image proprement */
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.social-bar {
  display: flex;
  justify-content: left;  /* centrer la barre */
  align-items: center;
  gap: 1px;                /* espace entre les icônes */
  padding: 10px 0;
  position: relative;       /* tu peux mettre fixed ou absolute si tu veux la coller */
  z-index: 10;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: white; /* couleur de fond du bouton */
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

/* survol doux */
.social-icon:hover {
  transform: scale(1.1);
  background-color: #ddd;
}

.social-icon img {
  width: 18px;
  height: 18px;
}
.social-bar {
  position: fixed;
  top: 0; /* ou top: 0; */
  width: 100%;
}

/* Conteneur global */
.pmb-print-this-page {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 25px 0;
}

/* Style de base des boutons */
.button {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: white; /* couleur de fond du bouton */
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  color: #000;
}

/* Hover générique */
.button:hover {
  transform: scale(1.1);
  background-color: #ddd;
}

/* Couleurs par type */
.pmb-pdf {
  background-color: #c0392b; /* rouge */
}

.pmb-epub {
  background-color: #27ae60; /* vert */
}

.pmb-print {
  background-color: #3498db; /* bleu */
}
