/* Article */

:root {
  --mcf-green: #14752a;
  --mcf-green-dark: #0f5d22;
  --mcf-green-link: #127a20;
  --mcf-green-link-hover: #0e631c;
  --mcf-green-link-visited: #0a4a15;
  --mcf-border: #d9e2d9;
  --mcf-border-light: #e5ebe5;
  --mcf-text: #444;
  --mcf-title: #1f1f1f;
  --mcf-card-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Titres */

.titreh2 {
  position: relative;
  padding-left: 40px;
  line-height: 1.25;
  text-decoration-line: underline;
  text-decoration-color: rgba(4, 105, 2, 0.9);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-skip-ink: none;
}

.titreh2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  background: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/icone-categorie-h2-minecraft.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  transform: translateY(-50%) rotate(-3deg);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.titreh2::after {
  content: none !important;
}

.titreh2:hover::before {
  transform: translateY(-50%) rotate(0deg);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

/* Section */

.image-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.image-widget a,
.image-widget a img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.image-widget a img {
  height: auto;
  border-left: 3px solid transparent;
}

.image-widget .ma-classe-image:hover {
  border-left-color: #196d17;
}

.image-widget a img:hover {
  filter: brightness(120%);
}

.zoom img {
  transition: transform 0.2s ease-out;
}

.zoom img:hover {
  transform: scale(1.1);
}

.custom-title strong {
  display: block;
  margin: 20px 0;
  color: #000;
  font-size: 1.17em;
  font-weight: 700;
  line-height: 1.3;
}

/* Section */

.minecraft-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.minecraft-info-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin: 5px 0;
}

.minecraft-info-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 250px;
}

.minecraft-info-title {
  margin: 2px 0 5px;
  font-weight: 700;
}

.minecraft-info-text {
  font-size: 0.9em;
}

