/* Styles de l'éditeur de blocs : le rédacteur voit ce que voit le lecteur. */

.editor-styles-wrapper {
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #12212f;
}

.editor-styles-wrapper .wp-block {
	max-width: 828px;
}

.editor-styles-wrapper p {
	font-family: 'IBM Plex Serif', Georgia, serif;
	font-size: 17.5px;
	line-height: 1.75;
}

.editor-styles-wrapper h2 {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
	padding-bottom: 9px;
	border-bottom: 2px solid #17457e;
}

.editor-styles-wrapper h3 {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.editor-styles-wrapper .wp-block-table table {
	border: 1px solid #cdd7e3;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 14.5px;
}

.editor-styles-wrapper .wp-block-table thead th {
	background: #17457e;
	color: #fff;
	text-align: left;
	font-weight: 600;
	padding: 12px 14px;
	border: none;
}

.editor-styles-wrapper .wp-block-table td {
	padding: 13px 14px;
	border: none;
	border-bottom: 1px solid #dde5ee;
}

.editor-styles-wrapper .wp-block-table tbody tr:nth-child(even) {
	background: #f6f8fb;
}

.editor-styles-wrapper .wp-block-table.is-style-bar-light thead th {
	background: #eef2f7;
	color: #2b3b4b;
}

.editor-styles-wrapper .wp-block-table.is-style-bar-facts td:first-child,
.editor-styles-wrapper .wp-block-table.is-style-bar-sources td:first-child {
	background: #f6f8fb;
	font-weight: 600;
}

/* Composants, vue simplifiée mais reconnaissable */

.editor-styles-wrapper .bar-panel {
	border: 1px solid #cdd7e3;
	border-radius: 3px;
}

.editor-styles-wrapper .bar-panel--key {
	border-color: #17457e;
}

.editor-styles-wrapper .bar-panel--warn {
	border-color: #b8420e;
}

.editor-styles-wrapper .bar-panel__head {
	background: #eef2f7;
	border-bottom: 1px solid #cdd7e3;
	font-size: 12.5px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 16px;
	margin: 0;
	border-top: none;
	border-left: none;
	border-right: none;
}

.editor-styles-wrapper .bar-panel--key .bar-panel__head {
	background: #17457e;
	color: #fff;
}

.editor-styles-wrapper .bar-panel--warn .bar-panel__head {
	background: #b8420e;
	color: #fff;
}

.editor-styles-wrapper .bar-panel__body {
	padding: 15px 16px;
}

.editor-styles-wrapper .bar-panel__body p {
	font-size: 16.5px;
	line-height: 1.6;
	margin: 0 0 9px;
}

.editor-styles-wrapper .bar-note {
	background: #eef2f7;
	border-radius: 3px;
	padding: 16px 18px;
}

.editor-styles-wrapper .bar-note__label {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #17457e;
	margin-right: 8px;
}

.editor-styles-wrapper .bar-pros {
	border: 1px solid #cdd7e3;
	border-radius: 3px;
	display: flex;
	flex-wrap: wrap;
}

.editor-styles-wrapper .bar-pros__col {
	flex: 1 1 260px;
}

.editor-styles-wrapper .bar-pros__head {
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 16px;
	margin: 0;
	border: none;
	border-bottom: 1px solid #cdd7e3;
}

.editor-styles-wrapper .bar-pros__col--plus .bar-pros__head {
	background: #edf6f1;
	color: #15593a;
}

.editor-styles-wrapper .bar-pros__col--minus .bar-pros__head {
	background: #fbefe9;
	color: #93360b;
}

.editor-styles-wrapper .bar-pros__list,
.editor-styles-wrapper .bar-steps,
.editor-styles-wrapper .bar-toc__list {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 15.5px;
}

.editor-styles-wrapper .bar-table-caption,
.editor-styles-wrapper .bar-table-source {
	font-family: 'IBM Plex Sans', sans-serif !important;
	font-size: 12.5px !important;
	color: #5a6a7d;
}

.editor-styles-wrapper .bar-table-caption {
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.editor-styles-wrapper .bar-cta {
	border: 1px solid #b8420e;
	border-radius: 3px;
	padding: 16px 20px;
}

.editor-styles-wrapper .bar-cta__flag {
	font-family: 'IBM Plex Sans', sans-serif !important;
	font-size: 10.5px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #93360b;
	margin: 0;
}

.editor-styles-wrapper .bar-faq__item > summary {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 17px;
	font-weight: 600;
	padding: 16px 0;
	border-bottom: 1px solid #dde5ee;
}
