/*=====================
	VARS
=====================*/
:root {
  --black: #000;
  --white: #fff;
  --grey: #F9F9F9;
  --grey-dark: #6A6A6A;
  --border-color : #EFEFEF;
  --text-color: #6A6A6A;
  --title-color: #161616;
  --primary: #c52031;
  /*
  --secondary: #9FB73A;
  --third: #5494CC;
  */
  --bg-color: #fff;
  --font-family-title: "Poppins", sans-serif;
  --font-family-body: "Poppins", sans-serif;

  --primary-rgb: 0, 109, 119;
  --secondary-rgb: 3, 27, 78;
  --white-rgb: 255, 255, 255;

  --font-size7: 7px;
  --font-size8: 8px;
  --font-size9: 9px;
  --font-size10: 10px;
  --font-size11: 11px;
  --font-size12: 12px;
  --font-size13: 13px;
  --font-size14: 14px;
  --font-size15: 15px;
  --font-size16: 16px;
  --font-size18: 18px;
  --font-size20: 20px;
  --font-size22: 22px;
  --font-size24: 24px;
  --font-size26: 26px;
  --font-size28: 28px;
  --font-size30: 30px;
  --font-size32: 32px;
  --font-size38: 38px;
  --font-size40: 40px;
  --font-size44: 44px;
  --font-size48: 48px;
  --font-size56: 56px;
  --font-size64: 64px;
  --font-size72: 72px;
  --font-size80: 80px;
  --font-size96: 96px;
  --font-size128: 128px;
}

