/* ==========================================================================
   Streekproduct Blog theme
   Header/footer replicate the static site (streekproduct.streekmarkt.be).
   Footer layout comes from the shared /assets/css/pages-phoenix-footers.css.
   ========================================================================== */

:root {
	--sp-primary: #d32f2f;
	--sp-primary-dark: #b72727;
	--sp-accent: #ef5350;
	--sp-accent-text: #230403;
	--sp-cta: #ff9b00;
	--sp-text: #333;
	--sp-muted: #6b6b6b;
	--sp-border: #eaeaea;
	--sp-bg-soft: #f5f5f5;
	--sp-radius: 3px;
	--sp-font-body: "Roboto", "Open Sans", Arial, sans-serif;
	--sp-font-head: "Montserrat", "Roboto", Arial, sans-serif;
	--sp-font-nav: "Quicksand", "Roboto", Arial, sans-serif;
	--sp-header-h: 84px;
	--sp-header-h-mobile: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: #fff;
	color: var(--sp-text);
	font-family: var(--sp-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--sp-primary); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.sp-skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 10000;
	padding: 10px 16px; background: #fff; color: #000;
	box-shadow: 0 0 0 2px var(--sp-primary);
}

:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: 2px; }

.sp-container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.sp-main { display: block; min-height: 50vh; }

.sp-btn,
.sp-content .wp-block-button__link {
	display: inline-block;
	background: var(--sp-accent);
	color: #fff;
	border: 2px solid var(--sp-accent);
	border-radius: 0;
	padding: 12px 32px;
	font-family: var(--sp-font-head);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.sp-btn:hover,
.sp-content .wp-block-button__link:hover { background: var(--sp-primary); border-color: var(--sp-primary); color: #fff; }

/* ==========================================================================
   Header (matches the static site's "basic header, small size")
   ========================================================================== */

/* Sticky on all screen sizes, like the static site's fixed header.
   The progress bar sits right below it. */
.sp-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	color: #000;
	font-family: var(--sp-font-nav);
	box-shadow: 0 0 15px rgba(0, 0, 0, .2);
}
.admin-bar .sp-header { top: 32px; }

.sp-header__bar {
	display: flex;
	align-items: center;
	height: var(--sp-header-h);
	margin: 0 20px;
}

.sp-header__logo { display: inline-flex; align-items: center; height: 60px; flex: 0 0 auto; }
.sp-header__logo img { display: block; max-height: 60px; width: auto; object-fit: contain; object-position: left; }

.sp-nav { flex: 1; display: flex; justify-content: flex-end; }
.sp-nav__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.sp-nav__item { position: relative; }

.sp-nav__link {
	display: inline-flex;
	align-items: center;
	margin: 7px 0;
	padding: 13px 15px;
	border: 0;
	border-radius: var(--sp-radius);
	background: none;
	color: #000;
	font: inherit;
	font-size: 15px;
	line-height: 1.6;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	transition: background .1s ease;
}
.sp-nav__link:hover { background: rgba(0, 0, 0, .05); }
.sp-nav__link:active { background: rgba(0, 0, 0, .1); }

.sp-nav__toggle { padding-right: 30px; position: relative; }
.sp-nav__toggle::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }

.sp-nav__sub {
	display: none;
	position: absolute;
	top: 58px;
	left: 0;
	min-width: 250px;
	margin: 0 10px;
	padding: 0;
	list-style: none;
	background: #fff;
	border-radius: var(--sp-radius);
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .1));
	z-index: 1001;
}
.sp-nav__sub::before {
	content: "";
	position: absolute;
	top: -10px; left: 20px;
	border-style: solid;
	border-width: 0 11px 11px;
	border-color: transparent transparent #fff;
}
.sp-nav__item--has-sub:hover .sp-nav__sub,
.sp-nav__item--has-sub:focus-within .sp-nav__sub,
.sp-nav__toggle[aria-expanded="true"] + .sp-nav__sub { display: block; }

