@charset "UTF-8";
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h3 {
  font-weight: 600;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

@media (max-width: 940px) {
  .wp-block-pullquote {
    padding: 10px 0;
    margin: 0;
  }
  .mode-zoom-active .wp-block-pullquote {
    font-size: 2rem;
  }
}
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Générique
--------------------------------------------- */
* {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Typography
--------------------------------------------- */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url("../style_commun/fonts/Poppins/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: 400;
  font-weight: 900;
  src: url("../style_commun/fonts/Poppins/Poppins-Black.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 900;
  src: url("../style_commun/fonts/Poppins/Poppins-BlackItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  src: url("../style_commun/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 700;
  src: url("../style_commun/fonts/Poppins/Poppins-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  src: url("../style_commun/fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  src: url("../style_commun/fonts/Poppins/Poppins-ExtraBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 200;
  src: url("../style_commun/fonts/Poppins/Poppins-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 200;
  src: url("../style_commun/fonts/Poppins/Poppins-ExtraLightItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 400;
  src: url("../style_commun/fonts/Poppins/Poppins-Italic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 300;
  src: url("../style_commun/fonts/Poppins/Poppins-Light.ttf") format(truetype);
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 300;
  src: url("../style_commun/fonts/Poppins/Poppins-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  src: url("../style_commun/fonts/Poppins/Poppins-Medium.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 500;
  src: url("../style_commun/fonts/Poppins/Poppins-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: url("../style_commun/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 600;
  src: url("../style_commun/fonts/Poppins/Poppins-SemiBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 100;
  src: url(".../style_commun/fonts/Poppins/Poppins-Thin.ttf") format("truetype");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 100;
  src: url("../style_commun/fonts/Poppins/Poppins-ThinItalic.ttf") format("truetype");
}
.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
  font-family: "Font Awesome 6 Pro";
}

::root {
  font-size: 16px;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #383232;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border-width: 1px;
  border-radius: 5px;
  padding: 0px 0.5em;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

.blockquote {
  margin: 0 1.5em;
}

.wp-block-pullquote {
  margin: 1.5em 0;
  padding: 0;
  border: none;
  background: none;
}
.wp-block-pullquote blockquote {
  margin: 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--color-primaire);
  background-color: rgba(0, 0, 0, 0.03);
  font-style: italic;
  color: #383232;
  position: relative;
  line-height: 1.4;
}
.wp-block-pullquote blockquote::before {
  content: "“";
  float: left;
  font-size: 3em;
  color: var(--color-primaire);
  line-height: 0.8;
  font-style: normal;
}
.wp-block-pullquote blockquote p {
  display: block;
  margin: 0;
}
.wp-block-pullquote blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: bold;
  margin-top: 0.5em;
}
.wp-block-pullquote blockquote cite::before {
  content: "[";
}
.wp-block-pullquote blockquote cite::after {
  content: "]";
}

address {
  margin: 0 0 10px;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

@media (max-width: 940px) {
  * {
    font-size: 14px;
  }
  body.mode-zoom-active p a, body.mode-zoom-active p b, body.mode-zoom-active p em, body.mode-zoom-active p i, body.mode-zoom-active p strong, body.mode-zoom-active p span, body.mode-zoom-active p div {
    font-size: 1.6rem;
  }
  body.mode-zoom-active p {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
  }
  body.mode-zoom-active h2 {
    font-size: 1.9rem;
  }
  body.mode-zoom-active h3 {
    font-size: 1.8rem;
  }
  .mode-zoom-active button,
  .mode-zoom-active input,
  .mode-zoom-active select,
  .mode-zoom-active optgroup,
  .mode-zoom-active textarea {
    font-size: 2rem;
  }
}
.primary {
  color: var(--color-primaire);
}

/* Elements
--------------------------------------------- */
input[type=checkbox] {
  height: 1em;
  width: 1em;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 1.4em;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  left: 0.2em;
  bottom: 0.2em;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(1em);
  -ms-transform: translateX(1em);
  transform: translateX(1em);
}

/* Rounded sliders */
.slider.round {
  border-radius: 2em;
}

.slider.round:before {
  border-radius: 50%;
}

body {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto !important;
}

hr {
  background-color: #383232;
  border: 0;
  height: 1px;
}

ul,
ol {
  margin: 0 0 10px 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

.img-rempli img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}
a:visited {
  color: var(--color-primaire);
}
a:hover, a:focus, a:active {
  color: var(--color-primaire);
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
  cursor: pointer;
}

.lien-sans-style, .posts-populaires a, #navigation-gauche .navigation-gauche_liste_lien, .lien-sans-style:visited, .lien-sans-style:active {
  color: #383232;
  text-decoration: none;
}

a.lien-textuel {
  color: #444;
  text-decoration: underline;
}
a.lien-textuel:visited, a.lien-textuel:hover, a.lien-textuel:active {
  color: #777;
}

/* Forms
--------------------------------------------- */
button {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:active, button:focus {
  border-color: #aaa #bbb #bbb;
}

btn, .btn-grey, .btn-accent, .btn-secondary, .btn-primary, .btn-empty {
  font-weight: bold;
  font-size: 14px;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  line-height: 0;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.1s ease-in;
}
btn:hover, .btn-grey:hover, .btn-accent:hover, .btn-secondary:hover, .btn-primary:hover, .btn-empty:hover {
  transition: all 0.1s ease-in;
  color: white;
}
btn:active, .btn-grey:active, .btn-accent:active, .btn-secondary:active, .btn-primary:active, .btn-empty:active {
  transition: all 0.1s ease-in;
  opacity: 0.5;
}
btn:disabled, .btn-grey:disabled, .btn-accent:disabled, .btn-secondary:disabled, .btn-primary:disabled, .btn-empty:disabled {
  opacity: 0.5;
}
btn:disabled:hover, .btn-grey:disabled:hover, .btn-accent:disabled:hover, .btn-secondary:disabled:hover, .btn-primary:disabled:hover, .btn-empty:disabled:hover {
  pointer-events: none; /* ignore l'hover */
  cursor: default; /* évite le curseur "main" */
}

.btn-empty {
  background: none;
  border-color: var(--color-primaire);
  color: var(--color-primaire);
}
.btn-empty:hover {
  background: var(--color-primaire);
}
.btn-empty:disabled {
  background: none;
  border-color: var(--color-primaire);
  color: var(--color-primaire);
}

.btn-primary {
  background-color: var(--color-primaire);
  border-color: var(--color-primaire);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primaire);
}

.btn-secondary {
  background-color: var(--color-secondaire);
  border-color: var(--color-secondaire);
  color: var(--color-secondaire-texte);
}
.btn-secondary:hover {
  background: var(--color-secondaire);
  color: var(--color-secondaire-texte);
  opacity: 0.7;
}

.btn-accent {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #383232;
}
.btn-accent:hover {
  background: transparent;
  color: #383232;
}

.btn-grey {
  background-color: #919191;
  border-color: #919191;
  color: white;
}
.btn-grey:hover {
  background: #919191;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#primary.site-main > div {
  margin: 3rem 0px;
}

.layout .meta {
  display: flex;
  font-size: 0.8em;
}
.layout .meta .date {
  flex: 1;
}

.titre {
  margin-top: 8px;
}

.columns-2 {
  display: flex;
  gap: 2rem;
}
.columns-2 > * {
  flex: 1 1 0px;
}

.layout-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.layout-1-2 {
  display: grid;
  grid-template-columns: 33% 66%;
  gap: 1em;
}

.layout-2-1 {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}
.layout-2-1 > *:first-child {
  flex-basis: 66.6666666667%;
}
.layout-2-1 > *:nth-child(2) {
  flex-basis: 33.3333333333%;
  max-width: 33%;
}

.layout-1-2 {
  display: flex;
  gap: 2rem;
}
.layout-1-2 > *:first-child {
  flex-basis: 33.3333333333%;
}
.layout-1-2 > *:nth-child(2) {
  flex-basis: 66.6666666667%;
}

.layout-1img {
  display: flex;
  flex-direction: column;
}
.layout-1img .texte {
  flex: 1;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}
.layout-1img .titre {
  flex: 1;
}

.layout-1img_miniature {
  width: 400px;
  height: 300px;
  object-fit: cover;
}

.layout-2img {
  padding: 0px 5px;
}
.layout-2img .titre_section {
  margin-top: 0;
}

.layout-2img_articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.layout-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.layout-3txt {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  justify-content: space-between;
}
.layout-3txt .article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.layout-3txt .article .titre {
  margin: 0px;
  margin-top: 0.5rem;
  flex: 1;
}
.layout-3txt .article .titre h3.titre-texte {
  font-size: 1rem;
}
.layout-3txt .article .meta {
  font-size: 0.8em;
}
.layout-3txt .article .miniature {
  display: none;
}

.layout-3-hori {
  display: block;
}
.layout-3-hori .article {
  display: flex;
  gap: 5px;
}
.layout-3-hori .article .miniature {
  width: 100px;
  height: 75px;
}
.layout-3-hori .article .titre {
  margin-top: 0;
}
.layout-3-hori .article:not(:last-child) {
  border-bottom: 1px solid var(--color-primaire);
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.layout-4img-etendu .miniature {
  flex: 1 0 150px;
  width: 160px;
  height: auto;
  object-fit: cover;
}
.layout-4img-etendu .texte {
  justify-content: space-between;
  margin-left: 5px;
}
.layout-4img-etendu .texte .titre {
  margin: 0;
}

.layout-4img-reduit .article {
  flex-direction: column;
  font-size: 0.8em;
}
.layout-4img-reduit .miniature {
  width: 200px;
  height: 100px;
}

.layout-4txt .miniature-responsive {
  display: none;
}

.layout1img-hori-contai {
  display: flex;
  flex-direction: column;
}

.layout-4 {
  grid-gap: 2rem;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}
.layout-4 .article {
  display: flex;
  max-height: 230px;
}
.layout-4 .article .texte {
  display: flex;
  flex-direction: column;
}
.layout-4 .article .texte .titre .titre-texte {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin: 0;
  line-clamp: 3;
  overflow: hidden;
  display: inline;
}

.layout-6img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.layout-6img .miniature {
  height: 130px;
  object-fit: cover;
}

.layout1img-hori-contai {
  padding: 0.5rem 1rem;
}

.article-horizontal {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.article-horizontal:link, .article-horizontal:visited, .article-horizontal:hover, .article-horizontal:active {
  color: #383232;
  text-decoration: none;
}
.article-horizontal .miniature {
  overflow: hidden;
  width: 120px;
  height: 150px;
  object-fit: cover;
}
.article-horizontal .texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.article-horizontal .titre {
  font-size: 0.8em;
  margin: 0 0 1em 0;
}
.article-horizontal .excerpt {
  flex: 1;
  margin-top: 0;
}
.article-horizontal .meta {
  display: flex;
  margin-bottom: 0;
}
.article-horizontal .date {
  flex: 1;
}

@media (max-width: 940px) {
  #primary.site-main > div {
    margin: initial;
  }
  .layout-4 > *:nth-child(2) {
    margin-bottom: 0;
  }
  .columns-2_container {
    display: flex;
  }
  .layout-2 {
    grid-template-columns: 1fr;
  }
  .layout-2-1, .layout-1-2 {
    flex-direction: column;
  }
  .layout-2-1 > *:first-child {
    flex-basis: auto;
  }
  .layout-2-1 > *:nth-child(2) {
    max-width: 100%;
    margin: 0 auto;
  }
  .layout-responsive .layout-2img_articles.liste-article-mobile {
    flex-direction: row;
  }
  .layout-responsive .layout-2img_articles.liste-article-mobile .article-mobile {
    flex-direction: column;
    flex: 1 1 0;
  }
  .layout-responsive .layout-2img_articles.liste-article-mobile .article-mobile .miniature-responsive {
    width: 170px;
  }
  .layout-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .layout-3txt {
    flex-direction: row;
    margin: 0;
    gap: 1em;
  }
  .mode-zoom-active .columns-2 .titre {
    font-size: 1.2rem;
  }
  .mode-zoom-active .layout-4 .article {
    max-height: none;
  }
  .mode-zoom-active .layout-4 .article .texte {
    height: auto;
  }
  .mode-zoom-active .layout-4 .article .texte .titre {
    overflow: initial;
  }
}
.site {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  z-index: 1;
  background-color: white;
  flex: 1;
  overflow: auto;
}

.content-wrapper {
  margin-top: 11rem;
  margin-bottom: 2em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.site-main {
  padding: 0 10px;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: max-content;
  margin: auto;
}

@media (max-width: 940px) {
  .site {
    width: 100%;
  }
  .site-main {
    padding: 0;
  }
  .mode-zoom-active .site .site-main {
    padding: 0;
  }
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-header {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: fixed;
  background-color: white;
  z-index: 10;
  height: max-content;
  display: flex;
  flex-direction: column;
}

.site-header_main, .nav-main {
  display: flex;
  width: 100%;
  padding: 0.5em 1em;
}

.site-header_main {
  align-items: center;
  height: 100px;
}

.site-header_navigation {
  flex: 1;
  z-index: 10;
}

.nav-main {
  align-items: flex-end;
  height: 2em;
}

.site-header_main_icone {
  background-size: 100%;
  height: 40px;
  width: 40px;
  margin-right: 1em;
}

.site-header_main_burger {
  background-image: url("../style_commun/media/burger.svg");
}

.site-header_main_journal {
  align-self: start;
  display: flex;
  z-index: 100;
}

.site-header_main_journal_image {
  height: 71px;
  width: 89px;
  object-fit: cover;
  object-position: top;
}

.lire-journal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lire-journal span {
  flex: 1;
}

.site-header_main_logo {
  font-size: initial;
  flex: 1;
  height: 100%;
  margin: 0 auto;
  text-align: center;
}
.site-header_main_logo a {
  height: 100%;
  width: 100%;
  padding: 0 10px;
  position: relative;
}
.site-header_main_logo a img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: inherit;
}

.site-header_main_connexion, .site-header_main_abonnement, .site-header_main_deconnexion {
  display: flex;
  align-items: center;
  border-radius: 0.5em;
  margin-left: 1em;
}

.site-header_main_deconnexion {
  font-size: 1.5em;
}

.nav-main {
  margin: 0;
  margin-bottom: 0.25rem;
  gap: 2em;
  justify-content: center;
  list-style-type: none;
}
.nav-main .nav-main-link {
  color: #383232;
  text-decoration: none;
  font-weight: 600;
}

.mode-zoom {
  display: none;
}

#site-header_separator {
  padding: 0;
  margin: 0 10px;
}

#navigation-gauche_container {
  position: absolute;
  width: 100%;
  z-index: 100;
}
#navigation-gauche_container.open .navigation-gauche_overlay {
  display: block;
}
#navigation-gauche_container.open #navigation-gauche {
  padding-bottom: 5rem;
  left: 0;
}

.navigation-gauche_overlay {
  display: none;
  width: 100%;
  height: 100%;
  background-color: RGBA(105, 105, 105, 0.2);
  position: fixed;
}

#navigation-gauche {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  position: fixed;
  background-color: white;
  height: 100%;
  padding: 0.5em 2rem;
  transition: 0.5s;
  max-width: 300px;
  left: -300px;
}
#navigation-gauche .navigation-gauche_fermer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: block;
  text-align: right;
  margin-bottom: 10px;
}
#navigation-gauche .navigation-gauche_fermer:hover {
  cursor: pointer;
}
#navigation-gauche .searchContainer form {
  margin-top: 2rem;
}
#navigation-gauche .navigation-gauche_recherche {
  margin: 2rem 0px 1em 0px;
}
#navigation-gauche .navigation-gauche_liste {
  overflow: hidden;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#navigation-gauche h3 {
  margin-top: 3rem;
  margin-bottom: initial;
}
#navigation-gauche .navigation-gauche_liste_element {
  margin: 1rem 0;
}
#navigation-gauche .navigation-gauche_liste_element:hover {
  color: var(--color-primaire);
}
#navigation-gauche .navigation-gauche_liste_element::after {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  display: block;
  content: "";
  border-bottom: 1px #383232 solid;
}
#navigation-gauche .navigation-gauche_liste_children {
  list-style-type: none;
  margin-left: 2em;
  padding: 0;
}
#navigation-gauche .navigation-gauche_liste_children .navigation-gauche_liste_element::after {
  border-bottom: 0px;
}
#navigation-gauche .navigation-gauche_liste_lien:hover {
  color: var(--color-primaire);
  transition: color 0.2s ease-in-out;
}
#navigation-gauche .reseaux__container {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 1rem;
  flex-wrap: wrap;
}
#navigation-gauche .reseaux__container__link {
  font-size: 2rem;
}

