/*
 * Pages éditoriales 2026 — Pause café et guides d’infusion.
 *
 * La couche reste limitée aux sept anciennes pages WPBakery. Elle conserve
 * leurs textes et médias et modernise uniquement leur présentation.
 */

body.lcd-editorial-2026 {
	background: #fbfaf7;
	color: #554c45;
}

body.lcd-editorial-2026 .edgtf-content,
body.lcd-editorial-2026 .edgtf-content .edgtf-full-width {
	background: #fbfaf7;
}

body.lcd-editorial-2026 .edgtf-content .edgtf-content-inner > .edgtf-title {
	position: relative;
	height: clamp(500px, 44vw, 620px) !important;
	min-height: 500px;
	overflow: hidden;
	background-position: center !important;
	background-size: cover !important;
}

/*
 * Le thème parent retire l’image de titre sur téléphone lorsque l’option
 * « image non responsive » est active. On rattache ici les sept médias
 * existants afin de conserver la même bannière à toutes les largeurs.
 */
body.page-id-13478.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/torrefacteur.jpg") !important;
}

body.page-id-13500.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title,
body.page-id-13549.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/barista.jpg") !important;
}

body.page-id-13503.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/origine_du_cafe.jpg") !important;
}

body.page-id-13517.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/chemex-1.jpg") !important;
}

body.page-id-13541.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/press_francaise.jpg") !important;
}

body.page-id-13545.lcd-editorial-2026 .edgtf-content-inner > .edgtf-title {
	background-image: url("/wp-content/uploads/2018/12/cafetiere_italienne.jpg") !important;
}

