.post-details h2 {
  font-family: "Jost", sans-serif;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: #0e1318;
  margin-top: 32px;
  margin-bottom: 16px;
}

.post-details p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 18px;
}

.post-details ul {
  margin: 0 0 18px 1.5rem;
  padding: 0;
}

.post-details ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.post-details ul li:last-child {
  margin-bottom: 0;
}

/* Page Association: puces visibles et cohérentes AVVN */
.association-page .post-details ul:not(.tags):not(.post-details-gallery) {
  list-style: disc;
  margin: 0 0 18px 1.5rem;
  padding-left: 0.25rem;
}

.association-page
  .post-details
  ul:not(.tags):not(.post-details-gallery)
  li::marker {
  color: #5fbd74;
}

.association-page .post-details h2 {
  position: relative;
  padding-left: 14px;
}

.association-page .post-details h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background-color: #5fbd74;
}

/* Page Interventions: trait vertical vert sur les titres */
.interventions-page .post-details h2 {
  position: relative;
  padding-left: 14px;
}

.interventions-page .post-details h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background-color: #5fbd74;
}

/* Encart synthèse page Interventions: compact et lisible mobile */
.interventions-page .post-details blockquote.interventions-highlight {
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.45;
}

.interventions-page .interventions-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.interventions-page .interventions-highlight-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1f2a22;
  line-height: 1.45;
}

.interventions-page .interventions-highlight-list li:last-child {
  margin-bottom: 0;
}

.interventions-page .interventions-highlight-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #5fbd74;
}

@media (max-width: 768px) {
  .interventions-page .post-details blockquote.interventions-highlight {
    padding: 12px 14px;
  }
}

/* Page Soutiens & Partenaires: trait vertical vert sur les titres */
.soutiens-page .post-details h2 {
  position: relative;
  padding-left: 14px;
}

.soutiens-page .post-details h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background-color: #5fbd74;
}

/* Page Frelon asiatique: puces visibles sans style encadré */
.frelon-bullets ul:not(.tags):not(.post-details-gallery) {
  list-style: disc;
  margin: 0 0 18px 1.5rem;
  padding-left: 0.25rem;
}

.frelon-bullets ul:not(.tags):not(.post-details-gallery) li::marker {
  color: #5fbd74;
}

.frelon-bullets h2 {
  position: relative;
  padding-left: 14px;
}

.frelon-bullets h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background-color: #5fbd74;
}

/* Restaure des puces lisibles dans les contenus Markdown du blog */
.blog-article ul:not(.tags):not(.post-details-gallery) {
  list-style: disc;
  margin: 0 0 18px 1.5rem;
  padding-left: 0.25rem;
}

.blog-article ul:not(.tags):not(.post-details-gallery) li::marker {
  color: #5fbd74;
}

.blog-article ol {
  list-style: decimal;
  margin: 0 0 18px 1.5rem;
  padding-left: 0.25rem;
}

.blog-article ol li::marker {
  color: #3d8b52;
  font-weight: 600;
}

.blog-article h1 {
  font-family: "Jost", sans-serif;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 600;
  color: #0e1318;
  margin-bottom: 14px;
  text-transform: none;
}

.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
  text-transform: none;
}

/* Titres des cartes sur la page Blog: conserver la casse d'origine */
.blog-page .post-card .post-content h3,
.blog-page .post-card .post-content h3 a {
  text-transform: none;
}

/* Cartes d'articles (accueil + blog): conserver la casse d'origine des titres */
.post-card .post-content h3,
.post-card .post-content h3 a {
  text-transform: none;
}