#mobile-navigation-footer_espace, #mobile-navigation-footer {
  display: none;
  height: 45px;
}

#mobile-navigation-footer {
  font-size: 1rem;
  position: fixed;
  z-index: 100;
  width: 100%;
  bottom: 0;
}
#mobile-navigation-footer ul {
  list-style-type: none;
}
#mobile-navigation-footer #mobile-navigation-footer_categories {
  background-color: var(--color-primaire);
  align-items: center;
  z-index: initial;
  position: relative;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0em 5px;
  justify-content: space-between;
}
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element {
  display: inline-block;
  color: white;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_icone {
  flex: 1 1 0;
}
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_icone_img {
  font-size: 20px;
}
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_lien:link,
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_lien:visited,
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_lien:hover,
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_lien:active {
  color: white;
  text-decoration: none;
}
#mobile-navigation-footer #mobile-navigation-footer_categories .mobile-navigation-footer_categories_element_texte {
  flex: 2 1 0;
  text-align: center;
}

.mobile-navigation-footer_souscat {
  position: fixed;
  margin: 0;
  padding: 5px;
  background-color: var(--color-primaire);
  transition: 0.5s;
  z-index: -1;
  bottom: 45px;
  transform: translateY(100%);
  text-align: start;
  display: flex;
  flex-direction: column;
}
.mobile-navigation-footer_souscat.open {
  transform: initial;
}
.mobile-navigation-footer_souscat li {
  margin: 0 15px;
  padding: 10px 0px;
}
.mobile-navigation-footer_souscat li:not(:last-child) {
  border-bottom: 1px solid white;
}
.mobile-navigation-footer_souscat li a:link, .mobile-navigation-footer_souscat li a:visited, .mobile-navigation-footer_souscat li a:hover, .mobile-navigation-footer_souscat li a:active {
  color: white;
  text-decoration: none;
}

