@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* Plein écran Astra sur la page blog */
body.wpcursor-blog-archive-page .site-content > .ast-container,
body.wpcursor-blog-archive-page .ast-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.wpcursor-blog-archive-page #primary,
body.wpcursor-blog-archive-page #main {
	max-width: none;
	width: 100%;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

body.wpcursor-blog-archive-page .ast-archive-entry-banner,
body.wpcursor-blog-archive-page .ast-archive-description,
body.wpcursor-blog-archive-page .page-header,
body.wpcursor-blog-archive-page .entry-header,
body.wpcursor-blog-archive-page .ast-pagination,
body.wpcursor-blog-archive-page .ast-row {
	display: none !important;
}

.wpcursor-blog-hero {
	--wpc-navy: #10224f;
	--wpc-ink: #1c2438;
	--wpc-blue: #3b82f6;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	background-image: var(--wpc-blog-hero-bg);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: min(920px, 62vw) auto;
	font-family: Poppins, "Segoe UI", sans-serif;
	color: var(--wpc-ink);
}

.wpcursor-blog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.96) 0%,
		rgba(255, 255, 255, 0.88) 36%,
		rgba(255, 255, 255, 0.35) 58%,
		rgba(255, 255, 255, 0) 72%
	);
}

.wpcursor-blog-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	max-width: 1180px;
	min-height: clamp(320px, 42vw, 460px);
	margin: 0 auto;
	padding: clamp(1.8rem, 4vw, 3rem) 1.35rem;
}

.wpcursor-blog-hero__copy {
	max-width: 560px;
	width: 100%;
}

.wpcursor-blog-hero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 1rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: #5a6478;
}

.wpcursor-blog-hero__crumbs a {
	color: var(--wpc-navy);
	text-decoration: none;
}

.wpcursor-blog-hero__crumbs a:hover {
	text-decoration: underline;
}

.wpcursor-blog-hero__crumbs-current {
	color: var(--wpc-blue);
	font-weight: 600;
}

.wpcursor-blog-hero__title {
	margin: 0;
	color: #0f172a;
	font-size: clamp(1.85rem, 4vw, 2.85rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.wpcursor-blog-hero__lead {
	max-width: 32rem;
	margin: 1rem 0 0;
	font-size: clamp(0.98rem, 1.5vw, 1.08rem);
	line-height: 1.55;
	font-weight: 500;
	color: var(--wpc-ink);
}

.wpcursor-blog-hero__search {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	width: 100%;
	max-width: 34rem;
	margin-top: 1.5rem;
	padding: 0.4rem 0.4rem 0.4rem 1rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e2e8f4;
	box-shadow: 0 10px 28px rgba(28, 40, 80, 0.08);
}

.wpcursor-blog-hero__search-icon {
	display: inline-flex;
	color: #94a3b8;
	flex-shrink: 0;
}

.wpcursor-blog-hero__search-icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

.wpcursor-blog-hero__search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 2.55rem;
	margin: 0;
	padding: 0;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--wpc-navy);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
}

.wpcursor-blog-hero__search input[type="search"]::placeholder {
	color: #9aa3b8;
}

.wpcursor-blog-hero__search-btn,
button.wpcursor-blog-hero__search-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
	height: 2.55rem !important;
	min-height: 2.55rem !important;
	padding: 0 1.25rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #3b82f6 !important;
	color: #fff !important;
	font: inherit !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
	white-space: nowrap;
}

.wpcursor-blog-hero__search-btn:hover {
	background: #2563eb !important;
	filter: none;
}

.wpcursor-blog-hero .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 900px) {
	.wpcursor-blog-hero {
		background-position: center top;
		background-size: cover;
		min-height: 0;
	}

	.wpcursor-blog-hero::before {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.92) 0%,
			rgba(255, 255, 255, 0.78) 48%,
			rgba(255, 255, 255, 0.55) 100%
		);
	}

	.wpcursor-blog-hero__inner {
		min-height: 0;
		padding-top: 1.5rem;
		padding-bottom: 2rem;
	}
}

@media (max-width: 560px) {
	.wpcursor-blog-hero__search {
		flex-wrap: wrap;
		border-radius: 1.1rem;
		padding: 0.75rem;
	}

	.wpcursor-blog-hero__search input[type="search"] {
		width: calc(100% - 2rem);
		order: 2;
	}

	.wpcursor-blog-hero__search-icon {
		order: 1;
	}

	.wpcursor-blog-hero__search-btn {
		width: 100% !important;
		order: 3;
	}
}