.blog-article .blog-meta,
.blog-article .blog-excerpt {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.blog-article p {
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-article ul:not(.tags):not(.post-details-gallery),
.blog-article ol {
  margin-bottom: 8px;
}

.blog-article ul:not(.tags):not(.post-details-gallery) li,
.blog-article ol li {
  margin-bottom: 2px;
}

.blog-category-badge {
  display: inline-block;
  background-color: #5fbd74;
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.blog-post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 800 / 520;
  border-bottom: 1px solid #eee;
}

.blog-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-cover-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 1.25rem;
}

.blog-cover-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.post-details .post-details-gallery.hornet-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.hornet-gallery li {
  background-color: #fff;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  min-height: 340px;
  height: 340px;
  display: flex;
  flex-direction: column;
}

.hornet-gallery img {
  display: block;
  width: calc(100% - 40px);
  margin: 20px auto 0;
  border-radius: 6px;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
}

.hornet-gallery .hornet-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7f6;
  color: #0e1318;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 14px;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  width: 100%;
  text-align: center;
  margin-top: auto;
  min-height: 52px;
}

@media (max-width: 768px) {
  .post-details .post-details-gallery.hornet-gallery {
    grid-template-columns: 1fr;
  }

  .hornet-gallery img {
    width: calc(100% - 28px);
    margin-top: 14px;
    height: 200px;
  }
}

.frelon-page .post-details {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 34px 36px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.frelon-page .post-details h2 {
  position: relative;
  padding-left: 14px;
}

.frelon-page .post-details h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background-color: #5fbd74;
}

.frelon-page .post-details h3 {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  line-height: 1.35;
  margin: 24px 0 14px;
  color: #0e1318;
}

.frelon-page .post-details p {
  color: #3f3f3f;
}

.frelon-page .post-details ul:not(.tags):not(.post-details-gallery) {
  background: #f8faf8;
  border: 1px solid #e7efe7;
  border-radius: 10px;
  padding: 14px 18px 10px 34px;
  margin-bottom: 20px;
}

.frelon-page .post-details table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.frelon-page .post-details table thead th {
  background-color: #f3f7f3;
  color: #1e2a22;
  font-family: "Jost", sans-serif;
  font-weight: 600;
}

.frelon-page .post-details table tbody tr:nth-child(even) td {
  background-color: #fbfbfb;
}

@media (max-width: 992px) {
  .frelon-page .post-details {
    padding: 24px 20px;
  }
}

.cta-donation-section {
  background-color: #f4f8f4;
  padding: 0px 0;
}

.cta-donation-section .cta-wrap {
  /*border-radius: 10px;*/
  overflow: visible;
  position: relative;
  z-index: 0;
}

.cta-donation-section .cta-wrap::after {
  content: "";
  position: absolute;
  right: -150px;
  top: 20%;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  background-image: url("/assets/img/bgRuche.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.cta-donation-section .cta-content {
  position: relative;
  z-index: 1;
}

/* Page Soutiens et partenaires — grille serrée adaptée aux petits logos */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  margin-top: 12px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 400px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
  }
}

@media (min-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

a.partner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

a.partner-card:hover {
  border-color: #c5ddc9;
  box-shadow: 0 8px 20px rgba(95, 189, 116, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 8px 10px;
  background: #f8faf8;
  border-bottom: 1px solid #eee;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.partner-card__logo--placeholder {
  min-height: 64px;
  background: linear-gradient(145deg, #f0f4f1 0%, #e8ece9 100%);
  border-bottom: 1px solid #e4e8e5;
}

.partner-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 12px;
  flex: 1;
}

.partner-card__name {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #0e1318;
  word-break: break-word;
  hyphens: auto;
}

a.partner-card:hover .partner-card__name {
  color: #3d8b52;
}

.partner-card__icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: #7a8a80;
}

a.partner-card:hover .partner-card__icon {
  color: #5fbd74;
}

/* Variante sans cadre : logos et noms seuls, fond de page visible */
.partners-grid.partners-grid--bare {
  row-gap: 28px;
  column-gap: 14px;
  margin-top: 20px;
  max-width: none;
  width: 100%;
}

.partners-grid--bare a.partner-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  align-items: center;
  text-align: center;
  padding: 4px 2px 8px;
  transition: color 0.2s ease;
}