.mobile-navigation-footer_souscat_gauche {
  left: 0;
}

.mobile-navigation-footer_souscat_droite {
  right: 0;
}

@media (max-width: 940px) {
  .site-header_main, .nav-main {
    padding: 0.5em;
  }
  .site-header_main_journal, .site-header_main_connexion, .site-header_main_deconnexion {
    display: none;
  }
  .site-header_main_abonnement {
    padding: 0 0.5em;
    margin-left: 0;
  }
  #site-header_separator {
    margin: 0;
  }
  #navigation-gauche {
    width: 100%;
    left: -100%;
  }
  #site-navigation {
    display: none;
  }
  .mode-zoom {
    display: block;
    text-align: center;
    font-size: 1rem;
  }
  #mobile-navigation-footer {
    display: flex;
  }
  #mobile-navigation-footer_espace {
    display: block;
  }
  .mode-zoom-active .site-header_main_abonnement input.btn-accent {
    font-size: 1.1rem;
  }
  .mode-zoom-active .site-header_main {
    font-size: 1rem;
  }
  .mode-zoom-active #navigation-gauche_container.open #navigation-gauche {
    width: 100%;
  }
}
@media screen and (max-width: 1010px) {
  .nav-main-link {
    font-size: 15px;
  }
  .nav-main  {
    gap: 1em;
  }
  .dropdown li a {
    font-size: 15px;
  }
}
footer {
  background-color: #383232;
  color: white;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

footer .footer_content .footer_menu .charte-ethique a {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
}

.footer_content {
  padding: 2em 20px;
  max-width: 1400px;
  margin: auto;
  display: flex;
}

.footer_consent:link, .footer_consent:visited, .footer_consent:hover, .footer_consent:active {
  color: var(--color-primaire);
}

.footer_gauche {
  flex-basis: 33.3333333333%;
  display: flex;
  flex-direction: column;
}

.footer_menu {
  flex-basis: 66.6666666667%;
  list-style-type: none;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer_menu_lien, .footer_menu_lien:link, .footer_menu_lien:visited, .footer_menu_lien:hover, .footer_menu_lien:active {
  color: white;
  text-decoration: none;
}

@media (max-width: 940px) {
  .footer_content {
    flex-direction: column;
  }
  .droits-reserves {
    flex-basis: 100%;
  }
  .footer_menu {
    flex-basis: 100%;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.titre_section, .titre_section:link, .titre_section:visited, .titre_section:hover, .titre_section:active {
  color: var(--color-primaire);
  font-weight: bold;
  text-decoration: none;
}

h2.titre_section {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.titre-prefixe {
  display: inline;
  margin-right: 0.2em;
}
.titre-prefixe_live {
  color: white;
  background-color: red;
}

.titre-prefixe_img {
  vertical-align: sub;
  height: 1.3em;
}

.titre-prefixe_img_grande {
  height: 2em;
}

.titre-prefixe_txt {
  border-radius: 5px;
  padding: 0px 5px;
}

.titre-prefixe_video {
  color: white;
  background-color: var(--color-primaire);
}

.titre-prefixe_audio {
  color: #383232;
  background-color: var(--color-secondaire);
}

.titre-texte {
  display: inline;
}

h3.titre-texte {
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin: 0;
  line-clamp: 3;
  overflow: hidden;
  font-size: 1rem;
}

.voir_plus {
  display: inline-block;
  position: relative;
  background-color: var(--color-secondaire);
  border-radius: 50%;
  text-align: center;
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
  margin: 0 0.5em;
}
.voir_plus:after {
  content: "+";
  font-weight: 900;
  font-size: 1.2em;
  line-height: 1;
}

.titre-section-surligne {
  display: inline-block;
  padding: 2px 5px;
  color: var(--color-primaire);
  background-color: var(--color-secondaire);
  font-weight: bold;
}

.habillage {
  position: fixed !important;
  width: 100vw;
  height: 100vw;
}

.habillage iframe {
  width: 100vw !important;
  height: 100vh !important;
}

.spon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px;
}

.site-main .spon {
  margin-top: 50px;
}

.banniere-haute {
  text-align: center;
  margin-bottom: 10px;
}

.spon_mobile {
  display: none;
}

.deuxieme-haute {
  text-align: center;
  margin-bottom: 10px;
}

#sample_pub_article {
  display: none;
}

#spon-popin {
  position: fixed;
  bottom: 100px;
  right: 0;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  display: none;
}
#spon-popin.affiche {
  display: block;
}
#spon-popin iframe {
  width: 400px;
  height: 225px;
}