.sp-nav__sub a {
	display: block;
	padding: 20px 25px;
	color: #000;
	text-decoration: none;
	transition: padding .2s ease;
}
.sp-nav__sub a:hover { padding-left: 30px; padding-right: 20px; }

.sp-nav__item--cta { margin-left: 15px; }

.sp-cta {
	display: inline-block;
	position: relative;
	top: 0;
	padding: 10px 20px;
	border-radius: 5px;
	background: var(--sp-cta);
	color: #fff;
	font-family: var(--sp-font-nav);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	box-shadow: rgba(0, 0, 0, .2) 0 2px 1px;
	transition: all .3s;
}
.sp-cta:hover { top: -3px; filter: brightness(105%); color: #fff; }
.sp-cta:active { filter: brightness(95%); }

.sp-burger {
	display: none;
	margin-left: auto;
	width: 44px;
	padding: 5px;
	border: 0;
	border-radius: var(--sp-radius);
	background: none;
	color: #000;
	cursor: pointer;
}
.sp-burger i { font-size: 30px; }
.sp-burger:hover { background: rgba(0, 0, 0, .05); }

.sp-mobile { display: none; }

@media (max-width: 1024px) {
	.sp-header { box-shadow: 0 0 10px rgba(0, 0, 0, .2); }
	.sp-header__bar { height: var(--sp-header-h-mobile); margin: 0; padding: 10px 24px; }
	.sp-header__logo { height: 40px; }
	.sp-header__logo img { max-height: 40px; max-width: 250px; }
	.sp-nav { display: none; }
	.sp-burger { display: block; }

	.sp-mobile:not([hidden]) {
		display: block;
		position: absolute;
		top: 100%; left: 0; right: 0;
		max-height: calc(100vh - var(--sp-header-h-mobile));
		overflow-y: auto;
		background: #fff;
		border-top: 2px solid rgba(0, 0, 0, .2);
		box-shadow: 0 0 10px rgba(0, 0, 0, .2);
	}
	.sp-mobile ul { margin: 0; padding: 0; list-style: none; }
	.sp-mobile__link {
		display: block;
		width: 100%;
		padding: 18px 18px 18px 30px;
		border: 0;
		border-top: 1px solid rgba(0, 0, 0, .1);
		background: none;
		color: #000;
		font: inherit;
		font-size: 15px;
		font-weight: 300;
		text-align: left;
		text-decoration: none;
		cursor: pointer;
	}
	.sp-mobile__link:hover { background: rgba(0, 0, 0, .1); }
	.sp-mobile__toggle::after { content: "▾"; margin-left: 10px; font-weight: 900; }
	.sp-mobile__sub { padding-bottom: 15px !important; }
	.sp-mobile__sub a {
		display: block;
		padding: 10px 10px 10px 40px;
		color: #000;
		font-size: 13px;
		text-decoration: none;
	}
	.sp-mobile__cta { padding: 15px 15px 15px 20px; border-top: 1px solid rgba(0, 0, 0, .1); }
	.sp-mobile__cta .sp-cta { font-size: 13px; }
}

@media (min-width: 1025px) and (max-width: 1180px) {
	.sp-nav__link { padding-left: 10px; padding-right: 10px; font-size: 14px; }
	.sp-nav__toggle { padding-right: 26px; }
	.sp-nav__toggle::after { right: 10px; }
}

/* Scroll progress bar with heart, same as the static site:
   fixed just below the header, 6px red line, heart rides on its right end
   and flips direction when scrolling up. */
.sp-progress {
	position: fixed;
	top: var(--sp-header-h);
	left: 0;
	right: 0;
	height: 6px;
	background: rgba(255, 255, 255, .3);
	/* Above the sticky header (1000): the heart sits 20px above the line,
	   overlapping the bottom of the header, like on the static site. */
	z-index: 1001;
	pointer-events: none;
}
.admin-bar .sp-progress { top: calc(var(--sp-header-h) + 32px); }
.sp-progress__bar {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 0;
	background: var(--sp-accent);
	color: var(--sp-accent);
	border-radius: 0 2px 2px 0;
	transition: width .1s;
}
.sp-progress__icon {
	position: absolute;
	right: 0;
	top: -20px;
	padding-left: 2px;
	color: var(--sp-accent);
	font-size: 20px;
	line-height: 1;
}
.sp-progress__icon .fa {
	display: block;
	font-family: "Font Awesome 5 Free";
	font-weight: 900; /* solid heart */
	font-size: 20px;
	line-height: 1;
	color: inherit;
	transition: transform .2s;
}
.sp-progress__bar.is-flipped .sp-progress__icon .fa { transform: scaleX(-1); }
@media (max-width: 1024px) {
	.sp-progress { top: var(--sp-header-h-mobile); }
	.admin-bar .sp-progress { top: calc(var(--sp-header-h-mobile) + 32px); }
}
/* WP admin bar is 46px on small screens (only visible when logged in). */
@media (max-width: 782px) {
	.admin-bar .sp-header { top: 46px; }
	.admin-bar .sp-progress { top: calc(var(--sp-header-h-mobile) + 46px); }
}
/* Below 600px the admin bar scrolls away, so stick to the very top. */
@media (max-width: 600px) {
	.admin-bar .sp-header { top: 0; }
	.admin-bar .sp-progress { top: var(--sp-header-h-mobile); }
}
@media (prefers-reduced-motion: reduce) {
	.sp-progress__bar,
	.sp-progress__icon .fa { transition: none; }
}

/* ==========================================================================
   Footer extras (layout from pages-phoenix-footers.css)
   ========================================================================== */

.sp-footer { border-top: 1px solid var(--sp-border); margin-top: 60px; }
.sp-footer .font-quicksand { font-family: var(--sp-font-nav) !important; }
.sp-footer .element-social a.sp-social { background: var(--sp-accent); color: var(--sp-accent-text); }
.sp-footer .element-social a.sp-social svg { width: 22px; height: 22px; }
.sp-footer .element-address a { color: inherit; text-decoration: none; }
.sp-footer .element-search input[type="search"] { -webkit-appearance: none; appearance: none; }
.sp-footer .element-search input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.sp-breadcrumbs ol {
	display: flex; flex-wrap: wrap; gap: 4px;
	margin: 0 0 20px; padding: 0; list-style: none;
	font-size: 13px; color: var(--sp-muted);
}
.sp-breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: #aaa; }
.sp-breadcrumbs a { color: var(--sp-muted); text-decoration: none; }
.sp-breadcrumbs a:hover { color: var(--sp-primary); text-decoration: underline; }
.sp-breadcrumbs [aria-current] { color: #444; }

/* ==========================================================================
   Listing (/blog/, categories, search)
   ========================================================================== */

.sp-listing { padding-top: 50px; }
.sp-listing__head { text-align: center; margin-bottom: 40px; }
.sp-listing__title {
	margin: 0;
	font-family: var(--sp-font-head);
	font-size: 30px;
	font-weight: 300;
	line-height: 1.4;
	color: #222;
}
.sp-listing__desc { max-width: 720px; margin: 15px auto 0; color: var(--sp-muted); }

.sp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
@media (max-width: 1100px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-grid { grid-template-columns: 1fr; gap: 20px; } }

.sp-card { min-width: 0; }
.sp-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 2px solid rgba(71, 74, 79, .22);
	color: #222;
	text-decoration: none;
	transition: opacity .15s, box-shadow .15s;
}
.sp-card__link:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.sp-card__link:hover .sp-card__title { color: var(--sp-primary); }

.sp-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sp-bg-soft); }
.sp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sp-card__link:hover .sp-card__img img { transform: scale(1.03); }
.sp-card__img-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #ccc; font-size: 40px; }

