/* Plantforward theme adapter for DigiWeb Content Builder. */
.plantforward-content-builder {
	padding: 0;
}

.plantforward-content-builder .dwcb {
	--dwcb-container: 1040px;
	--dwcb-wide: 1720px;
	--dwcb-gap: clamp(48px, 6vw, 88px);
	--dwcb-muted: #62645f;
	--dwcb-accent: #285548;
	box-sizing: border-box;
	width: min(calc(100% - (var(--layout-gutter) * 2)), var(--dwcb-wide));
	padding-top: clamp(104px, 9vw, 144px);
	padding-bottom: clamp(72px, 8vw, 128px);
	font-family: inherit;
}

.plantforward-content-builder.has-builder-hero .dwcb {
	padding-top: clamp(68px, 5vw, 78px);
}

.plantforward-builder-hero .front-hero__slider {
	min-height: 620px;
	height: 72vh;
	max-height: 860px;
}

.plantforward-builder-hero .front-hero__content {
	inset: 0;
	width: min(calc(100% - (var(--layout-gutter) * 2)), 1720px);
	margin-inline: auto;
	padding-inline: 0;
	place-content: center start;
	place-items: start;
	text-align: left;
}

.plantforward-builder-hero .front-hero__headline,
.plantforward-builder-hero .front-hero__lede {
	max-width: 720px;
}

.plantforward-content-builder .dwcb h1,
.plantforward-content-builder .dwcb h2,
.plantforward-content-builder .dwcb h3 {
	font-family: inherit;
	color: inherit;
}

.plantforward-content-builder .dwcb-button {
	border-radius: 999px;
	transition: opacity .2s ease, transform .2s ease;
}

.plantforward-content-builder .dwcb-button:hover,
.plantforward-content-builder .dwcb-button:focus-visible {
	opacity: .88;
	transform: translateY(-1px);
}

.plantforward-content-builder__fallback {
	width: min(100% - 32px, 1040px);
	margin: 0 auto;
	padding: clamp(104px, 9vw, 144px) 0 clamp(72px, 8vw, 128px);
}

@media (max-width: 960px) {
	.plantforward-content-builder.has-builder-hero .dwcb {
		padding-top: 50px;
	}
}

@media (max-width: 767px) {
	.plantforward-builder-hero .front-hero__slider {
		min-height: 520px;
		height: 68vh;
	}

	.plantforward-content-builder .dwcb,
	.plantforward-content-builder.has-builder-hero .dwcb {
		padding-top: 40px;
		padding-bottom: 72px;
	}
}

/* Editorial rhythm for Stories; all content remains editable in the builder. */
.plantforward-content-builder.is-story .dwcb { --dwcb-container: 820px; --dwcb-wide: 1280px; --dwcb-gap: clamp(48px, 6vw, 80px); color: #17143e; }
.plantforward-content-builder.is-story .dwcb-rich-text { margin-inline: auto; font-size: 18px; line-height: 1.85; }
.plantforward-content-builder.is-story .dwcb h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; margin-bottom: 22px; }
.plantforward-content-builder.is-story .dwcb p { margin-bottom: 20px; }
.plantforward-content-builder.is-story .pf-story-kicker { color: #8c663c; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.plantforward-content-builder.is-story .pf-story-intro { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.65; }
.plantforward-content-builder.is-story .dwcb-text-image { align-items: center; gap: clamp(32px, 6vw, 88px); }
.plantforward-content-builder.is-story .dwcb-text-image__content { font-size: 17px; line-height: 1.8; }
.plantforward-content-builder.is-story .dwcb-text-image__image img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; }
.plantforward-content-builder.is-story .pf-story-takeaway { padding: clamp(26px, 4vw, 44px); background: #ededf5; border-radius: 24px; }
.plantforward-content-builder.is-story .pf-story-takeaway a { color: #17143e; text-underline-offset: 5px; }
.plantforward-content-builder.is-story .plantforward-builder-hero .front-hero__headline { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.08; max-width: 800px; }
.plantforward-content-builder.is-story .plantforward-builder-hero .front-hero__lede { max-width: 620px; line-height: 1.6; }
@media (max-width: 767px) { .plantforward-content-builder.is-story .dwcb-rich-text { font-size: 16px; } .plantforward-content-builder.is-story .dwcb-text-image { grid-template-columns: 1fr; } .plantforward-content-builder.is-story .dwcb-text-image__image { order: 0; } }