.spon-popin_header {
  display: block;
  width: 100%;
  background-color: #343434;
  padding-right: 10px;
}

.spon-popin_header_fermer {
  color: white;
  display: inline-block;
  width: 100%;
  text-align: right;
}

.spon-popin_body {
  display: none;
}

g-single {
  text-align: center;
}

.spon-inread .g {
  margin: 0 auto;
  max-width: 100vw;
}

@media (max-width: 940px) {
  .spon {
    text-align: center;
    width: 100%;
  }
  .site-main .spon {
    margin-top: 0;
  }
  .spon_paywall {
    display: none;
  }
  .spon_desktop {
    display: none;
  }
  .spon_mobile {
    display: block;
  }
  #spon-popin {
    width: 100%;
    background-color: #343434;
    text-align: center;
    bottom: 45px;
  }
  .spon-popin_header_fermer {
    font-size: 1.5em;
  }
  .posts-populaires {
    padding: 20px 15px 10px 15px;
  }
}
.blocs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-column-gap: 50px;
  grid-row-gap: 20px;
}

.bloc-titre-carre {
  flex: 1 0 50%;
  display: flex;
  flex-direction: column;
}
.bloc-titre-carre h2 {
  background-color: var(--color-primaire);
  color: white;
  font-size: 1em;
  padding-left: 5px;
  margin: 0;
}
.bloc-titre-carre .bloc-titre-carre_texte {
  flex: 1;
}