.sp-card__badge {
	position: absolute; top: 5px; right: 5px;
	padding: 5px 10px;
	background: rgba(0, 0, 0, .67);
	color: #fff;
	font-size: 11px;
}

.sp-card__body { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.sp-card__title {
	margin: 0 0 12px;
	font-family: var(--sp-font-head);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: uppercase;
	transition: color .15s;
}
.sp-card__excerpt { margin: 0 0 15px; color: var(--sp-muted); font-size: 15px; }
.sp-card__date { margin-top: auto; align-self: flex-end; color: #333; font-size: 11px; font-weight: 500; }

/* Featured (first) card on /blog/ spans 2 columns */
.sp-card--featured { grid-column: span 2; }
.sp-card--featured .sp-card__link { border-width: 4px; }
.sp-card--featured .sp-card__img { aspect-ratio: 1170 / 500; }
.sp-card--featured .sp-card__body { padding: 30px; }
.sp-card--featured .sp-card__title { font-size: 22px; font-weight: 300; }
.sp-card--featured .sp-card__date { font-size: 12px; }
@media (max-width: 640px) {
	.sp-card--featured { grid-column: auto; }
	.sp-card--featured .sp-card__img { aspect-ratio: 16 / 9; }
	.sp-card--featured .sp-card__body { padding: 20px; }
	.sp-card--featured .sp-card__title { font-size: 16px; }
}

.sp-empty { text-align: center; padding: 40px 0; }

/* Pagination */
.sp-pagination { margin: 40px 0 0; }
/* WordPress gives both the <ul> and each link the class "page-numbers",
   so style only the items inside the list (li > a / span). */
.sp-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0; }
.sp-pagination li { margin: 0; padding: 0; }
.sp-pagination li > .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 2px solid rgba(71, 74, 79, .22);
	color: #222; text-decoration: none; font-weight: 500;
}
.sp-pagination li > a.page-numbers:hover { border-color: var(--sp-accent); color: var(--sp-primary); }
.sp-pagination li > .page-numbers.current { background: var(--sp-accent); border-color: var(--sp-accent); color: #fff; }
.sp-pagination li > .page-numbers.dots { border-color: transparent; }

/* Search block */
.sp-search-block { max-width: 760px; margin: 60px auto 0; text-align: center; }
.sp-search-block__title { margin: 0 0 20px; font-family: var(--sp-font-head); font-size: 24px; font-weight: 400; }

.sp-search { display: flex; max-width: 760px; margin: 0 auto; }
.sp-search__input {
	flex: 1; min-width: 0; height: 50px;
	padding: 0 15px;
	border: 2px solid var(--sp-accent);
	border-right: 0;
	border-radius: 0;
	font: inherit;
	-webkit-appearance: none; appearance: none;
}
.sp-search__input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sp-accent); }
.sp-search__btn {
	width: 64px; height: 50px;
	border: 2px solid var(--sp-accent);
	background: var(--sp-accent);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}
