/**
 * Hero Article Solar Reflect — navy #022b60 · orange #fbaf3f
 */
/* Pas d’overflow-x:clip sur html : casse le sticky du sommaire article. */

/* Masque chrome Astra sur les articles */
body.single-post:has(.wpcursor-hero-article) .entry-header,
body.single-post:has(.wpcursor-hero-article) .ast-single-post .entry-header,
body.single-post:has(.wpcursor-hero-article) .ast-blog-featured-section,
body.single-post:has(.wpcursor-hero-article) .post-thumb-img-content,
body.single-post:has(.wpcursor-hero-article) .ast-single-post-featured-section,
body.single-post:has(.wpcursor-hero-article) .ast-featured-post-image,
body.single-post:has(.wpcursor-hero-article) .ast-article-single > .post-thumb-img-content {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-post:has(.wpcursor-hero-article) #content > .ast-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.single-post:has(.wpcursor-hero-article) #primary {
	margin: 0;
	padding: 0;
}

body.single-post:has(.wpcursor-hero-article) .entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > .wpcursor-component.wpcursor-hero-article,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-hero-article,
.wpcursor-component.wpcursor-hero-article.alignfull,
body.single-post .wpcursor-component.wpcursor-hero-article {
	margin-left: 0;
	margin-right: 0;
	max-width: 100vw;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-article {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-soft: #fde7c4;
	--sr-orange-text: #c47a12;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-line: #e6ecf3;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 76rem;
	background: var(--sr-white);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-article *,
.wpcursor-component.wpcursor-hero-article *::before,
.wpcursor-component.wpcursor-hero-article *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__inner {
	margin: 0 auto;
	max-width: var(--sr-content);
	padding: 1.35rem var(--sr-pad) 0;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb li {
	color: var(--sr-muted);
	font-size: 0.86rem;
	line-height: 1.4;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb li:not(:last-child)::after {
	color: var(--sr-muted);
	content: "/";
	margin-left: 0.25rem;
	opacity: 0.7;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb a {
	color: var(--sr-muted) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb a:hover,
.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb a:focus-visible {
	color: var(--sr-orange) !important;
	outline: none;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb li[aria-current="page"],
.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb li[aria-current="page"] a {
	color: var(--sr-navy) !important;
	font-weight: 700;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__shell {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
	padding-bottom: 1.75rem;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat {
	margin: 0 0 0.95rem;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat a,
.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat span {
	background: var(--sr-orange-soft);
	border-radius: 999px;
	color: var(--sr-orange-text) !important;
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 0.45rem 0.75rem;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat a:hover,
.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat a:focus-visible {
	background: rgba(251, 175, 63, 0.35);
	color: var(--sr-navy) !important;
	outline: none;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.65rem, 3.8vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 0.9rem;
	max-width: 18ch;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__excerpt {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0 0 1.35rem;
	max-width: 36rem;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__meta li {
	align-items: center;
	color: var(--sr-muted);
	display: inline-flex;
	font-size: 0.9rem;
	gap: 0.4rem;
	line-height: 1.35;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__meta-icon {
	align-items: center;
	color: var(--sr-orange);
	display: inline-flex;
	flex: 0 0 auto;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__media {
	border-radius: 1.35rem;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__media img {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	max-height: 26rem;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__progress {
	background: var(--sr-line);
	height: 3px;
	margin: 0 auto;
	max-width: var(--sr-content);
	overflow: hidden;
	position: relative;
	width: calc(100% - (2 * var(--sr-pad)));
}

.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__progress-bar {
	background: var(--sr-orange);
	display: block;
	height: 100%;
	transform-origin: left center;
	transition: width 0.12s linear;
	width: 8%;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__inner {
		padding-top: 1.6rem;
	}

	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__shell {
		align-items: center;
		gap: 2.5rem 3rem;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		padding-bottom: 2.15rem;
	}

	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__title {
		max-width: 16ch;
	}

	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__media img {
		aspect-ratio: 5 / 4;
		max-height: 28rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__breadcrumb a,
	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__cat a,
	.wpcursor-component.wpcursor-hero-article .wpcursor-hero-article__progress-bar {
		transition: none;
	}
}