.searchContainer form {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #D9D9D9;
}
.searchContainer form input {
  font-size: 12px;
  padding: 0.3rem;
  min-width: 200px;
}
.searchContainer form input:focus {
  min-width: 200px !important;
  outline: none;
  font-size: 12px;
  padding: 0.3rem;
}
.searchContainer form button {
  padding: 0.3rem;
  border: none;
  background: transparent;
  color: #D9D9D9;
}
.searchContainer .searchResult {
  width: 100%;
  padding: 0;
}
.searchContainer .searchResult ul#searchresultList {
  padding: 10px;
  border: 1px solid #D9D9D9;
  background-color: white;
  border-radius: 5px;
  margin: 0;
}
.searchContainer .searchResult ul#searchresultList li:first-of-type {
  margin-bottom: 20px;
}
.searchContainer .searchResult ul#searchresultList li.countResult {
  font-size: 10px;
}
.searchContainer .searchResult ul#searchresultList a {
  text-decoration: none;
  font-size: 10px;
  color: #000;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.searchContainer .searchResult ul#searchresultList a img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 10px;
}
.searchContainer .searchResult ul#searchresultList a p {
  margin: 0;
  padding: 0;
}
.searchContainer .searchResult ul#searchresultList a p.meta {
  display: flex;
  justify-content: space-between;
}
.searchContainer .searchResult ul#searchresultList a span {
  font-size: 9px;
  color: #D9D9D9;
}