body.lcd-editorial-2026 .edgtf-content .edgtf-content-inner > .edgtf-title::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 29, 26, .82) 0%, rgba(17, 29, 26, .58) 46%, rgba(17, 29, 26, .12) 78%);
	content: "";
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-image {
	display: none !important;
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-holder {
	z-index: 2;
	display: flex;
	height: 100% !important;
	align-items: flex-end;
	padding: 0 0 76px;
	box-sizing: border-box;
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-holder .edgtf-container,
body.lcd-editorial-2026 .edgtf-title .edgtf-title-holder .edgtf-container-inner {
	width: 100%;
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder {
	display: block;
	width: min(1180px, calc(100% - 50px));
	margin: 0 auto;
	text-align: left;
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder-inner {
	display: block;
	max-width: 780px;
}

body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder-inner::before {
	display: block;
	margin-bottom: 13px;
	color: #d5aa7e;
	font-family: var(--lcd-font-interface, "LCD Figtree", sans-serif);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .15em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.lcd-editorial-2026--pause .edgtf-title .edgtf-title-subtitle-holder-inner::before {
	content: "Pause café";
}

body.lcd-editorial-2026--guide .edgtf-title .edgtf-title-subtitle-holder-inner::before {
	content: "Guide d’infusion";
}

body.lcd-editorial-2026 .edgtf-title h1,
body.lcd-editorial-2026 .edgtf-title h1 span {
	margin: 0;
	color: #fff !important;
	font-family: var(--lcd-font-heading, "LCD Cormorant", serif) !important;
	font-size: clamp(56px, 6vw, 82px) !important;
	font-style: normal;
	font-weight: 600 !important;
	letter-spacing: -.025em !important;
	line-height: .98 !important;
	text-transform: none !important;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row {
	margin: 0;
	padding: clamp(72px, 8vw, 104px) 0 !important;
	background: #fff !important;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row:nth-child(even) {
	background: #f6f1e8 !important;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row > .edgtf-section-inner {
	width: min(1180px, calc(100% - 50px));
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .vc_column-inner,
body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .wpb_content_element {
	margin: 0;
	padding: 0;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .vc_empty_space {
	display: none;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder {
	display: grid !important;
	width: 100%;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: clamp(42px, 6vw, 76px);
	align-items: center;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder-item {
	display: block !important;
	float: none;
	width: auto !important;
	min-width: 0;
	vertical-align: initial;
}

body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder-item-inner,
body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder-item-content {
	display: block;
	height: auto;
	padding: 0 !important;
}

body.lcd-editorial-2026 .wpb_single_image,
body.lcd-editorial-2026 .wpb_single_image .vc_figure,
body.lcd-editorial-2026 .wpb_single_image .vc_single_image-wrapper {
	display: block;
	width: 100%;
}

body.lcd-editorial-2026 .wpb_single_image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 610px;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	box-shadow: 0 24px 54px rgba(35, 28, 23, .12);
	object-fit: cover;
}

body.lcd-editorial-2026 .edgtf-full-width-inner h2,
body.lcd-editorial-2026 .edgtf-full-width-inner h3 {
	color: var(--lcd-home-green-primary, #17382f);
	font-family: var(--lcd-font-heading, "LCD Cormorant", serif);
	font-style: normal;
	font-weight: 600;
	letter-spacing: -.015em;
	text-transform: none;
}

body.lcd-editorial-2026 .edgtf-full-width-inner h2:not(.edgtf-title-with-number) {
	margin: 0 0 21px;
	font-size: clamp(42px, 4.6vw, 58px);
	line-height: 1.02;
}

body.lcd-editorial-2026 .edgtf-full-width-inner .edgtf-separator-holder {
	width: 68px;
	margin: 0 0 24px;
}

body.lcd-editorial-2026 .edgtf-full-width-inner .edgtf-separator {
	width: 68px !important;
	border-color: var(--lcd-home-copper, #a86f45) !important;
	border-bottom-width: 2px !important;
}

body.lcd-editorial-2026 .edgtf-full-width-inner .wpb_text_column p,
body.lcd-editorial-2026 .edgtf-full-width-inner .edgtf-icon-list-text,
body.lcd-editorial-2026 .edgtf-full-width-inner .edgtf-blockquote-text {
	color: #5f564e;
	font-family: var(--lcd-font-interface, "LCD Figtree", sans-serif) !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.78;
}

body.lcd-editorial-2026 .edgtf-full-width-inner .wpb_text_column p {
	margin: 0 0 17px;
}

body.lcd-editorial-2026 .edgtf-full-width-inner .wpb_text_column p:last-child {
	margin-bottom: 0;
}

body.lcd-editorial-2026 .edgtf-blockquote-shortcode {
	margin: 20px 0 0;
	padding: 20px 22px;
	border: 0;
	border-left: 4px solid var(--lcd-home-copper, #a86f45);
	border-radius: 0 11px 11px 0;
	background: #f6f1e8;
}

body.lcd-editorial-2026 .edgtf-blockquote-shortcode .edgtf-blockquote-text {
	display: block;
	padding: 0;
	font-size: 14px;
	line-height: 1.68;
}

body.lcd-editorial-2026 .edgtf-title-with-number {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 34px 0 16px;
	font-size: 29px;
	line-height: 1.1;
}

body.lcd-editorial-2026 .edgtf-title-with-number .edgtf-twn-number {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	margin: 0;
	border-radius: 50%;
	background: var(--lcd-home-green-primary, #17382f);
	color: #fff;
	font-family: var(--lcd-font-interface, "LCD Figtree", sans-serif);
	font-size: 13px;
	font-weight: 750;
	line-height: 1;
}

body.lcd-editorial-2026 .edgtf-icon-list-item {
	display: grid;
	height: auto;
	min-height: 24px;
	width: 100%;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 0 0 16px;
}

body.lcd-editorial-2026 .edgtf-icon-list-icon-holder {
	display: flex;
	width: 24px;
	height: 24px;
	padding: 0;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	border-radius: 50%;
	background: #e3ece5;
	color: var(--lcd-home-green-primary, #17382f);
	text-align: center;
}

body.lcd-editorial-2026 .edgtf-icon-list-icon-holder-inner {
	display: flex;
	height: 24px;
	align-items: center;
	justify-content: center;
}

body.lcd-editorial-2026 .edgtf-icon-list-icon-holder i {
	font-size: 9px;
	line-height: 1;
}

body.lcd-editorial-2026 .edgtf-icon-list-text {
	display: block;
	width: auto;
	margin: 0;
	overflow-wrap: anywhere;
}

body.lcd-editorial-2026--guide .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder {
	grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
	align-items: start;
}

body.lcd-editorial-2026--guide .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder-item:first-child {
	position: sticky;
	top: 125px;
}

body.lcd-editorial-2026--guide .wpb_single_image img {
	max-height: 720px;
	aspect-ratio: 4 / 5;
}

@media (max-width: 1024px) {
	body.lcd-editorial-2026 .edgtf-content .edgtf-content-inner > .edgtf-title {
		height: 540px !important;
		min-height: 540px;
	}

	body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder,
	body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row > .edgtf-section-inner {
		width: min(880px, calc(100% - 80px)) !important;
	}

	body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-section-inner-margin {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.lcd-editorial-2026 .edgtf-title h1,
	body.lcd-editorial-2026 .edgtf-title h1 span {
		font-size: clamp(54px, 7.5vw, 68px) !important;
		text-wrap: balance;
	}

	body.lcd-editorial-2026 .edgtf-title .edgtf-title-holder {
		padding-bottom: 58px;
	}

	body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder,
	body.lcd-editorial-2026--guide .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	body.lcd-editorial-2026--guide .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row .edgtf-elements-holder-item:first-child {
		position: static;
	}

	body.lcd-editorial-2026--guide .wpb_single_image img {
		max-height: 520px;
		aspect-ratio: 16 / 10;
	}
}

@media (min-width: 601px) and (max-width: 1024px) {
	body.lcd-editorial-2026--pause .edgtf-title .edgtf-title-subtitle-holder-inner::before,
	body.lcd-editorial-2026--guide .edgtf-title .edgtf-title-subtitle-holder-inner::before {
		margin-top: 28px;
	}
}

@media (max-width: 600px) {
	body.lcd-editorial-2026 .edgtf-content .edgtf-content-inner > .edgtf-title {
		height: 480px !important;
		min-height: 480px;
		background-position: 58% center !important;
	}

	body.lcd-editorial-2026 .edgtf-content .edgtf-content-inner > .edgtf-title::before {
		background: linear-gradient(90deg, rgba(17, 29, 26, .78), rgba(17, 29, 26, .42));
	}

	body.lcd-editorial-2026 .edgtf-title .edgtf-title-holder {
		padding-bottom: 42px;
	}

	body.lcd-editorial-2026--pause .edgtf-title .edgtf-title-subtitle-holder-inner::before,
	body.lcd-editorial-2026--guide .edgtf-title .edgtf-title-subtitle-holder-inner::before {
		margin-top: 38px;
	}

	body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder,
	body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row > .edgtf-section-inner {
		width: calc(100% - 44px) !important;
	}

	body.lcd-editorial-2026 .edgtf-title .edgtf-title-subtitle-holder-inner {
		max-width: none;
	}

	body.lcd-editorial-2026 .edgtf-title h1,
	body.lcd-editorial-2026 .edgtf-title h1 span {
		font-size: clamp(40px, 11.5vw, 48px) !important;
		line-height: .95 !important;
		text-wrap: wrap;
	}

	body.lcd-editorial-2026 .edgtf-full-width-inner > .wpb-content-wrapper > .vc_row {
		padding: 58px 0 !important;
	}

	body.lcd-editorial-2026 .wpb_single_image img,
	body.lcd-editorial-2026--guide .wpb_single_image img {
		max-height: 390px;
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	body.lcd-editorial-2026 .edgtf-full-width-inner h2:not(.edgtf-title-with-number) {
		font-size: 40px;
	}

	body.lcd-editorial-2026 .edgtf-full-width-inner .wpb_text_column p,
	body.lcd-editorial-2026 .edgtf-full-width-inner .edgtf-icon-list-text {
		font-size: 15px;
		line-height: 1.72;
	}

	body.lcd-editorial-2026 .edgtf-title-with-number {
		align-items: flex-start;
		font-size: 25px;
	}
}