.sp-search__btn:hover { background: var(--sp-primary); border-color: var(--sp-primary); }

/* Category list */
.sp-cats { margin-top: 50px; }
.sp-cats__title { margin: 0 0 20px; font-family: var(--sp-font-head); font-size: 20px; font-weight: 400; text-align: center; }
.sp-cats ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sp-cats a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 12px 15px;
	border: 1px solid var(--sp-border);
	color: #333; text-decoration: none;
	transition: border-color .15s, color .15s;
}
.sp-cats a i { color: var(--sp-primary); font-size: 12px; }
.sp-cats a:hover { border-color: var(--sp-primary); color: var(--sp-primary); }

/* ==========================================================================
   Single article
   ========================================================================== */

.sp-hero { max-height: 500px; overflow: hidden; background: var(--sp-bg-soft); }
.sp-hero img { display: block; width: 100%; height: auto; max-height: 500px; object-fit: cover; }

.sp-article__layout {
	position: relative;
	z-index: 2;
	max-width: 1130px;
	margin: -100px auto 0;
	padding: 0 20px;
}
.sp-article__layout--no-hero { margin-top: 40px; }

.sp-article--has-toc .sp-article__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	max-width: 1300px;
}
.sp-article__aside { padding-top: 140px; }
/* Below the sticky header + progress bar. */
.sp-article__sticky { position: sticky; top: calc(var(--sp-header-h) + 30px); }
.admin-bar .sp-article__sticky { top: calc(var(--sp-header-h) + 62px); }