b, strong {
	font-weight: 700;
}
a {
  text-decoration: underline; color: var(--primary);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/*
.hentry a:not(.fa,.fab,.fad,.fal,.far,.fas, .lnr, button, .theme-btn .wp-element-button, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a):hover,
.post-content a:not(.fa,.fab,.fad,.fal,.far,.fas, .lnr, button, .theme-btn .wp-element-button, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a):hover {
  text-decoration: underline; color: var(--primary);
}
*/
.hentry a:not(:where(.wp-element-button, .fa, .fab, .fad, .fal, .far, .fas, .lnr)):hover,
.post-content a:not(:where(.wp-element-button, .fa, .fab, .fad, .fal, .far, .fas, .lnr)):hover {
    text-decoration: underline;
    color: var(--primary);
}

/*----Body----*/
body.block-editor-page, body {font-family: var(--font-family-body); font-size: 16px;line-height: 28px;}

/*----Paragraph----*/
.editor-styles-wrapper p,
p.wp-block-paragraph, p {
  font-size: 16px;
  text-align: left;
  color: var(--text-color);
	line-height: 1.6;
}

/*----Blocks----*/
.wp-block, .is-root-container {
  max-width: 1200px;
}
.wp-block[data-align="wide"] {
  max-width: 1200px;
}
.wp-block[data-align="full"] {
  max-width: none;
}

/*----Page title wrapper----*/
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper .editor-post-title {
  font-family: var(--font-family-title);
	font-size: 42px;
	border-bottom: 4px solid var(--primary);
	padding-bottom: 25px;
	margin-bottom: 25px;
	color: var(--primary);
}

/*----block wrapper----*/
.editor-styles-wrapper .wp-block, .editor-styles-wrapper .is-root-container {
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	margin-bottom: 15px;
  font-family: var(--font-family-body);
}

/*----Titles----*/
h1.wp-block-heading,
.hentry h1, h1 {font-size: 32px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}
h2.wp-block-heading,
.hentry h2, h2 {font-size: 28px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}
h3.wp-block-heading,
.hentry h3, h3 {font-size: 24px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}
h4.wp-block-heading,
.hentry h4, h4 {font-size: 20px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}
h5.wp-block-heading,
.hentry h5, h5 {font-size: 18px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}
h6.wp-block-heading,
.hentry h6, h6 {font-size: 16px; margin: 0.6em 0; font-family: var(--font-family-title); color: var(--title-color); line-height: 1.2; letter-spacing: 1px; font-weight: 600;}

/*
h1, .h1 {font-size: 32px !important;}
h1.small {font-size: 30px !important;}
h2, .h2 {font-size: 28px !important;}
h2.small {font-size: 26px !important;}
h3, .h3 {font-size: 24px !important;}
h3.small {font-size: 20px !important;}
h4, .h4 {font-size: 20px !important;}
h4.small {font-size: 18px !important;}
h5, .h5 {font-size: 18px !important;}
h5.small {font-size: 16px !important;}
h6, .h6 {font-size: 16px !important;}
h6.small {font-size: 14px !important;}
*/
.hentry .wp-block-heading:first-child {margin-top:0;}

/*----block ol/ul li-----*/
ul.block-editor-block-list__block,
ol.block-editor-block-list__block,
ul.wp-block-list,
ol.wp-block-list, ul, ol {padding-left: 25px;}
ul.block-editor-block-list__block li,
ol.block-editor-block-list__block li,
ul.wp-block-list li,
ol.wp-block-list li {color: var(--text-color);line-height: 1.6 !important; font-size: 16px; margin-top:0 !important; margin-bottom: 0 !important;}
ul.block-editor-block-list__block li::marker,
ol.block-editor-block-list__block li::marker,
ul.wp-block-list li::marker,
ol.wp-block-list li::marker,
ul li::marker,
ol li::marker {
  color: var(--primary);
}

/*----block espace-----*/
.editor-styles-wrapper .wp-block-spacer {
  margin:0 auto;
  background-color: rgba(0, 0, 0, 0.03);
}
.editor-styles-wrapper .block-library-spacer__resize-container {
	clear: both;
	margin-bottom: 0;
}

/*----block colonnes-----*/
.editor-styles-wrapper :where(.wp-block-columns) {
	gap: 2em;
	border: 1px solid #000;
}
.editor-styles-wrapper :where(.wp-block-column) {
	border: 1px solid #ccc;
}


/*----Has Background-----*/
:root :where(.has-background),
h1:where(.wp-block-heading).has-background,
h2:where(.wp-block-heading).has-background,
h3:where(.wp-block-heading).has-background,
h4:where(.wp-block-heading).has-background,
h5:where(.wp-block-heading).has-background,
h6:where(.wp-block-heading).has-background {padding: 25px 25px; max-width: 1150px !important;}


/*----Boutons----*/
.wp-block-buttons {margin-bottom: 15px;}
.wp-block-button .wp-element-button,
:root :where(.wp-element-button, .wp-block-button__link) {
  color: var(--white);
  border: 2px solid transparent;
	background-color: #232323;
	border-radius: 5px;
	box-shadow: none;
	text-decoration: none;
	display: inline-block;
	position: relative;
	z-index: 1;
  font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	text-align: center;
	padding: 5px 30px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.wp-block-button .wp-element-button:hover,
:root :where(.wp-element-button, .wp-block-button__link):hover {
  color: #232323;
  border: 2px solid #232323;
	background-color: transparent;
}

.wp-block-button .wp-element-button.has-secondary-background-color {
  color: var(--white);
  border: 2px solid var(--secondary);
	background-color: var(--secondary);
}

.wp-block-button .wp-element-button.has-third-background-color {
  color: var(--white);
  border: 2px solid var(--third);
	background-color: var(--third);
}
.wp-block-button .wp-element-button.has-secondary-background-color:hover,
.wp-block-button .wp-element-button.has-third-background-color:hover {
  color: var(--white);
  border: 2px solid var(--primary);
	background-color: var(--primary) !important;
}


/*----Boutons outlines----*/
.wp-block-button.is-style-outline .wp-element-button {
  color: var(--primary);
  border: 2px solid var(--primary);
  background-color: var(--white);
}
.wp-block-button.is-style-outline .wp-element-button:hover   {
  color: var(--white);
  border: 2px solid var(--secondary);
	background-color: var(--secondary);
}

.wp-block-button.is-style-outline .wp-element-button.has-secondary-background-color {
  color: var(--secondary);
  border: 2px solid var(--secondary);
  background-color: var(--white) !important;
}
.wp-block-button.is-style-outline .wp-element-button.has-third-background-color {
  color: var(--third);
  border: 2px solid var(--third);
  background-color: var(--white) !important;
}
.wp-block-button.is-style-outline .wp-element-button.has-secondary-background-color:hover,
.wp-block-button.is-style-outline .wp-element-button.has-third-background-color:hover {
  color: var(--white);
  border: 2px solid var(--primary);
	background-color: var(--primary) !important;
}

.wp-block-button.is-style-outline .wp-element-button.has-secondary-background-color.secondary-background-hover:hover,
.wp-block-button.is-style-outline .wp-element-button.has-third-background-color.secondary-background-hover:hover {
  color: var(--white);
  border: 2px solid var(--secondary);
	background-color: var(--secondary) !important;
}


/*----Blockquote-----*/
.wp-block-quote,
blockquote {
  border-left: .25em solid var(--secondary);
  margin: 25px auto !important;
}
.wp-block-quote,
blockquote {
	border-left: .25em solid;
  border-color: var(--secondary);
	margin: 10px 0 20px;
	margin: 10px 0;
	padding-left: 1em;
	padding-left: 15px;
	padding-right: 15px;
	/*border-left: none;*/
}
.wp-block-quote p,
blockquote p {font-style: italic;}
/*
.wp-block-quote{position: relative;}
.wp-block-quote::before, .wp-block-quote::after {
	font-size: 42px;
	color: var(--secondary);
	font-weight: 700;
	position: absolute;
}
.wp-block-quote::before {
    content: "“";
    left: -10px;
    top: -20px;
}
.wp-block-quote::after {
    content: "”";
    right: -10px;
    bottom: -20px;
}
*/





/*----figcaption-----*/
.wp-block-embed :where(figcaption) {
	margin-bottom: 1em;
	margin-top: .5em;
	color: var(--fourth);
}

.editor-post-featured-image__preview .editor-post-featured-image__preview-image {
	aspect-ratio: auto;
	object-fit: cover;
	object-position: 50% 50%;
	width: 100%;
}

/*----IMAGES-----*/
:where(.editor-styles-wrapper) .is-layout-flow > .alignleft, .wp-block-image.alignleft {
	float: left;
	margin-inline-start: 0;
	margin-inline-end: 2em;
  margin: .5em 1em .5em 0;
}
:where(.editor-styles-wrapper) .is-layout-flow > .alignright, .wp-block-image.alignright {
	float: right;
	margin-inline-start: 0;
	margin-inline-end: 2em;
  margin: .5em 1em .5em 0;
}
:where(.editor-styles-wrapper) .is-layout-flow > .aligncenter, .wp-block-image.aligncenter {
	float: none;
  margin: 0 auto;
}


/*----block galeries-----*/
/*
figure.wp-block-gallery.has-nested-images {
	align-items: normal;
	border: 1px solid #000;
}
*/