#onesignal-slidedown-container {
  z-index: 1000 !important;
}

#nadzU_softAskingDiv {
  z-index: 1000 !important;
}

@media (max-width: 940px) {
  #onesignal-bell-container {
    bottom: 70px !important;
    z-index: 9 !important;
  }
}
.pwa-install {
  display: none;
  position: fixed;
  width: 100%;
  max-width: 1080px;
  bottom: 45px;
  left: 50%;
  transform: translate(-50%);
  background-color: white;
  border: 5px solid var(--color-primaire);
  z-index: 1000;
  padding: 10px;
}

.pwa-install_haut {
  display: flex;
  flex-direction: row;
}

.pwa-install_infos {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.pwa-install_icone, .pwa-install_texte {
  padding: 10px;
}

.pwa-install_icone {
  max-width: 30%;
  object-fit: contain;
  object-position: top;
}

.pwa-install_texte > * {
  margin-top: 0;
}

.pwa-install_texte_lien {
  line-break: anywhere;
}

.pwa-install_fermer {
  font-size: 2rem;
}
.pwa-install_fermer:hover {
  cursor: pointer;
}

.pwa-install_btn_container {
  text-align: right;
}

.pwa-install_btn {
  display: inline-block;
}

@media (max-width: 940px) {
  .pwa-install_scroll.pwa-install_active {
    display: block;
  }
}
/* Bannière Haute */
.banniere-haute {
  max-width: 970px;
  width: 100%;
  min-height: 120px;
  max-height: 280px;
  justify-self: center;
  align-content: center;
  margin: 10px auto !important;
}

.banniere-haute div {
  margin: 0 auto;
}

.banniere-haute #gam_banniere_haute {
  max-width: 1000px;
  width: 100%;
  height: auto;
}

.banniere-haute .g {
  max-width: 100%;
  max-height: 100%;
  align-content: center;
}

.banniere-haute img {
  width: 100%;
}

/* Ad Manager Divs */
.g,
.g > div,
.g > div > a {
  height: 100% !important;
}

.g img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* l’image remplit la div, quitte à être recadrée */
}

.g > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.g > div > p {
  font-size: 12px;
  margin-bottom: 10px;
}

