/*
 * Maharani internal-page system.
 *
 * Scope: the file-based page template, its inserter patterns, and the matching
 * editor canvas. Homepage components remain owned by the approved prototype.
 */

:where(.maharani-page-template, .editor-styles-wrapper) {
	--mf-page-canvas: var(--wp--preset--color--canvas);
	--mf-page-surface: var(--wp--preset--color--surface);
	--mf-page-paper: color-mix(in srgb, var(--wp--preset--color--canvas) 94%, var(--wp--preset--color--gold));
	--mf-page-ink: var(--wp--preset--color--ink);
	--mf-page-ink-muted: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
	--mf-page-dark: var(--wp--preset--color--dark-surface);
	--mf-page-gold: var(--wp--preset--color--gold);
	--mf-page-gold-dark: var(--wp--preset--color--dark-gold);
	--mf-page-red: var(--wp--preset--color--maharani-red);
	--mf-page-red-dark: var(--wp--preset--color--dark-red);
	--mf-page-line: color-mix(in srgb, var(--wp--preset--color--gold) 34%, transparent);
	--mf-page-gutter: var(--wp--preset--spacing--gutter);
	--mf-page-section-space: var(--wp--preset--spacing--section);
	--mf-page-content-width: var(--wp--style--global--content-size);
	--mf-page-wide-width: var(--wp--style--global--wide-size);
	--mf-page-shadow:
		0 1.5rem 3.5rem color-mix(in srgb, var(--wp--preset--color--ink) 13%, transparent),
		0 0.3rem 0.8rem color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
	background: var(--mf-page-canvas);
	color: var(--mf-page-ink);
}