.minecraft-info-cell img {
  width: 30px;
  height: 30px;
  filter: brightness(1.2);
  transition: filter 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.minecraft-info-cell:hover img {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.minecraft-info-cell img:hover {
  filter: brightness(1.5);
}

/* Discord */

.mcf-discord-inline {
  box-sizing: border-box;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.mcf-discord-box-link,
.entry-content a.mcf-discord-box-link,
.post-content a.mcf-discord-box-link {
  display: block;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
}

.mcf-discord-box-link:hover,
.entry-content a.mcf-discord-box-link:hover,
.post-content a.mcf-discord-box-link:hover {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-decoration: none !important;
}

.mcf-discord-text {
  display: block;
  max-width: 300px;
  margin: 0 auto 14px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.mcf-discord-stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mcf-discord-stats span {
  padding: 6px 10px;
  background: #fafbfc;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  color: #24292e;
  -webkit-text-fill-color: #24292e;
  font-size: 13px;
  font-weight: 700;
}

.mcf-discord-stats strong {
  color: #111827;
  -webkit-text-fill-color: #111827;
  font-weight: 900;
}

.mcf-discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  padding: 0.65rem 1.1rem;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #5662f6;
  border: 1px solid rgba(86, 98, 246, 0.35);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25rem;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.mcf-discord-button::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.028-.07 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.005-.085c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.027.071c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019ZM5.347 10.214c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.028-.07 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.005-.085c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.027.071c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019ZM5.347 10.214c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mcf-discord-box-link:hover .mcf-discord-button,
.entry-content a.mcf-discord-box-link:hover .mcf-discord-button,
.post-content a.mcf-discord-box-link:hover .mcf-discord-button {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #6874ff;
  box-shadow: 0 6px 14px rgba(86, 98, 246, 0.22);
  text-decoration: none !important;
  transform: translateY(-1px) scale(1.01);
}

.mcf-discord-box-link:focus-visible {
  outline: 2px solid #5662f6;
  outline-offset: 4px;
  border-radius: 8px;
}

html.s-dark .mcf-discord-text,
body.s-dark .mcf-discord-text {
  color: var(--mcf-night-text, #d8e1ec) !important;
  -webkit-text-fill-color: var(--mcf-night-text, #d8e1ec) !important;
}

html.s-dark .mcf-discord-stats span,
body.s-dark .mcf-discord-stats span {
  background: var(--mcf-night-surface-2, #142238) !important;
  border-color: var(--mcf-night-border, #263a56) !important;
  color: var(--mcf-night-text, #d8e1ec) !important;
  -webkit-text-fill-color: var(--mcf-night-text, #d8e1ec) !important;
}

html.s-dark .mcf-discord-stats strong,
body.s-dark .mcf-discord-stats strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.s-dark .mcf-discord-button,
body.s-dark .mcf-discord-button {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #5662f6 !important;
}

html.s-dark .mcf-discord-button::before,
body.s-dark .mcf-discord-button::before {
  background-color: #fff !important;
}

html.s-dark .mcf-discord-box-link:hover .mcf-discord-button,
body.s-dark .mcf-discord-box-link:hover .mcf-discord-button {
  background-color: #6874ff !important;
}

@media (max-width: 480px) {
  .mcf-discord-inline {
    max-width: 100%;
  }

  .mcf-discord-button {
    max-width: 100%;
  }
}

/* Icones API */

.icone-forge,
.icone-api,
.icone-fabric,
.icone-optifine,
.icone-neoforge,
.icone-iris {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 35px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 30px auto;
}

.icone-forge { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/icon-forge.png"); }
.icone-api { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/apis.png"); }
.icone-fabric { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/icon-fabric.png"); }
.icone-optifine { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/optifine-icone.png"); }
.icone-neoforge { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/12/neoforged-icone.png"); }
.icone-iris { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2023/03/icone-iris.png"); }

/* Galeries */

.entry-content .wp-block-gallery,
.post-content .wp-block-gallery {
  gap: 14px !important;
  margin: 26px auto 30px;
}

.entry-content .wp-block-gallery .blocks-gallery-grid,
.post-content .wp-block-gallery .blocks-gallery-grid {
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content .wp-block-gallery.has-nested-images,
.entry-content figure.wp-block-gallery.has-nested-images,
.post-content .wp-block-gallery.has-nested-images,
.post-content figure.wp-block-gallery.has-nested-images {
  align-items: stretch;
}

.entry-content .wp-block-gallery.columns-2 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-2 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image,
.post-content .wp-block-gallery.columns-2 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-2 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image {
  flex-basis: calc(50% - 7px) !important;
  width: calc(50% - 7px) !important;
}

.entry-content .wp-block-gallery.columns-3 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-3 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image,
.post-content .wp-block-gallery.columns-3 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-3 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image {
  flex-basis: calc(33.333% - 10px) !important;
  width: calc(33.333% - 10px) !important;
}

.entry-content .wp-block-gallery.columns-4 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-4 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image,
.post-content .wp-block-gallery.columns-4 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-4 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image {
  flex-basis: calc(25% - 11px) !important;
  width: calc(25% - 11px) !important;
}

.entry-content .wp-block-gallery .blocks-gallery-item,
.entry-content .wp-block-gallery .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
.post-content .wp-block-gallery .blocks-gallery-item,
.post-content .wp-block-gallery .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image {
  position: relative;
  box-sizing: border-box;
  display: block !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  line-height: 0;
  border: 1px solid var(--mcf-border-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--mcf-card-shadow);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.entry-content .wp-block-gallery .blocks-gallery-item:hover,
.entry-content .wp-block-gallery .blocks-gallery-image:hover,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image:hover,
.post-content .wp-block-gallery .blocks-gallery-item:hover,
.post-content .wp-block-gallery .blocks-gallery-image:hover,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image:hover {
  transform: translateY(-2px);
  border-color: #cbdccb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image > a,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image > a,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image > a,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image > a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  line-height: 0 !important;
}

.entry-content .wp-block-gallery img,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image img,
.post-content .wp-block-gallery img,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image img,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  border-radius: 11px;
  vertical-align: top !important;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.entry-content .wp-block-gallery .blocks-gallery-item:hover img,
.entry-content .wp-block-gallery .blocks-gallery-image:hover img,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover img,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image:hover img,
.post-content .wp-block-gallery .blocks-gallery-item:hover img,
.post-content .wp-block-gallery .blocks-gallery-image:hover img,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover img,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image:hover img {
  transform: scale(1.015);
  filter: brightness(1.035);
}

.entry-content .wp-block-gallery .blocks-gallery-item figcaption,
.entry-content .wp-block-gallery .blocks-gallery-image figcaption,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image figcaption,
.entry-content .wp-block-gallery .blocks-gallery-image-caption,
.entry-content .wp-block-gallery .blocks-gallery-item__caption,
.entry-content .wp-block-gallery .blocks-gallery-item__description,
.post-content .wp-block-gallery .blocks-gallery-item figcaption,
.post-content .wp-block-gallery .blocks-gallery-image figcaption,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image figcaption,
.post-content .wp-block-gallery .blocks-gallery-image-caption,
.post-content .wp-block-gallery .blocks-gallery-item__caption,
.post-content .wp-block-gallery .blocks-gallery-item__description {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-height: 50%;
  margin: 0 !important;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.78));
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 12px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.entry-content .wp-block-gallery > figcaption,
.entry-content .wp-block-gallery > .blocks-gallery-caption,
.post-content .wp-block-gallery > figcaption,
.post-content .wp-block-gallery > .blocks-gallery-caption {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-align: center;
}

html.s-dark .entry-content .wp-block-gallery .blocks-gallery-item,
html.s-dark .entry-content .wp-block-gallery .blocks-gallery-image,
html.s-dark .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
html.s-dark .post-content .wp-block-gallery .blocks-gallery-item,
html.s-dark .post-content .wp-block-gallery .blocks-gallery-image,
html.s-dark .post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
body.s-dark .entry-content .wp-block-gallery .blocks-gallery-item,
body.s-dark .entry-content .wp-block-gallery .blocks-gallery-image,
body.s-dark .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
body.s-dark .post-content .wp-block-gallery .blocks-gallery-item,
body.s-dark .post-content .wp-block-gallery .blocks-gallery-image,
body.s-dark .post-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .entry-content .wp-block-gallery .blocks-gallery-item:hover,
html.s-dark .entry-content .wp-block-gallery .blocks-gallery-image:hover,
html.s-dark .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover,
html.s-dark .post-content .wp-block-gallery .blocks-gallery-item:hover,
html.s-dark .post-content .wp-block-gallery .blocks-gallery-image:hover,
html.s-dark .post-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover,
body.s-dark .entry-content .wp-block-gallery .blocks-gallery-item:hover,
body.s-dark .entry-content .wp-block-gallery .blocks-gallery-image:hover,
body.s-dark .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover,
body.s-dark .post-content .wp-block-gallery .blocks-gallery-item:hover,
body.s-dark .post-content .wp-block-gallery .blocks-gallery-image:hover,
body.s-dark .post-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover {
  border-color: #36547a !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34) !important;
}

@media (max-width: 768px) {
  .entry-content .wp-block-gallery.columns-3 .blocks-gallery-item,
  .entry-content .wp-block-gallery.columns-3 .blocks-gallery-image,
  .entry-content .wp-block-gallery.columns-4 .blocks-gallery-item,
  .entry-content .wp-block-gallery.columns-4 .blocks-gallery-image,
  .entry-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image,
  .entry-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image,
  .post-content .wp-block-gallery.columns-3 .blocks-gallery-item,
  .post-content .wp-block-gallery.columns-3 .blocks-gallery-image,
  .post-content .wp-block-gallery.columns-4 .blocks-gallery-item,
  .post-content .wp-block-gallery.columns-4 .blocks-gallery-image,
  .post-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image,
  .post-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image {
    flex-basis: calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
  }
}

@media (max-width: 520px) {
  .entry-content .wp-block-gallery .blocks-gallery-item,
  .entry-content .wp-block-gallery .blocks-gallery-image,
  .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .post-content .wp-block-gallery .blocks-gallery-item,
  .post-content .wp-block-gallery .blocks-gallery-image,
  .post-content .wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

/* Galeries responsive */
.entry-content .wp-block-gallery .blocks-gallery-grid,
.post-content .wp-block-gallery .blocks-gallery-grid,
.entry-content .wp-block-gallery.has-nested-images,
.entry-content figure.wp-block-gallery.has-nested-images,
.post-content .wp-block-gallery.has-nested-images,
.post-content figure.wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 14px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content .wp-block-gallery .blocks-gallery-item,
.entry-content .wp-block-gallery .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
.post-content .wp-block-gallery .blocks-gallery-item,
.post-content .wp-block-gallery .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image {
  width: auto !important;
  max-width: calc(33.333% - 10px) !important;
  min-width: 0 !important;
  flex: 0 1 calc(33.333% - 10px) !important;
  flex-basis: calc(33.333% - 10px) !important;
  margin: 0 !important;
}

.entry-content .wp-block-gallery.columns-1 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-1 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image,
.post-content .wp-block-gallery.columns-1 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-1 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image {
  max-width: 100% !important;
  flex: 0 1 100% !important;
  flex-basis: 100% !important;
}

.entry-content .wp-block-gallery.columns-2 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-2 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image,
.post-content .wp-block-gallery.columns-2 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-2 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image {
  max-width: calc(50% - 7px) !important;
  flex: 0 1 calc(50% - 7px) !important;
  flex-basis: calc(50% - 7px) !important;
}

.entry-content .wp-block-gallery.columns-3 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-3 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image,
.post-content .wp-block-gallery.columns-3 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-3 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image {
  max-width: calc(33.333% - 10px) !important;
  flex: 0 1 calc(33.333% - 10px) !important;
  flex-basis: calc(33.333% - 10px) !important;
}

.entry-content .wp-block-gallery.columns-4 .blocks-gallery-item,
.entry-content .wp-block-gallery.columns-4 .blocks-gallery-image,
.entry-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image,
.post-content .wp-block-gallery.columns-4 .blocks-gallery-item,
.post-content .wp-block-gallery.columns-4 .blocks-gallery-image,
.post-content .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image {
  max-width: calc(25% - 11px) !important;
  flex: 0 1 calc(25% - 11px) !important;
  flex-basis: calc(25% - 11px) !important;
}

@media (max-width: 768px) {
  .entry-content .wp-block-gallery .blocks-gallery-item,
  .entry-content .wp-block-gallery .blocks-gallery-image,
  .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  .post-content .wp-block-gallery .blocks-gallery-item,
  .post-content .wp-block-gallery .blocks-gallery-image,
  .post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image {
    max-width: calc(50% - 7px) !important;
    flex: 0 1 calc(50% - 7px) !important;
    flex-basis: calc(50% - 7px) !important;
  }
}

@media (max-width: 520px) {
  .entry-content .wp-block-gallery .blocks-gallery-item,
  .entry-content .wp-block-gallery .blocks-gallery-image,
  .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .entry-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  .post-content .wp-block-gallery .blocks-gallery-item,
  .post-content .wp-block-gallery .blocks-gallery-image,
  .post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image {
    max-width: 100% !important;
    flex: 0 1 100% !important;
    flex-basis: 100% !important;
  }
}

/* Accessibilite */

.tactile-friendly {
  display: block;
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  margin: auto;
  line-height: 48px;
  text-align: center;
}

@media (pointer: coarse) {
  .tactile-friendly {
    padding: 15px;
  }
}

/* Listes */

.horizontal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.horizontal-list li {
  position: relative;
  margin: 0 10px;
}

.horizontal-list li:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -15px;
  color: #333;
}

.horizontal-list li:last-child {
  margin-right: 0;
}

/* Publicités */

#in-content-ad,
ins.adsbygoogle {
  display: block;
  width: 100%;
  background: transparent;
}

#in-content-ad { min-height: 300px; }
ins.adsbygoogle[data-adsbygoogle-status="done"] { min-height: 0; height: auto; }
.ads--rect { min-height: 250px; }
.ads--lb { min-height: 100px; }
.ads--sky { min-height: 600px; }
.ads--bb { min-height: 250px; }
.ads--atf { min-height: 100px; }

@media (min-width: 992px) {
  .ads--rect { min-height: 280px; }
  .ads--lb { min-height: 90px; }
}

@media (max-width: 991px) {
  .ads--sky { min-height: 250px; }
}

@media (max-width: 767px) {
  .ads--atf { min-height: 250px; }
}

@media (max-width: 600px) {
  #in-content-ad { min-height: 350px; }
}

/* Widgets */

.social-widget {
  margin: 20px 0;
  text-align: center;
}

.social-widget p {
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a img {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.2);
}

.game-drops-widget {
  text-align: left;
}

.game-drops-widget ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}

.game-drops-widget li {
  margin-bottom: 4px;
  padding-left: 4px;
  line-height: 1.3;
}

.game-drops-widget a {
  display: inline-flex;
  align-items: center;
  color: #2e7d32;
  font-weight: 500;
  text-decoration: none;
}

.game-drops-widget a:hover {
  text-decoration: underline;
}

.game-drops-widget img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

/* LCP */

.elementor-element[data-id="6e39b638"],
.elementor-element[data-id="ea94998"] {
  min-height: 120px;
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
}

.smartmag-block-highlights {
  min-height: 400px;
}

.smartmag-block-highlights .post-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.smartmag-block-highlights .post-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
}

.smartmag-block-highlights .post-title {
  min-height: 3em;
}

.logo-mobile {
  display: block;
  width: 350px;
  height: 133px;
  object-fit: contain;
}

.header-logo,
.site-logo,
.custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 133px;
}

@media (max-width: 767px) {
  .main-heading.entry-title {
    min-height: 2.5em;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Menus */

.menu-categories,
.menu-guides-horizontaux-compacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-categories li {
  margin-bottom: 8px;
}

.menu-categories li a,
.menu-guides-horizontaux-compacts li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(#5fb94b 0%, #3d7a32 100%);
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.menu-categories li a {
  justify-content: space-between;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 24px;
}

.menu-categories li a:hover,
.menu-guides-horizontaux-compacts li a:hover {
  background: linear-gradient(#7ee87a 0%, #45a049 100%);
  transform: translateY(-1px);
}

.menu-categories .icon,
.menu-guides-horizontaux-compacts .icon {
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu-categories .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.menu-categories .text {
  flex-grow: 1;
  text-align: left;
}

.menu-categories .arrow {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 700;
}

.menu-guides-horizontaux-compacts-wrapper {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 6px;
}

.menu-guides-horizontaux-compacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.menu-guides-horizontaux-compacts li {
  flex: 0 1 auto;
  margin: 0;
}

.menu-guides-horizontaux-compacts li a {
  gap: 6px;
  min-width: 155px;
  height: 36px;
  padding: 6px 10px;
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.menu-guides-horizontaux-compacts .icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.menu-guides-horizontaux-compacts .arrow {
  margin-left: 6px;
  font-size: 16px;
}

.icon-armes { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Armes.png"); }
.icon-biomes { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Biomes.png"); }
.icon-effets { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/effets.png"); }
.icon-enchantement { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Enchantement.png"); }
.icon-alchimie { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Alchimie.png"); }
.icon-creatures { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/creatures.png"); }
.icon-archeologie { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Archeologie.png"); }
.icon-structures { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/structures.png"); }
.icon-commerce { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/commerce.png"); }
.icon-modele-forge { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Modele-de-forge.png"); }
.icon-progres { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/progres.png"); }
.icon-dimensions { background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2025/04/Dimension.png"); }

@media (max-width: 600px) {
  .menu-categories li a {
    height: auto;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .menu-categories .arrow {
    font-size: 16px;
  }

  .menu-guides-horizontaux-compacts li a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .menu-guides-horizontaux-compacts .arrow {
    font-size: 14px;
  }
}

/* Boutons */

.wp-block-button__link,
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  padding: 8px 16px;
  color: #fff;
  background: var(--wp--preset--color--primary, #4caf50);
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-radius: 0 !important;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.wp-block-button__link:hover,
.elementor-button:hover {
  background-color: #58c758;
  transform: translateY(-2px);
}

.wp-block-button__link::after,
.elementor-button::after {
  content: "›";
  margin-left: 8px;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .wp-block-button__link,
  .elementor-button {
    width: 100%;
    min-width: auto;
  }
}

/* Contenu */

.entry-content a,
.post-content a {
  color: var(--mcf-green-link);
  font-weight: 700;
  text-decoration: none;
}

.entry-content a:hover,
.entry-content a:active,
.post-content a:hover,
.post-content a:active {
  color: var(--mcf-green-link-hover);
  text-decoration: none;
}

.entry-content a:visited,
.post-content a:visited {
  color: var(--mcf-green-link-visited);
}

.entry-content a:focus-visible,
.post-content a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.nav a,
.menu a,
.button,
.btn,
.wp-block-button__link {
  text-decoration: none;
}

.link-whisper-related-posts img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.cadre-bloc {
  min-height: 220px;
  margin-top: 20px;
  padding: 15px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: left;
}

.cadre-bloc ul {
  list-style-type: square;
  padding-left: 20px;
  margin: 0;
}

.cadre-bloc li {
  margin-bottom: 10px;
}

.cadre-bloc li a {
  color: #1f6b2c;
  font-weight: 600;
  text-decoration: none;
}

.cadre-bloc li a:hover {
  text-decoration: underline;
}

.en-bref {
  margin-bottom: 2em;
  padding: 0.5em;
  background: #f8f9fa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.en-bref strong {
  color: #333;
}

/* Versions */

.entry-content .mods-versions-list {
  max-width: 820px;
  margin: 12px auto 14px;
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid #ddd;
  font-size: 15px;
  text-align: center;
}

.entry-content .mods-versions-list ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content .mods-versions-list li {
  margin: 0 !important;
}

.entry-content .mods-versions-list li:not(:last-child)::after {
  content: " • ";
  margin-left: 14px;
  color: #666;
}

.entry-content .mods-versions-list a {
  color: #222;
  text-decoration: none;
}

.entry-content .mods-versions-list a strong {
  font-weight: 600;
}

.mcf-version-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 18px;
}

.mcf-version-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  color: #1e73be;
  background: #f1f7ff;
  border: 1px solid #d8e6f7;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.mcf-version-links a:hover,
.mcf-version-links a:focus {
  color: #185a94;
  background: #e8f2ff;
  border-color: #b7d4f2;
  text-decoration: none;
}

/* Tableaux */

.wp-block-table.aligncenter {
  max-width: 760px;
  margin: 28px auto;
}

.wp-block-table.aligncenter table {
  width: 100%;
  background: #fff;
  border: 1px solid #dcdcdc !important;
  border-collapse: collapse;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.wp-block-table.aligncenter table td {
  padding: 14px 10px;
  color: #0b7a24;
  border: 1px solid #e5e5e5 !important;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.wp-block-table.aligncenter table td a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wp-block-table.aligncenter table td:hover {
  color: #fff;
  background: #0b7a24;
}

.wp-block-table.aligncenter figcaption {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
}

.wp-block-table.aligncenter figcaption a {
  color: #0b7a24;
}

img.attachment-bunyad-main-uc.wp-post-image {
  display: block !important;
  max-width: 100%;
  height: auto;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-featured .featured,
.single-featured .image-link {
  overflow: hidden;
  border-radius: 6px;
}

.single-featured img.wp-post-image,
.single-featured img.attachment-bunyad-main-uc.wp-post-image {
  border-radius: 6px;
}

.mcf-biomes-table,
.mcf-mobs-table {
  overflow: visible !important;
}

.mcf-biomes-table table,
.mcf-mobs-table table {
  width: 100%;
  table-layout: fixed;
}

.mcf-biomes-table td,
.mcf-mobs-table td {
  padding: 12px 10px;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  vertical-align: top;
}

.mcf-biomes-table img {
  display: block;
  width: 100% !important;
  max-width: 150px !important;
  height: 82px !important;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 14px;
  border-radius: 4px;
}

.mcf-mobs-table img {
  display: block;
  width: auto !important;
  max-width: 76px !important;
  height: 76px !important;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 8px;
}

.mcf-biomes-table strong,
.mcf-mobs-table strong {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.mcf-biomes-table strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.mcf-mobs-table strong {
  font-size: 14px;
}

.mcf-biomes-table a,
.mcf-mobs-table a,
.entry-content .mcf-biomes-table a,
.entry-content .mcf-mobs-table a,
.post-content .mcf-biomes-table a,
.post-content .mcf-mobs-table a {
  color: inherit !important;
  text-decoration: none;
}

.mcf-biomes-table a:hover,
.mcf-biomes-table a:hover strong {
  color: #3a8f3a;
  text-decoration: none;
}

.mcf-mobs-table a:hover strong {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mcf-biomes-table,
  .mcf-biomes-table table,
  .mcf-biomes-table tbody,
  .mcf-mobs-table,
  .mcf-mobs-table table,
  .mcf-mobs-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .mcf-biomes-table tbody,
  .mcf-mobs-table tbody {
    display: grid !important;
    gap: 10px;
  }

  .mcf-biomes-table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mcf-mobs-table tbody {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mcf-biomes-table tr,
  .mcf-mobs-table tr {
    display: contents !important;
  }

  .mcf-biomes-table td,
  .mcf-mobs-table td {
    display: block !important;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
  }

  .mcf-biomes-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .mcf-mobs-table td {
    padding: 10px 6px;
  }

  .mcf-biomes-table td:empty,
  .mcf-mobs-table td:empty {
    display: none !important;
  }

  .mcf-biomes-table img {
    max-width: 140px !important;
    height: 78px !important;
    margin-bottom: 10px;
  }

  .mcf-mobs-table img {
    max-width: 68px !important;
    height: 68px !important;
    margin-bottom: 7px;
  }

  .mcf-biomes-table strong {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .mcf-mobs-table strong {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .mcf-mobs-table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mcf-mobs-table img {
    max-width: 64px !important;
    height: 64px !important;
  }
}

@media (max-width: 420px) {
  .mcf-biomes-table tbody,
  .mcf-mobs-table tbody {
    grid-template-columns: 1fr;
  }

  .mcf-biomes-table img {
    max-width: 180px !important;
    height: 100px !important;
  }

  .mcf-mobs-table img {
    max-width: 72px !important;
    height: 72px !important;
  }
}

/* Badges catégories */

.breadcrumb,
.breadcrumbs,
.rank-math-breadcrumb,
.yoast-breadcrumb {
  margin-bottom: 12px;
}

.meta-item.cat-labels,
.post-meta .cat-labels {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
  margin: 0;
}

.meta-item.cat-labels a,
.post-meta .cat-labels a {
  position: relative;
  appearance: none;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  min-height: 25px;
  padding: 4px 9px 4px 8px;
  color: #24292e !important;
  -webkit-text-fill-color: #24292e !important;
  background-image: none !important;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 999px #fafbfc,
    rgba(27, 31, 35, 0.04) 0 1px 0,
    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  list-style: none;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  transition:
    background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1),
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.meta-item.cat-labels a::before,
.post-meta .cat-labels a::before {
  content: "";
  display: inline-block !important;
  flex: 0 0 auto;
  width: 7px !important;
  height: 7px !important;
  background-color: inherit !important;
  background-image: none !important;
  border: 1px solid rgba(27, 31, 35, 0.28) !important;
  border-radius: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18) !important;
  opacity: 1 !important;
}

.meta-item.cat-labels a::after,
.post-meta .cat-labels a::after {
  content: none !important;
}

.meta-item.cat-labels a:hover,
.meta-item.cat-labels a:focus,
.post-meta .cat-labels a:hover,
.post-meta .cat-labels a:focus {
  color: #24292e !important;
  -webkit-text-fill-color: #24292e !important;
  background-image: none !important;
  border-color: rgba(27, 31, 35, 0.18);
  box-shadow:
    inset 0 0 0 999px #f3f4f6,
    rgba(27, 31, 35, 0.06) 0 1px 0,
    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
}

.meta-item.cat-labels a:active,
.post-meta .cat-labels a:active {
  box-shadow:
    inset 0 0 0 999px #edeff2,
    rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none;
}

.meta-item.cat-labels a.mcf-primary-cat,
.post-meta .cat-labels a.mcf-primary-cat {
  order: -10 !important;
}

.meta-item.cat-labels a:not(.mcf-primary-cat),
.post-meta .cat-labels a:not(.mcf-primary-cat) {
  order: 5 !important;
}

h1.entry-title,
.single-post h1.entry-title,
.single-post h1,
.post h1 {
  margin-top: 8px;
  margin-bottom: 10px;
}

.entry-meta,
.post-meta,
.single-post .entry-meta {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .meta-item.cat-labels,
  .post-meta .cat-labels {
    flex-wrap: nowrap !important;
    gap: 7px !important;
    margin: 6px 0 8px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 7px !important;
    scrollbar-width: thin;
  }

  .meta-item.cat-labels a,
  .post-meta .cat-labels a {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 5px 11px 5px 9px;
    font-size: 12px;
    line-height: 18px;
  }

  h1.entry-title,
  .single-post h1.entry-title,
  .single-post h1,
  .post h1 {
    margin-top: 6px;
  }
}

/* Badges catégories nuit */
html.s-dark .post-meta .cat-labels a,
html.s-dark .meta-item.cat-labels a,
body.s-dark .post-meta .cat-labels a,
body.s-dark .meta-item.cat-labels a {
  color: #f2f6fb !important;
  -webkit-text-fill-color: #f2f6fb !important;
  border-color: #263a56 !important;
  box-shadow:
    inset 0 0 0 999px #101b2d,
    rgba(0, 0, 0, 0.28) 0 1px 0,
    rgba(255, 255, 255, 0.04) 0 1px 0 inset !important;
  text-shadow: none !important;
}

html.s-dark .post-meta .cat-labels a:hover,
html.s-dark .post-meta .cat-labels a:focus,
html.s-dark .meta-item.cat-labels a:hover,
html.s-dark .meta-item.cat-labels a:focus,
body.s-dark .post-meta .cat-labels a:hover,
body.s-dark .post-meta .cat-labels a:focus,
body.s-dark .meta-item.cat-labels a:hover,
body.s-dark .meta-item.cat-labels a:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #335173 !important;
  box-shadow:
    inset 0 0 0 999px #142238,
    rgba(0, 0, 0, 0.34) 0 1px 0,
    rgba(255, 255, 255, 0.05) 0 1px 0 inset !important;
}

html.s-dark .post-meta .cat-labels a::before,
html.s-dark .meta-item.cat-labels a::before,
body.s-dark .post-meta .cat-labels a::before,
body.s-dark .meta-item.cat-labels a::before {
  background-color: inherit !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* Article */

.mcf-google-source-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -40px;
  margin-bottom: 20px;
}

.mcf-google-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  color: #333;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 18px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mcf-google-source-btn:hover {
  color: #111;
  background: #f8f9fa;
  border-color: #d2d2d2;
  text-decoration: none;
}

.mcf-google-source-logo {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.breadcrumbs,
.breadcrumb {
  margin-bottom: 12px;
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumbs a,
.breadcrumb a {
  color: #777;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: #1f7a1f;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mcf-google-source-wrapper {
    justify-content: flex-start;
    margin-top: 10px;
    margin-bottom: 18px;
  }

  .mcf-google-source-btn {
    padding: 6px 10px;
    font-size: 12.5px;
  }

  .breadcrumbs,
  .breadcrumb {
    display: none;
  }
}

/* Cadre article : header + source Google + image de une + contenu, sans commentaires/bio */
body .ts-row > .col-8.main-content.s-post-contain > .the-post-header.s-head-modern.s-head-modern-a {
  margin: 0 !important;
  padding: 28px 30px 28px !important;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff !important;
  border: 1px solid #d9e2d9 !important;
  border-bottom: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 10px 26px rgba(20, 40, 25, 0.06) !important;
}

/* Trait fin entre les catégories et le titre */
body .ts-row > .col-8.main-content.s-post-contain > .the-post-header .post-meta-items.meta-above {
  padding-bottom: 18px !important;
  margin-bottom: 22px !important;
  border-bottom: 1px solid rgba(20, 117, 42, 0.18) !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper {
  position: relative !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 30px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper .mcf-google-source-btn {
  position: relative !important;
  top: -38px !important;
  pointer-events: auto !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .single-featured {
  margin: 0 !important;
  padding: 0 30px 18px !important;
  background: #fff !important;
  border-left: 1px solid #d9e2d9 !important;
  border-right: 1px solid #d9e2d9 !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .single-featured img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 768px) !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid rgba(20, 117, 42, 0.12) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 22px rgba(15, 30, 20, 0.07) !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern {
  margin: 0 0 28px !important;
  padding: 0 !important;
  background: transparent !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern > article {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern .post-content-wrap {
  margin: 0 !important;
  padding: 30px !important;
  background: #fff !important;
  border: 1px solid #d9e2d9 !important;
  border-top: 0 !important;
  border-radius: 0 0 12px 12px !important;
}

/* Header article / source Google nuit */
html.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn,
body.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn,
html.s-dark a.mcf-google-source-btn,
body.s-dark a.mcf-google-source-btn {
  background: var(--mcf-night-surface) !important;
  border: 1px solid var(--mcf-night-border) !important;
  color: var(--mcf-night-title) !important;
  box-shadow: none !important;
}

html.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn span,
body.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn span,
html.s-dark a.mcf-google-source-btn span,
body.s-dark a.mcf-google-source-btn span {
  color: var(--mcf-night-title) !important;
}

html.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn:hover,
body.s-dark .mcf-google-source-wrapper a.mcf-google-source-btn:hover,
html.s-dark a.mcf-google-source-btn:hover,
body.s-dark a.mcf-google-source-btn:hover {
  background: var(--mcf-night-surface-2) !important;
  border-color: #335173 !important;
  color: #fff !important;
  text-decoration: none !important;
}

html.s-dark .mcf-google-source-logo,
body.s-dark .mcf-google-source-logo {
  background: transparent !important;
  box-shadow: none !important;
}

html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .the-post-header.s-head-modern.s-head-modern-a,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .the-post-header.s-head-modern.s-head-modern-a {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.09), rgba(16, 27, 45, 0) 72%),
    #101b2d !important;
  border-color: #263a56 !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22) !important;
}

html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .the-post-header .post-meta-items.meta-above,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .the-post-header .post-meta-items.meta-above {
  border-bottom-color: #263a56 !important;
}

html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper,
html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .single-featured,
html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern .post-content-wrap,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .single-featured,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern .post-content-wrap {
  background: #101b2d !important;
  border-color: #263a56 !important;
}

html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper {
  background: transparent !important;
  border: 0 !important;
}

html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .single-featured img,
body.s-dark .ts-row > .col-8.main-content.s-post-contain > .single-featured img {
  border-color: rgba(104, 215, 122, 0.16) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 767px) {
  body .ts-row > .col-8.main-content.s-post-contain > .the-post-header.s-head-modern.s-head-modern-a {
    padding: 20px 18px 16px !important;
    border-radius: 10px 10px 0 0 !important;
  }

  body .ts-row > .col-8.main-content.s-post-contain > .the-post-header .post-meta-items.meta-above {
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
  }

  body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper {
    justify-content: flex-start !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 18px 14px !important;
    background: #fff !important;
    border-left: 1px solid #d9e2d9 !important;
    border-right: 1px solid #d9e2d9 !important;
    pointer-events: auto !important;
  }

  body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper .mcf-google-source-btn {
    top: 0 !important;
  }

  html.s-dark body .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper,
  body.s-dark .ts-row > .col-8.main-content.s-post-contain > .mcf-google-source-wrapper {
    background: #101b2d !important;
    border-color: #263a56 !important;
  }

  body .ts-row > .col-8.main-content.s-post-contain > .single-featured {
    padding: 0 18px 14px !important;
  }

  body .ts-row > .col-8.main-content.s-post-contain > .the-post.s-post-modern .post-content-wrap {
    padding: 22px 18px !important;
    border-radius: 0 0 10px 10px !important;
  }
}

/* Accueil */

.mcf-home-intro-block,
.mcf-home-text-block {
  color: var(--mcf-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.mcf-home-intro-block p,
.mcf-home-text-block p {
  margin: 0 0 14px;
  color: var(--mcf-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.72;
}

.mcf-home-intro-block p:last-child,
.mcf-home-text-block p:last-child {
  margin-bottom: 0;
}

.mcf-home-intro-block strong,
.mcf-home-text-block strong {
  color: #2c2c2c;
  font-weight: 800;
}

.mcf-home-intro-block a,
.mcf-home-text-block a {
  color: var(--mcf-green);
  font-weight: 800;
  text-decoration: none;
}

.mcf-home-intro-block a:hover,
.mcf-home-text-block a:hover {
  color: var(--mcf-green-dark);
  text-decoration: underline;
}

.mcf-home-intro-block,
.mcf-home-text-block {
  margin: 24px 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mcf-home-intro-block {
  margin-top: 0;
}

.mcf-home-content-card {
  padding: 22px 24px 24px;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff;
  border: 1px solid var(--mcf-border);
  border-radius: 12px;
  box-shadow: var(--mcf-card-shadow);
}

.mcf-guides-home .ts-block-widget {
  margin: 24px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mcf-guides-home .loop-grid {
  gap: 16px 18px !important;
  padding: 18px 22px 22px;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff;
  border: 1px solid var(--mcf-border);
  border-radius: 12px;
  box-shadow: var(--mcf-card-shadow);
}

.mcf-guides-home article.l-post {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6dc;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mcf-guides-home article.l-post:hover {
  transform: translateY(-2px);
  border-color: #2f8f3a;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.08);
}

.mcf-guides-home article.l-post .media {
  margin: 0 !important;
  overflow: hidden;
}

.mcf-guides-home article.l-post .media img {
  display: block;
  width: 100%;
  min-height: 88px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.mcf-guides-home article.l-post:hover .media img {
  transform: scale(1.025);
}

.mcf-guides-home article.l-post .content {
  padding: 8px 9px 10px !important;
  background: #fff;
  text-align: center;
}

.mcf-guides-home article.l-post .post-meta {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.mcf-guides-home article.l-post h2.is-title.post-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.32 !important;
  text-align: center !important;
}

.mcf-guides-home article.l-post h2.is-title.post-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--mcf-green) !important;
  text-decoration: none !important;
}

.mcf-guides-home article.l-post:hover h2.is-title.post-title a {
  color: var(--mcf-green-dark) !important;
}

@media (max-width: 640px) {
  .mcf-home-intro-block,
  .mcf-home-text-block {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .mcf-home-intro-block p,
  .mcf-home-text-block p {
    line-height: 1.65;
  }

  .mcf-guides-home .ts-block-widget {
    margin: 20px 0;
  }

  .mcf-guides-home .loop-grid {
    gap: 14px !important;
    padding: 16px;
    border-radius: 10px;
  }

  .mcf-guides-home article.l-post h2.is-title.post-title a {
    -webkit-line-clamp: 2;
  }
}

/* Titres */

.mcf-home-intro-block .block-head .color,
.mcf-home-text-block .block-head .color,
.mcf-guides-home .block-head .color,
.mcf-home-latest-posts .block-head .color {
  color: var(--mcf-green) !important;
}

.mcf-home-intro-block .block-head::after,
.mcf-home-text-block .block-head::after,
.mcf-guides-home .block-head::after,
.mcf-home-latest-posts .block-head::after,
.mcf-home-intro-block .block-head .heading::after,
.mcf-home-text-block .block-head .heading::after,
.mcf-guides-home .block-head .heading::after,
.mcf-home-latest-posts .block-head .heading::after {
  background-color: var(--mcf-green) !important;
  border-color: var(--mcf-green) !important;
}

.mcf-home-latest-posts .loop-grid {
  margin-top: 0;
  padding: 24px 22px 24px;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff;
  border: 1px solid var(--mcf-border);
  border-radius: 12px;
  box-shadow: var(--mcf-card-shadow);
}

.mcf-home-latest-posts .ts-block,
.mcf-home-latest-posts .ts-block-widget,
.mcf-home-latest-posts .elementor-widget-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.s-dark .mcf-home-content-card,
html.s-dark .mcf-guides-home .loop-grid,
html.s-dark .mcf-home-latest-posts .loop-grid,
body.s-dark .mcf-home-content-card,
body.s-dark .mcf-guides-home .loop-grid,
body.s-dark .mcf-home-latest-posts .loop-grid {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.075), rgba(16, 27, 45, 0) 72%),
    var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

@media (max-width: 640px) {
  .mcf-home-content-card,
  .mcf-home-latest-posts .loop-grid {
    padding: 16px;
    border-radius: 10px;
  }
}

/* Auteur */

.author-box,
.post-author,
.author-info,
.single-author-box,
.bunyad-author-box,
.main-content .author-box,
.main-content .post-author {
  margin: 28px 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.author-box .author,
.post-author .author,
.author-info .author,
.single-author-box .author,
.bunyad-author-box .author {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-box img.avatar,
.post-author img.avatar,
.author-info img.avatar,
.single-author-box img.avatar,
.bunyad-author-box img.avatar {
  width: 84px;
  height: 84px;
  min-width: 84px;
  background: #fff;
  border: 1px solid var(--mcf-border);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.author-box .author-content,
.author-box .description,
.post-author .author-content,
.post-author .description,
.author-info .author-content,
.author-info .description,
.single-author-box .author-content,
.single-author-box .description,
.bunyad-author-box .author-content,
.bunyad-author-box .description {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  padding: 20px 22px !important;
  background: #fff !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--mcf-card-shadow) !important;
}

.author-box .author-content::before,
.author-box .description::before,
.post-author .author-content::before,
.post-author .description::before,
.author-info .author-content::before,
.author-info .description::before,
.single-author-box .author-content::before,
.single-author-box .description::before,
.bunyad-author-box .author-content::before,
.bunyad-author-box .description::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 14px solid var(--mcf-border);
}

.author-box .author-content::after,
.author-box .description::after,
.post-author .author-content::after,
.post-author .description::after,
.author-info .author-content::after,
.author-info .description::after,
.single-author-box .author-content::after,
.single-author-box .description::after,
.bunyad-author-box .author-content::after,
.bunyad-author-box .description::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 31px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-right: 13px solid #fff;
}

.author-box .author-name,
.author-box .name,
.author-box h3,
.author-box h4,
.post-author .author-name,
.post-author .name,
.post-author h3,
.post-author h4,
.author-info .author-name,
.author-info .name,
.author-info h3,
.author-info h4,
.single-author-box .author-name,
.single-author-box .name,
.single-author-box h3,
.single-author-box h4,
.bunyad-author-box .author-name,
.bunyad-author-box .name,
.bunyad-author-box h3,
.bunyad-author-box h4 {
  margin: 0 0 10px;
  color: var(--mcf-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.author-box p,
.post-author p,
.author-info p,
.single-author-box p,
.bunyad-author-box p {
  margin: 0;
  color: var(--mcf-text);
  font-size: 15px;
  line-height: 1.65;
}

.author-box a,
.post-author a,
.author-info a,
.single-author-box a,
.bunyad-author-box a {
  color: #444;
  font-weight: 700;
  text-decoration: none;
}

.author-box a:hover,
.post-author a:hover,
.author-info a:hover,
.single-author-box a:hover,
.bunyad-author-box a:hover {
  color: var(--mcf-green);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .author-box .author,
  .post-author .author,
  .author-info .author,
  .single-author-box .author,
  .bunyad-author-box .author {
    align-items: flex-start;
    gap: 14px;
  }

  .author-box img.avatar,
  .post-author img.avatar,
  .author-info img.avatar,
  .single-author-box img.avatar,
  .bunyad-author-box img.avatar {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .author-box .author-content,
  .author-box .description,
  .post-author .author-content,
  .post-author .description,
  .author-info .author-content,
  .author-info .description,
  .single-author-box .author-content,
  .single-author-box .description,
  .bunyad-author-box .author-content,
  .bunyad-author-box .description {
    padding: 16px 18px !important;
    border-radius: 12px !important;
  }

  .author-box .author-content::before,
  .author-box .description::before,
  .post-author .author-content::before,
  .post-author .description::before,
  .author-info .author-content::before,
  .author-info .description::before,
  .single-author-box .author-content::before,
  .single-author-box .description::before,
  .bunyad-author-box .author-content::before,
  .bunyad-author-box .description::before {
    top: 22px;
  }

  .author-box .author-content::after,
  .author-box .description::after,
  .post-author .author-content::after,
  .post-author .description::after,
  .author-info .author-content::after,
  .author-info .description::after,
  .single-author-box .author-content::after,
  .single-author-box .description::after,
  .bunyad-author-box .author-content::after,
  .bunyad-author-box .description::after {
    top: 23px;
  }
}

/* Navigation article */

.navigate-posts {
  display: flex !important;
  align-items: stretch;
  justify-content: space-between;
  clear: both;
  gap: 28px;
  margin: 34px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.navigate-posts .previous,
.navigate-posts .next {
  float: none !important;
  box-sizing: border-box;
  width: calc(50% - 14px) !important;
  max-width: none !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 18px 20px !important;
  overflow: hidden;
  background: #fbfdfb !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.035) !important;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.navigate-posts .previous:hover,
.navigate-posts .next:hover {
  transform: none !important;
  background: #fff !important;
  border-color: #2f8f3a !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07) !important;
}

.navigate-posts .previous {
  text-align: left !important;
}

.navigate-posts .next {
  text-align: right !important;
}

.navigate-posts .previous a,
.navigate-posts .next a {
  display: block !important;
  color: var(--mcf-title) !important;
  text-decoration: none !important;
}

.navigate-posts .previous > span:first-child,
.navigate-posts .next > span:first-child,
.navigate-posts .previous .label,
.navigate-posts .next .label,
.navigate-posts .previous .meta-nav,
.navigate-posts .next .meta-nav {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px !important;
  padding-bottom: 9px;
  color: var(--mcf-green) !important;
  border-bottom: 1px solid #dfe8df;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.navigate-posts .next > span:first-child,
.navigate-posts .next .label,
.navigate-posts .next .meta-nav {
  justify-content: flex-end;
}

.navigate-posts .title,
.navigate-posts .title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  color: #252525 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.navigate-posts .previous:hover .title,
.navigate-posts .next:hover .title {
  color: var(--mcf-green) !important;
}

.navigate-posts i,
.navigate-posts svg {
  color: var(--mcf-green) !important;
  transition: transform 0.18s ease;
}

.navigate-posts .previous:hover i,
.navigate-posts .previous:hover svg {
  transform: translateX(-2px);
}

.navigate-posts .next:hover i,
.navigate-posts .next:hover svg {
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .navigate-posts {
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 !important;
  }

  .navigate-posts .previous,
  .navigate-posts .next {
    width: 100% !important;
    min-height: auto;
    padding: 16px 17px !important;
    border-radius: 10px !important;
    text-align: left !important;
  }

  .navigate-posts .next > span:first-child,
  .navigate-posts .next .label,
  .navigate-posts .next .meta-nav {
    justify-content: flex-start;
  }

  .navigate-posts .title,
  .navigate-posts .title a {
    -webkit-line-clamp: 3;
    font-size: 13px !important;
  }
}

/* Sommaire */

.wp-block-yoast-seo-table-of-contents {
  margin: 1.8rem 0;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--mcf-border);
  border-left: 4px solid #1f8f3a;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wp-block-yoast-seo-table-of-contents h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  color: #1f2933;
  border-bottom: 1px solid #e1e8e1;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.wp-block-yoast-seo-table-of-contents ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.wp-block-yoast-seo-table-of-contents li {
  margin: 0.35rem 0;
  padding: 0;
}

.wp-block-yoast-seo-table-of-contents a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mcf-green);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.wp-block-yoast-seo-table-of-contents a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: #1f8f3a;
  border-radius: 50%;
  opacity: 0.85;
}

.wp-block-yoast-seo-table-of-contents a:hover {
  color: #0f5f22;
  transform: translateX(2px);
  text-decoration: none;
}

.wp-block-yoast-seo-table-of-contents ul ul {
  margin-top: 0.35rem;
  margin-left: 1rem;
  padding-left: 0.9rem;
  border-left: 1px solid #dfe8df;
}

.wp-block-yoast-seo-table-of-contents ul ul a {
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .wp-block-yoast-seo-table-of-contents {
    padding: 1rem;
    border-radius: 10px;
  }

  .wp-block-yoast-seo-table-of-contents h2 {
    font-size: 1.05rem;
  }

  .wp-block-yoast-seo-table-of-contents a {
    display: flex;
    line-height: 1.45;
  }
}

/* Encarts */

.mcf-alert {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  background: #fbfdfb;
  border: 1px solid #d9e2d9;
  border-left: 4px solid #14752a;
  border-radius: 10px;
  color: #333;
  line-height: 1.6;
}

.mcf-alert p:last-child {
  margin-bottom: 0;
}

.mcf-alert strong {
  color: inherit;
  font-weight: 800;
}

.mcf-alert-info {
  background: #f1f7ff;
  border-color: #d8e6f7;
  border-left-color: #1e73be;
}

.mcf-alert-warning {
  background: #fff8ec;
  border-color: #f0d6aa;
  border-left-color: #d98b16;
}

.mcf-alert-danger {
  background: #fff1ef;
  border-color: #efc6c1;
  border-left-color: #c0392b;
}

.mcf-alert-success {
  background: #f0fbf2;
  border-color: #cfe8d3;
  border-left-color: #14752a;
}

/* Pages */

body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain),
body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) {
  position: relative;
  overflow: visible;
  margin: 0 0 28px !important;
  padding: 30px !important;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--mcf-card-shadow) !important;
  color: var(--mcf-text) !important;
}

body.page-template-default:not(.home) .ts-row:has(> .col-4) > .col-8.main-content:not(.s-post-contain),
body.page:not(.home) .ts-row:has(> .col-4) > .col-8.main-content:not(.s-post-contain),
body.page-template-default:not(.home) .ts-row:has(> aside) > .col-8.main-content:not(.s-post-contain),
body.page:not(.home) .ts-row:has(> aside) > .col-8.main-content:not(.s-post-contain) {
  margin-right: 0 !important;
}

body.page-template-default:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > .col-4,
body.page:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > .col-4,
body.page-template-default:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > aside,
body.page:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > aside {
  padding-left: 18px !important;
}

body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before,
body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mcf-green), rgba(20, 117, 42, 0.24));
  border-radius: 12px 12px 0 0;
}

body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) > *:first-child,
body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) > *:first-child {
  margin-top: 0;
}

body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) > *:last-child,
body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) > *:last-child {
  margin-bottom: 0;
}

html.s-dark body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain),
html.s-dark body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain),
body.s-dark.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain),
body.s-dark.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.075), rgba(16, 27, 45, 0) 72%),
    var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before,
html.s-dark body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before,
body.s-dark.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before,
body.s-dark.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before {
  background: linear-gradient(90deg, var(--mcf-night-link), rgba(104, 215, 122, 0.2));
}

@media (max-width: 767px) {
  body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain),
  body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain) {
    margin-right: 0 !important;
    padding: 22px 18px !important;
    border-radius: 10px !important;
  }

  body.page-template-default:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > .col-4,
  body.page:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > .col-4,
  body.page-template-default:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > aside,
  body.page:not(.home) .ts-row:has(> .col-8.main-content:not(.s-post-contain)) > aside {
    padding-left: 0 !important;
  }

  body.page-template-default:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before,
  body.page:not(.home) .ts-row > .col-8.main-content:not(.s-post-contain)::before {
    border-radius: 10px 10px 0 0;
  }
}

/* Pages catégories */

.archive-description.base-text {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px !important;
  padding: 22px 24px 24px !important;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.06), rgba(255, 255, 255, 0) 76%),
    #fff !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--mcf-card-shadow) !important;
  color: var(--mcf-text) !important;
}

.archive-description.base-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mcf-green), rgba(20, 117, 42, 0.24));
}

.archive-description.base-text p {
  margin: 0 0 14px;
  color: var(--mcf-text) !important;
  font-size: 15px;
  line-height: 1.7;
}

.archive-description.base-text p:last-child {
  margin-bottom: 0;
}

.archive-description.base-text a {
  color: var(--mcf-green-link) !important;
  font-weight: 700;
  text-decoration: none;
}

.archive-description.base-text a:hover {
  color: var(--mcf-green-link-hover) !important;
  text-decoration: underline;
}

body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows,
.main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows {
  position: relative;
  overflow: visible;
  margin-top: 22px !important;
  padding: 58px 22px 24px !important;
  background:
    linear-gradient(180deg, rgba(20, 117, 42, 0.055), rgba(255, 255, 255, 0) 72%),
    #fff !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--mcf-card-shadow) !important;
}

body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::before,
.main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::before {
  content: "Nos articles";
  position: absolute;
  top: 20px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mcf-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::after,
.main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 22px;
  width: 76px;
  height: 3px;
  background: linear-gradient(90deg, var(--mcf-green), rgba(20, 117, 42, 0.12));
  border-radius: 999px;
}

body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows .loop-grid,
body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows .loop-grid,
body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows .loop-grid,
.main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows .loop-grid {
  margin: 0 !important;
}

html.s-dark .archive-description.base-text,
body.s-dark .archive-description.base-text {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.08), rgba(16, 27, 45, 0) 76%),
    var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .archive-description.base-text::before,
body.s-dark .archive-description.base-text::before {
  background: linear-gradient(90deg, var(--mcf-night-link), rgba(104, 215, 122, 0.2));
}

html.s-dark .archive-description.base-text p,
body.s-dark .archive-description.base-text p {
  color: var(--mcf-night-text) !important;
}

html.s-dark .archive-description.base-text a,
body.s-dark .archive-description.base-text a {
  color: var(--mcf-night-link) !important;
}

html.s-dark .archive-description.base-text a:hover,
body.s-dark .archive-description.base-text a:hover {
  color: var(--mcf-night-link-hover) !important;
}

html.s-dark body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
html.s-dark body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
html.s-dark body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows,
html.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows,
body.s-dark.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
body.s-dark.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
body.s-dark:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows,
body.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.075), rgba(16, 27, 45, 0) 72%),
    var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
html.s-dark body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
html.s-dark body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::before,
html.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::before,
body.s-dark.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
body.s-dark.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
body.s-dark:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::before,
body.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::before {
  color: var(--mcf-night-title);
}

html.s-dark body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
html.s-dark body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
html.s-dark body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::after,
html.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::after,
body.s-dark.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
body.s-dark.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
body.s-dark:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::after,
body.s-dark .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::after {
  background: linear-gradient(90deg, var(--mcf-night-link), rgba(104, 215, 122, 0.12));
}

@media (max-width: 640px) {
  .archive-description.base-text {
    margin-bottom: 20px !important;
    padding: 19px 18px 20px !important;
    border-radius: 10px !important;
  }

  body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
  body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows,
  body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows,
  .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows {
    padding: 54px 16px 18px !important;
    border-radius: 10px !important;
  }

  body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
  body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::before,
  body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::before,
  .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::before {
    top: 18px;
    left: 16px;
    font-size: 15px;
  }

  body.archive .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
  body.category .main-content > .block-wrap.block-grid.mb-none.has-media-shadows::after,
  body:not(.home) .main-content > .archive-description.base-text ~ .block-wrap.block-grid.mb-none.has-media-shadows::after,
  .main-content:has(> .archive-description.base-text) > .block-wrap.block-grid.mb-none.has-media-shadows::after {
    top: 39px;
    left: 16px;
  }
}

/* Pagination */

html:not(.s-dark) .main-pagination.pagination-numbers .page-numbers,
body:not(.s-dark) .main-pagination.pagination-numbers .page-numbers {
  color: var(--mcf-green) !important;
  border-color: var(--mcf-border) !important;
}

html:not(.s-dark) .main-pagination.pagination-numbers a.page-numbers:hover,
html:not(.s-dark) .main-pagination.pagination-numbers a.page-numbers:focus,
body:not(.s-dark) .main-pagination.pagination-numbers a.page-numbers:hover,
body:not(.s-dark) .main-pagination.pagination-numbers a.page-numbers:focus {
  color: var(--mcf-green-dark) !important;
  border-color: var(--mcf-green) !important;
}

html:not(.s-dark) .main-pagination.pagination-numbers .page-numbers.current,
body:not(.s-dark) .main-pagination.pagination-numbers .page-numbers.current {
  color: #fff !important;
  background: var(--mcf-green) !important;
  border-color: var(--mcf-green) !important;
}

html.s-dark .main-pagination.pagination-numbers .page-numbers,
body.s-dark .main-pagination.pagination-numbers .page-numbers {
  color: var(--mcf-night-link) !important;
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .main-pagination.pagination-numbers a.page-numbers:hover,
html.s-dark .main-pagination.pagination-numbers a.page-numbers:focus,
body.s-dark .main-pagination.pagination-numbers a.page-numbers:hover,
body.s-dark .main-pagination.pagination-numbers a.page-numbers:focus {
  color: var(--mcf-night-link-hover) !important;
  background: var(--mcf-night-surface-2) !important;
  border-color: var(--mcf-night-link) !important;
}

html.s-dark .main-pagination.pagination-numbers .page-numbers.current,
body.s-dark .main-pagination.pagination-numbers .page-numbers.current {
  color: var(--mcf-night-bg) !important;
  background: var(--mcf-night-link) !important;
  border-color: var(--mcf-night-link) !important;
}

/* Mode nuit */

html.s-dark,
body.s-dark {
  color-scheme: dark;

  --mcf-night-bg: #07111f;
  --mcf-night-bg-2: #0b1728;
  --mcf-night-bg-3: #0f1d31;
  --mcf-night-surface: #101b2d;
  --mcf-night-surface-2: #142238;
  --mcf-night-surface-3: #182941;
  --mcf-night-border: #263a56;
  --mcf-night-border-soft: #1b2d44;
  --mcf-night-text: #d8e1ec;
  --mcf-night-text-soft: #aebbd0;
  --mcf-night-muted: #8796ad;
  --mcf-night-title: #f2f6fb;
  --mcf-night-link: #68d77a;
  --mcf-night-link-hover: #8bf59b;
  --mcf-night-link-visited: #4fbf63;
  --mcf-night-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
  --mcf-night-shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.24);

  --mcf-green: var(--mcf-night-link);
  --mcf-green-dark: var(--mcf-night-link-hover);
  --mcf-green-link: var(--mcf-night-link);
  --mcf-green-link-hover: var(--mcf-night-link-hover);
  --mcf-green-link-visited: var(--mcf-night-link-visited);
  --mcf-border: var(--mcf-night-border);
  --mcf-border-light: var(--mcf-night-border-soft);
  --mcf-text: var(--mcf-night-text);
  --mcf-title: var(--mcf-night-title);
  --mcf-card-shadow: var(--mcf-night-shadow-soft);

  --c-main: #45bd5a;
  --c-main-rgb: 69, 189, 90;
  --c-contrast-0: var(--mcf-night-bg);
  --c-contrast-10: #091423;
  --c-contrast-50: var(--mcf-night-surface);
  --c-contrast-75: #132034;
  --c-contrast-100: #17263c;
  --c-contrast-125: #1d3049;
  --c-contrast-150: var(--mcf-night-border);
  --c-contrast-200: #334966;
  --c-contrast-300: #4f6684;
  --c-contrast-400: #74849b;
  --c-contrast-450: #8b9ab0;
  --c-contrast-500: var(--mcf-night-text-soft);
  --c-contrast-600: #c4cfdd;
  --c-contrast-650: #ccd6e3;
  --c-contrast-700: var(--mcf-night-text);
  --c-contrast-800: #e6edf5;
  --c-contrast-850: var(--mcf-night-title);
  --c-contrast-900: #f6f9fd;
  --c-contrast: #fff;
  --c-rgba: 255, 255, 255;
  --c-links: var(--mcf-night-link);
  --c-a-hover: var(--mcf-night-link-hover);
  --c-headings: var(--mcf-night-title);
  --c-excerpts: var(--mcf-night-text-soft);
  --c-separator: rgba(216, 225, 236, 0.13);
  --c-separator2: rgba(216, 225, 236, 0.15);
  --c-post-meta: rgba(216, 225, 236, 0.68);
  --c-input-bg: rgba(255, 255, 255, 0.06);
  --footer-bg: #06101d;
  --footer-lower-bg: #040b14;
}

html.s-dark,
body.s-dark,
html.s-dark body {
  background-color: var(--mcf-night-bg) !important;
  background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2026/06/fond-minecraft-france-nuit-1.avif") !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
}

html.s-dark .main-wrap,
html.s-dark .site-wrap,
html.s-dark .site,
html.s-dark .site-content,
html.s-dark .content-wrap,
html.s-dark .main,
body.s-dark .main-wrap,
body.s-dark .site-wrap,
body.s-dark .site,
body.s-dark .site-content,
body.s-dark .content-wrap,
body.s-dark .main {
  background-color: var(--mcf-night-bg) !important;
  background-image: none !important;
  color: var(--mcf-night-text);
}

/* Headers jour / nuit */
html:not(.s-dark) .smart-head,
html:not(.s-dark) .smart-head-main,
html:not(.s-dark) .smart-head-mid,
html:not(.s-dark) .main-head,
html:not(.s-dark) .site-header,
body:not(.s-dark) .smart-head,
body:not(.s-dark) .smart-head-main,
body:not(.s-dark) .smart-head-mid,
body:not(.s-dark) .main-head,
body:not(.s-dark) .site-header {
  background-color: #9fdcf5 !important;
  background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2026/06/header-jour-minecraft-france.avif") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  border-color: rgba(0, 0, 0, 0.10) !important;
}

html.s-dark .smart-head,
html.s-dark .smart-head-main,
html.s-dark .smart-head-mid,
html.s-dark .main-head,
html.s-dark .site-header,
body.s-dark .smart-head,
body.s-dark .smart-head-main,
body.s-dark .smart-head-mid,
body.s-dark .main-head,
body.s-dark .site-header {
  background-color: var(--mcf-night-bg) !important;
  background-image: url("https://www.minecraft-france.fr/wp-content/uploads/2026/06/header-nuit-minecraft-france.avif") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  border-color: var(--mcf-night-border-soft) !important;
}

html.s-dark .smart-head-row.smart-head-top,
html.s-dark .smart-head-row.smart-head-top.s-dark,
body.s-dark .smart-head-row.smart-head-top,
body.s-dark .smart-head-row.smart-head-top.s-dark {
  background: var(--mcf-night-bg-2) !important;
  background-color: var(--mcf-night-bg-2) !important;
  background-image: none !important;
  border-bottom-color: var(--mcf-night-border-soft) !important;
}

html:not(.s-dark) .smart-head .wrap,
html:not(.s-dark) .smart-head .ts-contain,
html:not(.s-dark) .smart-head-main .wrap,
html:not(.s-dark) .smart-head-mid .wrap,
body:not(.s-dark) .smart-head .wrap,
body:not(.s-dark) .smart-head .ts-contain,
body:not(.s-dark) .smart-head-main .wrap,
body:not(.s-dark) .smart-head-mid .wrap,
html.s-dark .smart-head .wrap,
html.s-dark .smart-head .ts-contain,
html.s-dark .smart-head-main .wrap,
html.s-dark .smart-head-mid .wrap,
body.s-dark .smart-head .wrap,
body.s-dark .smart-head .ts-contain,
body.s-dark .smart-head-main .wrap,
body.s-dark .smart-head-mid .wrap {
  background: transparent !important;
}

html:not(.s-dark) .smart-head-bot,
html:not(.s-dark) .navigation-wrap,
html:not(.s-dark) .nav-wrap,
body:not(.s-dark) .smart-head-bot,
body:not(.s-dark) .navigation-wrap,
body:not(.s-dark) .nav-wrap {
  background-color: #000 !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html:not(.s-dark) .navigation,
html:not(.s-dark) .navigation .menu > li > a,
html:not(.s-dark) .smart-head-bot a,
html:not(.s-dark) .navigation-wrap a,
body:not(.s-dark) .navigation,
body:not(.s-dark) .navigation .menu > li > a,
body:not(.s-dark) .smart-head-bot a,
body:not(.s-dark) .navigation-wrap a {
  color: #fff !important;
}

html.s-dark .smart-head-bot,
html.s-dark .navigation-wrap,
html.s-dark .nav-wrap,
body.s-dark .smart-head-bot,
body.s-dark .navigation-wrap,
body.s-dark .nav-wrap {
  background-color: var(--mcf-night-bg-2) !important;
  background-image: none !important;
  border-color: var(--mcf-night-border-soft) !important;
}

html.s-dark .navigation,
html.s-dark .navigation .menu,
html.s-dark .navigation .menu > li > a,
html.s-dark .smart-head .items a,
html.s-dark .smart-head .nav-icons a,
body.s-dark .navigation,
body.s-dark .navigation .menu,
body.s-dark .navigation .menu > li > a,
body.s-dark .smart-head .items a,
body.s-dark .smart-head .nav-icons a {
  color: var(--mcf-night-text) !important;
}

html.s-dark .navigation .menu > li > a:hover,
html.s-dark .smart-head .items a:hover,
html.s-dark .smart-head .nav-icons a:hover,
body.s-dark .navigation .menu > li > a:hover,
body.s-dark .smart-head .items a:hover,
body.s-dark .smart-head .nav-icons a:hover {
  color: var(--mcf-night-link-hover) !important;
}

html.s-dark .navigation .sub-menu,
html.s-dark .navigation .mega-menu,
html.s-dark .mega-menu-a .recent-posts,
html.s-dark .mega-menu-b .sub-cats,
html.s-dark .mega-menu-b .extend,
body.s-dark .navigation .sub-menu,
body.s-dark .navigation .mega-menu,
body.s-dark .mega-menu-a .recent-posts,
body.s-dark .mega-menu-b .sub-cats,
body.s-dark .mega-menu-b .extend {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42) !important;
}

/* Contenu nuit */
html.s-dark .post-content,
html.s-dark .entry-content,
html.s-dark .textwidget,
body.s-dark .post-content,
body.s-dark .entry-content,
body.s-dark .textwidget {
  color: var(--mcf-night-text) !important;
}

html.s-dark .post-content h1,
html.s-dark .post-content h2,
html.s-dark .post-content h3,
html.s-dark .post-content h4,
html.s-dark .post-content h5,
html.s-dark .post-content h6,
html.s-dark .entry-title,
html.s-dark .post-title,
html.s-dark .post-title a,
body.s-dark .post-content h1,
body.s-dark .post-content h2,
body.s-dark .post-content h3,
body.s-dark .post-content h4,
body.s-dark .post-content h5,
body.s-dark .post-content h6,
body.s-dark .entry-title,
body.s-dark .post-title,
body.s-dark .post-title a {
  color: var(--mcf-night-title) !important;
}

html.s-dark .entry-meta,
html.s-dark .post-meta,
html.s-dark .post-meta a,
html.s-dark .breadcrumbs,
html.s-dark .breadcrumb,
html.s-dark figcaption,
html.s-dark .wp-caption-text,
html.s-dark .blocks-gallery-caption,
body.s-dark .entry-meta,
body.s-dark .post-meta,
body.s-dark .post-meta a,
body.s-dark .breadcrumbs,
body.s-dark .breadcrumb,
body.s-dark figcaption,
body.s-dark .wp-caption-text,
body.s-dark .blocks-gallery-caption {
  color: var(--mcf-night-text-soft) !important;
}

html.s-dark .entry-content a,
html.s-dark .post-content a,
html.s-dark .textwidget a,
body.s-dark .entry-content a,
body.s-dark .post-content a,
body.s-dark .textwidget a {
  color: var(--mcf-night-link) !important;
}

html.s-dark .entry-content a:hover,
html.s-dark .post-content a:hover,
html.s-dark .textwidget a:hover,
body.s-dark .entry-content a:hover,
body.s-dark .post-content a:hover,
body.s-dark .textwidget a:hover {
  color: var(--mcf-night-link-hover) !important;
}

html.s-dark .entry-content a:visited,
html.s-dark .post-content a:visited,
body.s-dark .entry-content a:visited,
body.s-dark .post-content a:visited {
  color: var(--mcf-night-link-visited) !important;
}

/* Surfaces nuit */
html.s-dark .mcf-home-content-card,
html.s-dark .mcf-guides-home article.l-post,
html.s-dark .mcf-guides-home article.l-post .content,
html.s-dark .wp-block-yoast-seo-table-of-contents,
html.s-dark .en-bref,
html.s-dark .cadre-bloc,
html.s-dark .menu-guides-horizontaux-compacts-wrapper,
html.s-dark .entry-content .mods-versions-list,
html.s-dark .wp-block-group.has-background,
html.s-dark .wp-block-media-text.has-background,
body.s-dark .mcf-home-content-card,
body.s-dark .mcf-guides-home article.l-post,
body.s-dark .mcf-guides-home article.l-post .content,
body.s-dark .wp-block-yoast-seo-table-of-contents,
body.s-dark .en-bref,
body.s-dark .cadre-bloc,
body.s-dark .menu-guides-horizontaux-compacts-wrapper,
body.s-dark .entry-content .mods-versions-list,
body.s-dark .wp-block-group.has-background,
body.s-dark .wp-block-media-text.has-background {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .mcf-home-content-card,
body.s-dark .mcf-home-content-card {
  background:
    linear-gradient(180deg, rgba(104, 215, 122, 0.075), rgba(16, 27, 45, 0) 72%),
    var(--mcf-night-surface) !important;
}

html.s-dark .mcf-biomes-table td,
html.s-dark .mcf-mobs-table td,
html.s-dark .navigate-posts .previous,
html.s-dark .navigate-posts .next,
body.s-dark .mcf-biomes-table td,
body.s-dark .mcf-mobs-table td,
body.s-dark .navigate-posts .previous,
body.s-dark .navigate-posts .next {
  background: var(--mcf-night-surface-2) !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .wp-block-yoast-seo-table-of-contents h2,
body.s-dark .wp-block-yoast-seo-table-of-contents h2 {
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .mcf-home-intro-block strong,
html.s-dark .mcf-home-text-block strong,
html.s-dark .wp-block-yoast-seo-table-of-contents h2,
html.s-dark .custom-title strong,
html.s-dark .minecraft-info-title,
html.s-dark .en-bref strong,
body.s-dark .mcf-home-intro-block strong,
body.s-dark .mcf-home-text-block strong,
body.s-dark .wp-block-yoast-seo-table-of-contents h2,
body.s-dark .custom-title strong,
body.s-dark .minecraft-info-title,
body.s-dark .en-bref strong {
  color: var(--mcf-night-title) !important;
}

/* Tableaux nuit */
html.s-dark table,
html.s-dark .wp-block-table table,
html.s-dark .wp-block-table.aligncenter table,
body.s-dark table,
body.s-dark .wp-block-table table,
body.s-dark .wp-block-table.aligncenter table {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark th,
html.s-dark td,
html.s-dark .wp-block-table td,
html.s-dark .wp-block-table th,
html.s-dark .wp-block-table.aligncenter table td,
body.s-dark th,
body.s-dark td,
body.s-dark .wp-block-table td,
body.s-dark .wp-block-table th,
body.s-dark .wp-block-table.aligncenter table td {
  background: transparent !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
}

html.s-dark th,
body.s-dark th {
  background: rgba(255, 255, 255, 0.05) !important;
}

html.s-dark .wp-block-table.aligncenter table td:hover,
body.s-dark .wp-block-table.aligncenter table td:hover {
  background: #1f7a32 !important;
  color: #fff !important;
}

html.s-dark .entry-content .mods-versions-list a,
body.s-dark .entry-content .mods-versions-list a {
  color: var(--mcf-night-title) !important;
}

html.s-dark .mcf-version-links a,
body.s-dark .mcf-version-links a {
  color: var(--mcf-night-link) !important;
  background: #10223a !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .mcf-version-links a:hover,
html.s-dark .mcf-version-links a:focus,
body.s-dark .mcf-version-links a:hover,
body.s-dark .mcf-version-links a:focus {
  color: var(--mcf-night-link-hover) !important;
  background: #142b49 !important;
  border-color: #335173 !important;
}

/* Box auteur nuit */
html.s-dark .author-box,
html.s-dark .post-author,
html.s-dark .author-info,
html.s-dark .single-author-box,
html.s-dark .bunyad-author-box,
body.s-dark .author-box,
body.s-dark .post-author,
body.s-dark .author-info,
body.s-dark .single-author-box,
body.s-dark .bunyad-author-box {
  background: transparent !important;
}

html.s-dark .author-box img.avatar,
html.s-dark .post-author img.avatar,
html.s-dark .author-info img.avatar,
html.s-dark .single-author-box img.avatar,
html.s-dark .bunyad-author-box img.avatar,
body.s-dark .author-box img.avatar,
body.s-dark .post-author img.avatar,
body.s-dark .author-info img.avatar,
body.s-dark .single-author-box img.avatar,
body.s-dark .bunyad-author-box img.avatar {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .author-box .author-content,
html.s-dark .author-box .description,
html.s-dark .post-author .author-content,
html.s-dark .post-author .description,
html.s-dark .author-info .author-content,
html.s-dark .author-info .description,
html.s-dark .single-author-box .author-content,
html.s-dark .single-author-box .description,
html.s-dark .bunyad-author-box .author-content,
html.s-dark .bunyad-author-box .description,
body.s-dark .author-box .author-content,
body.s-dark .author-box .description,
body.s-dark .post-author .author-content,
body.s-dark .post-author .description,
body.s-dark .author-info .author-content,
body.s-dark .author-info .description,
body.s-dark .single-author-box .author-content,
body.s-dark .single-author-box .description,
body.s-dark .bunyad-author-box .author-content,
body.s-dark .bunyad-author-box .description {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
}

html.s-dark .author-box .author-content::before,
html.s-dark .author-box .description::before,
html.s-dark .post-author .author-content::before,
html.s-dark .post-author .description::before,
html.s-dark .author-info .author-content::before,
html.s-dark .author-info .description::before,
html.s-dark .single-author-box .author-content::before,
html.s-dark .single-author-box .description::before,
html.s-dark .bunyad-author-box .author-content::before,
html.s-dark .bunyad-author-box .description::before,
body.s-dark .author-box .author-content::before,
body.s-dark .author-box .description::before,
body.s-dark .post-author .author-content::before,
body.s-dark .post-author .description::before,
body.s-dark .author-info .author-content::before,
body.s-dark .author-info .description::before,
body.s-dark .single-author-box .author-content::before,
body.s-dark .single-author-box .description::before,
body.s-dark .bunyad-author-box .author-content::before,
body.s-dark .bunyad-author-box .description::before {
  border-right-color: var(--mcf-night-border) !important;
}

html.s-dark .author-box .author-content::after,
html.s-dark .author-box .description::after,
html.s-dark .post-author .author-content::after,
html.s-dark .post-author .description::after,
html.s-dark .author-info .author-content::after,
html.s-dark .author-info .description::after,
html.s-dark .single-author-box .author-content::after,
html.s-dark .single-author-box .description::after,
html.s-dark .bunyad-author-box .author-content::after,
html.s-dark .bunyad-author-box .description::after,
body.s-dark .author-box .author-content::after,
body.s-dark .author-box .description::after,
body.s-dark .post-author .author-content::after,
body.s-dark .post-author .description::after,
body.s-dark .author-info .author-content::after,
body.s-dark .author-info .description::after,
body.s-dark .single-author-box .author-content::after,
body.s-dark .single-author-box .description::after,
body.s-dark .bunyad-author-box .author-content::after,
body.s-dark .bunyad-author-box .description::after {
  border-right-color: var(--mcf-night-surface) !important;
}

/* Navigation nuit */
html.s-dark .navigate-posts .previous,
html.s-dark .navigate-posts .next,
body.s-dark .navigate-posts .previous,
body.s-dark .navigate-posts .next {
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .navigate-posts .previous:hover,
html.s-dark .navigate-posts .next:hover,
body.s-dark .navigate-posts .previous:hover,
body.s-dark .navigate-posts .next:hover {
  background: var(--mcf-night-surface-3) !important;
  border-color: var(--mcf-night-link) !important;
}

html.s-dark .navigate-posts .title,
html.s-dark .navigate-posts .title a,
body.s-dark .navigate-posts .title,
body.s-dark .navigate-posts .title a {
  color: var(--mcf-night-title) !important;
}

/* Sidebar nuit */
html.s-dark .sidebar .widget,
html.s-dark .main-sidebar .widget,
body.s-dark .sidebar .widget,
body.s-dark .main-sidebar .widget {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.s-dark .mcf-useful-info-widget,
html.s-dark .mcf-essential-resources-widget,
html.s-dark .mcf-top-downloads-widget,
body.s-dark .mcf-useful-info-widget,
body.s-dark .mcf-essential-resources-widget,
body.s-dark .mcf-top-downloads-widget {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html.s-dark .mcf-useful-info-title,
html.s-dark .sidebar .widget-title,
html.s-dark .sidebar .block-head,
body.s-dark .mcf-useful-info-title,
body.s-dark .sidebar .widget-title,
body.s-dark .sidebar .block-head {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.s-dark .widget-title .heading,
html.s-dark .block-head .heading,
html.s-dark .mcf-useful-info-title,
body.s-dark .widget-title .heading,
body.s-dark .block-head .heading,
body.s-dark .mcf-useful-info-title {
  color: var(--mcf-night-title) !important;
}

html.s-dark .mcf-useful-info-card:not(.mcf-essential-resources-card),
body.s-dark .mcf-useful-info-card:not(.mcf-essential-resources-card) {
  background: var(--mcf-night-surface) !important;
  border: 1px solid var(--mcf-night-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html.s-dark .mcf-essential-resources-card,
html.s-dark .mcf-essential-resources-list,
html.s-dark .mcf-top-downloads-card,
body.s-dark .mcf-essential-resources-card,
body.s-dark .mcf-essential-resources-list,
body.s-dark .mcf-top-downloads-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

html.s-dark .mcf-essential-resources-list a,
html.s-dark .mcf-essential-resources-list img,
body.s-dark .mcf-essential-resources-list a,
body.s-dark .mcf-essential-resources-list img {
  border-radius: 5px !important;
}

/* Footer nuit */
html.s-dark .main-footer,
html.s-dark .footer,
html.s-dark .site-footer,
html.s-dark .upper-footer,
html.s-dark .footer-widgets,
body.s-dark .main-footer,
body.s-dark .footer,
body.s-dark .site-footer,
body.s-dark .upper-footer,
body.s-dark .footer-widgets {
  background: var(--mcf-night-bg-2) !important;
  background-color: var(--mcf-night-bg-2) !important;
  background-image: none !important;
  border-color: var(--mcf-night-border-soft) !important;
  color: var(--mcf-night-text) !important;
}

html.s-dark .lower-footer,
html.s-dark .footer-bottom,
html.s-dark .copyright-footer,
body.s-dark .lower-footer,
body.s-dark .footer-bottom,
body.s-dark .copyright-footer {
  background: #050d18 !important;
  color: var(--mcf-night-text) !important;
}

/* CRP / articles similaires nuit */
html.s-dark .crp,
html.s-dark .crp_related,
html.s-dark .crp_related_posts,
html.s-dark .crp_related_widget,
html.s-dark .crp-list,
body.s-dark .crp,
body.s-dark .crp_related,
body.s-dark .crp_related_posts,
body.s-dark .crp_related_widget,
body.s-dark .crp-list {
  background: transparent !important;
  color: var(--mcf-night-text) !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .crp ul,
html.s-dark .crp_related ul,
html.s-dark .crp_related_posts ul,
body.s-dark .crp ul,
body.s-dark .crp_related ul,
body.s-dark .crp_related_posts ul {
  background: transparent !important;
  border: 0 !important;
}

html.s-dark .crp li,
html.s-dark .crp_related li,
html.s-dark .crp_related_posts li,
html.s-dark .crp-list-item,
html.s-dark .crp_related .crp-list-item,
body.s-dark .crp li,
body.s-dark .crp_related li,
body.s-dark .crp_related_posts li,
body.s-dark .crp-list-item,
body.s-dark .crp_related .crp-list-item {
  background: var(--mcf-night-surface) !important;
  border: 1px solid var(--mcf-night-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html.s-dark .crp li a,
html.s-dark .crp_related li a,
html.s-dark .crp_related_posts li a,
html.s-dark .crp-list-item a,
html.s-dark [class*="crp"] a,
body.s-dark .crp li a,
body.s-dark .crp_related li a,
body.s-dark .crp_related_posts li a,
body.s-dark .crp-list-item a,
body.s-dark [class*="crp"] a {
  background: var(--mcf-night-surface) !important;
  color: var(--mcf-night-title) !important;
  border-color: var(--mcf-night-border) !important;
  text-decoration: none !important;
}

html.s-dark .crp_title,
html.s-dark .crp-title,
html.s-dark .crp_related .crp_title,
html.s-dark .crp_related .crp-title,
html.s-dark .crp_related_posts .crp_title,
html.s-dark .crp_related_posts .crp-title,
body.s-dark .crp_title,
body.s-dark .crp-title,
body.s-dark .crp_related .crp_title,
body.s-dark .crp_related .crp-title,
body.s-dark .crp_related_posts .crp_title,
body.s-dark .crp_related_posts .crp-title {
  background: var(--mcf-night-surface) !important;
  color: var(--mcf-night-title) !important;
  text-shadow: none !important;
}

html.s-dark .crp li a span,
html.s-dark .crp_related li a span,
html.s-dark .crp_related_posts li a span,
body.s-dark .crp li a span,
body.s-dark .crp_related li a span,
body.s-dark .crp_related_posts li a span {
  background: var(--mcf-night-surface) !important;
  color: var(--mcf-night-title) !important;
}

html.s-dark .crp img,
html.s-dark .crp_thumb,
html.s-dark .crp_related img,
html.s-dark .crp_related_posts img,
body.s-dark .crp img,
body.s-dark .crp_thumb,
body.s-dark .crp_related img,
body.s-dark .crp_related_posts img {
  background: transparent !important;
  border-color: var(--mcf-night-border) !important;
}

html.s-dark .crp li:hover,
html.s-dark .crp_related li:hover,
html.s-dark .crp_related_posts li:hover,
html.s-dark .crp-list-item:hover,
body.s-dark .crp li:hover,
body.s-dark .crp_related li:hover,
body.s-dark .crp_related_posts li:hover,
body.s-dark .crp-list-item:hover {
  background: var(--mcf-night-surface-2) !important;
  border-color: var(--mcf-night-link) !important;
}

html.s-dark .crp li:hover a,
html.s-dark .crp_related li:hover a,
html.s-dark .crp_related_posts li:hover a,
html.s-dark .crp-list-item:hover a,
html.s-dark [class*="crp"] a:hover,
body.s-dark .crp li:hover a,
body.s-dark .crp_related li:hover a,
body.s-dark .crp_related_posts li:hover a,
body.s-dark .crp-list-item:hover a,
body.s-dark [class*="crp"] a:hover {
  background: var(--mcf-night-surface-2) !important;
  color: var(--mcf-night-link-hover) !important;
}

/* Pubs / emplacements vides nuit */
html.s-dark #in-content-ad,
html.s-dark .adsbygoogle,
html.s-dark ins.adsbygoogle,
html.s-dark .ad-wrap,
html.s-dark .ad-slot,
html.s-dark .a-wrap,
html.s-dark .the-post-ad,
html.s-dark .post-ad,
html.s-dark .smartmag-ad,
html.s-dark .bunyad-ad,
html.s-dark .ad-space,
html.s-dark .ad-container,
html.s-dark .advertisement,
body.s-dark #in-content-ad,
body.s-dark .adsbygoogle,
body.s-dark ins.adsbygoogle,
body.s-dark .ad-wrap,
body.s-dark .ad-slot,
body.s-dark .a-wrap,
body.s-dark .the-post-ad,
body.s-dark .post-ad,
body.s-dark .smartmag-ad,
body.s-dark .bunyad-ad,
body.s-dark .ad-space,
body.s-dark .ad-container,
body.s-dark .advertisement {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

/* Commentaires jour : cadre unique sur #comments */
html:not(.s-dark) .comments-area,
body:not(.s-dark) .comments-area {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--mcf-text) !important;
}

html:not(.s-dark) #comments,
body:not(.s-dark) #comments {
  background: #fff !important;
  border: 1px solid var(--mcf-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--mcf-card-shadow) !important;
  color: var(--mcf-text) !important;
  padding: 28px !important;
}

html:not(.s-dark) #comments .comments-area,
html:not(.s-dark) #comments .comment-list,
html:not(.s-dark) #comments .comment-list-wrap,
html:not(.s-dark) #comments .comment-respond,
html:not(.s-dark) #comments #respond,
html:not(.s-dark) #comments form.comment-form,
html:not(.s-dark) #comments .comment-form,
body:not(.s-dark) #comments .comments-area,
body:not(.s-dark) #comments .comment-list,
body:not(.s-dark) #comments .comment-list-wrap,
body:not(.s-dark) #comments .comment-respond,
body:not(.s-dark) #comments #respond,
body:not(.s-dark) #comments form.comment-form,
body:not(.s-dark) #comments .comment-form {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html:not(.s-dark) .comment-respond,
html:not(.s-dark) #respond,
body:not(.s-dark) .comment-respond,
body:not(.s-dark) #respond {
  padding: 0 !important;
  margin: 0 !important;
}

html:not(.s-dark) #comments .comment,
html:not(.s-dark) #comments li.comment,
body:not(.s-dark) #comments .comment,
body:not(.s-dark) #comments li.comment {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html:not(.s-dark) .comments-title,
html:not(.s-dark) .comment-reply-title,
html:not(.s-dark) #reply-title,
body:not(.s-dark) .comments-title,
body:not(.s-dark) .comment-reply-title,
body:not(.s-dark) #reply-title {
  color: var(--mcf-title) !important;
}

html:not(.s-dark) #comments p,
html:not(.s-dark) #comments label,
html:not(.s-dark) .comment-respond p,
html:not(.s-dark) .comment-respond label,
html:not(.s-dark) .comment-form label,
body:not(.s-dark) #comments p,
body:not(.s-dark) #comments label,
body:not(.s-dark) .comment-respond p,
body:not(.s-dark) .comment-respond label,
body:not(.s-dark) .comment-form label {
  color: var(--mcf-text) !important;
}

html:not(.s-dark) #comments a,
html:not(.s-dark) .comment-respond a,
body:not(.s-dark) #comments a,
body:not(.s-dark) .comment-respond a {
  color: var(--mcf-green-link) !important;
}

html:not(.s-dark) #comments a:hover,
html:not(.s-dark) .comment-respond a:hover,
body:not(.s-dark) #comments a:hover,
body:not(.s-dark) .comment-respond a:hover {
  color: var(--mcf-green-link-hover) !important;
}

html:not(.s-dark) .comment-form textarea,
html:not(.s-dark) .comment-form input[type="text"],
html:not(.s-dark) .comment-form input[type="email"],
html:not(.s-dark) .comment-form input[type="url"],
body:not(.s-dark) .comment-form textarea,
body:not(.s-dark) .comment-form input[type="text"],
body:not(.s-dark) .comment-form input[type="email"],
body:not(.s-dark) .comment-form input[type="url"] {
  background: #fff !important;
  border: 1px solid var(--mcf-border) !important;
  color: var(--mcf-text) !important;
  box-shadow: none !important;
}

html:not(.s-dark) .comment-form input[type="checkbox"],
body:not(.s-dark) .comment-form input[type="checkbox"] {
  accent-color: var(--mcf-green);
}

html:not(.s-dark) .comment-form input[type="submit"],
html:not(.s-dark) #submit,
body:not(.s-dark) .comment-form input[type="submit"],
body:not(.s-dark) #submit {
  background: var(--mcf-green) !important;
  border: 1px solid var(--mcf-green-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html:not(.s-dark) .comment-form input[type="submit"]:hover,
html:not(.s-dark) #submit:hover,
body:not(.s-dark) .comment-form input[type="submit"]:hover,
body:not(.s-dark) #submit:hover {
  background: var(--mcf-green-dark) !important;
}

/* Commentaires nuit : cadre unique sur #comments */
html.s-dark .comments-area,
body.s-dark .comments-area {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--mcf-night-text) !important;
}

html.s-dark #comments,
body.s-dark #comments {
  background: var(--mcf-night-surface) !important;
  border: 1px solid var(--mcf-night-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: var(--mcf-night-text) !important;
  padding: 28px !important;
}

html.s-dark #comments .comments-area,
html.s-dark #comments .comment-list,
html.s-dark #comments .comment-list-wrap,
html.s-dark #comments .comment-respond,
html.s-dark #comments #respond,
html.s-dark #comments form.comment-form,
html.s-dark #comments .comment-form,
body.s-dark #comments .comments-area,
body.s-dark #comments .comment-list,
body.s-dark #comments .comment-list-wrap,
body.s-dark #comments .comment-respond,
body.s-dark #comments #respond,
body.s-dark #comments form.comment-form,
body.s-dark #comments .comment-form {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html.s-dark .comment-respond,
html.s-dark #respond,
body.s-dark .comment-respond,
body.s-dark #respond {
  padding: 0 !important;
  margin: 0 !important;
}

html.s-dark #comments .comment,
html.s-dark #comments li.comment,
body.s-dark #comments .comment,
body.s-dark #comments li.comment {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.s-dark .comments-title,
html.s-dark .comment-reply-title,
html.s-dark #reply-title,
body.s-dark .comments-title,
body.s-dark .comment-reply-title,
body.s-dark #reply-title {
  color: var(--mcf-night-title) !important;
}

html.s-dark #comments p,
html.s-dark #comments label,
html.s-dark .comment-respond p,
html.s-dark .comment-respond label,
html.s-dark .comment-form label,
body.s-dark #comments p,
body.s-dark #comments label,
body.s-dark .comment-respond p,
body.s-dark .comment-respond label,
body.s-dark .comment-form label {
  color: var(--mcf-night-text) !important;
}

html.s-dark #comments a,
html.s-dark .comment-respond a,
body.s-dark #comments a,
body.s-dark .comment-respond a {
  color: var(--mcf-night-link) !important;
}

html.s-dark #comments a:hover,
html.s-dark .comment-respond a:hover,
body.s-dark #comments a:hover,
body.s-dark .comment-respond a:hover {
  color: var(--mcf-night-link-hover) !important;
}

html.s-dark .comment-form textarea,
html.s-dark .comment-form input[type="text"],
html.s-dark .comment-form input[type="email"],
html.s-dark .comment-form input[type="url"],
body.s-dark .comment-form textarea,
body.s-dark .comment-form input[type="text"],
body.s-dark .comment-form input[type="email"],
body.s-dark .comment-form input[type="url"] {
  background: var(--mcf-night-surface-2) !important;
  border: 1px solid var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: none !important;
}

html.s-dark input,
html.s-dark textarea,
html.s-dark select,
body.s-dark input,
body.s-dark textarea,
body.s-dark select {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
}

html.s-dark input::placeholder,
html.s-dark textarea::placeholder,
body.s-dark input::placeholder,
body.s-dark textarea::placeholder {
  color: var(--mcf-night-muted) !important;
}

html.s-dark .comment-form input[type="checkbox"],
body.s-dark .comment-form input[type="checkbox"] {
  accent-color: #1f8f3a;
}

html.s-dark .comment-form input[type="submit"],
html.s-dark #submit,
body.s-dark .comment-form input[type="submit"],
body.s-dark #submit {
  background: #1f7a32 !important;
  border: 1px solid #2fa447 !important;
  color: #fff !important;
  box-shadow: none !important;
}

html.s-dark .comment-form input[type="submit"]:hover,
html.s-dark #submit:hover,
body.s-dark .comment-form input[type="submit"]:hover,
body.s-dark #submit:hover {
  background: #2fa447 !important;
}

html.s-dark .wpa-test-msg,
body.s-dark .wpa-test-msg {
  background: #d9f5fb !important;
  border: 1px solid #9bd8e5 !important;
  color: #064152 !important;
  border-radius: 6px !important;
}

/* Encarts nuit */
html.s-dark .mcf-alert,
body.s-dark .mcf-alert {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .mcf-alert-info,
body.s-dark .mcf-alert-info {
  background: #10223a !important;
  border-left-color: #4da3ff !important;
}

html.s-dark .mcf-alert-warning,
body.s-dark .mcf-alert-warning {
  background: #2b2112 !important;
  border-left-color: #f0aa3c !important;
  color: #f8ddb0 !important;
}

html.s-dark .mcf-alert-danger,
body.s-dark .mcf-alert-danger {
  background: #2b1517 !important;
  border-left-color: #ff6b5f !important;
  color: #ffd0cc !important;
}

html.s-dark .mcf-alert-success,
body.s-dark .mcf-alert-success {
  background: #10281b !important;
  border-left-color: var(--mcf-night-link) !important;
}

/* Images d'article */

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image),
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) {
  display: block;
  max-width: 100%;
  margin: 26px auto 30px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--mcf-border-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--mcf-card-shadow);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover {
  transform: translateY(-2px);
  border-color: #cbdccb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a {
  display: block;
  overflow: hidden;
  color: inherit;
  line-height: 0;
  text-decoration: none !important;
}

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) img,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0;
  border-radius: 11px 11px 0 0;
  box-shadow: none;
  vertical-align: top;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a:hover img,
.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover > img,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a:hover img,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover > img {
  transform: scale(1.015);
  filter: brightness(1.035);
}

.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
.entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
.post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption {
  margin: 0 !important;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--mcf-border-light);
  background: #f7faf7;
  color: #5f6f64;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.entry-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
.entry-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean),
.post-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
.post-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 26px auto 30px;
  border: 1px solid var(--mcf-border-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--mcf-card-shadow);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.entry-content > p:not(.mcf-media-clean) > a:has(> img[class*="wp-image-"]:not(.mcf-media-clean)),
.post-content > p:not(.mcf-media-clean) > a:has(> img[class*="wp-image-"]:not(.mcf-media-clean)) {
  display: block;
  color: inherit;
  line-height: 0;
  text-decoration: none !important;
}

.entry-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean):hover,
.entry-content > p:not(.mcf-media-clean) > a:hover > img[class*="wp-image-"]:not(.mcf-media-clean),
.post-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean):hover,
.post-content > p:not(.mcf-media-clean) > a:hover > img[class*="wp-image-"]:not(.mcf-media-clean) {
  transform: translateY(-2px);
  border-color: #cbdccb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  filter: brightness(1.035);
}

html.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image),
html.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image),
body.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image),
body.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover,
html.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover,
body.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover,
body.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover {
  border-color: #36547a !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34) !important;
}

html.s-dark .entry-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
html.s-dark .entry-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean),
html.s-dark .post-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
html.s-dark .post-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean),
body.s-dark .entry-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
body.s-dark .entry-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean),
body.s-dark .post-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean),
body.s-dark .post-content > p:not(.mcf-media-clean) > a > img[class*="wp-image-"]:not(.mcf-media-clean) {
  background: var(--mcf-night-surface) !important;
  border-color: var(--mcf-night-border) !important;
  box-shadow: var(--mcf-night-shadow-soft) !important;
}

html.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
html.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption,
html.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
html.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption,
body.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
body.s-dark .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption,
body.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) figcaption,
body.s-dark .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) .wp-element-caption {
  background: var(--mcf-night-surface-2) !important;
  border-top-color: var(--mcf-night-border) !important;
  color: var(--mcf-night-text-soft) !important;
}

@media (hover: none) and (pointer: coarse) {
  .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover,
  .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover {
    transform: none;
  }

  .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a:hover img,
  .entry-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover > img,
  .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image) > a:hover img,
  .post-content figure.wp-block-image:not(.mcf-media-clean):not(.mcf-media-clean *):not(.wp-block-gallery figure.wp-block-image):hover > img,
  .entry-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean):hover,
  .entry-content > p:not(.mcf-media-clean) > a:hover > img[class*="wp-image-"]:not(.mcf-media-clean),
  .post-content > p:not(.mcf-media-clean) > img[class*="wp-image-"]:not(.mcf-media-clean):hover,
  .post-content > p:not(.mcf-media-clean) > a:hover > img[class*="wp-image-"]:not(.mcf-media-clean) {
    transform: none;
    filter: none;
  }
}

/* Images sans cadre : ajouter la classe mcf-media-clean sur le bloc image, la galerie, le paragraphe ou l'image. */
.entry-content figure.wp-block-image.mcf-media-clean,
.post-content figure.wp-block-image.mcf-media-clean,
.entry-content .mcf-media-clean figure.wp-block-image,
.post-content .mcf-media-clean figure.wp-block-image,
.entry-content p.mcf-media-clean,
.post-content p.mcf-media-clean,
.entry-content .wp-block-gallery.mcf-media-clean .blocks-gallery-item,
.entry-content .wp-block-gallery.mcf-media-clean .blocks-gallery-image,
.entry-content .wp-block-gallery.mcf-media-clean figure.wp-block-image,
.entry-content figure.wp-block-gallery.mcf-media-clean > figure.wp-block-image,
.post-content .wp-block-gallery.mcf-media-clean .blocks-gallery-item,
.post-content .wp-block-gallery.mcf-media-clean .blocks-gallery-image,
.post-content .wp-block-gallery.mcf-media-clean figure.wp-block-image,
.post-content figure.wp-block-gallery.mcf-media-clean > figure.wp-block-image {
  display: block !important;
  max-width: 100% !important;
  margin: 26px auto 30px !important;
  padding: 0 !important;
  overflow: visible !important;
  aspect-ratio: auto !important;
  line-height: normal !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
}

.entry-content figure.wp-block-image.mcf-media-clean:hover,
.post-content figure.wp-block-image.mcf-media-clean:hover,
.entry-content .mcf-media-clean figure.wp-block-image:hover,
.post-content .mcf-media-clean figure.wp-block-image:hover,
.entry-content p.mcf-media-clean:hover,
.post-content p.mcf-media-clean:hover,
.entry-content .wp-block-gallery.mcf-media-clean .blocks-gallery-item:hover,
.entry-content .wp-block-gallery.mcf-media-clean .blocks-gallery-image:hover,
.entry-content .wp-block-gallery.mcf-media-clean figure.wp-block-image:hover,
.entry-content figure.wp-block-gallery.mcf-media-clean > figure.wp-block-image:hover,
.post-content .wp-block-gallery.mcf-media-clean .blocks-gallery-item:hover,
.post-content .wp-block-gallery.mcf-media-clean .blocks-gallery-image:hover,
.post-content .wp-block-gallery.mcf-media-clean figure.wp-block-image:hover,
.post-content figure.wp-block-gallery.mcf-media-clean > figure.wp-block-image:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
}

.entry-content figure.wp-block-image.mcf-media-clean > a,
.post-content figure.wp-block-image.mcf-media-clean > a,
.entry-content .mcf-media-clean figure.wp-block-image > a,
.post-content .mcf-media-clean figure.wp-block-image > a,
.entry-content p.mcf-media-clean > a,
.post-content p.mcf-media-clean > a,
.entry-content .wp-block-gallery.mcf-media-clean figure.wp-block-image > a,
.post-content .wp-block-gallery.mcf-media-clean figure.wp-block-image > a {
  display: block !important;
  overflow: visible !important;
  line-height: normal !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.entry-content figure.wp-block-image.mcf-media-clean img,
.post-content figure.wp-block-image.mcf-media-clean img,
.entry-content .mcf-media-clean figure.wp-block-image img,
.post-content .mcf-media-clean figure.wp-block-image img,
.entry-content p.mcf-media-clean img,
.post-content p.mcf-media-clean img,
.entry-content img.mcf-media-clean,
.post-content img.mcf-media-clean,
.entry-content .wp-block-gallery.mcf-media-clean img,
.post-content .wp-block-gallery.mcf-media-clean img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.entry-content figure.wp-block-image.mcf-media-clean:hover img,
.post-content figure.wp-block-image.mcf-media-clean:hover img,
.entry-content .mcf-media-clean figure.wp-block-image:hover img,
.post-content .mcf-media-clean figure.wp-block-image:hover img,
.entry-content p.mcf-media-clean:hover img,
.post-content p.mcf-media-clean:hover img,
.entry-content img.mcf-media-clean:hover,
.post-content img.mcf-media-clean:hover,
.entry-content .wp-block-gallery.mcf-media-clean figure.wp-block-image:hover img,
.post-content .wp-block-gallery.mcf-media-clean figure.wp-block-image:hover img {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.entry-content figure.wp-block-image.mcf-media-clean figcaption,
.entry-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
.entry-content .mcf-media-clean figure.wp-block-image figcaption,
.entry-content .mcf-media-clean figure.wp-block-image .wp-element-caption,
.post-content figure.wp-block-image.mcf-media-clean figcaption,
.post-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
.post-content .mcf-media-clean figure.wp-block-image figcaption,
.post-content .mcf-media-clean figure.wp-block-image .wp-element-caption,
.entry-content .wp-block-gallery.mcf-media-clean figcaption,
.entry-content .wp-block-gallery.mcf-media-clean .wp-element-caption,
.post-content .wp-block-gallery.mcf-media-clean figcaption,
.post-content .wp-block-gallery.mcf-media-clean .wp-element-caption {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #5f6f64 !important;
  font-size: 13px !important;
  font-style: italic !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

html.s-dark .entry-content figure.wp-block-image.mcf-media-clean,
html.s-dark .entry-content .mcf-media-clean figure.wp-block-image,
html.s-dark .entry-content p.mcf-media-clean,
html.s-dark .entry-content img.mcf-media-clean,
html.s-dark .post-content figure.wp-block-image.mcf-media-clean,
html.s-dark .post-content .mcf-media-clean figure.wp-block-image,
html.s-dark .post-content p.mcf-media-clean,
html.s-dark .post-content img.mcf-media-clean,
body.s-dark .entry-content figure.wp-block-image.mcf-media-clean,
body.s-dark .entry-content .mcf-media-clean figure.wp-block-image,
body.s-dark .entry-content p.mcf-media-clean,
body.s-dark .entry-content img.mcf-media-clean,
body.s-dark .post-content figure.wp-block-image.mcf-media-clean,
body.s-dark .post-content .mcf-media-clean figure.wp-block-image,
body.s-dark .post-content p.mcf-media-clean,
body.s-dark .post-content img.mcf-media-clean {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.s-dark .entry-content figure.wp-block-image.mcf-media-clean figcaption,
html.s-dark .entry-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
html.s-dark .entry-content .mcf-media-clean figure.wp-block-image figcaption,
html.s-dark .entry-content .mcf-media-clean figure.wp-block-image .wp-element-caption,
html.s-dark .post-content figure.wp-block-image.mcf-media-clean figcaption,
html.s-dark .post-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
html.s-dark .post-content .mcf-media-clean figure.wp-block-image figcaption,
html.s-dark .post-content .mcf-media-clean figure.wp-block-image .wp-element-caption,
body.s-dark .entry-content figure.wp-block-image.mcf-media-clean figcaption,
body.s-dark .entry-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
body.s-dark .entry-content .mcf-media-clean figure.wp-block-image figcaption,
body.s-dark .entry-content .mcf-media-clean figure.wp-block-image .wp-element-caption,
body.s-dark .post-content figure.wp-block-image.mcf-media-clean figcaption,
body.s-dark .post-content figure.wp-block-image.mcf-media-clean .wp-element-caption,
body.s-dark .post-content .mcf-media-clean figure.wp-block-image figcaption,
body.s-dark .post-content .mcf-media-clean figure.wp-block-image .wp-element-caption {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--mcf-night-text-soft) !important;
}

/* Mode nuit */

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip {
  text-decoration: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html.s-dark .entry-content .mcf-download-wrap .mcf-download-chip-list a.mcf-download-chip:not([class*="mcf-download-chip-loader-"]),
html.s-dark .post-content .mcf-download-wrap .mcf-download-chip-list a.mcf-download-chip:not([class*="mcf-download-chip-loader-"]),
body.s-dark .entry-content .mcf-download-wrap .mcf-download-chip-list a.mcf-download-chip:not([class*="mcf-download-chip-loader-"]),
body.s-dark .post-content .mcf-download-wrap .mcf-download-chip-list a.mcf-download-chip:not([class*="mcf-download-chip-loader-"]) {
  background: #1a263a !important;
  border-color: #5b6f8f !important;
  color: #f0f5ff !important;
  -webkit-text-fill-color: #f0f5ff !important;
  box-shadow: none !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-fabric,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-fabric,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-fabric,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-fabric {
  background: #0d6b2d !important;
  border-color: #2aa84e !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-forge,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-forge,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-forge,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-forge {
  background: #1d2636 !important;
  border-color: #f0aa3c !important;
  color: #f8ddb0 !important;
  -webkit-text-fill-color: #f8ddb0 !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-neoforge,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-neoforge,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-neoforge,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-neoforge {
  background: #102b36 !important;
  border-color: #4da3ff !important;
  color: #9ee7ff !important;
  -webkit-text-fill-color: #9ee7ff !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-iris,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-iris,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-iris,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-iris {
  background: #101f3a !important;
  border-color: #6078d8 !important;
  color: #dbe6ff !important;
  -webkit-text-fill-color: #dbe6ff !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-optifine,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-optifine,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip-loader-optifine,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip-loader-optifine {
  background: #10281b !important;
  border-color: #5dbb73 !important;
  color: #d8ffd8 !important;
  -webkit-text-fill-color: #d8ffd8 !important;
}

html.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip:hover,
html.s-dark .post-content .mcf-download-wrap a.mcf-download-chip:hover,
body.s-dark .entry-content .mcf-download-wrap a.mcf-download-chip:hover,
body.s-dark .post-content .mcf-download-wrap a.mcf-download-chip:hover {
  filter: brightness(1.08) !important;
  text-decoration: none !important;
}

/* Highlightr */

.entry-content,
.post-content,
.single-content,
.main-content,
.content-wrap,
.entry-content .wp-block-group,
.post-content .wp-block-group {
  overflow: visible !important;
}

.highlightr,
.highlightr-item,
.highlightr-term,
.highlightr-highlight,
.mcf-highlightr,
.mcf-highlight,
.mcf-highlight-term {
  position: relative;
  overflow: visible !important;
}

.highlightr a,
.highlightr-item a,
.highlightr-term a,
.highlightr-highlight a,
.mcf-highlightr a,
.mcf-highlight a,
.mcf-highlight-term a {
  color: inherit;
  text-decoration: inherit;
}

.highlightr-tooltip,
.highlightr-tooltip-box,
.highlightr-popover,
.highlightr-bubble,
.highlightr-card,
.mcf-highlightr-tooltip,
.mcf-highlight-tooltip,
.mcf-highlight-bubble {
  z-index: 999999 !important;
  max-width: min(360px, calc(100vw - 32px)) !important;
  overflow: visible !important;
}

.highlightr-tooltip img,
.highlightr-tooltip-box img,
.highlightr-popover img,
.highlightr-bubble img,
.highlightr-card img,
.mcf-highlightr-tooltip img,
.mcf-highlight-tooltip img,
.mcf-highlight-bubble img {
  max-width: 100%;
  height: auto;
}

html.s-dark .highlightr-tooltip,
html.s-dark .highlightr-tooltip-box,
html.s-dark .highlightr-popover,
html.s-dark .highlightr-bubble,
html.s-dark .highlightr-card,
html.s-dark .mcf-highlightr-tooltip,
html.s-dark .mcf-highlight-tooltip,
html.s-dark .mcf-highlight-bubble,
body.s-dark .highlightr-tooltip,
body.s-dark .highlightr-tooltip-box,
body.s-dark .highlightr-popover,
body.s-dark .highlightr-bubble,
body.s-dark .highlightr-card,
body.s-dark .mcf-highlightr-tooltip,
body.s-dark .mcf-highlight-tooltip,
body.s-dark .mcf-highlight-bubble {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: #d8e1ec !important;
  box-shadow: none !important;
}

html.s-dark .highlightr-tooltip a,
html.s-dark .highlightr-tooltip-box a,
html.s-dark .highlightr-popover a,
html.s-dark .highlightr-bubble a,
html.s-dark .highlightr-card a,
html.s-dark .mcf-highlightr-tooltip a,
html.s-dark .mcf-highlight-tooltip a,
html.s-dark .mcf-highlight-bubble a,
body.s-dark .highlightr-tooltip a,
body.s-dark .highlightr-tooltip-box a,
body.s-dark .highlightr-popover a,
body.s-dark .highlightr-bubble a,
body.s-dark .highlightr-card a,
body.s-dark .mcf-highlightr-tooltip a,
body.s-dark .mcf-highlight-tooltip a,
body.s-dark .mcf-highlight-bubble a {
  color: #68d77a !important;
}

@media (hover: none) and (pointer: coarse) {
  .highlightr-tooltip,
  .highlightr-tooltip-box,
  .highlightr-popover,
  .highlightr-bubble,
  .highlightr-card,
  .mcf-highlightr-tooltip,
  .mcf-highlight-tooltip,
  .mcf-highlight-bubble {
    max-width: calc(100vw - 32px) !important;
  }
}
