/**
 * V2 treatments for retained blocks without direct screen exports.
 *
 * Markup, saved fields, slider/video behavior, form payloads, and no-JavaScript
 * fallbacks remain owned by their existing PHP and JavaScript contracts.
 */

:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-image-video, .anc-newsletter, .anc-related-content) {
	padding-block: var(--anc-v2-space-24);
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-numbered-text {
	padding-block: var(--anc-v2-space-24);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-numbered-text > .anc-container > h2 {
	margin: 0 0 var(--anc-v2-space-6);
	font-size: var(--anc-v2-type-h3-size);
	line-height: var(--anc-v2-leading-h3);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-numbered-text .anc-reasons ol {
	margin: 0;
	padding: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-image-video, .anc-newsletter, .anc-related-content):is(.anc-functional-block--cream, .anc-functional-block--white) {
	background: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-image-video, .anc-newsletter, .anc-related-content).anc-functional-block--gray {
	background: rgb(16 16 18 / 0.04);
}

:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-image-video, .anc-newsletter, .anc-related-content).anc-functional-block--yellow {
	background: var(--anc-v2-color-brand);
	color: var(--anc-v2-color-paper);
}

/* Exported image + text composition. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) {
	padding: var(--anc-v2-space-24) 0;
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__grid {
	width: min(var(--anc-v2-content-max), calc(100% - (2 * var(--anc-v2-page-gutter))));
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 72px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) figure {
	height: auto;
	min-height: 0;
	aspect-ratio: 4 / 3;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__copy h2 {
	max-width: 580px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: 48px;
	font-weight: 900;
	line-height: 0.96;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__copy > div {
	max-width: 560px;
	margin-top: var(--anc-v2-space-6);
	color: var(--anc-v2-color-ink);
	font-size: 18px;
	line-height: 1.5;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__copy > :is(.anc-button, .anc-text-link) {
	width: 272px;
	max-width: 100%;
	margin-top: var(--anc-v2-space-8);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text .anc-image-text__copy > .anc-button {
	width: 272px;
	max-width: 100%;
}

/* Retained search and highlight heroes. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) {
	min-height: clamp(640px, 82vh, 900px);
	background: var(--anc-v2-color-ink);
	color: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__shade {
	background: linear-gradient(90deg, rgb(0 0 0 / 0.76) 0%, rgb(0 0 0 / 0.42) 48%, rgb(0 0 0 / 0.08) 100%);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__media {
	filter: saturate(0.9) contrast(1.04);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content {
	width: min(100%, calc(var(--anc-v2-content-max) + (2 * var(--anc-v2-page-gutter))));
	box-sizing: border-box;
	margin-inline: auto;
	padding: clamp(152px, 18vh, 220px) var(--anc-v2-page-gutter) clamp(96px, 11vh, 132px);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content .anc-overline {
	color: var(--anc-v2-color-paper);
	font-family: var(--anc-v2-font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: var(--anc-v2-tracking-label);
	line-height: var(--anc-v2-leading-label);
	text-transform: uppercase;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content .anc-overline > span:first-child {
	background: var(--anc-v2-color-brand);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content h1 {
	max-width: 1040px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-h1-size);
	font-weight: 900;
	letter-spacing: 0;
	line-height: var(--anc-v2-leading-h1);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content > p:not(.anc-overline, .anc-functional-hero__breadcrumb) {
	max-width: 680px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-body-1-size);
	line-height: var(--anc-v2-leading-body-1);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content .anc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin-top: var(--anc-v2-space-8);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content .anc-actions .anc-button--primary {
	border-color: var(--anc-v2-color-paper);
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content .anc-actions .anc-button--primary:hover {
	background: transparent;
	color: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero--highlights .anc-functional-hero__video-fallback {
	margin-top: var(--anc-v2-space-6);
	color: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-controls {
	gap: 1px;
	font-family: var(--anc-v2-font-mono);
	font-size: 11px;
	letter-spacing: var(--anc-v2-tracking-label);
	text-transform: uppercase;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-control {
	width: 44px;
	height: 44px;
	flex-basis: 44px;
	border-radius: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-status {
	min-width: 52px;
	font: inherit;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-dots {
	gap: 4px;
	margin-inline: 10px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-dots button {
	width: 24px;
	height: 44px;
	border-radius: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-dots button > span {
	width: 20px;
	height: 1px;
	background: currentcolor;
	opacity: 0.55;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-slider-dots button[aria-current="true"] > span {
	width: 24px;
	background: var(--anc-v2-color-ink);
	opacity: 1;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__controls {
	right: max(var(--anc-v2-page-gutter), calc((100vw - var(--anc-v2-content-max)) / 2));
	bottom: var(--anc-v2-space-8);
	color: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero--highlights .anc-slider-control--next {
	border-color: var(--anc-v2-color-ink);
	background: var(--anc-v2-color-ink);
	color: var(--anc-v2-color-white);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero--highlights .anc-slider-control--next:hover {
	background: transparent;
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero--highlights [data-anc-video-play]:focus-visible,
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero[data-anc-slider]:focus-visible {
	outline: 2px solid var(--anc-v2-color-focus);
	outline-offset: 3px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) [data-anc-slider][tabindex]:focus-visible {
	outline: 2px solid var(--anc-v2-color-focus);
	outline-offset: 3px;
}

/* Search form keeps its query contract and becomes a square editorial rail. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search {
	display: grid;
	max-width: 1180px;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	margin: var(--anc-v2-space-10) 0 0;
	border: 0;
	border-radius: 0;
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search > .anc-field {
	min-height: 88px;
	box-sizing: border-box;
	gap: 8px;
	padding: 16px;
	border: 0;
	border-right: 1px solid var(--anc-v2-color-line-default);
	background: transparent;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-field__label {
	color: var(--anc-v2-color-brand);
	font-size: 10px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search :is(input, select) {
	color: var(--anc-v2-color-ink);
	font-family: var(--anc-v2-font-sans);
	font-size: 16px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search select {
	font-family: var(--anc-v2-font-mono);
	font-size: var(--anc-v2-type-action-size);
	font-weight: 500;
	letter-spacing: var(--anc-v2-tracking-label);
	line-height: 1;
	text-transform: uppercase;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-filter-form__actions {
	align-self: stretch;
	gap: 1px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-filter-form__actions .anc-button {
	height: 100%;
	min-width: 132px;
	min-height: 88px;
	justify-content: center;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-property-search__more {
	min-height: 40px;
	grid-column: 1 / -1;
	justify-self: start;
	margin: 0;
	padding: 8px 16px;
	border-color: var(--anc-v2-color-paper);
	background: var(--anc-v2-color-paper);
}

/* Retained icon grid. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-reasons li > span {
	font-family: var(--anc-v2-font-mono);
	font-size: var(--anc-v2-type-caption-size);
	font-weight: 400;
	letter-spacing: var(--anc-v2-tracking-label);
	line-height: var(--anc-v2-leading-label);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-reasons li h3,
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-numbered-text .anc-reasons li h3 {
	margin: 0;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-h5-size);
	font-weight: 900;
	line-height: var(--anc-v2-leading-h5);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-reasons li > div {
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-body-3-size);
	font-weight: 400;
	line-height: var(--anc-v2-leading-body-3);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid > .anc-container,
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content > .anc-container {
	width: min(100%, calc(var(--anc-v2-content-max) + (2 * var(--anc-v2-page-gutter))));
	box-sizing: border-box;
	margin-inline: auto;
	padding-inline: var(--anc-v2-page-gutter);
}

:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-related-content) h2 {
	max-width: 980px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-h2-size);
	font-weight: 900;
	line-height: var(--anc-v2-leading-h2);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items {
	gap: 0;
	margin-top: var(--anc-v2-space-16);
	border-top: 1px solid var(--anc-v2-color-line-default);
	border-left: 1px solid var(--anc-v2-color-line-default);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items article {
	min-height: 260px;
	box-sizing: border-box;
	align-content: start;
	gap: var(--anc-v2-space-4);
	padding: var(--anc-v2-space-6);
	border-right: 1px solid var(--anc-v2-color-line-default);
	border-bottom: 1px solid var(--anc-v2-color-line-default);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__icon {
	width: 48px;
	height: 48px;
	border: 1px solid var(--anc-v2-color-line-default);
	color: var(--anc-v2-color-brand);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__icon .anc-icon {
	width: 22px;
	height: 22px;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items h3 {
	margin: auto 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-h4-size);
	font-weight: 900;
	line-height: var(--anc-v2-leading-h4);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items p {
	margin: 0;
	color: var(--anc-v2-color-muted);
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-body-3-size);
	line-height: var(--anc-v2-leading-body-3);
}

/* Retained image/video composition. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video {
	display: grid;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
	align-items: center;
	gap: clamp(48px, 7vw, 112px);
	margin: 0;
	padding: var(--anc-v2-space-32) max(var(--anc-v2-page-gutter), calc((100vw - var(--anc-v2-content-max)) / 2));
	border-radius: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video figure {
	margin: 0;
	border-radius: 0;
	background: var(--anc-v2-color-line-subtle);
	aspect-ratio: 1.45 / 1;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video [data-anc-video-play] {
	width: 56px;
	height: 56px;
	border: 1px solid var(--anc-v2-color-ink);
	border-radius: 0;
	background: var(--anc-v2-color-ink);
	color: var(--anc-v2-color-white);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video [data-anc-video-play]:hover {
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video > div h2 {
	max-width: 560px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: clamp(40px, 4.15vw, 60px);
	font-weight: 900;
	line-height: 0.98;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video > div > p:last-child {
	max-width: 540px;
	margin: var(--anc-v2-space-6) 0 0;
	color: inherit;
	font-family: var(--anc-v2-font-sans);
	font-size: var(--anc-v2-type-body-3-size);
	line-height: var(--anc-v2-leading-body-2);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-video.anc-functional-block--yellow .anc-overline {
	color: var(--anc-v2-color-paper);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-video.anc-functional-block--yellow .anc-overline > span:first-child {
	background: var(--anc-v2-color-brand);
}

/* Retained newsletter contract; provider behavior remains unchanged. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter {
	padding: var(--anc-v2-space-32) var(--anc-v2-page-gutter);
	border-block: 1px solid var(--anc-v2-color-line-default);
	background: var(--anc-v2-color-paper);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__grid {
	display: grid;
	width: min(100%, var(--anc-v2-content-max));
	grid-template-columns: minmax(0, 5fr) minmax(64px, 1fr) minmax(0, 6fr);
	align-items: end;
	gap: var(--anc-v2-grid-gap);
	margin-inline: auto;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter .anc-section-title--small h2 {
	max-width: 580px;
	margin: var(--anc-v2-space-6) 0 0;
	font-family: var(--anc-v2-font-sans);
	font-size: clamp(40px, 4.15vw, 60px);
	font-weight: 900;
	line-height: 0.98;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__mascot {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name .anc-field {
	min-height: 88px;
	box-sizing: border-box;
	gap: 8px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--anc-v2-color-line-default);
	background: transparent;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name .anc-field + .anc-field {
	border-left: 0;
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name > .anc-button {
	min-height: 52px;
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: var(--anc-v2-space-4);
}

/* Retained related-neighbourhood grid and slider. */
:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__grid {
	gap: 0;
	margin-top: var(--anc-v2-space-16);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__grid[data-anc-horizontal-slider] {
	padding-bottom: var(--anc-v2-space-4);
	scrollbar-color: var(--anc-v2-color-brand) var(--anc-v2-color-line-subtle);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__grid[data-anc-horizontal-slider] > * {
	min-width: min(410px, 82vw);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__controls {
	justify-content: flex-end;
	margin-top: var(--anc-v2-space-8);
	color: var(--anc-v2-color-ink);
}

:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__controls .anc-slider-control--next {
	border-color: var(--anc-v2-color-ink);
	background: var(--anc-v2-color-ink);
	color: var(--anc-v2-color-paper);
}

@media (max-width: 1000px) {
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search > .anc-field:nth-of-type(even) {
		border-right: 0;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-filter-form__actions {
		grid-column: 1 / -1;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-filter-form__actions .anc-button {
		width: 100%;
		min-height: 56px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items--4,
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__grid {
		grid-template-columns: minmax(0, 1fr) minmax(64px, auto);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) {
		padding: 0 0 var(--anc-v2-space-16);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__grid {
		width: calc(100% - 40px);
		grid-template-columns: minmax(0, 1fr);
		gap: var(--anc-v2-space-8);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) figure {
		width: 100vw;
		margin-left: -20px;
		aspect-ratio: 4 / 3;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__copy {
		width: 100%;
		box-sizing: border-box;
		margin-inline: 0;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-text:has(.anc-image-text__copy > .anc-text-link) .anc-image-text__copy h2 {
		font-size: 34px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-image-video, .anc-newsletter, .anc-related-content) {
		padding-block: var(--anc-v2-space-16);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-numbered-text {
		padding-block: var(--anc-v2-space-16);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) {
		min-height: 680px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content {
		padding-top: 124px;
		padding-bottom: 152px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero:is(.anc-functional-hero--search, .anc-functional-hero--highlights) .anc-functional-hero__content h1 {
		font-size: 42px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__controls {
		right: var(--anc-v2-page-gutter);
		bottom: var(--anc-v2-space-5);
		left: var(--anc-v2-page-gutter);
		justify-content: flex-start;
		overflow-x: auto;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search {
		grid-template-columns: minmax(0, 1fr);
		margin-top: var(--anc-v2-space-8);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search > .anc-field {
		min-height: 76px;
		border-right: 0;
		border-bottom: 1px solid var(--anc-v2-color-line-default);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-filter-form__actions {
		grid-column: auto;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-functional-hero__search .anc-property-search__more {
		grid-column: auto;
		justify-self: stretch;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) :is(.anc-icon-grid, .anc-related-content) h2 {
		font-size: 40px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items--4,
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items--5 {
		grid-template-columns: minmax(0, 1fr);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-icon-grid__items article {
		min-height: 220px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--anc-v2-space-10);
		padding: var(--anc-v2-space-20) var(--anc-v2-page-gutter);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-image-video--right figure {
		order: 0;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video > div {
		grid-row: auto;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-media-card.anc-image-video > div h2,
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter .anc-section-title--small h2 {
		font-size: 40px;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter {
		padding-block: var(--anc-v2-space-20);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__grid,
	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name {
		grid-template-columns: minmax(0, 1fr);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__mascot {
		display: none;
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-newsletter__form--with-name .anc-field + .anc-field {
		border-top: 0;
		border-left: 1px solid var(--anc-v2-color-line-default);
	}

	:is(body.anc-design-v2, .editor-styles-wrapper) .anc-related-content__grid:not([data-anc-horizontal-slider]) {
		grid-template-columns: minmax(0, 1fr);
	}
}