/* InRead - Article_Arcticle 1 & 2 */
.gam_article,
.spon-inread-0,
.spon-inread-2 {
  min-width: 300px;
  width: 100%;
  height: 280px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* Placeholder Publicité */
.placeholder-publicite {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.placeholder-publicite a {
  margin: 0 auto;
}

.placeholder-publicite img {
  width: 40%;
  height: auto;
  max-height: 150px;
  filter: grayscale(100%);
}

.placeholder-publicite .placeholder-publicite-button {
  background-color: rgb(208, 208, 208);
  color: white;
  font-weight: bold;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  margin: 5px auto;
  text-decoration: none;
}

.placeholder-publicite-hidden {
  display: none;
}

/* Bouton "ne plus voir cette publicité" */
.gam-close-button {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.gam-close-button:visited {
  color: #383232;
}

/* Droite Haute / Gratte Ciel */
.droite_haute {
  max-width: 340px;
  width: 100%;
  height: 830px;
  justify-self: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* Pave Medium */
.pave_medium {
  max-width: 300px;
  width: 100%;
  height: 280px;
  align-self: center;
  justify-self: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* Grand Angle */
.grand_angle {
  width: 340px;
  height: 640px;
  justify-self: center;
  justify-content: center;
}

/* En format mobile */
@media (max-width: 768px) {
  .banniere-haute {
    max-width: 320px;
    height: 150px;
  }
  .droite_haute {
    max-width: 310px;
    height: 840px;
  }
}
.faatured-journal_img {
  width: 89px;
  height: 71px;
  overflow: hidden;
  object-fit: cover;
  object-position: top;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Utilitaires
--------------------------------------------- */
.cmc-collapse_content {
  display: none;
}

.dropdown-container {
  position: relative;
}
.dropdown-container .dropdown_arrow {
  transition: 0.2s;
}
.dropdown-container.open .dropdown_arrow_up {
  transform: rotate(-90deg);
}

.dropdown-container_hover:hover .dropdown {
  display: flex;
}
.dropdown-container_hover:hover .dropdown_arrow_bottom {
  transform: rotate(90deg);
}

.dropdown_arrow {
  display: inline-block;
}

.dropdown {
  display: none;
  position: absolute;
  z-index: 1;
  background-color: var(--color-primaire);
  margin: 0;
  padding: 0 10px;
  flex-direction: column;
  list-style-type: none;
  white-space: nowrap;
}
.dropdown li {
  padding: 0.5em 2em 0.5em 0;
}
.dropdown li:not(:last-child) {
  border-bottom: 1px white solid;
}
.dropdown li a {
  color: white;
  text-decoration: none;
}

.grid_2x2 {
  display: grid;
}
.grid_2x2 > *:first-child {
  grid-column: 1;
  grid-row: 1;
}
.grid_2x2 > *:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.grid_2x2 > *:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.grid_2x2 > *:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.posts-premium {
  display: flex;
  flex-direction: column;
  gap: 1em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.posts-premium .titre {
  font-weight: bold;
}

.posts-premium_element a, .posts-premium_element a:visited, .posts-premium_element a:hover, .posts-premium_element a:active {
  color: #383232;
  text-decoration: none;
}

.posts-premium_element:not(:last-child) {
  padding-bottom: 1em;
  border-bottom: 1px solid var(--color-primaire);
}

.posts-populaires ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.posts-populaires li:not(:last-child) {
  border-bottom: 1px solid var(--color-primaire);
  margin-bottom: 5px;
}
.posts-populaires li h2 {
  font-size: 1em;
}
.posts-populaires li .titre {
  font-weight: bold;
}
.posts-populaires p {
  margin: 0 0 5px 0;
}
.posts-populaires .meta {
  display: flex;
}
.posts-populaires .meta .date {
  flex: 1;
}

/**
 * Sous forme de bloc
 */
.loading-block div {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #dce7ff;
  animation: loading-block 1s linear infinite;
}

.loading-block {
  width: 100px;
  height: 100px;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}

.loading-block div {
  box-sizing: content-box;
}

@keyframes loading-block {
  0% {
    background: #508ee7;
  }
  12.5% {
    background: #508ee7;
  }
  12.625% {
    background: #dce7ff;
  }
  100% {
    background: #dce7ff;
  }
}
.share-button:hover {
  cursor: pointer;
}

.share-button_txt {
  position: absolute;
  background-color: #494949;
  color: white;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 4px;
  font-weight: 200;
  top: -2rem;
  opacity: 0;
  transition: opacity 3.5s;
}

.share-button_txt_visible {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

/* Le direct
--------------------------------------------- */
.direct_container_widget {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.direct_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid lightgrey;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}
.direct_header_container {
  max-width: 100%;
  overflow: hidden;
}
.direct_header_titre {
  margin: 0;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  animation: scroll 20s linear infinite;
}
.direct_header_titre_link {
  text-decoration: none;
  color: black;
}
.direct_header_titre_link:visited {
  color: black;
}
.direct_header_logo {
  display: flex;
  gap: 15px;
}
.direct_header_span {
  font-weight: normal;
  display: inline-block;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-100%);
  }
  90% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(0%);
  }
}
.direct_card {
  border: 1px solid lightgray;
  border-radius: 5px;
  width: 85%;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.direct_card_time {
  color: grey;
  margin: 0;
}
.direct_card_title {
  margin: 0;
}
.direct_card_description {
  margin: 0;
}

.direct_card_container {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 38px;
}
.direct_card_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 15px;
  height: 15px;
  background-color: lightgray;
  border-radius: 100%;
}
.direct_card_container::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 18px;
  width: 3px;
  height: 100%;
  background-color: lightgray;
}

@media screen and (max-width: 940px) {
  .direct_card {
    width: 90%;
  }
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/* CMC_Modulable Popular Post images 
--------------------------------------------- */
div.posts-populaires .liste-posts .liste-posts_element a {
  display: flex;
  gap: 0.25rem;
  flex-direction: row;
  height: min-content;
  max-height: 150px;
  overflow-y: hidden;
}
div.posts-populaires .liste-posts .liste-posts_element a img {
  width: 50px;
  height: 100%;
  max-height: 100px;
  flex: 30% 0 1;
  margin: auto;
}
div.posts-populaires .liste-posts .liste-posts_element a .content {
  flex: 70% 1 0;
}
div.posts-populaires .liste-posts .liste-posts_element a .content p {
  font-size: 14px;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
// Author
--------------------------------------------------------------*/
.auteur {
  margin-top: 5px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.auteur_avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.auteur_info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.author-details {
  text-align: left;
}
.author-details_name {
  text-align: center;
}

.avatar {
  flex: 1;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 100%;
  object-fit: cover;
}

.author-container {
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}

.autheur_image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.layout-6img {
  gap: 40px;
}

.pagination {
  margin-top: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination .current {
  color: var(--color-primaire);
}

.pagination_pages {
  margin: 0;
  Padding: 0;
  list-style-type: none;
}

@media screen and (max-width: 900px) {
  .author-details h1 {
    font-size: 1.2em;
  }
  .layout-6img {
    grid-template-columns: 1fr;
  }
  .author-article {
    display: flex;
  }
  .autheur_image {
    height: 110px;
    width: 150px;
    object-fit: cover;
  }
  .author-excerpt {
    display: block;
  }
  .texte {
    padding: 0 10px;
  }
}
/*
 *   On charge le responsive à la fin
*/
@media (max-width: 940px) {
  h3.titre-texte {
    font-size: 1rem;
    display: inline;
  }
  .titre_section, h2.titre_section {
    margin-bottom: 0.2rem;
  }
  .layout-responsive {
    width: 100%;
    margin-top: 10px;
  }
  .layout-responsive .liste-article-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .layout-responsive .article-mobile {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    max-width: initial;
  }
  .layout-responsive .article-mobile:link, .layout-responsive .article-mobile:visited, .layout-responsive .article-mobile:hover, .layout-responsive .article-mobile:active {
    color: #383232;
    text-decoration: none;
  }
  .layout-responsive .article-mobile .miniature-responsive {
    display: inline-block;
    width: 130px;
    height: 130px;
    flex: 0 0 130px;
    object-fit: cover;
  }
  .layout-responsive .article-mobile .texte {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
  }
  .layout-responsive .article-mobile .titre {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
  }
  .layout-responsive .article-mobile .meta {
    display: flex;
    font-size: 0.7em;
  }
  .layout-responsive .article-mobile .meta ~ .blocs3 {
    position: static;
  }
  .layout-responsive .article-mobile .date {
    flex: 1;
  }
  .home-layout {
    padding: 20px 15px 10px 15px;
  }
  .layout-responsive-scroll {
    width: 100%;
    padding-left: 10px;
  }
  .layout-responsive-scroll .columns-2 {
    overflow-x: scroll;
  }
  .layout-responsive-scroll .article-mobile {
    display: flex;
    flex-direction: column;
    width: 200px;
    flex: 0 0 200px;
  }
  .layout-responsive-scroll .article-mobile .miniature-responsive {
    display: block;
    width: 200px;
    height: 150px;
    object-fit: cover;
  }
  .layout-responsive-scroll .article-mobile .titre {
    flex: 1;
  }
  .mode-zoom-active .layout-responsive .article-mobile {
    display: flex;
    flex-direction: row;
  }
  .mode-zoom-active .layout-responsive .meta {
    font-size: 1em;
    justify-content: space-between;
  }
  .mode-zoom-active .layout-responsive .meta .date {
    flex: initial;
  }
  .mode-zoom-active .layout-responsive-scroll {
    padding-right: 10px;
  }
  .mode-zoom-active .layout-responsive-scroll .columns-2, .mode-zoom-active .layout-responsive-scroll .layout-3txt {
    flex-direction: column;
    overflow-x: initial;
  }
  .mode-zoom-active .layout-responsive-scroll .columns-2 .article-mobile, .mode-zoom-active .layout-responsive-scroll .layout-3txt .article-mobile {
    width: 100%;
    flex-direction: row;
    gap: 1rem;
  }
  .mode-zoom-active .layout-responsive .miniature-responsive, .mode-zoom-active .layout-responsive-scroll .miniature-responsive, .mode-zoom-active .hero .hero_main .hero_main_image {
    width: 150px;
    height: 200px;
    flex-basis: 150px;
  }
  .mode-zoom-active .catagories-lies_titre_mobile {
    font-size: 1.9rem;
  }
  .mode-zoom-active .titre, .mode-zoom-active .article .texte .titre .titre-texte, .mode-zoom-active .hero_side_title.titre h3.titre-texte, .mode-zoom-active .layout-3txt .article h3.titre-texte {
    font-size: 1.8rem;
  }
}
@media (max-width: 400px) {
  h2.titre_section {
    font-size: 1.8rem;
  }
  .mode-zoom-active .layout-responsive .article-mobile {
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-height: initial;
    height: auto;
  }
  .mode-zoom-active .layout-responsive-scroll .columns-2 .article-mobile, .mode-zoom-active .layout-responsive-scroll .layout-3txt .article-mobile {
    flex-direction: column;
  }
  .mode-zoom-active .layout-responsive .miniature-responsive, .mode-zoom-active .layout-responsive-scroll .miniature-responsive, .mode-zoom-active .layout-responsive .layout-responsive-scroll, .mode-zoom-active .hero .hero_main .hero_main_image {
    width: 350px;
    height: 200px;
    flex-basis: 200px;
  }
}