.partners-grid--bare a.partner-card:hover {
  transform: none;
  box-shadow: none;
  border: none;
  color: inherit;
}

.partners-grid--bare .partner-card__logo {
  background: transparent;
  border: none;
  min-height: 88px;
  padding: 6px 4px;
}

.partners-grid--bare .partner-card__logo img {
  max-height: 76px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.partners-grid--bare a.partner-card:hover .partner-card__logo img {
  transform: scale(1.06);
  opacity: 1;
}

.partners-grid--bare .partner-card__logo--placeholder {
  min-height: 72px;
  background: transparent;
  border: none;
  border-bottom: none;
}

.partners-grid--bare .partner-card__body {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  padding: 6px 0 0;
  gap: 5px 6px;
}

.partners-grid--bare .partner-card__name {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-decoration-color: transparent;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.partners-grid--bare a.partner-card:hover .partner-card__name {
  color: #2d7a42;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(95, 189, 116, 0.85);
}

.partners-grid--bare .partner-card__icon {
  font-size: 9px;
  color: #9aa89f;
  margin-top: 0;
  opacity: 0.85;
}

.partners-grid--bare a.partner-card:hover .partner-card__icon {
  color: #5fbd74;
  opacity: 1;
}

/* FAQ page readability improvements */
.faq-page .post-details.blog-article {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.faq-page .blog-article h1 {
  margin-bottom: 24px;
}

.faq-page .blog-article h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.3;
  padding-left: 12px;
  border-left: 4px solid #5fbd74;
}

.faq-page .blog-article p {
  margin-bottom: 18px;
}

.faq-page .blog-article p > strong:first-child {
  display: inline-block;
  margin-bottom: 8px;
  color: #0f1f16;
  font-family: "Jost", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.faq-page .blog-article ul:not(.tags):not(.post-details-gallery),
.faq-page .blog-article ol {
  background: #f7fbf8;
  border: 1px solid #e4efe6;
  border-radius: 8px;
  padding: 12px 16px 10px 32px;
  margin-bottom: 20px;
}

.faq-page .blog-article ul:not(.tags):not(.post-details-gallery) li,
.faq-page .blog-article ol li {
  margin-bottom: 4px;
}

.faq-page .blog-article p:last-of-type {
  margin-top: 14px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .faq-page .post-details.blog-article {
    padding: 0;
  }

  .faq-page .blog-article h2 {
    font-size: 22px;
  }

  .faq-page .blog-article p > strong:first-child {
    font-size: 18px;
  }
}

/* Footer partner spotlight */
.footer-partner-row {
  padding: 26px 0 28px;
}

.footer-partner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-partner-title {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2b3a2f;
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-partner-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-partner-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e3ece5;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(95, 189, 116, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-partner-logo-link:hover .footer-partner-logo {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(95, 189, 116, 0.2);
}

.footer-partner-link-text {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #3e7f4f;
  line-height: 1.3;
}

.footer-partner-link-text i {
  margin-left: 6px;
  font-size: 12px;
}

/* Breadcrumb */
.breadcrumb-strip {
  background: transparent;
  border: none;
  padding: 20px 0 2px;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #5d6a62;
  background: #ffffff;
  border: 1px solid #e8eee9;
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  max-width: 100%;
}

.breadcrumb-nav a {
  color: #3b7e4c;
}

.breadcrumb-nav a:hover {
  color: #5fbd74;
}

.breadcrumb-nav .breadcrumb-sep {
  color: #9aa69f;
}

.breadcrumb-nav [aria-current="page"] {
  color: #2d3a32;
  font-weight: 600;
}

/* Réduit l'espace blanc entre fil d'Ariane et contenu */
.breadcrumb-strip + .blog-section.blog-page.padding {
  padding-top: 18px;
}

@media (max-width: 768px) {
  .breadcrumb-strip {
    padding: 14px 0 2px;
  }

  .breadcrumb-nav {
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .breadcrumb-strip + .blog-section.blog-page.padding {
    padding-top: 14px;
  }
}
