/* CSS commun */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  overflow-x: hidden; /* Ajouté pour éviter le scrolling horizontal */
  box-sizing: border-box;
}
h2 {
  font-size: 45px;
}
*, *::before, *::after {
  box-sizing: inherit;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  max-width: 100%;
  margin-top: 32px;
}

body {
  padding-top: 104px; /* compense le header fixe (pages sans image d'en-tête) */
}

header {
  background: #14151a;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
  min-height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5000;
  width: 100%;
  transition: background .28s ease, backdrop-filter .28s ease, border-color .28s ease;
}

/* Pages avec image plein cadre : le header est posé par-dessus, transparent,
   puis devient plein au scroll (classe .is-scrolled ajoutée en JS). */
body.page-has-hero {
  padding-top: 0;
}

body.page-has-hero header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body.page-has-hero header.is-scrolled {
  background: rgba(22, 22, 24, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, .08);
}

header h1 {
  text-align: center;
  margin: 0;
  font-size: 36px;
}

.center-title {
  text-align: center;
}

/* Navigations
   Ces regles ciblent les composants de navigation nommes, jamais l'element
   <nav> lui-meme : un futur <nav> sans classe (plan du site, fil d'Ariane,
   sommaire d'article) ne doit rien heriter d'ici. Ajouter une navigation =
   ajouter sa classe dans les selecteurs ci-dessous, ou lui ecrire ses
   propres regles. */

.main-nav,
.pagination {
  display: flex;
  justify-content: center;
}

.main-nav a,
.mobile-nav a,
.footer-nav a,
.pagination a {
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  text-align: center;
}

.main-nav a:hover,
.mobile-nav a:hover,
.footer-nav a:hover,
.pagination a:hover {
  background-color: rgba(255, 255, 255, .12);
  color: #fff;
}

 

.showcase-text h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.showcase-text p {
  font-size: 20px;
}

.content {
  padding: 20px;
  background: #fff;
  text-align: center;
}

.blog-post h1,
.blog-post h2,
.blog-post .meta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.blog-post h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #14211f;
  margin: 0 0 18px;
}

.blog-post h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: #14211f;
  margin: 44px 0 14px;
}

.blog-post p {
  font-size: 18px;
  line-height: 1.75;
  color: #2c3230;
  text-align: left;
  margin: 0 0 20px;
}

.blog-post .meta {
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #8a938f;
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ececec;
}

.blog-post ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.blog-post ol li {
  font-size: 18px;
  line-height: 1.7;
  color: #2c3230;
  margin-bottom: 10px;
  padding-left: 6px;
}

.blog-post ol li::marker {
  color: #c98f3f;
  font-weight: 700;
}

.blog-post a {
  color: #b06f14;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post .medical-disclaimer {
  font-size: 15px;
  color: #555;
  background: #f6f6f4;
  border-left: 3px solid #d8a95b;
  padding: 12px 16px;
  margin-top: 32px;
}

.blog-post .blog-outro {
  font-size: 16px;
  color: #444;
  border-top: 1px solid #e2e2e2;
  padding-top: 16px;
  margin-top: 24px;
}

/* "Questions pour toi, lecteur" : encart papier, épinglé à droite sur grand écran */
.blog-post .reader-questions {
  margin: 44px 0 8px;
  padding: 22px 24px;
  background: #f7ebd6;
  border: 1px solid #ecdab6;
  border-radius: 12px;
}

.blog-post .reader-questions h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.blog-post .reader-questions ol {
  margin: 0;
  padding-left: 20px;
}

.blog-post .reader-questions ol li {
  font-size: 16px;
  margin-bottom: 10px;
}

.blog-post .reader-questions ol li:last-child {
  margin-bottom: 0;
}

@media (min-width: 1380px) {
  .blog-post .reader-questions {
    position: fixed;
    top: 50%;
    right: clamp(24px, 3.5vw, 64px);
    transform: translateY(-50%) rotate(-1.6deg);
    width: 250px;
    max-height: 80vh;
    overflow: auto;
    margin: 0;
    z-index: 40;
    box-shadow: 0 16px 40px rgba(20, 33, 31, .16);
  }

  .blog-post .reader-questions::before {
    content: "À toi de jouer";
    display: block;
    margin-bottom: 10px;
    font: 700 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b06f14;
  }

  /* Pages anglaises (<html lang="en-GB">) */
  .blog-post .reader-questions:lang(en)::before {
    content: "Your turn";
  }

  .blog-post .reader-questions h2 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .blog-post .reader-questions ol {
    padding-left: 18px;
  }

  .blog-post .reader-questions ol li {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
}



.margin-block {
  margin-top: 100px;
  margin-bottom: 100px;
}

.intro-text {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.themes {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  flex-wrap: wrap; /* Ajouté pour permettre l'enroulement des éléments */
}

.theme {
  background: #e2e2e2;
  /*padding: 20px;*/ 
  width: 22%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ajouté pour éviter le débordement */
}

.theme h3 {
  margin-bottom: 10px;
}

.reverse {
  flex-direction: row-reverse;
}


.contact {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 32px 30px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  margin-top: 0;
}

.contact-form { max-width: 100%; }

.contact h2 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.contact p {
  text-align: center;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  display: block;
  width: 100%;
  padding: 10px;
  background: #50b3a2;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #19403a;
}






.container-full .container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.blog-post {
  background: #fff;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 64px);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(20, 33, 31, 0.08);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

.blog-post > p:first-of-type,
.blog-post .meta + p {
  font-size: 20px;
  color: #1f2926;
}

@media (max-width: 767px) {
  .blog-post { padding: 32px 20px; border-radius: 10px; }
}

.comments {
  margin-top: 30px;
}

.comment-list {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment-form {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment-status {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success {
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}

.error {
  color: #dc3545;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-return {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f4a40;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-return:hover {
  background-color: #0f4a40;
}

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

.pagination a {
  margin: 0 5px;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #ffffff;
  color: #000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #0f4a40;
}

.pagination a.active {
  background-color: #0f4a40;
}

.logo-container {
  display: flex;
  align-items: center;

}

.timeline-icon img {
  width: 60%; /* Ajuste selon la taille de l'image */
  height: auto;
  color: #fff; /* Icône en blanc */
  border-radius: 50%; /* Cercle */
  width: 100px;
  height: 100px;
}
.blog-thumbnail {
  width: 100%;
  /* height: 100px; */
  object-fit: cover;
  /* margin-right: 20px; */
  border-radius: 10px;
  
}
.bloc-img-list {
  width: 100%;
}

.blog-summary h2 {
  margin: 0;
}

.blog-summary p {
  margin: 5px 0;
  padding: 15px;
}
.bloc-blog-link {
  width: 100%;
  text-align: center;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 10px;
  max-height: 300px;
  object-fit: cover;
}

.inline-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 10px;
  max-height: 300px;
  object-fit: cover;
}

blockquote {
  background: #f4f4f4;
  border-left: 5px solid #0f4a40;
  margin: 20px 0;
  padding: 15px 20px;
  font-style: italic;
}

blockquote p {
  margin: 0;
}

.highlight-box {
 background: #e2e2e2;
  /*background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);*/
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  min-width: 300px;
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 10px;
}

.newsletter {
  border-top: #000;
}
footer a {
  color:white;
}

.blog-summary h2 a {
  font-size: medium;
  color: #19403a;
  text-decoration: none;
}
.blog-summary p a {
  font-size: medium;
  color: #19403a;
  text-decoration: none;
}