/* Films P-008 — provisional cascade before the governed base/mobile rules. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
	background-color: var(--mf-page-dark);
	background-image: url('../images/films/archive/archive-background-dark-texture-v1.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	min-height: 59rem;
	padding-block: 5.75rem 4.75rem;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-size: contain;
	bottom: -3rem;
	height: 30rem;
	mix-blend-mode: normal;
	op: auto;
	width: 30rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
	left: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	right: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
	gap: 3.5rem;
	grid-template-columns: 21.25rem minmax(0, 1fr);
	max-width: 85rem;
	min-height: 45rem;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
	margin-block: 2.5rem 0;
	max-width: 21.25rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
	background-image: linear-gradient(180deg, var(--mf-page-canvas) 0 34%, var(--mf-page-gold) 34% 100%);
	background-clip: text;
	display: block;
	font-size: clamp(3.75rem, 4.75vw, 4.25rem) !important;
	line-height: 1 !important;
	max-width: 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	border-color: color-mix(in srgb, var(--mf-page-gold) 54%, transparent);
	border-radius: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
	height: 43.75rem;
	left: 17.5rem;
	top: 0;
	width: 27.5rem;
	z-index: 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
	height: 23.75rem;
	left: 3.5rem;
	top: 19.25rem;
	width: 15.625rem;
	z-index: 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
	height: 14.5rem;
	right: 0;
	top: 5rem;
	width: 18.5rem;
	z-index: 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
	height: 21.25rem;
	right: 0;
	top: 20.5rem;
	width: 18.5rem;
	z-index: 4;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
		min-height: 0;
		padding-block: 3.5rem;
		padding-inline: var(--mf-page-gutter);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		bottom: -1.25rem;
		height: 10rem;
		mix-blend-mode: normal;
		opacity: 0.2;
		width: 10rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
		left: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		right: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
		gap: 0;
		max-width: none;
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
		margin-block: 0 var(--wp--preset--spacing--large);
		max-width: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
		font-size: clamp(3.25rem, 14vw, 4rem) !important;
		max-width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
		gap: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		border-radius: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		aspect-ratio: 420 / 680;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		aspect-ratio: 250 / 380;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		aspect-ratio: 296 / 232;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		aspect-ratio: 296 / 340;
	}
}

/* Photography Root 12 — continuous four-step process journey. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2 {
	background: var(--mf-page-canvas);
	color: var(--mf-page-ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__route {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--wp--preset--spacing--medium);
	margin-block-start: var(--wp--preset--spacing--xl);
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__route::before {
	background: var(--mf-page-line);
	block-size: 1px;
	content: '';
	inset-block-start: 50%;
	inset-inline: 0;
	position: absolute;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step {
	min-width: 0;
	position: relative;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--one {
	grid-column: 1 / span 3;
	margin-block-end: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--two {
	grid-column: 4 / span 3;
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--three {
	grid-column: 7 / span 3;
	margin-block-end: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--four {
	grid-column: 10 / span 3;
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__label {
	color: var(--mf-page-gold-dark);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
	margin-block-end: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.08;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__copy {
	margin-block-start: var(--wp--preset--spacing--small);
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__route {
		column-gap: 0;
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--large);
		padding-inline-start: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__route::before {
		block-size: auto;
		inset-block: 0;
		inset-inline: auto;
		inset-inline-start: 0;
		inline-size: 1px;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--one,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--two,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--three,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step--four {
		grid-column: 1;
		grid-row: auto;
		margin-block: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__step::before {
		background: var(--mf-page-canvas);
		border: 1px solid var(--mf-page-gold);
		block-size: var(--wp--preset--spacing--xs);
		border-radius: 50%;
		content: '';
		inline-size: var(--wp--preset--spacing--xs);
		inset-block-start: 0;
		inset-inline-start: calc(-1 * var(--wp--preset--spacing--medium));
		position: absolute;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-journey-v2__copy {
		max-width: 100%;
	}
}

/* Films P-008 — final line-break and card-offset correction. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
	max-width: 24rem;
	width: 24rem;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
		max-width: 100%;
		width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		aspect-ratio: auto !important;
		height: auto !important;
		inset: auto !important;
		min-height: 0 !important;
		position: relative !important;
		width: 100% !important;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		aspect-ratio: 420 / 680 !important;
		order: 1 !important;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		aspect-ratio: 250 / 360 !important;
		order: 2 !important;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		aspect-ratio: 296 / 220 !important;
		order: 3 !important;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		aspect-ratio: 296 / 320 !important;
		order: 4 !important;
	}
}

/* Films P-008 — Archive refinement from the approved selected concept. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
	background-color: var(--mf-page-dark);
	background-image: url('../images/films/archive/archive-background-dark-texture-v1.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 59rem;
	padding-block: 5.75rem 4.75rem;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-size: contain;
	bottom: -3rem;
	height: 30rem;
	mix-blend-mode: normal;
	op: auto;
	width: 30rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
	left: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	right: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
	gap: 3.5rem;
	grid-template-columns: 21.25rem minmax(0, 1fr);
	max-width: 85rem;
	min-height: 45rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
	margin-block: 2.5rem 0;
	max-width: 21.25rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
	background-image: linear-gradient(180deg, var(--mf-page-canvas) 0 34%, var(--mf-page-gold) 34% 100%);
	background-clip: text;
	display: block;
	font-size: clamp(3.75rem, 4.75vw, 4.25rem) !important;
	line-height: 1 !important;
	max-width: 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	border-color: color-mix(in srgb, var(--mf-page-gold) 54%, transparent);
	border-radius: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
	height: 43.75rem;
	left: 17.5rem;
	top: 0;
	width: 27.5rem;
	z-index: 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
	height: 23.75rem;
	left: 3.5rem;
	top: 19.25rem;
	width: 15.625rem;
	z-index: 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
	height: 14.5rem;
	right: 0;
	top: 5rem;
	width: 18.5rem;
	z-index: 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
	height: 21.25rem;
	right: 0;
	top: 20.5rem;
	width: 18.5rem;
	z-index: 4;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
		min-height: 0;
		padding-block: 3.5rem;
		padding-inline: var(--mf-page-gutter);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		bottom: -1.25rem;
		height: 10rem;
		mix-blend-mode: normal;
		opacity: 0.2;
		width: 10rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
		left: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		right: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
		gap: 0;
		max-width: none;
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
		margin-block: 0 var(--wp--preset--spacing--large);
		max-width: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
		font-size: clamp(3.25rem, 14vw, 4rem) !important;
		max-width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
		gap: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		border-radius: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		aspect-ratio: 420 / 680;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		aspect-ratio: 250 / 380;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		aspect-ratio: 296 / 232;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		aspect-ratio: 296 / 340;
	}
}

.maharani-page-template,
.maharani-page-content {
	margin: 0;
	max-width: none;
	padding: 0;
}

.maharani-page-content > * {
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-pattern {
	box-sizing: border-box;
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-section {
	padding-block: var(--mf-page-section-space);
	padding-inline: var(--mf-page-gutter);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--mf-page-wide-width);
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-inner--narrow {
	max-width: var(--mf-page-content-width);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-pattern :where(h1, h2, h3, p, figure) {
	margin-block-start: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-pattern :where(h1, h2, h3, p):last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-eyebrow {
	color: var(--mf-page-red);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
	letter-spacing: 0.19em;
	line-height: 1.5;
	margin-block-end: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-title {
	color: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 300;
	letter-spacing: -0.035em;
	line-height: 1;
	margin-block-end: var(--wp--preset--spacing--medium);
	max-width: 11ch;
	text-wrap: balance;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-section-title {
	background-image: var(--type-section-title-gradient);
	background-clip: text;
	display: inline-block;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--type-section-title-size) !important;
	font-weight: 300 !important;
	letter-spacing: -0.025em;
	line-height: 1.05 !important;
	margin-block-end: var(--wp--preset--spacing--medium);
	max-width: 18ch;
	text-wrap: balance;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-lede {
	color: inherit;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body-large);
	line-height: 1.75;
	margin-block-end: var(--wp--preset--spacing--large);
	max-width: 48rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-card__copy {
	color: var(--mf-page-ink-muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.8;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-copy--measure {
	max-width: 48rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-split {
	align-items: center;
	gap: clamp(2.5rem, 7vw, 7rem);
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-split__content,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-split__media {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-image,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__portrait {
	background: color-mix(in srgb, var(--mf-page-surface) 88%, var(--mf-page-gold));
	border: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	margin: 0;
	min-height: 20rem;
	overflow: hidden;
	padding: clamp(0.25rem, 0.45vw, 0.45rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__portrait img {
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text__image,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero__image {
	aspect-ratio: 4 / 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-actions {
	gap: var(--wp--preset--spacing--small);
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button .wp-block-button__link {
	border: 1px solid transparent;
	border-radius: 0.125rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.2;
	padding: 1rem 1.6rem;
	text-transform: uppercase;
	transition:
		background-color var(--duration-fast) var(--ease-standard),
		border-color var(--duration-fast) var(--ease-standard),
		color var(--duration-fast) var(--ease-standard),
		box-shadow var(--duration-fast) var(--ease-standard),
		transform var(--duration-fast) var(--ease-out);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button--primary .wp-block-button__link {
	background: var(--mf-page-red);
	border-color: color-mix(in srgb, var(--mf-page-gold) 42%, var(--mf-page-red));
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button--secondary .wp-block-button__link {
	background: transparent;
	border-color: var(--mf-page-gold-dark);
	color: var(--mf-page-ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button .wp-block-button__link:hover {
	box-shadow: 0 0.9rem 2.25rem color-mix(in srgb, var(--mf-page-red-dark) 22%, transparent);
	transform: translateY(-0.125rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button--primary .wp-block-button__link:hover {
	background: var(--mf-page-red-dark);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button--secondary .wp-block-button__link:hover {
	background: var(--mf-page-ink);
	border-color: var(--mf-page-ink);
	color: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button .wp-block-button__link:focus-visible,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq__item summary:focus-visible {
	outline: 0.1875rem solid var(--wp--preset--color--focus);
	outline-offset: 0.25rem;
}

/* Pattern surfaces and pattern-specific composition. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
	padding-block-start: clamp(7rem, 13vw, 12rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial .mf-page-eyebrow {
	color: var(--mf-page-gold);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero .mf-page-lede {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 78%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-editorial-intro {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-editorial-intro__columns {
	gap: clamp(2rem, 6vw, 6rem);
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text--reverse {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards .mf-page-copy {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 72%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:first-child {
	grid-column: span 7;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:nth-child(2) {
	grid-column: span 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:nth-child(3) {
	grid-column: 3 / span 8;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-card {
	background: color-mix(in srgb, var(--mf-page-dark) 88%, var(--mf-page-gold));
	border-block-start: 1px solid var(--mf-page-gold);
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.75rem, 3vw, 3rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-card__label {
	color: var(--mf-page-gold);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
	margin-block-end: var(--wp--preset--spacing--medium);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 300;
	line-height: 1.05;
	margin-block-end: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-card__copy {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 72%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image {
	aspect-ratio: 4 / 5;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-gallery.mf-page-gallery__grid.has-nested-images figure.wp-block-image.mf-page-gallery__image:not(#individual-image) {
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image:nth-child(2),
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image:nth-child(5) {
	aspect-ratio: 4 / 3;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__card {
	align-items: center;
	background: var(--mf-page-paper);
	box-shadow: var(--mf-page-shadow);
	color: var(--mf-page-ink);
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr);
	margin-block-start: var(--wp--preset--spacing--large);
	padding: clamp(1.5rem, 5vw, 5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__portrait {
	aspect-ratio: 4 / 5;
	min-height: 15rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__quote {
	border: 0;
	margin: 0;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__quote p {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--quote);
	font-weight: 300;
	line-height: 1.18;
	margin-block-end: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__quote cite {
	color: var(--mf-page-red);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-style: normal;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq__list {
	border-block-start: 1px solid var(--mf-page-line);
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq__item {
	border-block-end: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq__item summary {
	color: var(--mf-page-ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.15;
	padding-inline-end: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq__item p {
	color: var(--mf-page-ink-muted);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.8;
	margin-block: var(--wp--preset--spacing--medium) 0;
	max-width: 52rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta {
	background: var(--mf-page-canvas);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta__card {
	background: var(--mf-page-paper);
	border-block: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	padding: clamp(2.5rem, 7vw, 6.5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta__card :where(.mf-page-section-title, .mf-page-lede) {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta__card .mf-page-actions {
	justify-content: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic {
	background: var(--mf-page-canvas);
	color: var(--mf-page-ink);
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	min-height: clamp(40rem, 54vw, 48rem);
	overflow: hidden;
	padding: clamp(5rem, 8vw, 8.5rem) var(--mf-page-gutter) clamp(4rem, 6vw, 6.5rem);
	position: relative;
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic::after {
	display: none;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic__media {
	display: none;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic__content {
	align-self: center;
	background-color: var(--mf-page-paper);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cfilter id='paper' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .72' numOctaves='4' seed='17'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.11'/%3E%3C/svg%3E"),
		radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--mf-page-canvas) 74%, white), transparent 25rem),
		linear-gradient(
			135deg,
			color-mix(in srgb, var(--mf-page-canvas) 90%, white),
			color-mix(in srgb, var(--mf-page-surface) 90%, var(--mf-page-gold) 10%)
		);
	background-size: 260px 260px, auto, auto;
	background-blend-mode: multiply, normal, normal;
	border: 1px solid color-mix(in srgb, var(--mf-page-gold) 48%, transparent);
	border-radius: clamp(1.5rem, 3.2vw, 2.6rem);
	box-sizing: border-box;
	box-shadow:
		0 2.25rem 5rem rgb(56 35 22 / 14%),
		0 0.65rem 1.5rem rgb(56 35 22 / 7%);
	grid-area: 1 / 1;
	justify-self: center;
	margin: 0 auto;
	max-width: 64rem;
	overflow: hidden;
	padding: clamp(4rem, 7vw, 6.3rem) clamp(2rem, 6vw, 5.4rem);
	position: relative;
	width: 100%;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic .mf-page-eyebrow {
	color: var(--mf-page-gold);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic :is(
	.mf-page-eyebrow,
	.mf-page-section-title,
	.mf-page-lede
) {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic .mf-page-section-title {
	font-size: clamp(2.75rem, 4vw, 3.75rem) !important;
	line-height: 1.02 !important;
	max-width: 52rem;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic .mf-page-lede {
	color: var(--mf-page-ink-muted);
	max-width: 40rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic .mf-page-actions {
	justify-content: center;
}

/* Additive cinematic and proof patterns used by narrative Pages. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video {
	aspect-ratio: 16 / 9;
	background: color-mix(in srgb, var(--mf-page-dark) 92%, var(--mf-page-gold));
	border: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	margin: 0;
	overflow: hidden;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video video {
	background: var(--mf-page-dark);
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video video:focus-visible {
	outline: 0.1875rem solid var(--wp--preset--color--focus);
	outline-offset: -0.25rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
	display: grid;
	grid-template: 1fr / 1fr;
	min-height: clamp(38rem, 100svh, 64rem);
	padding: 0;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic::after {
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--mf-page-dark) 48%, transparent),
		color-mix(in srgb, var(--mf-page-dark) 24%, transparent) 46%,
		color-mix(in srgb, var(--mf-page-dark) 68%, transparent)
	);
	content: "";
	grid-area: 1 / 1;
	pointer-events: none;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic__media {
	background: color-mix(in srgb, var(--mf-page-dark) 86%, var(--mf-page-gold));
	grid-area: 1 / 1;
	height: 100%;
	margin: 0;
	min-height: inherit;
	overflow: hidden;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic__content {
	align-self: center;
	box-sizing: border-box;
	grid-area: 1 / 1;
	justify-self: center;
	padding: clamp(7rem, 16vw, 11rem) var(--mf-page-gutter);
	position: relative;
	text-align: center;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic__title {
	color: var(--wp--preset--color--canvas);
	letter-spacing: 0.08em;
	margin-inline: auto;
	max-width: none;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic__subline {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 88%, transparent);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body-large);
	font-style: italic;
	font-weight: 300;
	line-height: 1.45;
	margin-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
	display: grid;
	grid-template: 1fr / 1fr;
	min-height: min(100svh, 62rem);
	overflow: hidden;
	padding: 0;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage::after {
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--mf-page-dark) 42%, transparent),
			color-mix(in srgb, var(--mf-page-dark) 10%, transparent) 42%,
			color-mix(in srgb, var(--mf-page-dark) 58%, transparent)
		),
		radial-gradient(circle at 50% 48%, transparent 0 18%, color-mix(in srgb, var(--mf-page-dark) 36%, transparent) 78%);
	content: "";
	grid-area: 1 / 1;
	pointer-events: none;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__media {
	background: color-mix(in srgb, var(--mf-page-dark) 86%, var(--mf-page-gold));
	grid-area: 1 / 1;
	height: 100%;
	margin: 0;
	min-height: inherit;
	overflow: hidden;
	position: relative;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__media video {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__media video:focus-visible {
	outline: 0.1875rem solid var(--wp--preset--color--focus);
	outline-offset: -0.25rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__content {
	align-self: center;
	background: color-mix(in srgb, var(--mf-page-dark) 28%, transparent);
	backdrop-filter: blur(5px);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--canvas) 22%, transparent);
	box-sizing: border-box;
	grid-area: 1 / 1;
	justify-self: center;
	padding: clamp(2.5rem, 6vw, 4rem) var(--mf-page-gutter);
	position: relative;
	text-align: center;
	width: min(calc(100% - (2 * var(--mf-page-gutter))), 48rem);
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage .mf-page-eyebrow {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 84%, var(--mf-page-gold));
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__title {
	color: var(--wp--preset--color--canvas);
	letter-spacing: -0.02em;
	margin: 0 auto var(--wp--preset--spacing--medium);
	max-width: 14ch;
	text-transform: none;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__subline {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 88%, transparent);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body-large);
	font-style: italic;
	font-weight: 300;
	line-height: 1.45;
	margin: 0 auto;
	max-width: 38rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage .mf-page-actions {
	justify-content: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__image {
	aspect-ratio: 16 / 9;
	min-height: 0;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__layout {
	align-items: start;
	display: grid;
	gap: clamp(2.5rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	margin-block: var(--wp--preset--spacing--xl) 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__heading,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__copy {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__copy .mf-page-copy {
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__copy .mf-page-copy:last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-intro-statement {
	background: var(--mf-page-surface);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-intro-statement .mf-page-eyebrow {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-intro-statement__lead {
	color: var(--mf-page-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.14;
	margin-block: 0 var(--wp--preset--spacing--large);
	margin-inline: auto;
	max-width: 22ch;
	text-wrap: balance;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-intro-statement .mf-page-copy {
	margin-block-end: var(--wp--preset--spacing--small);
	margin-inline: auto;
	max-width: 50rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-intro-statement .mf-page-copy:last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__layout {
	align-items: center;
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__media,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__content {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__image {
	aspect-ratio: 4 / 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__content .mf-page-copy {
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__content .mf-page-copy:last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature {
	background: var(--mf-page-surface);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) :is(
	.mf-page-video-feature,
	.mf-page-video-feature-dark,
	.mf-page-video-pair,
	.mf-page-press-grid
) :is(.mf-page-eyebrow, .mf-page-section-title) {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature__intro {
	margin-block: 0 var(--wp--preset--spacing--large);
	margin-inline: auto;
	max-width: 48rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature__caption {
	color: var(--mf-page-ink-muted);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-style: italic;
	font-weight: 300;
	line-height: 1.3;
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark .mf-page-eyebrow {
	color: var(--mf-page-gold);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark__video {
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark__body {
	margin-block-start: var(--wp--preset--spacing--large);
	margin-inline: auto;
	max-width: 52rem;
	text-align: start;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark .mf-page-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark .mf-page-copy {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 74%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark__body .mf-page-copy {
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark__body .mf-page-copy:last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-feature-dark__kicker {
	color: var(--mf-page-gold);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-style: italic;
	font-weight: 300;
	line-height: 1.3;
	margin-block-start: var(--wp--preset--spacing--large);
	margin-inline: auto;
	max-width: 32ch;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair {
	background: var(--mf-page-surface);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair__copy {
	margin-inline: auto;
	max-width: 52rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair__copy .mf-page-copy {
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair__copy .mf-page-copy:last-child {
	margin-block-end: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: var(--wp--preset--spacing--xl) 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__layout {
	align-items: center;
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__media,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__content {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__image {
	aspect-ratio: 4 / 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__stamp {
	border: 1px solid var(--mf-page-gold);
	color: var(--mf-page-gold);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.18em;
	line-height: 1.4;
	margin-block-end: var(--wp--preset--spacing--medium);
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--small);
	text-transform: uppercase;
	width: fit-content;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics {
	background: var(--mf-page-canvas);
	padding-block: var(--wp--preset--spacing--xl);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__context,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metric__label,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__row-label {
	color: var(--mf-page-ink-muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__context {
	margin-block-end: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metric {
	box-sizing: border-box;
	height: 100%;
	padding-inline: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid > .wp-block-column + .wp-block-column {
	border-inline-start: 1px solid var(--mf-page-line);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metric__value {
	color: var(--mf-page-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 300;
	line-height: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metric__label {
	margin-block-start: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid {
	background: var(--mf-page-surface);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__row {
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__row + .mf-page-press-grid__row {
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__row-label {
	margin-block-end: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	margin-block: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--six {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--five {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__mark {
	align-items: center;
	background: var(--mf-page-paper);
	border: 1px solid var(--mf-page-line);
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	min-height: 6rem;
	min-width: 0;
	padding: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__mark-text {
	color: var(--mf-page-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body-large);
	font-style: italic;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__artwork {
	margin: 0;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__artwork img {
	display: block;
	height: 4rem;
	object-fit: contain;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials {
	background: var(--mf-page-canvas);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials .mf-page-section-title {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__subline {
	color: var(--mf-page-ink-muted);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body-large);
	font-style: italic;
	line-height: 1.5;
	margin-inline: auto;
	max-width: 48rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__layout {
	align-items: stretch;
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	margin-block: var(--wp--preset--spacing--xl) 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__media,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__quotes {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__quotes {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__quote {
	background: var(--mf-page-surface);
	border: 1px solid var(--mf-page-line);
	box-sizing: border-box;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	text-align: start;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__quote p {
	color: var(--mf-page-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body-large);
	font-style: italic;
	line-height: 1.45;
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__quote cite {
	color: var(--mf-page-gold-dark);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-style: normal;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* Registered editor variants. These classes apply only when explicitly chosen. */
:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-section-canvas {
	background: var(--wp--preset--color--canvas);
	color: var(--wp--preset--color--ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-section-surface {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-section-dark {
	background: var(--wp--preset--color--dark-surface);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-section-paper {
	background: var(--mf-page-paper);
	box-shadow: var(--mf-page-shadow);
	color: var(--wp--preset--color--ink);
}

/*
 * Stable aliases retained for the first page-system registry. The section-*
 * names are explicit in patterns; these shorter hooks keep existing editor
 * selections compatible if the display label changes later.
 */
:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-canvas {
	background: var(--wp--preset--color--canvas);
	color: var(--wp--preset--color--ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-surface {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-dark {
	background: var(--wp--preset--color--dark-surface);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-paper {
	background: var(--mf-page-paper);
	box-shadow: var(--mf-page-shadow);
	color: var(--wp--preset--color--ink);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-cover.is-style-maharani-page-hero {
	min-height: clamp(36rem, 78vh, 58rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-label {
	color: var(--wp--preset--color--maharani-red);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
	letter-spacing: 0.19em;
	line-height: 1.5;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-section-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1;
	text-wrap: balance;
}

:where(.maharani-page-template, .editor-styles-wrapper) .is-style-maharani-display {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 300;
	letter-spacing: -0.035em;
	line-height: 1;
	text-wrap: balance;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-button.is-style-maharani-primary .wp-block-button__link {
	background: var(--wp--preset--color--maharani-red);
	border: 1px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-button.is-style-maharani-primary .wp-block-button__link:hover {
	background: var(--wp--preset--color--dark-red);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-button.is-style-maharani-secondary .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--wp--preset--color--dark-gold);
	color: currentcolor;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-button.is-style-maharani-text-link .wp-block-button__link {
	background: transparent;
	border-block-end: 1px solid var(--wp--preset--color--gold);
	border-radius: 0;
	color: currentcolor;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-image.is-style-maharani-framed {
	background: var(--wp--preset--color--canvas);
	border: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	padding: clamp(0.25rem, 0.45vw, 0.45rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-gallery.is-style-maharani-editorial-grid {
	gap: clamp(1rem, 2vw, 1.75rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-gallery.is-style-maharani-editorial-grid .wp-block-image {
	background: var(--wp--preset--color--canvas);
	border: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	padding: clamp(0.25rem, 0.45vw, 0.45rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-quote.is-style-maharani-editorial {
	border: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--quote);
	font-weight: 300;
	line-height: 1.18;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-details.is-style-maharani-faq {
	border-block-end: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-separator.is-style-maharani-gold {
	border-color: var(--wp--preset--color--gold);
	opacity: 0.62;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-section {
		padding-block: clamp(4.5rem, 17vw, 6.5rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero {
		padding-block-start: clamp(7rem, 30vw, 9rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic {
		min-height: clamp(38rem, 158vw, 48rem);
		padding-inline: var(--mf-page-gutter);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic__media {
		aspect-ratio: auto;
		max-height: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic__content {
		max-width: 100%;
		margin: 0 auto;
		padding-block: clamp(3.5rem, 14vw, 5.5rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic .mf-page-section-title {
		font-size: clamp(2.5rem, 11vw, 3.25rem) !important;
		max-width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-split,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-editorial-intro__columns {
		gap: var(--wp--preset--spacing--large);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid {
		gap: var(--wp--preset--spacing--large);
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:first-child,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:nth-child(2),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-cards__grid > .wp-block-column:nth-child(3) {
		grid-column: 1;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image:nth-child(2),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__image:nth-child(5) {
		aspect-ratio: 4 / 5;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__card {
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial__portrait {
		max-width: 18rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-wide-media-intro__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-profile__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-pair__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-text-dark__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video-testimonials__layout {
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid {
		gap: var(--wp--preset--spacing--large) 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid > .wp-block-column {
		border-inline-start: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid > .wp-block-column:nth-child(even) {
		border-inline-start: 1px solid var(--mf-page-line);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--six,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--five {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-gallery__grid {
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--six,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid__marks--five {
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid > .wp-block-column:nth-child(even) {
		border-inline-start: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-metrics__grid > .wp-block-column + .wp-block-column {
		border-block-start: 1px solid var(--mf-page-line);
		padding-block-start: var(--wp--preset--spacing--large);
	}
}

/* Films V2.1 visual correction: P-006.  These components are deliberately
 * scoped to the new locked roots; the protected homepage layer is untouched. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__grid,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__grid,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__intro,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__intro,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__craft-zone,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-zone,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__layout {
	display: grid;
	gap: clamp(2rem, 5vw, 5.5rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__grid > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__grid > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__intro > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__intro > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__craft-zone > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-zone > .wp-block-column,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__layout > .wp-block-column {
	flex-basis: auto;
	min-width: 0;
	width: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__lead {
	grid-column: 1 / span 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__copy {
	grid-column: 8 / -1;
	padding-block-start: clamp(1rem, 4vw, 4rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__copy .mf-page-copy + .mf-page-copy {
	margin-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__media {
	aspect-ratio: 16 / 9;
	background: var(--mf-page-dark);
	border-radius: var(--radius-md, 0.75rem);
	margin-block-start: clamp(2rem, 5vw, 4.5rem);
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__caption {
	border-block-start: 1px solid var(--mf-page-gold);
	margin-block-start: var(--wp--preset--spacing--small);
	padding-block-start: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__caption .mf-page-copy {
	color: var(--mf-page-ink-muted);
	margin: 0;
	max-width: 48rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
	background-color: var(--mf-page-dark);
	background-image: url('../images/films/archive/archive-background-dark-texture-v1.png');
	background-position: center;
	background-size: cover;
	color: var(--mf-page-canvas);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: '';
	inset-block-end: -3rem;
	pointer-events: none;
	position: absolute;
	width: clamp(14rem, 26vw, 25rem);
	z-index: -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
	background-image: url('../images/films/archive/archive-ornament-bottom-left-v1.png');
	left: -2rem;
	mix-blend-mode: screen;
	opacity: 0.36;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-image: url('../images/films/archive/archive-ornament-bottom-right-v1.png');
	mix-blend-mode: screen;
	opacity: 0.36;
	right: -2rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
	position: relative;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
	color: var(--mf-page-gold);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-copy {
	color: color-mix(in srgb, var(--mf-page-canvas) 76%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
	max-width: 32rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
	display: grid;
	gap: clamp(1.25rem, 2.1vw, 1.75rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(9rem, 1fr));
	margin-block-start: clamp(2.5rem, 6vw, 5.5rem);
	min-height: clamp(42rem, 66vw, 53rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	border: 1px solid var(--mf-page-gold);
	border-radius: var(--radius-md, 0.75rem);
	box-shadow: var(--mf-page-shadow);
	min-height: 0;
	overflow: hidden;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
	grid-column: 4 / span 3;
	grid-row: 2 / span 2;
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
	grid-column: 6 / span 4;
	grid-row: 1 / span 3;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
	grid-column: 10 / -1;
	grid-row: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
	grid-column: 10 / -1;
	grid-row: 2 / span 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__image {
	background: var(--mf-page-dark);
	border: 0;
	inset: 0;
	margin: 0;
	min-height: 0;
	padding: 0;
	position: absolute;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__veil {
	background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--mf-page-dark) 94%, transparent) 100%);
	bottom: 0;
	left: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	position: absolute;
	right: 0;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__title {
	color: var(--mf-page-gold);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 2.5vw, 2.35rem);
	font-weight: 400;
	line-height: 1;
	margin: 0 0 var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__copy {
	color: var(--mf-page-canvas);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2 {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__intro {
	grid-column: 1 / span 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger {
	grid-column: 7 / -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger-row {
	border-block-start: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger-row:last-child {
	border-block-end: 1px solid var(--mf-page-line);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger-title {
	color: var(--mf-page-gold-dark);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.55rem, 2.2vw, 2rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger-items {
	display: grid;
	gap: 0 var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__item {
	color: var(--mf-page-ink-muted);
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__lead {
	grid-column: 1 / span 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__copy {
	grid-column: 8 / -1;
	padding-block-start: clamp(1rem, 3vw, 3rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__grid {
	display: grid;
	gap: clamp(1.25rem, 2vw, 1.75rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(13rem, 19rem)) minmax(12rem, 17rem);
	margin-block-start: clamp(3rem, 6vw, 5.5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile {
	min-height: 0;
	overflow: hidden;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile::after,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile::after {
	background: linear-gradient(180deg, transparent 48%, color-mix(in srgb, var(--mf-page-dark) 82%, transparent) 100%);
	content: '';
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--hindu { grid-column: 1 / span 5; grid-row: 1; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--sikh { grid-column: 6 / span 3; grid-row: 1; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--muslim { grid-column: 9 / -1; grid-row: 1; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--south-indian { grid-column: 1 / span 4; grid-row: 2; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--gujarati { grid-column: 5 / span 5; grid-row: 2; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--punjabi { grid-column: 10 / -1; grid-row: 2; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--fusion { grid-column: 4 / span 8; grid-row: 3; }

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__image,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__image {
	border-radius: var(--radius-md, 0.75rem);
	height: 100%;
	margin: 0;
	min-height: 0;
	padding: 0;
	position: absolute;
	inset: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__label,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__label {
	bottom: clamp(1rem, 2vw, 1.5rem);
	color: var(--mf-page-canvas);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.45rem, 2.25vw, 2rem);
	font-weight: 400;
	left: clamp(1rem, 2vw, 1.5rem);
	line-height: 1;
	margin: 0;
	position: absolute;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__lead {
	grid-column: 1 / span 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__copy {
	grid-column: 8 / -1;
	padding-block-start: clamp(1rem, 3vw, 3rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__band {
	display: flex;
	gap: clamp(0.5rem, 0.8vw, 0.75rem);
	margin-block-start: clamp(3rem, 6vw, 5.5rem);
	min-height: clamp(24rem, 31vw, 27.5rem);
	overflow: hidden;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile {
	border-radius: var(--radius-md, 0.75rem);
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--mehndi { flex-basis: 14%; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--haldi { flex-basis: 15%; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--sangeet { flex-basis: 18%; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--baraat { flex-basis: 14%; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--ceremony { flex-basis: 22%; }
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile--reception { flex-basis: 17%; }

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2 {
	background: var(--mf-page-dark);
	color: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__layout {
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__copy {
	grid-column: 1 / span 5;
	padding-block-start: clamp(1rem, 4vw, 4rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__copy .mf-page-copy {
	color: color-mix(in srgb, var(--mf-page-canvas) 75%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__media-column {
	grid-column: 7 / -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__media {
	aspect-ratio: 4 / 5;
	background: var(--mf-page-dark);
	border: 1px solid var(--mf-page-gold);
	border-radius: var(--radius-md, 0.75rem);
	margin: 0;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__actions {
	margin-block-start: clamp(2rem, 4vw, 3.5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__craft-copy {
	grid-column: 1 / span 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__craft-media {
	grid-column: 6 / -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__mosaic {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-rows: 1fr 1fr;
	min-height: clamp(22rem, 34vw, 31rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__image {
	border-radius: var(--radius-md, 0.75rem);
	margin: 0;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__image--a {
	grid-row: 1 / -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-zone {
	align-items: start;
	margin-block-start: clamp(4rem, 10vw, 9rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-image {
	grid-column: 1 / span 7;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-copy {
	grid-column: 9 / -1;
	padding-block-start: clamp(1rem, 4vw, 4rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-md, 0.75rem);
	margin: 0;
	min-height: 0;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2 {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__intro {
	grid-column: 1 / span 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__sequence {
	grid-column: 7 / -1;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step {
	border-block-start: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
	padding-inline-start: clamp(0rem, 2.5vw, 2.5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step:last-child {
	border-block-end: 1px solid var(--mf-page-line);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step--two,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step--four {
	padding-inline-start: clamp(1.5rem, 5vw, 5rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__title {
	color: var(--mf-page-gold-dark);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.65rem, 2.6vw, 2.4rem);
	font-weight: 400;
	line-height: 1;
	margin: 0 0 var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__copy {
	color: var(--mf-page-ink-muted);
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2 {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content {
	background: transparent;
	box-shadow: none;
	margin-inline: auto;
	max-width: 52rem;
	padding-block: clamp(3rem, 8vw, 7rem);
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content .mf-page-eyebrow {
	color: var(--mf-page-red);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content .mf-page-section-title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content .mf-page-lede {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content .mf-page-section-title {
	max-width: 18ch;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content .mf-page-lede {
	max-width: 35rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2 .mf-page-actions {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--large);
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__intro,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__intro,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__craft-zone,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-zone,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__layout {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--large);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__copy {
		padding-block-start: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-opening-featured__media {
		margin-block-start: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--medium);
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		min-height: clamp(15rem, 68vw, 22rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		min-height: min(42rem, 112vw);
		order: 1;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		margin-block-start: 0;
		order: 2;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		order: 3;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		order: 4;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		opacity: 0.16;
		width: 12rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-collection-v2__ledger-items {
		grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__grid {
		gap: var(--wp--preset--spacing--small);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(4, minmax(10rem, 14rem));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--hindu,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--sikh,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--muslim,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--south-indian,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--gujarati,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--punjabi {
		grid-column: auto;
		grid-row: auto;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--fusion {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__band {
		align-items: stretch;
		flex-direction: column;
		gap: var(--wp--preset--spacing--small);
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events-static__tile {
		flex: 0 0 clamp(14rem, 64vw, 21rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde-v2__media {
		aspect-ratio: 4 / 3;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__mosaic {
		min-height: clamp(20rem, 88vw, 28rem);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-zone {
		margin-block-start: var(--wp--preset--spacing--xl);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-image,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-behind-the-film__team-copy {
		width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step--two,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process-v2__step--four {
		padding-inline-start: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home-v2__content {
		padding-inline: 0;
	}
}

@media (max-width: 30rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(7, minmax(12rem, 17rem));
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions-static__tile--fusion {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button .wp-block-button__link {
		transition: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-button .wp-block-button__link:hover {
		transform: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-cinematic,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-cinematic,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-video {
		animation: none;
		scroll-behavior: auto;
		transition: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-homepage__media video {
		visibility: hidden;
	}
}

/* Photography extension: reusable gallery, editorial, process, proof, and FAQ roles. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded {
	background: var(--mf-page-canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial {
	background: var(--mf-page-dark);
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial-plain,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq-expanded {
	background: var(--mf-page-surface);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__grid {
	display: grid;
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--large);
}

/* Core Gallery's two-class flex rule otherwise wins over the governed grid. */
:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-gallery.has-nested-images.mf-page-featured-gallery__grid {
	display: grid;
}

:where(.maharani-page-template, .editor-styles-wrapper) .wp-block-gallery.mf-page-featured-gallery__grid.has-nested-images figure.wp-block-image.mf-page-featured-gallery__image:not(#individual-image),
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__image {
	 aspect-ratio: 4 / 5;
	 margin: 0;
	 width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__image > img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__image:nth-child(3n + 1) {
	aspect-ratio: 3 / 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__image:nth-child(5n) {
	aspect-ratio: 16 / 10;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__caption,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__footer {
	align-items: center;
	border-block-start: 1px solid var(--mf-page-line);
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	justify-content: space-between;
	margin-block-start: var(--wp--preset--spacing--large);
	padding-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__caption-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__closing {
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__closing {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 72%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables .mf-page-inner {
	max-width: var(--mf-page-wide-width);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables .mf-page-section-title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial .mf-page-section-title {
	color: var(--wp--preset--color--canvas);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables .mf-page-deliverables__group-label {
	color: var(--mf-page-gold);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__intro,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial__body {
	margin-block-start: var(--wp--preset--spacing--medium);
	max-width: 52rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__intro .mf-page-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__item-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial__body .mf-page-copy {
	color: color-mix(in srgb, var(--wp--preset--color--canvas) 72%, transparent);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__groups {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__group {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__group-label {
	border-block-start: 1px solid var(--mf-page-gold);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
	margin-block-end: var(--wp--preset--spacing--medium);
	padding-block-start: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__item {
	border-block-start: 1px solid color-mix(in srgb, var(--mf-page-gold) 32%, transparent);
	padding-block: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__item:has(.mf-page-deliverables__item-title:empty):has(.mf-page-deliverables__item-copy:empty),
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__card:has(.mf-page-story-grid__title:empty) {
	display: none;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__item-title {
	color: var(--wp--preset--color--canvas);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.08;
	margin-block-end: var(--wp--preset--spacing--xs);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__layout {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__media {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__image {
	aspect-ratio: 3 / 4;
	margin: 0;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__image:first-child {
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__stamp {
	color: var(--mf-page-gold-dark);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.18em;
	margin-block-end: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__filters {
	gap: var(--wp--preset--spacing--small);
	margin-block: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__tile {
	background: var(--mf-page-paper);
	border-block-start: 1px solid var(--mf-page-line);
	padding-block-end: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__image {
	aspect-ratio: 3 / 4;
	margin: 0 0 var(--wp--preset--spacing--small);
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.08;
	margin-inline: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__tile .mf-page-actions {
	margin: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__footer-actions {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--large);
}

@supports selector(:has(*)) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-hindu:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--hindu),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-sikh:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--sikh),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-muslim:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--muslim),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-south-indian:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--south-indian),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-gujarati:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--gujarati),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-punjabi:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--punjabi),
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery:has(#mf-page-traditions-fusion:target) .mf-page-tradition-gallery__tile:not(.mf-page-tradition-gallery__tile--fusion) {
		display: none;
	}
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__item {
	background: var(--mf-page-paper);
	border-block-start: 1px solid var(--mf-page-line);
	padding-block-end: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__image {
	aspect-ratio: 3 / 2;
	margin: 0 0 var(--wp--preset--spacing--small);
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__copy {
	margin-inline: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__groups {
	display: grid;
	gap: var(--wp--preset--spacing--large);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__group {
	min-width: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__grid {
	display: grid;
	gap: var(--wp--preset--spacing--xs);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__image {
	aspect-ratio: 4 / 5;
	margin: 0;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__card {
	background: var(--mf-page-paper);
	border-block-start: 1px solid var(--mf-page-line);
	padding-block-end: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__image {
	aspect-ratio: 3 / 4;
	margin: 0 0 var(--wp--preset--spacing--small);
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__meta {
	color: var(--mf-page-ink-muted);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.08em;
	margin: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--small) 0;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__card .mf-page-actions {
	margin: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial {
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial__body {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial__body .mf-page-copy {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-dark-editorial .mf-page-actions {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__step {
	border-block-start: 1px solid var(--mf-page-line);
	padding-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__number {
	color: var(--mf-page-gold-dark);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
	margin-block-end: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.08;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial-plain {
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial-plain__quote {
	border: 0;
	margin: var(--wp--preset--spacing--large) auto 0;
	padding: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial-plain__quote > p:first-child {
	color: var(--mf-page-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--quote);
	font-style: italic;
	font-weight: 300;
	line-height: 1.2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-testimonial-plain__cite {
	color: var(--mf-page-gold-dark);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
	margin-block-start: var(--wp--preset--spacing--large);
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded {
	text-align: center;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__intro {
	margin-inline: auto;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row {
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row-label {
	color: var(--mf-page-gold-dark);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__marks {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	margin-block-start: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--eight .mf-page-press-grid-expanded__marks {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--five .mf-page-press-grid-expanded__marks {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--three .mf-page-press-grid-expanded__marks {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__mark {
	align-items: center;
	border-block: 1px solid var(--mf-page-line);
	display: flex;
	justify-content: center;
	min-height: 4rem;
	padding: var(--wp--preset--spacing--small);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__mark-text {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	line-height: 1;
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__artwork {
	max-height: 3rem;
	margin: var(--wp--preset--spacing--xs) 0 0;
	width: min(100%, 8rem);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__artwork img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded .mf-page-actions {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq-expanded__list {
	border-block-start: 1px solid var(--mf-page-line);
	margin-block-start: var(--wp--preset--spacing--xl);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq-expanded__item {
	border-block-end: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq-expanded__item summary {
	color: var(--mf-page-ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-medium);
	font-weight: 400;
	line-height: 1.15;
	padding-inline-end: var(--wp--preset--spacing--large);
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-faq-expanded__item p {
	color: var(--mf-page-ink-muted);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.8;
	margin-block: var(--wp--preset--spacing--medium) 0;
	max-width: 52rem;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__groups,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__groups,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__groups {
	gap: var(--wp--preset--spacing--large);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-media-mosaic__layout {
	grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--eight .mf-page-press-grid-expanded__marks,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--five .mf-page-press-grid-expanded__marks {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--three .mf-page-press-grid-expanded__marks {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__caption,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__footer {
	align-items: flex-start;
	flex-direction: column;
	}
}

@media (max-width: 30rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-featured-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-tradition-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-event-gallery__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__groups,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-story-grid__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-deliverables__groups,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-process-steps__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--eight .mf-page-press-grid-expanded__marks,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--five .mf-page-press-grid-expanded__marks {
	grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-press-grid-expanded__row--three .mf-page-press-grid-expanded__marks {
	grid-template-columns: 1fr;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-genre-gallery__grid {
	gap: var(--wp--preset--spacing--xs);
	}
}

/* Films V2 — governed editorial compositions. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact {
	background: var(--mf-page-dark);
	color: var(--mf-page-canvas);
	min-height: min(100svh, 62rem);
	overflow: hidden;
	position: relative;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__media {
	inset: 0;
	margin: 0;
	position: absolute;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__media::after {
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--mf-page-dark) 34%, transparent), color-mix(in srgb, var(--mf-page-dark) 70%, transparent)),
		radial-gradient(circle at 50% 48%, transparent 0 18%, color-mix(in srgb, var(--mf-page-dark) 42%, transparent) 82%);
	content: '';
	inset: 0;
	position: absolute;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__media video {
	filter: blur(5px);
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	width: 100%;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__content {
	align-items: center;
	background: color-mix(in srgb, var(--mf-page-dark) 34%, transparent);
	backdrop-filter: blur(5px);
	border-block: 1px solid color-mix(in srgb, var(--mf-page-canvas) 34%, transparent);
	display: flex;
	flex-direction: column;
	justify-content: center;
	left: 50%;
	min-height: 19rem;
	padding: clamp(2.5rem, 5vw, 4rem) var(--mf-page-gutter);
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(calc(100% - (2 * var(--mf-page-gutter))), 48rem);
	z-index: 1;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact .mf-page-eyebrow {
	color: color-mix(in srgb, var(--mf-page-canvas) 84%, var(--mf-page-gold));
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__title {
	color: var(--mf-page-canvas);
	font-size: clamp(2.9rem, 5.8vw, 5.25rem);
	line-height: .96;
	max-width: 15ch;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__subline {
	color: color-mix(in srgb, var(--mf-page-canvas) 88%, transparent);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.7;
	margin-block: 0 var(--wp--preset--spacing--large);
	max-width: 42rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact .mf-page-actions {
	margin: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact .mf-page-button--home-primary .wp-block-button__link,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home .mf-page-button--home-primary .wp-block-button__link {
	min-height: 3.5rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto {
	background: var(--mf-page-surface);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__grid,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row {
	display: grid;
	gap: clamp(3rem, 8vw, 8rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__lead {
	grid-column: 1 / span 6;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__copy {
	grid-column: 8 / -1;
	padding-block-start: clamp(1rem, 4vw, 4rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__copy .mf-page-copy + .mf-page-copy {
	margin-block-start: var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-rule {
	border: 0;
	border-block-start: 1px solid var(--mf-page-gold);
	margin: 0 0 var(--wp--preset--spacing--large);
	width: min(100%, 10rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured {
	background: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__heading {
	display: grid;
	gap: var(--wp--preset--spacing--xl);
	grid-template-columns: minmax(0, 5fr) minmax(12rem, 3fr);
	margin-block-end: var(--wp--preset--spacing--large);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__media {
	aspect-ratio: 16 / 9;
	background: var(--mf-page-dark);
	margin: 0;
	overflow: hidden;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__media img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__media img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__media img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__image img,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__caption {
	border-block-start: 1px solid var(--mf-page-gold);
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	justify-content: space-between;
	padding-block-start: var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__status,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__status,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__status,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__status,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__status {
	display: none;
	color: var(--mf-page-red);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: .12em;
	line-height: 1.5;
	margin: 0;
	text-transform: uppercase;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive {
	background: var(--mf-page-dark);
	color: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team .mf-page-eyebrow {
	color: var(--mf-page-gold);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive .mf-page-section-title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde .mf-page-section-title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team .mf-page-section-title {
	background-image: var(--type-section-title-gradient);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__intro {
	margin-block-end: clamp(3rem, 7vw, 7rem);
	max-width: 50rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row + .mf-film-archive__row {
	margin-block-start: clamp(4rem, 10vw, 9rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--a .mf-film-archive__column--wide,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--b .mf-film-archive__column--wide {
	grid-column: span 7;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--a .mf-film-archive__column--narrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--b .mf-film-archive__column--narrow {
	grid-column: span 4;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--a .mf-film-archive__column--narrow {
	padding-block-start: clamp(2rem, 8vw, 8rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--b .mf-film-archive__column--narrow {
	padding-block-start: clamp(1rem, 5vw, 5rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__image {
	aspect-ratio: 16 / 9;
	margin: 0 0 var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__column--narrow .mf-film-archive__image {
	aspect-ratio: 4 / 5;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__label,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__label,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__media-label {
	color: var(--mf-page-gold);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: .16em;
	line-height: 1.5;
	margin-block-end: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__title {
	color: var(--mf-page-canvas);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.8rem, 3vw, 3rem);
	font-weight: 300;
	line-height: 1.05;
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__copy .mf-page-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde .mf-page-copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team .mf-page-copy {
	color: color-mix(in srgb, var(--mf-page-canvas) 78%, transparent);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library {
	background: var(--mf-page-surface);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__intro {
	max-width: 52rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__ledger {
	border-block-start: 1px solid var(--mf-page-line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block-start: clamp(2.5rem, 6vw, 5rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__item {
	border-block-end: 1px solid var(--mf-page-line);
	padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium) var(--wp--preset--spacing--large) 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__item:nth-child(even) {
	padding-inline: var(--wp--preset--spacing--medium) 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__number {
	color: var(--mf-page-gold);
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2.4vw, 2.4rem);
	line-height: 1.05;
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions {
	background: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__intro {
	max-width: 55rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__filters,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tabs {
	gap: var(--wp--preset--spacing--xs);
	margin-block: var(--wp--preset--spacing--large) clamp(2.5rem, 5vw, 5rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__filters .wp-block-button__link,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tabs .wp-block-button__link {
	border-color: var(--mf-page-line);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: .12em;
	min-height: 2.75rem;
	padding-inline: var(--wp--preset--spacing--small);
	text-transform: uppercase;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__grid {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile {
	grid-column: span 3;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile:nth-child(3n + 1) {
	grid-column: span 4;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile:nth-child(3n + 2) {
	padding-block-start: clamp(2rem, 5vw, 5rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile:nth-child(5n) {
	grid-column: span 5;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__image {
	aspect-ratio: 4 / 5;
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile:nth-child(3n + 2) .mf-film-traditions__image {
	aspect-ratio: 16 / 10;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2vw, 2.2rem);
	font-weight: 300;
	line-height: 1;
	margin: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events {
	background: var(--mf-page-surface);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__layout,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__layout,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__layout,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__layout,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__layout {
	display: grid;
	gap: clamp(2rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
	margin: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__layout,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__layout {
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__layout {
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__layout {
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__nav-label {
	color: var(--mf-page-red);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: .14em;
	margin-block-end: var(--wp--preset--spacing--medium);
	text-transform: uppercase;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tabs {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	margin-block: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tab .wp-block-button__link {
	justify-content: flex-start;
	text-align: left;
	width: 100%;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tab.is-active .wp-block-button__link,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__filter.is-active .wp-block-button__link {
	background: var(--mf-page-red);
	border-color: var(--mf-page-red);
	color: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__stage {
	min-width: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__media {
	position: relative;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__media-item {
	display: none;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__media-item:first-child,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__media-item.is-active {
	display: block;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__image {
	aspect-ratio: 16 / 10;
	margin: 0 0 var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team {
	background: var(--mf-page-dark);
	color: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde .mf-page-eyebrow,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team .mf-page-eyebrow {
	color: var(--mf-page-gold);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__copy,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__copy {
	padding-block-start: clamp(1rem, 5vw, 5rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__media,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__media {
	aspect-ratio: 16 / 10;
	margin: 0;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft {
	background: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__copy {
	padding-block-start: clamp(1rem, 4vw, 4rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__mosaic {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: 1.2fr .8fr;
	grid-template-rows: repeat(2, minmax(9rem, 16rem));
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__image {
	height: 100%;
	margin: 0;
	overflow: hidden;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__image--a {
	grid-row: span 2;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__image--b,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__image--c {
	grid-column: 2;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process {
	background: var(--mf-page-surface);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__intro {
	max-width: 44rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__timeline {
	border-block-start: 1px solid var(--mf-page-line);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block-start: clamp(3rem, 7vw, 6rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step {
	border-inline-start: 1px solid var(--mf-page-line);
	padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step--two,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step--four {
	padding-block-start: clamp(3rem, 9vw, 8rem);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__number {
	color: var(--mf-page-gold);
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: .8;
	margin-block-end: var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 2.5vw, 2.5rem);
	font-weight: 300;
	line-height: 1;
	margin-block-end: var(--wp--preset--spacing--small);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq {
	background: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__list {
	border-block-start: 1px solid var(--mf-page-line);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__item {
	border-block-end: 1px solid var(--mf-page-line);
	padding-block: var(--wp--preset--spacing--medium);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__item summary {
	color: var(--mf-page-ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.4rem, 2.2vw, 2.1rem);
	font-weight: 300;
	line-height: 1.1;
	padding-inline-end: var(--wp--preset--spacing--large);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__answer {
	color: var(--mf-page-ink-muted);
	line-height: 1.75;
	margin-block: var(--wp--preset--spacing--small) 0;
	max-width: 48rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home {
	background: var(--mf-page-canvas);
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home__content {
	background: var(--mf-page-paper);
	border-block: 1px solid var(--mf-page-line);
	box-shadow: var(--mf-page-shadow);
	margin-inline: auto;
	padding: clamp(3rem, 7vw, 6rem) var(--mf-page-gutter);
	text-align: center;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home__content .mf-page-section-title,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home__content .mf-page-lede {
	margin-inline: auto;
	max-width: 18ch;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home__content .mf-page-lede {
	max-width: 42rem;
}
:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-closing-cta-home .mf-page-actions {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--large);
}
@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__content {
		min-height: 20rem;
		width: min(calc(100% - (2 * var(--mf-page-gutter))), 22rem);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-page-hero-home-exact__title {
		font-size: clamp(2.75rem, 13vw, 3.35rem);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__grid,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__layout,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-faq__layout {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--large);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-manifesto__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--a .mf-film-archive__column--narrow,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row--b .mf-film-archive__column--narrow,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-sde__copy,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-team__copy {
		padding-block-start: 0;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__heading {
		display: block;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__heading .mf-page-copy {
		margin-block-start: var(--wp--preset--spacing--medium);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-featured__caption {
		align-items: flex-start;
		flex-direction: column;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive__row + .mf-film-archive__row {
		margin-block-start: var(--wp--preset--spacing--xl);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__ledger {
		grid-template-columns: 1fr;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__item,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-library__item:nth-child(even) {
		padding-inline: 0;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__filters {
		align-items: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-block-end: var(--wp--preset--spacing--xs);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__tile:nth-child(3n + 2) {
		padding-block-start: var(--wp--preset--spacing--large);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tabs {
		align-items: flex-start;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-block-end: var(--wp--preset--spacing--xs);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tab {
		flex: 0 0 auto;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-events__tab .wp-block-button__link {
		width: auto;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__timeline {
		display: block;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step--two,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-process__step--four {
		border-inline-start: 1px solid var(--mf-page-gold);
		padding-block: var(--wp--preset--spacing--large);
		padding-inline-start: var(--wp--preset--spacing--medium);
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__mosaic {
		grid-template-rows: repeat(2, minmax(8rem, 12rem));
	}
}
@media (max-width: 30rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-traditions__grid {
		grid-template-columns: 1fr;
	}
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-craft__mosaic {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(2, 10rem);
	}
}

/* Films P-007 — Archive-only composition correction. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
	box-sizing: border-box;
	min-height: 64rem;
	padding-block: 7rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	aspect-ratio: 1;
	bottom: -1.5rem;
	height: 24rem;
	pointer-events: none;
	top: auto;
	width: 24rem;
	z-index: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
	background-position: left bottom;
	left: -1rem;
	opacity: 0.56;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-position: right bottom;
	right: -1rem;
	opacity: 0.56;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
	box-sizing: border-box;
	display: grid;
	gap: 4.5rem;
	grid-template-columns: 20rem minmax(0, 1fr);
	max-width: 80rem;
	min-height: 48rem;
	padding-inline: 0;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
	align-self: start;
	grid-column: 1;
	grid-row: 1;
	margin-block: 6rem 0;
	max-width: 20rem;
	position: relative;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
	display: block;
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	min-height: 48rem;
	position: relative;
	width: 100%;
	z-index: 2;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	border-color: color-mix(in srgb, var(--mf-page-gold) 62%, transparent);
	border-radius: 4px;
	box-shadow: var(--mf-page-shadow);
	inset: auto;
	position: absolute;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
	height: 42.5rem;
	left: 12rem;
	top: 0;
	width: 26.25rem;
	z-index: 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
	height: 21.25rem;
	left: 0;
	margin-block-start: 0;
	top: 12.5rem;
	width: 13.75rem;
	z-index: 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
	height: 14.0625rem;
	right: 0;
	top: 6rem;
	width: 16.875rem;
	z-index: 3;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
	height: 20rem;
	right: 0;
	top: 21rem;
	width: 16.875rem;
	z-index: 3;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__image,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__image img {
	height: 100%;
	max-width: none;
	width: 100%;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__image img {
	object-fit: cover;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
		min-height: 0;
		padding-block: 6rem 5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		bottom: -1.25rem;
		height: 11rem;
		top: auto;
		width: 11rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
		left: -3rem;
		opacity: 0.26;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		right: -3rem;
		opacity: 0.26;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
		display: block;
		max-width: none;
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
		margin-block: 0 var(--wp--preset--spacing--large);
		max-width: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--medium);
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		aspect-ratio: auto;
		height: auto;
		inset: auto;
		min-height: 0;
		position: relative;
		width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		aspect-ratio: 420 / 680;
		order: 1;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		aspect-ratio: 220 / 340;
		order: 2;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		aspect-ratio: 270 / 225;
		order: 3;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		aspect-ratio: 270 / 320;
		order: 4;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		z-index: 2;
	}
}

/* Films P-008 — final cascade after the governed base/mobile rules. */
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
	background-color: var(--mf-page-dark);
	background-image: url('../images/films/archive/archive-background-dark-texture-v1.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	min-height: 59rem;
	padding-block: 5.75rem 4.75rem;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	background-size: contain;
	bottom: -3rem;
	height: 30rem;
	mix-blend-mode: normal;
	top: auto;
	width: 30rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
	left: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
	right: -3rem;
	opacity: 0.34;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
	gap: 3.5rem;
	grid-template-columns: 21.25rem minmax(0, 1fr);
	max-width: 85rem;
	min-height: 45rem;
	padding-inline: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
	margin-block: 2.5rem 0;
	max-width: 21.25rem;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
	background-image: linear-gradient(180deg, var(--mf-page-canvas) 0 34%, var(--mf-page-gold) 34% 100%);
	background-clip: text;
	display: block;
	font-size: clamp(3.75rem, 4.75vw, 4.25rem) !important;
	line-height: 1 !important;
	max-width: 24rem;
	width: min(24rem, calc(100vw - (2 * var(--mf-page-gutter))));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
	border-color: color-mix(in srgb, var(--mf-page-gold) 54%, transparent);
	border-radius: 0;
	margin: 0;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
	height: 43.75rem;
	left: 17.5rem;
	top: 0;
	width: 27.5rem;
	z-index: 6;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
	height: 23.75rem;
	left: 3.5rem;
	top: 19.25rem;
	width: 15.625rem;
	z-index: 5;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
	height: 14.5rem;
	right: 0;
	top: 5rem;
	width: 18.5rem;
	z-index: 4;
}

:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
	height: 21.25rem;
	right: 0;
	top: 20.5rem;
	width: 18.5rem;
	z-index: 4;
}

@media (max-width: 48rem) {
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 {
		min-height: 0;
		padding-block: 3.5rem;
		padding-inline: var(--mf-page-gutter);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before,
	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		bottom: -1.25rem;
		height: 10rem;
		mix-blend-mode: normal;
		opacity: 0.2;
		width: 10rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::before {
		left: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2::after {
		right: -1.5rem;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__inner {
		gap: 0;
		max-width: none;
		min-height: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__intro {
		margin-block: 0 var(--wp--preset--spacing--large);
		max-width: none;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2 .mf-page-section-title {
		font-size: clamp(3.25rem, 14vw, 4rem) !important;
		max-width: 100%;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__grid {
		gap: var(--wp--preset--spacing--medium);
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter {
		border-radius: 0;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--rituals {
		aspect-ratio: 420 / 680;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--stories {
		aspect-ratio: 250 / 380;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--people {
		aspect-ratio: 296 / 232;
	}

	:where(.maharani-page-template, .editor-styles-wrapper) .mf-film-archive-v2__chapter--remains {
		aspect-ratio: 296 / 340;
	}
}