.sp-article__card { background: #fff; padding: 50px 100px; min-width: 0; }
.sp-article--has-toc .sp-article__card { padding: 50px 70px; border: 1px solid var(--sp-border); }

.sp-article__head { text-align: center; padding-bottom: 20px; }
.sp-article__title {
	margin: 20px auto 0;
	max-width: 900px;
	font-family: var(--sp-font-head);
	font-size: 38px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
}

.sp-meta { font-size: 14px; color: #444; }
.sp-meta__photo { display: flex; justify-content: center; margin-bottom: 8px; }
.sp-meta__photo .sp-avatar { border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.sp-meta__name { font-size: 16px; font-weight: 600; }
.sp-meta__details { margin-top: 6px; color: gray; font-weight: 300; }
.sp-meta__cat a { color: #337ab7; text-decoration: underline; }
.sp-meta__read { margin-top: 8px; color: #a1a1a1; font-size: 12px; }
.sp-meta__read i { margin-right: 5px; color: #b9b9b9; }

.sp-avatar { display: inline-block; border-radius: 5px; object-fit: cover; }
.sp-avatar--initial {
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; font-family: var(--sp-font-head); font-weight: 600; line-height: 1;
}

/* Share buttons */
.sp-share {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 20px 0;
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
}
.sp-share__btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px;
	border: 0;
	background: #555;
	color: #fff;
	font: inherit;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .15s, transform .15s;
}
.sp-share__btn:hover { opacity: .85; color: #fff; transform: translateY(-1px); }
.sp-share__btn i { font-size: 16px; }
.sp-share__btn .sp-icon-x { width: 15px; height: 15px; }
.sp-share__btn--facebook { background: #306199; }
.sp-share__btn--x { background: #14171a; }
.sp-share__btn--linkedin { background: #007bb6; }
.sp-share__btn--pinterest { background: #bd081c; }
.sp-share__btn--whatsapp { background: #35ca50; }
.sp-share__btn--email { background: #6d6d6d; }
.sp-share__btn--copy { background: #9e9e9e; }
.sp-share__btn--comments { background: #48881c; }
.sp-share__btn.is-copied { background: #2e7d32; }

@media (max-width: 1024px) {
	.sp-share__txt { display: none; }
	.sp-share__btn { padding: 11px 14px; }
}

.sp-share-bottom { margin-top: 40px; text-align: center; }
.sp-share-bottom__label { display: block; margin-bottom: 10px; font-family: var(--sp-font-head); font-weight: 600; }
.sp-share-bottom .sp-share { border-top: 0; padding-top: 0; }

/* Author box ("Over de schrijver"), as on the static articles */
.sp-author-box { margin-top: 40px; padding: 20px 40px 40px; background: var(--sp-bg-soft); }
.sp-author-box__top { display: flex; align-items: center; gap: 15px; padding-top: 20px; }
.sp-author-box__photo { flex: 0 0 auto; }
.sp-author-box__photo .sp-avatar { width: 80px !important; height: 80px !important; border: 3px solid #fff; border-radius: 50%; }
.sp-author-box__title { flex: 1; min-width: 0; font-size: 14px; font-style: italic; }
.sp-author-box__label { margin-bottom: 5px; }
.sp-author-box__name { font-size: 22px; font-style: normal; font-weight: 600; line-height: 1.3; }
.sp-author-box__links {
	display: flex; align-items: center; gap: 10px;
	margin-top: 20px; padding-top: 20px;
	border-top: 1px solid #c1c1c1;
	font-size: 12px; font-style: normal;
}
.sp-author-box__links a {
	display: inline-flex; align-items: center; gap: 5px;
	height: 30px; min-width: 30px; padding: 7px 10px;
	border-radius: 3px;
	background: #2f79b9; color: #fff;
	text-decoration: none; justify-content: center;
}
.sp-author-box__links a:hover { opacity: .7; color: #fff; }
.sp-author-box__bio { margin-top: 20px; font-size: 16px; line-height: 1.7; }
.sp-author-box__bio p { margin: 0 0 10px; }
.sp-author-box__bio p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.sp-author-box { padding: 10px 20px 25px; }
	.sp-author-box__photo .sp-avatar { width: 50px !important; height: 50px !important; }
	.sp-author-box__title { font-size: 12px; }
	.sp-author-box__name { font-size: 16px; }
	.sp-author-box__bio { font-size: 14px; }
}

/* Table of contents */
.sp-toc { font-size: 14px; }
.sp-toc__title { margin-bottom: 10px; font-family: var(--sp-font-head); font-size: 16px; font-weight: 600; }
.sp-toc ul { margin: 0; padding: 0 0 10px 18px; border-bottom: 2px dotted #dcdcdc; }
.sp-toc li { padding-bottom: 6px; }
.sp-toc a { color: #444; text-decoration: none; }
.sp-toc a:hover,
.sp-toc a.is-active { color: var(--sp-primary); text-decoration: underline; }

.sp-toc-mobile { display: none; margin: 20px 0 0; border: 1px solid var(--sp-border); }
.sp-toc-mobile summary { padding: 12px 15px; font-weight: 600; cursor: pointer; }
.sp-toc-mobile .sp-toc { padding: 0 15px 10px; }
.sp-toc-mobile .sp-toc__title { display: none; }
.sp-toc-mobile .sp-toc ul { border-bottom: 0; }

/* Article content */
.sp-content {
	margin-top: 10px;
	font-size: 18px;
	font-weight: 300;
	line-height: 2;
	color: #333;
	overflow-wrap: break-word;
}
.sp-content > * { margin-top: 20px; margin-bottom: 20px; }
.sp-content strong,
.sp-content b { font-weight: 600; }
.sp-content h2,
.sp-content h3,
.sp-content h4 {
	font-family: var(--sp-font-head);
	font-weight: 600;
	line-height: 1.35;
	color: #222;
	scroll-margin-top: 110px;
}
.sp-content h2 { margin-top: 40px; margin-bottom: 0; font-size: 28px; }
.sp-content h3 { margin-top: 30px; margin-bottom: 0; font-size: 22px; }
.sp-content h4 { margin-top: 25px; margin-bottom: 0; font-size: 18px; }
.sp-content ul,
.sp-content ol { padding-left: 25px; }
.sp-content ul { list-style: circle; }
.sp-content li { margin-bottom: 6px; }
.sp-content a { color: var(--sp-primary); text-decoration: underline; text-underline-offset: 2px; }
.sp-content blockquote {
	margin-left: 0; margin-right: 0;
	padding: 10px 25px;
	border-left: 4px solid var(--sp-accent);
	background: var(--sp-bg-soft);
	font-style: italic;
}
.sp-content figure { margin-left: 0; margin-right: 0; }
.sp-content figcaption { font-size: 14px; color: var(--sp-muted); text-align: center; line-height: 1.5; }
.sp-content table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.sp-content th,
.sp-content td { padding: 10px; border: 1px solid var(--sp-border); text-align: left; }
.sp-content iframe { max-width: 100%; }
.sp-content .alignleft { float: left; margin: 5px 25px 15px 0; }
.sp-content .alignright { float: right; margin: 5px 0 15px 25px; }
.sp-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.sp-content::after { content: ""; display: table; clear: both; }

.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.sp-tags a { display: inline-block; padding: 5px 12px; background: var(--sp-bg-soft); color: #555; font-size: 13px; text-decoration: none; }
.sp-tags a:hover { background: var(--sp-accent); color: #fff; }

/* Related */
.sp-related { margin-top: 60px; }
.sp-related__title {
	margin: 0 0 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e6e6e6;
	font-family: var(--sp-font-head);
	font-size: 24px;
	font-weight: 700;
	text-align: center;
}
.sp-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sp-article--has-toc .sp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-related .sp-card__link { border: 0; background: var(--sp-bg-soft); }
.sp-related .sp-card__title { font-size: 14px; text-transform: none; font-weight: 500; }
@media (max-width: 1024px) { .sp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sp-related__grid,
	.sp-article--has-toc .sp-related__grid { grid-template-columns: 1fr; } }

/* Article responsive */
@media (max-width: 1180px) {
	.sp-article--has-toc .sp-article__layout { display: block; max-width: 1130px; }
	.sp-article__aside { display: none; }
	.sp-toc-mobile { display: block; }
	.sp-article--has-toc .sp-article__card { border: 0; padding: 50px 100px; }
}
@media (max-width: 900px) {
	.sp-article__layout { margin-top: -60px; padding: 0; }
	.sp-article__card,
	.sp-article--has-toc .sp-article__card { padding: 30px 20px; }
	.sp-article__title { font-size: 24px; }
	.sp-content { font-size: 16px; line-height: 1.8; }
	.sp-content h2 { font-size: 21px; }
	.sp-content h3 { font-size: 18px; }
	.sp-meta { font-size: 12px; }
	.sp-meta__name { font-size: 14px; }
	.sp-meta__photo .sp-avatar { width: 50px !important; height: 50px !important; }
}

/* ==========================================================================
   Comments
   ========================================================================== */

.sp-comments { margin-top: 60px; padding-top: 30px; border-top: 1px solid #e6e6e6; scroll-margin-top: 110px; }
.sp-comments__title { margin: 0 0 25px; font-family: var(--sp-font-head); font-size: 24px; font-weight: 700; }
.sp-comments__empty,
.sp-comments__closed { color: var(--sp-muted); }

.sp-comments__list,
.sp-comments__list .children { margin: 0; padding: 0; list-style: none; }
.sp-comments__list .children { margin-left: 56px; }
@media (max-width: 600px) { .sp-comments__list .children { margin-left: 20px; } }

.sp-comment { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.sp-comment__avatar { flex: 0 0 44px; }
.sp-comment__avatar .sp-avatar { border-radius: 50%; }
.sp-comment__main { flex: 1; min-width: 0; }
.sp-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sp-comment__author { font-weight: 600; }
.bypostauthor > .sp-comment .sp-comment__author::after {
	content: "Auteur"; margin-left: 8px; padding: 2px 6px;
	background: var(--sp-accent); color: #fff; font-size: 11px; font-weight: 500;
}
.sp-comment__date { color: #999; font-size: 13px; text-decoration: none; }
.sp-comment__pending { margin: 6px 0 0; color: #b26a00; font-size: 14px; font-style: italic; }
.sp-comment__text { font-size: 16px; line-height: 1.7; }
.sp-comment__text p { margin: 8px 0; }
.sp-comment__reply a { color: var(--sp-primary); font-size: 13px; font-weight: 500; text-decoration: none; }
.sp-comment__reply a:hover { text-decoration: underline; }

.comment-respond { margin-top: 30px; padding: 25px; background: var(--sp-bg-soft); }
.sp-comments__list .comment-respond { margin: 10px 0 20px; }
.comment-reply-title { margin: 0 0 10px; font-family: var(--sp-font-head); font-size: 20px; }
.comment-reply-title small { margin-left: 10px; font-size: 14px; font-weight: 400; }
.comment-reply-title small a { color: var(--sp-primary); }
.comment-notes { color: var(--sp-muted); font-size: 14px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.comment-form > p { margin: 0 0 15px; }
.comment-form .comment-notes,
.comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit,
.comment-form > :not(.comment-form-author):not(.comment-form-email) { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 500; }
.comment-form .required { color: var(--sp-primary); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #d5d5d5;
	border-radius: 0;
	background: #fff;
	font: inherit;
	font-size: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--sp-accent); outline: none; box-shadow: 0 0 0 1px var(--sp-accent); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
@media (max-width: 600px) { .comment-form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Misc
   ========================================================================== */

.sp-page { padding: 50px 0; }
.sp-404 { text-align: center; padding-bottom: 40px; }
.sp-404 .sp-search { margin-top: 30px; }
.sp-page-links { margin-top: 30px; font-weight: 500; }
