/*
Theme Name: GP Packaging
Theme URI: https://gp-packaging.it/
Author: AC Web Vision
Author URI: https://acwebvision.it/
Description: Tema a blocchi WordPress realizzato per GP Packaging, con Site Editor, pattern nativi e design system industriale dedicato.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.67
Update URI: https://celestia.click/updates/gp/theme/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gp-packaging
Tags: full-site-editing, block-patterns, block-styles, style-variations, wide-blocks
*/

/*
 * GP Packaging keeps the shared theme foundation lightweight and native.
 * Layout foundations use native WordPress tokens with small semantic utility classes.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/*
 * Shared semantic layout recipes.
 * The editor UI applies these classes; WordPress core blocks keep their native markup.
 */

/*
 * Tagline typography bridge.
 *
 * The GP Blocks Tagline still applies legacy typography directly to its inner
 * span. Global Styles, however, are applied to the block wrapper. Target the
 * inner text without assuming a specific wrapper class and force it to inherit
 * the Gutenberg typography values. The low-specificity wrapper fallback keeps
 * older saved markup at Caption size while allowing Global Styles to override it.
 */
:where(.celestia-tagline) {
	font-size: var(--wp--preset--font-size--caption, 14px);
}

html body span.celestia-tagline__text,
.editor-styles-wrapper span.celestia-tagline__text,
.wp-block-celestia-tagline .celestia-tagline__text,
.celestia-tagline .celestia-tagline__text {
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-decoration: inherit !important;
	text-transform: inherit !important;
}

/* Section spacing recipes. */
.celestia-section-spacing-large {
	padding-block: var(--wp--preset--spacing--4-xl);
}

.celestia-section-spacing-medium {
	padding-block: var(--wp--preset--spacing--3-xl);
}

.celestia-section-spacing-small {
	padding-block: var(--wp--preset--spacing--xl);
}

/* Structural container widths. */
.celestia-container-large {
	width: 100%;
	max-width: var(--wp--custom--celestia--container--large, 1280px);
	margin-inline: auto;
}

.celestia-container-medium {
	width: 100%;
	max-width: var(--wp--custom--celestia--container--medium, 1024px);
	margin-inline: auto;
}

.celestia-container-small {
	width: 100%;
	max-width: var(--wp--custom--celestia--container--small, 768px);
	margin-inline: auto;
}

/* Content max-width utilities. Alignment remains controlled by the block itself. */
.celestia-max-width-2xl {
	max-width: var(--wp--custom--celestia--max-width--xxl, 1280px);
}

.celestia-max-width-xl {
	max-width: var(--wp--custom--celestia--max-width--xl, 1024px);
}

.celestia-max-width-l {
	max-width: var(--wp--custom--celestia--max-width--l, 768px);
}

.celestia-max-width-m {
	max-width: var(--wp--custom--celestia--max-width--m, 560px);
}

.celestia-max-width-s {
	max-width: var(--wp--custom--celestia--max-width--s, 480px);
}

.celestia-max-width-xs {
	max-width: var(--wp--custom--celestia--max-width--xs, 400px);
}

.celestia-max-width-2xs {
	max-width: var(--wp--custom--celestia--max-width--xxs, 320px);
}

@media (width <= 1024px) {
	.celestia-section-spacing-large {
		padding-block: var(--wp--preset--spacing--3-xl);
	}

	.celestia-section-spacing-medium {
		padding-block: var(--wp--preset--spacing--2-xl);
	}

	.celestia-section-spacing-small {
		padding-block: var(--wp--preset--spacing--l);
	}
}

@media (width <= 767px) {
	.celestia-section-spacing-large {
		padding-block: var(--wp--preset--spacing--2-xl);
	}

	.celestia-section-spacing-medium {
		padding-block: var(--wp--preset--spacing--xl);
	}

	.celestia-section-spacing-small {
		padding-block: var(--wp--preset--spacing--m);
	}
}


/* Center semantic max-width recipes when the native block text alignment is centered. */
.has-text-align-center[class*="celestia-max-width-"] {
	margin-inline: auto;
}

.has-text-align-right[class*="celestia-max-width-"] {
	margin-left: auto;
}

/*
 * Full-bleed split layout.
 *
 * The Grid block owns the global Wide/container width. Only the media
 * visual extends from the container edge to the viewport edge.
 */
.celestia-split-full-bleed-grid {
	--celestia-split-site-width: var(
		--wp--style--global--wide-size,
		var(--wp--custom--celestia--container--large, 1280px)
	);
	--celestia-split-page-gutter: var(
		--wp--style--root--padding-right,
		var(--wp--preset--spacing--m, 24px)
	);
	--celestia-split-media-bleed: max(
		var(--celestia-split-page-gutter),
		calc((100vw - var(--celestia-split-site-width)) / 2)
	);
}

.celestia-split-full-bleed-media {
	width: calc(100% + var(--celestia-split-media-bleed));
	max-width: none;
}

@media (width <= 781px) {
	.celestia-split-full-bleed-media {
		width: 100%;
	}
}

/* Query Loop post item recipe. */
:is(.celestia-post-item, .celestia-post-card) {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.celestia-post-card-media {
	width: 100%;
	overflow: hidden;
}

.celestia-post-card-media .wp-block-post-featured-image {
	width: 100%;
	max-width: none;
	margin: 0;
}

.celestia-post-card-media .wp-block-post-featured-image.alignfull {
	width: 100%;
	margin-inline: 0;
}

.celestia-post-card-media .wp-block-post-featured-image > a {
	display: block;
	width: 100%;
}

.celestia-post-card-media .wp-block-post-featured-image img {
	display: block;
	width: 100%;
}

.celestia-post-card-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.celestia-post-card-content--action-bottom > .wp-block-read-more {
	margin-top: auto;
}

/* Surface padding recipes; the Blocks plugin applies the actual padding. */
:is(.celestia-post-item--featured, .celestia-post-card--featured),
:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) {
	--celestia-post-item-content-padding: var(--wp--preset--spacing--l);
}

:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) {
	--celestia-post-item-content-padding: var(--wp--preset--spacing--xl);
}

/* Featured article plus compact supporting grid. */
.celestia-blog-featured-layout > .wp-block-query,
.celestia-blog-featured-layout .wp-block-post,
.celestia-blog-featured-layout :is(.celestia-post-item, .celestia-post-card) {
	min-width: 0;
}

:is(.celestia-post-item--compact, .celestia-post-card--compact) .celestia-post-card-content {
	min-height: 11rem;
}

/* Alternating editorial rows. */
.celestia-post-card-split-grid {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	height: 100%;
}

:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) .celestia-post-card-media,
:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) .wp-block-post-featured-image,
:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) .wp-block-post-featured-image > a,
:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) .wp-block-post-featured-image img {
	height: 100%;
}

:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split) .wp-block-post-featured-image img {
	object-fit: cover;
}

.celestia-post-template--editorial-split > .wp-block-post:nth-child(even) .celestia-post-card-media {
	order: 2;
}

.celestia-post-template--editorial-split > .wp-block-post:nth-child(even) .celestia-post-card-content {
	order: 1;
}

/* Compact horizontal list. */
.celestia-post-card-horizontal-grid {
	grid-template-columns: minmax(220px, 0.75fr) minmax(0, 2fr);
	height: 100%;
}

:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) .celestia-post-card-media,
:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) .wp-block-post-featured-image,
:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) .wp-block-post-featured-image > a,
:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) .wp-block-post-featured-image img {
	height: 100%;
}

:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) .wp-block-post-featured-image img {
	object-fit: cover;
}

/* Image-overlay cards. */
:is(.celestia-post-item--overlay, .celestia-post-card--overlay) {
	position: relative;
	isolation: isolate;
	justify-content: flex-end;
	background: var(--wp--preset--color--primary, #01443E);
	border-radius: 16px;
	overflow: hidden;
}

:is(.celestia-post-item--overlay, .celestia-post-card--overlay)::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgb(17 19 22 / 4%) 18%,
		rgb(17 19 22 / 32%) 52%,
		rgb(17 19 22 / 92%) 100%
	);
	pointer-events: none;
}

:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .celestia-post-card-media,
:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .wp-block-post-featured-image,
:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .wp-block-post-featured-image > a,
:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .wp-block-post-featured-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .wp-block-post-featured-image img {
	object-fit: cover;
}

:is(.celestia-post-item--overlay, .celestia-post-card--overlay) .celestia-post-card-content {
	position: relative;
	z-index: 2;
	justify-content: flex-end;
	min-height: inherit;
	padding: var(--wp--preset--spacing--l);
}

:is(.celestia-post-item--overlay, .celestia-post-card--overlay) :is(
	.wp-block-post-title a,
	.wp-block-post-terms a,
	.wp-block-post-date,
	.wp-block-post-excerpt,
	.wp-block-read-more.celestia-button-variant-text
) {
	color: var(--wp--preset--color--surface, #FFFFFF);
}

/* Four-post asymmetric grid. */
.celestia-post-template--mosaic {
	grid-auto-flow: row;
}

.celestia-post-template--mosaic > .wp-block-post:nth-child(1),
.celestia-post-template--mosaic > .wp-block-post:nth-child(4) {
	grid-column: span 2;
}

.celestia-post-template--mosaic > .wp-block-post:nth-child(1) .wp-block-post-featured-image,
.celestia-post-template--mosaic > .wp-block-post:nth-child(4) .wp-block-post-featured-image {
	aspect-ratio: 21 / 9 !important;
}

@media (width <= 1024px) {
	.celestia-post-card-split-grid,
	.celestia-post-card-horizontal-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.celestia-post-template--mosaic > .wp-block-post:nth-child(1),
	.celestia-post-template--mosaic > .wp-block-post:nth-child(4) {
		grid-column: span 1;
	}

	.celestia-post-template--mosaic > .wp-block-post:nth-child(1) .wp-block-post-featured-image,
	.celestia-post-template--mosaic > .wp-block-post:nth-child(4) .wp-block-post-featured-image {
		aspect-ratio: 16 / 10 !important;
	}
}

@media (width <= 767px) {
	.celestia-post-card-split-grid,
	.celestia-post-card-horizontal-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.celestia-post-template--editorial-split > .wp-block-post:nth-child(even) .celestia-post-card-media,
	.celestia-post-template--editorial-split > .wp-block-post:nth-child(even) .celestia-post-card-content {
		order: initial;
	}

	:is(.celestia-post-item--editorial-split, .celestia-post-card--editorial-split),
	:is(.celestia-post-item--horizontal, .celestia-post-card--horizontal) {
		--celestia-post-item-content-padding: var(--wp--preset--spacing--m);
	}

	:is(.celestia-post-item--overlay, .celestia-post-card--overlay) {
		min-height: 400px !important;
	}
}


/* Editorial template foundations. */
.celestia-single-post-header,
.celestia-archive-header {
	width: 100%;
}

.celestia-single-post-meta,
.celestia-single-post-meta a {
	color: var(--wp--preset--color--muted);
}

.celestia-single-post-meta > * + *::before {
	content: "·";
	margin-right: var(--wp--preset--spacing--xs);
}

.celestia-single-post-featured {
	width: 100%;
	overflow: hidden;
}

.celestia-single-post-featured img {
	display: block;
	width: 100%;
}

.celestia-single-post-content {
	width: 100%;
}

.celestia-single-post-footer {
	width: 100%;
}

.celestia-single-post-navigation > :last-child {
	text-align: right;
}

.celestia-single-post-navigation .wp-block-post-navigation-link a {
	display: inline-flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2-xs);
	text-decoration: none;
}

.celestia-single-post-navigation .post-navigation-link__label {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--caption);
}

.celestia-query-pagination {
	padding-top: var(--wp--preset--spacing--l);
	border-top: 1px solid var(--wp--preset--color--border);
}

.celestia-query-pagination a {
	text-decoration: none;
}

.celestia-query-pagination .page-numbers.current {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

@media (width <= 767px) {
	.celestia-single-post-navigation {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.celestia-single-post-navigation > :last-child {
		text-align: left;
	}

	.celestia-query-pagination {
		align-items: center;
		justify-content: center !important;
		flex-wrap: wrap;
	}
}

/* Interchangeable Single Post pattern layouts. */
.celestia-single-post-header--centered {
	text-align: center;
}

.celestia-single-post-header--centered > *,
.celestia-single-post-header--centered [class*="celestia-max-width-"] {
	margin-inline: auto;
}

.celestia-single-post-header--centered .celestia-single-post-meta {
	justify-content: center;
}

.celestia-single-post-featured--panoramic img {
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

.celestia-single-split-hero {
	align-items: stretch;
}

.celestia-single-split-copy {
	min-height: 560px;
}

.celestia-single-split-featured,
.celestia-single-split-featured > a {
	height: 100%;
	min-height: 560px;
	overflow: hidden;
}

.celestia-single-split-featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.celestia-single-minimal-header {
	padding-bottom: var(--wp--preset--spacing--l);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.celestia-single-post--minimal .celestia-single-post-content {
	padding-top: var(--wp--preset--spacing--xs);
}

@media (width <= 767px) {
	.celestia-single-split-copy {
		min-height: auto;
	}

	.celestia-single-split-featured,
	.celestia-single-split-featured > a {
		min-height: 360px;
	}
}


/* -------------------------------------------------------------------------
 * Celestia Header System
 * ---------------------------------------------------------------------- */

/*
 * WordPress applies the global block gap between root template children.
 * Header, Main and Footer are the document shell, so they should sit flush;
 * page sections manage their own spacing through the Celestia recipes.
 */
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .wp-block-template-part > :first-child {
	margin-block-start: 0 !important;
}

.celestia-header {
	--celestia-header-min-height: var(--wp--custom--celestia--header--min-height, 72px);
	--celestia-header-sticky-offset: var(--wp--custom--celestia--header--sticky-offset, 0px);
	--celestia-header-layer: var(--wp--custom--celestia--header--layer, 40);
	--celestia-header-overlay-background: var(
		--wp--custom--celestia--header--overlay-background,
		var(--wp--preset--color--surface, #fff)
	);
	--celestia-header-overlay-text: var(--wp--custom--celestia--header--overlay-text);
	position: relative;
	isolation: isolate;
	z-index: var(--celestia-header-layer);
	width: 100%;
}

.celestia-header--sticky {
	position: sticky;
	top: var(--celestia-header-sticky-offset);
	z-index: var(--celestia-header-layer);
}

/*
 * A header Group inside a Template Part is bounded by the Template Part's own
 * box. Move sticky positioning to that wrapper so the header can remain fixed
 * throughout the page instead of stopping at the end of its one-row parent.
 */
header.wp-block-template-part:has(> .celestia-header--sticky) {
	--celestia-header-sticky-offset: var(--wp--custom--celestia--header--sticky-offset, 0px);
	--celestia-header-layer: var(--wp--custom--celestia--header--layer, 40);
	position: sticky;
	top: var(--celestia-header-sticky-offset);
	z-index: var(--celestia-header-layer);
}

header.wp-block-template-part > .celestia-header--sticky {
	position: relative;
	top: auto;
}

/*
 * A sticky translucent header is intentionally rendered over the first page
 * section. WordPress may render either a Header template-part wrapper or the
 * inner Group directly. In both cases fixed positioning removes the header's
 * footprint while keeping it visible during scrolling, so the hero starts
 * underneath it and provides real pixels to the backdrop blur.
 */
.wp-site-blocks > .celestia-header--sticky.celestia-header--translucent,
header.wp-block-template-part:has(> .celestia-header--sticky.celestia-header--translucent) {
	position: fixed;
	inset-inline: 0;
	width: 100%;
	height: auto;
	min-height: 0;
	overflow: visible;
}

.admin-bar {
	--celestia-admin-bar-offset: 32px;
}

.admin-bar .celestia-header--sticky,
.admin-bar header.wp-block-template-part:has(> .celestia-header--sticky) {
	top: calc(var(--celestia-header-sticky-offset) + var(--celestia-admin-bar-offset));
}

html.celestia-admin-bar-hidden body.admin-bar .celestia-header--sticky,
html.celestia-admin-bar-hidden body.admin-bar header.wp-block-template-part:has(> .celestia-header--sticky) {
	top: var(--celestia-header-sticky-offset) !important;
}

/*
 * Sticky translucent headers use two deliberate contrast states:
 * - over the opening hero: dark glass with light navigation;
 * - after the first scroll movement: warm light glass with dark navigation.
 *
 * The two-class selector reliably wins over Gutenberg's generated
 * `.has-*-background-color` declarations without requiring the user to change
 * the saved Header template part.
 */
.celestia-header.celestia-header--translucent,
.celestia-header.celestia-header--translucent.has-background {
	color: rgb(255 255 255 / 94%);
	background: color-mix(
		in srgb,
		var(--wp--preset--color--contrast, #111316) 72%,
		transparent
	) !important;
	-webkit-backdrop-filter: blur(18px) saturate(125%);
	backdrop-filter: blur(18px) saturate(125%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 8%),
		0 12px 34px rgb(0 0 0 / 14%);
	transition:
		background-color 260ms ease,
		color 260ms ease,
		border-color 260ms ease,
		box-shadow 260ms ease;
}

/* Navigation blocks can receive a global text color of their own. Force only
 * the interactive header controls to inherit the current glass state. Desktop
 * submenu items still inherit the submenu's explicit dark text color. */
.celestia-header.celestia-header--translucent :where(
	.wp-block-navigation-item__content,
	.wp-block-navigation-submenu__toggle,
	.wp-block-navigation__responsive-container-open,
	.wp-block-navigation__responsive-container-close
) {
	color: inherit !important;
}

.celestia-header.celestia-header--translucent.celestia-header--scrolled,
.celestia-header.celestia-header--translucent.celestia-header--scrolled.has-background {
	color: var(--wp--preset--color--contrast, #111316);
	background: color-mix(
		in srgb,
		var(--wp--preset--color--surface, #f2f0ea) 94%,
		transparent
	) !important;
	-webkit-backdrop-filter: blur(20px) saturate(120%);
	backdrop-filter: blur(20px) saturate(120%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 38%),
		0 8px 26px rgb(17 19 22 / 9%);
}

.celestia-header--bordered {
	border-block-end: 1px solid color-mix(
		in srgb,
		var(--wp--preset--color--border, #1113161a) 72%,
		transparent
	);
}

.celestia-header--translucent.celestia-header--bordered {
	border-block-end-color: rgb(255 255 255 / 10%);
}

.celestia-header--translucent.celestia-header--bordered.celestia-header--scrolled {
	border-block-end-color: rgb(17 19 22 / 10%);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.celestia-header.celestia-header--translucent,
	.celestia-header.celestia-header--translucent.has-background {
		background: rgb(17 19 22 / 96%) !important;
	}

	.celestia-header.celestia-header--translucent.celestia-header--scrolled,
	.celestia-header.celestia-header--translucent.celestia-header--scrolled.has-background {
		background: var(--wp--preset--color--surface, #f2f0ea) !important;
	}
}

.celestia-header__inner {
	min-height: var(--celestia-header-min-height);
}

.celestia-header__brand,
.celestia-header__tools {
	min-width: 0;
}

.celestia-header__brand {
	flex: 0 1 auto;
}

.celestia-header__brand .wp-block-site-logo {
	flex: 0 0 auto;
}

.celestia-header__brand .wp-block-site-title {
	margin: 0;
	line-height: 1.1;
	white-space: nowrap;
}

.celestia-header__tools {
	flex: 1 1 auto;
	justify-content: flex-end;
}

.celestia-header__navigation {
	min-width: 0;
}

.celestia-header__actions {
	flex: 0 0 auto;
}

.celestia-header .wp-block-navigation__responsive-container-open,
.celestia-header .wp-block-navigation__responsive-container-close {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--2-xs, 8px);
	border: 1px solid var(
		--wp--custom--gp-packaging--action-frame--border-color,
		currentColor
	);
	border-radius: var(--wp--custom--celestia--header--action-radius, 4px);
	background: var(
		--wp--custom--gp-packaging--action-frame--background,
		transparent
	);
	color: inherit;
	transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.celestia-header .wp-block-navigation__responsive-container-open:hover,
.celestia-header .wp-block-navigation__responsive-container-open:focus-visible,
.celestia-header .wp-block-navigation__responsive-container-close:hover,
.celestia-header .wp-block-navigation__responsive-container-close:focus-visible {
	background: var(
		--wp--custom--gp-packaging--action-frame--hover-background,
		color-mix(in srgb, currentColor 14%, transparent)
	);
}

@media (width >= 600px) {
	.celestia-header .wp-block-navigation .wp-block-navigation__submenu-container {
		min-width: 15rem;
		padding: var(--wp--preset--spacing--2-xs, 8px);
		border: 1px solid var(--wp--preset--color--border, #1113161A);
		background: var(--wp--preset--color--surface, #fff);
		color: var(--wp--preset--color--contrast);
		box-shadow: 0 18px 44px rgb(20 28 38 / 10%);
	}

	.celestia-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		width: 100%;
		padding: 10px 12px;
	}
}

@media (width <= 782px) {
	.admin-bar {
		--celestia-admin-bar-offset: 46px;
	}
}

/* Below 600px WordPress lets the admin bar scroll away instead of fixing it. */
@media (width <= 600px) {
	.admin-bar {
		--celestia-admin-bar-offset: 0px;
	}
}

@media (width <= 767px) {
	.celestia-header__inner,
	.celestia-header__tools {
		column-gap: var(--wp--preset--spacing--xs, 16px) !important;
	}

	.celestia-header__actions--desktop {
		display: none;
	}
}

@media (width <= 599px) {
	.celestia-header .wp-block-navigation__responsive-container-open,
	.celestia-header .wp-block-navigation__responsive-container-close {
		box-sizing: border-box;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: inherit;
		transition:
			background-color 180ms ease,
			color 180ms ease;
	}

	.celestia-header .wp-block-navigation__responsive-container-open svg,
	.celestia-header .wp-block-navigation__responsive-container-close svg {
		width: 20px;
		height: 20px;
	}

	.celestia-header .wp-block-navigation__responsive-container-open:hover,
	.celestia-header .wp-block-navigation__responsive-container-open:focus-visible,
	.celestia-header .wp-block-navigation__responsive-container-close:hover,
	.celestia-header .wp-block-navigation__responsive-container-close:focus-visible {
		background: color-mix(in srgb, currentColor 9%, transparent);
	}

	.celestia-header .wp-block-navigation__responsive-container-open:focus-visible,
	.celestia-header .wp-block-navigation__responsive-container-close:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 2px;
	}

	.celestia-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
		inset: 0;
		box-sizing: border-box;
		width: 100vw;
		max-width: none;
		height: 100dvh;
		min-height: 100dvh;
		margin: 0;
		padding:
			max(var(--wp--preset--spacing--xs), env(safe-area-inset-top))
			max(var(--wp--preset--spacing--s), env(safe-area-inset-right))
			max(var(--wp--preset--spacing--s), env(safe-area-inset-bottom))
			max(var(--wp--preset--spacing--s), env(safe-area-inset-left));
		overflow-y: auto;
		overscroll-behavior: contain;
		background-color: var(--wp--preset--color--surface-alt) !important;
		color: var(--wp--preset--color--contrast) !important;
	}

	/* Gutenberg assigns fallback colors when the Navigation block itself has no
	 * explicit palette selection. Keep the mobile sheet on GP tokens. */
	.celestia-header .wp-block-navigation:not(.has-background)
		.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
		background-color: var(--wp--preset--color--surface-alt) !important;
	}

	.celestia-header .wp-block-navigation:not(.has-text-color)
		.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
		color: var(--wp--preset--color--contrast) !important;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-close {
		position: absolute;
		top: max(var(--wp--preset--spacing--xs), env(safe-area-inset-top));
		right: -4px;
		z-index: 2;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-content {
		align-items: stretch;
		box-sizing: border-box;
		width: 100%;
		max-width: 32rem;
		margin-inline: auto;
		padding-block: 72px var(--wp--preset--spacing--s);
		gap: 0;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open :is(
		.wp-block-navigation__container,
		.wp-block-page-list
	) {
		align-items: stretch;
		width: 100%;
		gap: 0;
		border-block-start: 1px solid var(--wp--preset--color--border);
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container + .wp-block-navigation__container {
		border-block-start: 0;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container > .wp-block-navigation-item {
		align-items: stretch;
		width: 100%;
		border-block-end: 1px solid var(--wp--preset--color--border);
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container > .wp-block-navigation-item
		> .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		box-sizing: border-box;
		width: 100%;
		min-height: 58px;
		padding: var(--wp--preset--spacing--xs) 0 !important;
		color: var(--wp--preset--color--contrast) !important;
		font-size: var(--wp--preset--font-size--heading-five);
		font-weight: 600;
		line-height: 1.08;
		letter-spacing: -0.02em;
		text-align: left;
		text-decoration: none;
		transition: color 180ms ease;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container > .wp-block-navigation-item
		> .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--accent) !important;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container > .wp-block-navigation-item
		> .wp-block-navigation-item__content:focus-visible {
		color: var(--wp--preset--color--accent) !important;
		outline: 2px solid var(--wp--preset--color--accent);
		outline-offset: -2px;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__submenu-container:not(.gp-solutions-mega-menu__panel) {
		position: static;
		width: 100%;
		padding: 0 0 var(--wp--preset--spacing--xs)
			var(--wp--preset--spacing--xs);
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__submenu-container:not(.gp-solutions-mega-menu__panel)
		.wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--body);
	}
}

/* Sticky positioning and frontend overlay flow are disabled in the editor canvas. */
.editor-styles-wrapper .celestia-header--sticky,
.editor-styles-wrapper .wp-site-blocks > .celestia-header--sticky.celestia-header--translucent,
.editor-styles-wrapper header.wp-block-template-part:has(> .celestia-header--sticky) {
	position: relative;
	inset: auto;
	top: auto;
	width: 100%;
}

.editor-styles-wrapper header.wp-block-template-part:has(> .celestia-header--sticky.celestia-header--translucent) {
	height: auto;
	min-height: initial;
}

@media (prefers-reduced-motion: reduce) {
	.celestia-header,
	.celestia-header *,
	.celestia-header *::before,
	.celestia-header *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms !important;
	}
}

/* Typographic hero pattern. Decorative layers come from GP Blocks. */
.celestia-hero-typographic {
	display: flex;
	align-items: center;
	min-height: clamp(42rem, 82dvh, 58rem);
}

.celestia-hero-typographic > .celestia-container-large {
	width: 100%;
}

@media (width <= 767px) {
	.celestia-hero-typographic {
		min-height: clamp(38rem, 78dvh, 48rem);
	}
}


/* GP Packaging — default branded cut-corner button style. */
.wp-block-button:not([class*="is-style-"]),
.wp-block-button.is-style-gp-cut-corner,
.wp-block-buttons.is-style-gp-cut-corner {
	--gp-button-cut-size: var(--wp--custom--gp-packaging--button-cut-size, 12px);
}

/*
 * A default block style does not add an is-style-* class to saved markup.
 * Target unstyled Button blocks as well as the explicit GP variation so the
 * shape is consistent in the editor canvas and on the frontend.
 */
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link,
.wp-block-button.is-style-gp-cut-corner .wp-block-button__link,
.wp-block-buttons.is-style-gp-cut-corner .wp-block-button__link {
	border-radius: 0;
	clip-path: polygon(
		0 0,
		calc(100% - var(--gp-button-cut-size)) 0,
		100% var(--gp-button-cut-size),
		100% 100%,
		0 100%
	);
}

.wp-block-button:not([class*="is-style-"]) .wp-block-button__link:focus-visible,
.wp-block-button.is-style-gp-cut-corner .wp-block-button__link:focus-visible,
.wp-block-buttons.is-style-gp-cut-corner .wp-block-button__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/*
 * clip-path clips a normal rectangular border instead of making the border
 * follow the custom polygon. Draw the complete five-segment outline as bounded
 * background layers on one pseudo-element: top, right, bottom, left and the
 * diagonal. Keeping every segment inside the same clipped box prevents the
 * diagonal from overshooting or leaving a visible spike at either endpoint.
 */
.wp-block-button.celestia-button-variant-secondary,
.wp-block-button.is-style-outline {
	--gp-button-outline-color: var(
		--wp--custom--gp-packaging--action-frame--border-color,
		currentColor
	);
	--gp-button-outline-background: var(
		--wp--custom--gp-packaging--outline-button--background,
		transparent
	);
	--gp-button-outline-hover-background: var(
		--wp--custom--gp-packaging--outline-button--hover-background,
		color-mix(in srgb, currentColor 8%, transparent)
	);
}

.wp-block-button.celestia-button-variant-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	position: relative;
	border-width: 1px;
	border-style: solid;
	border-color: transparent !important;
	background: var(--gp-button-outline-background);
}

.wp-block-button.celestia-button-variant-secondary .wp-block-button__link:hover,
.wp-block-button.celestia-button-variant-secondary .wp-block-button__link:focus-visible,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: var(--gp-button-outline-hover-background);
}

.wp-block-button.celestia-button-variant-secondary .wp-block-button__link::after,
.wp-block-button.is-style-outline .wp-block-button__link::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: -1px;
	pointer-events: none;
	clip-path: polygon(
		0 0,
		calc(100% - var(--gp-button-cut-size)) 0,
		100% var(--gp-button-cut-size),
		100% 100%,
		0 100%
	);
	background-image:
		linear-gradient(var(--gp-button-outline-color), var(--gp-button-outline-color)),
		linear-gradient(var(--gp-button-outline-color), var(--gp-button-outline-color)),
		linear-gradient(var(--gp-button-outline-color), var(--gp-button-outline-color)),
		linear-gradient(var(--gp-button-outline-color), var(--gp-button-outline-color));
	background-position:
		left top,
		right bottom,
		left bottom,
		left top;
	background-repeat: no-repeat;
	background-size:
		calc(100% - var(--gp-button-cut-size) + 0.5px) 1px,
		1px calc(100% - var(--gp-button-cut-size) + 0.5px),
		100% 1px,
		1px 100%;
}

/*
 * Render the chamfer as a real transformed line instead of a 1px gradient.
 * This avoids sub-pixel rasterization gaps at 100% browser zoom.
 */
.wp-block-button.celestia-button-variant-secondary .wp-block-button__link::before,
.wp-block-button.is-style-outline .wp-block-button__link::before {
	--gp-button-diagonal-length: calc(var(--gp-button-cut-size) * 1.4142135624);
	content: "";
	position: absolute;
	z-index: 2;
	top: calc((var(--gp-button-cut-size) - 1px) / 2 - 1px);
	right: calc((var(--gp-button-cut-size) - var(--gp-button-diagonal-length)) / 2 - 1px);
	width: var(--gp-button-diagonal-length);
	height: 1px;
	pointer-events: none;
	background: var(--gp-button-outline-color);
	box-shadow: 0 0 0 0.2px var(--gp-button-outline-color);
	transform: rotate(45deg);
	transform-origin: center;
}

/* -------------------------------------------------------------------------
 * GP Packaging — Hero with video background
 * ---------------------------------------------------------------------- */

.gp-hero-video {
	isolation: isolate;
	min-height: max(46rem, 100svh);
	background: var(--wp--preset--color--contrast, #111316);
}

/*
 * The native Cover overlay remains available as a global dim control.
 * This second layer adds the directional treatment needed to keep the copy
 * readable while preserving the machinery on the right-hand side.
 */
.gp-hero-video::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgb(17 19 22 / 96%) 0%,
			rgb(17 19 22 / 84%) 31%,
			rgb(17 19 22 / 48%) 58%,
			rgb(17 19 22 / 12%) 100%
		),
		linear-gradient(
			180deg,
			rgb(0 0 0 / 18%) 0%,
			transparent 48%,
			rgb(0 0 0 / 28%) 100%
		);
}

.gp-hero-video > .wp-block-cover__background {
	z-index: 1;
}

.gp-hero-video > .wp-block-cover__inner-container {
	z-index: 3;
	width: 100%;
	padding-inline-start: var(
		--wp--style--root--padding-left,
		var(--wp--preset--spacing--2-xl)
	);
	padding-inline-end: var(
		--wp--style--root--padding-right,
		var(--wp--preset--spacing--2-xl)
	);
}

.gp-hero-video > :is(
	.wp-block-cover__image-background,
	.wp-block-cover__video-background
) {
	transform: scale(1.01);
}

.gp-hero-video__title {
	text-wrap: balance;
}

.gp-hero-video__copy {
	text-wrap: pretty;
}

@media (width <= 1024px) {
	.gp-hero-video::before {
		background:
			linear-gradient(
				90deg,
				rgb(17 19 22 / 94%) 0%,
				rgb(17 19 22 / 74%) 52%,
				rgb(17 19 22 / 32%) 100%
			),
			linear-gradient(180deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 30%));
	}
}

@media (width <= 767px) {
	.gp-hero-video {
		min-height: max(42rem, 100svh);
	}

	.gp-hero-video::before {
		background: linear-gradient(
			180deg,
			rgb(17 19 22 / 72%) 0%,
			rgb(17 19 22 / 82%) 46%,
			rgb(17 19 22 / 96%) 100%
		);
	}

	.gp-hero-video__actions {
		align-items: flex-start;
		width: auto;
	}
}

@media (width <= 479px) {
	/*
	 * The global Display preset bottoms out at 48px. That works on larger
	 * canvases, but long Italian words such as “pallettizzazione” are wider
	 * than the mobile content column even after the correct gutters are applied.
	 * Scale this specific hero title with the viewport instead of changing the
	 * Design System preset for every Display heading on the site.
	 */
	.gp-hero-video .gp-hero-video__title {
		/*
		 * WordPress prints preset font-size utility classes with !important.
		 * Keep the override equally strong, but scoped only to this hero on
		 * narrow phones so the global Display token remains untouched.
		 */
		font-size: clamp(2.5rem, 10vw, 2.75rem) !important;
		max-width: 100%;
		min-width: 0;
		text-wrap: wrap;
		overflow-wrap: normal;
		word-break: normal;
	}

	.gp-hero-video__actions > .wp-block-button {
		width: auto;
	}

	.gp-hero-video__actions .wp-block-button__link {
		width: auto;
		text-align: center;
	}
}

@media (width <= 767px) {
	.gp-hero-video .gp-hero-video__actions,
	.gp-hero-video .gp-hero-video__actions.wp-block-buttons,
	.gp-hero-video .gp-hero-video__actions.is-layout-flex {
		align-items: flex-start !important;
		justify-content: flex-start !important;
		width: fit-content;
		max-width: 100%;
	}

	.gp-hero-video .gp-hero-video__actions > .wp-block-button {
		flex: 0 0 auto !important;
		width: fit-content !important;
		max-width: 100%;
	}

	.gp-hero-video .gp-hero-video__actions .wp-block-button__link {
		width: fit-content !important;
		max-width: 100%;
		text-align: center;
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-hero-video > .wp-block-cover__video-background {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * GP Packaging — Service card icon sizing bridge
 * ---------------------------------------------------------------------- */

.celestia-service-card__action {
	--celestia-icon-size: var(--celestia-service-card-icon-size);
	--celestia-icon-rotation: 0deg;
	line-height: 0;
}

.celestia-service-card__action .celestia-rendered-icon,
.celestia-service-card__action .celestia-rendered-icon svg,
.celestia-service-card__action-glyph,
.celestia-service-card__action-glyph svg {
	width: var(--celestia-service-card-icon-size);
	height: var(--celestia-service-card-icon-size);
}

/* Homepage service cards: rotate the diagonal arrow to point right on hover. */
.home .celestia-service-card__action .celestia-service-card__action-glyph svg {
	transform: rotate(0deg) !important;
	transform-origin: center;
	transition: transform 220ms ease !important;
}

.home .celestia-service-card:hover .celestia-service-card__action-glyph svg,
.home .celestia-service-card:focus-within .celestia-service-card__action-glyph svg {
	transform: rotate(45deg) !important;
}

@media (prefers-reduced-motion: reduce) {
	.home .celestia-service-card__action .celestia-service-card__action-glyph svg {
		transition: none !important;
	}
}

@media (width <= 781px) {
	.celestia-service-card__action {
		width: min(var(--celestia-service-card-icon-frame-size), var(--wp--preset--spacing--xl));
		height: min(var(--celestia-service-card-icon-frame-size), var(--wp--preset--spacing--xl));
	}

	.celestia-service-card__action .celestia-rendered-icon,
	.celestia-service-card__action .celestia-rendered-icon svg,
	.celestia-service-card__action-glyph,
	.celestia-service-card__action-glyph svg {
		width: min(var(--celestia-service-card-icon-size), var(--wp--preset--spacing--xs));
		height: min(var(--celestia-service-card-icon-size), var(--wp--preset--spacing--xs));
	}
}

/* -------------------------------------------------------------------------
 * GP Packaging Footer — Industrial Columns
 * ---------------------------------------------------------------------- */

.gp-footer-industrial {
	--gp-footer-cut-size: 20px;
	position: relative;
	z-index: 2;
	isolation: isolate;
	width: 100%;
	padding-inline: 0;
	clip-path: polygon(
		var(--gp-footer-cut-size) 0,
		calc(100% - var(--gp-footer-cut-size)) 0,
		100% var(--gp-footer-cut-size),
		100% calc(100% - var(--gp-footer-cut-size)),
		calc(100% - var(--gp-footer-cut-size)) 100%,
		0 100%,
		0 var(--gp-footer-cut-size)
	);
}

/*
 * The final CTA owns its joint with the shared Footer template part.
 * Its negative end margin pulls the following footer upward by exactly the
 * chamfer depth, so the clipped footer corners reveal the CTA surface below.
 * This is component-driven: new pages need only keep the gp-footer-cta class.
 */
.gp-footer-cta {
	--gp-footer-joint-size: 20px;
	position: relative;
	z-index: 1;
	margin-block-end: calc(-1 * var(--gp-footer-joint-size)) !important;
}

.gp-footer-industrial__inner {
	/*
	 * Match the same Wide container used by the header and every other
	 * Design System section. The explicit width also repairs footer
	 * instances saved before 1.0.17, whose nested constrained layout
	 * could collapse the inner wrapper to the 768px content width.
	 */
	width: min(
		calc(
			100%
			- var(--wp--style--root--padding-left, var(--wp--preset--spacing--2-xl))
			- var(--wp--style--root--padding-right, var(--wp--preset--spacing--2-xl))
		),
		var(--wp--style--global--wide-size, var(--wp--custom--celestia--container--large, 1280px))
	);
	max-width: var(
		--wp--style--global--wide-size,
		var(--wp--custom--celestia--container--large, 1280px)
	);
	margin-inline: auto !important;
}

.gp-footer-industrial__inner,
.gp-footer-industrial__top,
.gp-footer-industrial__menus,
.gp-footer-industrial__brand,
.gp-footer-industrial__column {
	min-width: 0;
}

.gp-footer-industrial__top {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(560px, 1.35fr);
	gap: var(--wp--preset--spacing--3-xl);
	align-items: start;
}

.gp-footer-industrial__brand {
	margin-inline: 0 !important;
}

.gp-footer-industrial__brand .wp-block-site-logo {
	margin-inline: 0;
}

.gp-footer-industrial__description {
	max-width: 480px;
	margin-inline: 0 !important;
	line-height: 1.65;
}

.gp-footer-industrial__description a,
.gp-footer-industrial__description a:visited,
.gp-footer-industrial__description a:hover,
.gp-footer-industrial__description a:focus-visible {
	color: inherit;
	text-decoration-color: currentColor;
}

.gp-footer-industrial__menus {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--xl);
}

.gp-footer-industrial__column,
.gp-footer-industrial__heading,
.gp-footer-industrial__nav {
	width: 100%;
	margin-inline: 0 !important;
}

.gp-footer-industrial__heading {
	margin-block: 0;
}

.gp-footer-industrial__nav .wp-block-navigation__container {
	align-items: flex-start;
	width: 100%;
}

.gp-footer-industrial__nav .wp-block-navigation-item {
	width: 100%;
}

.gp-footer-industrial__nav .wp-block-navigation-item__content,
.gp-footer-industrial__policies a {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.25em;
	transition: color 180ms ease;
}

.gp-footer-industrial__nav .wp-block-navigation-item__content:hover,
.gp-footer-industrial__nav .wp-block-navigation-item__content:focus-visible,
.gp-footer-industrial__policies a:hover,
.gp-footer-industrial__policies a:focus-visible {
	color: var(--wp--preset--color--accent, #B79A52);
}

.gp-footer-industrial__bottom {
	width: 100%;
}

.gp-footer-industrial__legal,
.gp-footer-industrial__policies {
	margin-block: 0;
}

.gp-footer-industrial__policies {
	text-align: right;
}

@media (width <= 1024px) {
	.gp-footer-industrial__top {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--2-xl);
	}

	.gp-footer-industrial__brand {
		max-width: 560px;
	}
}

@media (width <= 767px) {
	.gp-footer-industrial {
		--gp-footer-cut-size: 16px;
	}

	.gp-footer-cta {
		--gp-footer-joint-size: 16px;
	}

	.gp-footer-industrial__menus {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--l);
	}

	.gp-footer-industrial__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.gp-footer-industrial__policies {
		text-align: left;
	}
}

/* GP prefooter CTA / SureForms slot */
.gp-prefooter-cta {
	position: relative;
	padding-block: clamp(72px, 9vw, 136px);
	overflow: clip;
}

.gp-prefooter-cta__layout {
	align-items: center;
}

.gp-prefooter-cta__copy {
	padding-block: var(--wp--preset--spacing--l);
}

.gp-prefooter-cta__copy .wp-block-heading {
	max-width: 12ch;
	margin: 0;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) {
	min-height: 420px;
	padding: clamp(28px, 4vw, 48px);
	clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) > *:first-child {
	margin-top: 0;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) > *:last-child {
	margin-bottom: 0;
}

@media (width <= 781px) {
	.gp-prefooter-cta {
		padding-block: 64px;
	}

	.gp-prefooter-cta__layout {
		gap: var(--wp--preset--spacing--2-xl);
	}

	.gp-prefooter-cta__copy .wp-block-heading {
		max-width: 15ch;
	}

	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) {
		min-height: 320px;
	}
}

@media (width <= 767px) {
	.gp-prefooter-cta {
		padding-block: 48px 72px;
	}

	.gp-prefooter-cta__copy {
		padding-block: 0;
	}

	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) {
		min-height: 0;
		padding: 24px;
		clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
	}
}

/* SureForms in GP prefooter */
.gp-prefooter-cta {
	padding-block: clamp(88px, 9vw, 136px) clamp(112px, 11vw, 176px);
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) {
	min-height: 0;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form-container,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form {
	width: 100%;
	max-width: none;
	margin: 0;
	background: transparent;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form {
	display: flex;
	flex-wrap: wrap;
	column-gap: 16px;
	row-gap: 18px;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-width-50 {
	width: calc(50% - 8px) !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-width-100,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-submit-button-block {
	width: 100% !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-label {
	margin: 0 0 8px;
	color: var(--wp--preset--color--contrast);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-description {
	display: none;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
	min-height: 46px;
	margin: 0;
	padding: 11px 12px;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	box-shadow: none;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) textarea {
	min-height: 116px;
	resize: vertical;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) :is(input, textarea, select):focus {
	outline: 1px solid var(--wp--preset--color--accent);
	outline-offset: 0;
	border-color: var(--wp--preset--color--accent);
	box-shadow: none;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-submit-button,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) button[type="submit"] {
	min-width: 176px;
	min-height: 46px;
	padding: 12px 24px;
	color: var(--wp--preset--color--surface);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--wp--preset--color--accent);
	border: 0;
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	box-shadow: none;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-submit-button:hover,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) button[type="submit"]:hover {
	filter: brightness(0.94);
}

@media (width <= 781px) {
	.gp-prefooter-cta {
		padding-block: 72px 104px;
	}
}

@media (width <= 600px) {
	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-width-50 {
		width: 100% !important;
	}
}


/* Exact staging alignment for the SureForms prefooter. */
.gp-prefooter-cta{padding-top:clamp(104px,8vw,132px)!important;padding-bottom:clamp(112px,9vw,144px)!important;}
.gp-prefooter-cta__layout{column-gap:40px!important;}
.gp-prefooter-cta__copy .wp-block-heading{max-width:14ch;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)){box-sizing:border-box;min-height:0;padding:64px 32px!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)).has-global-padding{padding-left:32px!important;padding-right:32px!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous))>.srfm-form-container,:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form-container-645,:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-description{display:none!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-single{margin-bottom:24px!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-block-label{display:block;margin:0 0 12px!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.05em!important;text-transform:uppercase!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-input-common,:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) textarea,:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) select{min-height:48px!important;padding:12px 14px!important;border:1px solid var(--wp--preset--color--border,#d9d9d4)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) textarea{min-height:118px!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-submit-container{margin-top:0!important;}
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-submit-button{min-width:150px!important;padding:14px 28px!important;border:0!important;border-radius:0!important;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);font-size:12px!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important;}
@media (max-width:781px){.gp-prefooter-cta{padding-top:80px!important;padding-bottom:88px!important}:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)){padding:48px 28px!important}}
@media (max-width:767px){.gp-prefooter-cta{padding-top:64px!important;padding-bottom:72px!important}:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)){padding:36px 24px!important}}

/* GP prefooter SureForms - canonical scoped styling. */
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) .srfm-form-container-645 {
	--srfm-row-gap-between-blocks: 24px;
	--srfm-col-gap-between-fields: 24px;
	--srfm-row-gap-between-fields: 24px;
	--srfm-input-height: 48px;
	--srfm-input-field-padding: 12px 14px;
	--srfm-input-field-margin-top: 0px;
	--srfm-input-field-margin-bottom: 0px;
	--srfm-label-font-size: 12px;
	--srfm-label-font-weight: 700;
	--srfm-label-line-height: 1.2;
	--srfm-color-scheme-primary: var(--wp--preset--color--accent, #c6ab5d);
	--srfm-color-scheme-text-on-primary: var(--wp--preset--color--contrast, #0d1113);
	--srfm-color-input-label: var(--wp--preset--color--contrast, #0d1113);
	--srfm-color-input-text: var(--wp--preset--color--contrast, #0d1113);
	--srfm-color-input-background: var(--wp--preset--color--surface, #ffffff);
	--srfm-color-input-border: color-mix(in srgb, var(--wp--preset--color--muted) 28%, transparent);
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .srfm-block-width-50 {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	flex: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .srfm-block-width-100,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .srfm-submit-container,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .srfm-common-error-message {
	grid-column: 1 / -1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-block-single {
	margin: 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-block-label {
	display: block !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.055em !important;
	text-transform: uppercase !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-gdpr-block {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	margin: 2px 0 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-gdpr-block .srfm-cbx {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 20px;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-gdpr-block .srfm-cbx > .srfm-span-wrap:first-of-type {
	flex: 0 0 18px;
	margin: 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-gdpr-block .srfm-block-label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-required {
	color: var(--wp--preset--color--accent, #c6ab5d) !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-description {
	display: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-block-wrap,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .iti {
	width: 100% !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-input-common,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 input:not([type="hidden"]),
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 textarea,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 select {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	background: var(--wp--preset--color--surface, #ffffff) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--muted) 28%, transparent) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 textarea.srfm-input-common {
	min-height: 118px !important;
	height: auto !important;
	resize: vertical !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 :is(input, textarea, select):focus {
	outline: 1px solid var(--wp--preset--color--accent, #c6ab5d) !important;
	outline-offset: 0 !important;
	border-color: var(--wp--preset--color--accent, #c6ab5d) !important;
	box-shadow: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-submit-container,
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 .srfm-submit-container .wp-block-button {
	width: auto !important;
	text-align: left !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-submit-btn {
	min-width: 190px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 14px 28px !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.045em !important;
	text-transform: uppercase !important;
	background: var(--wp--preset--color--champagne, #D0BD8E) !important;
	border: 0 !important;
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%) !important;
	box-shadow: none !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-submit-btn:hover {
	filter: brightness(0.94);
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-submit-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #0d1113) !important;
	outline-offset: 3px !important;
}

@media (max-width: 767px) {
	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 20px !important;
	}

	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-submit-btn {
		width: 100% !important;
	}
}

/* Width classes generated through SureForms' native field mapper. */
:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .gp-form-half {
	grid-column: auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .gp-form-full {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

@media (max-width: 767px) {
	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .gp-form-half,
	:is(.gp-prefooter-cta__form-slot, :where(body.page-id-31 .celestia-card-surface-card.celestia-card-shape-gp-cut.celestia-card-padding-generous)) #srfm-form-645 > .gp-form-full {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}
}

/* Homepage hero: match the staging consultancy CTA interaction. */
.gp-hero-video__actions .celestia-button-variant-secondary {
	--gp-button-outline-color: rgb(242 240 234 / 50%);
	--gp-button-outline-hover-background: rgb(208 189 142 / 10%);
	--celestia-button-icon-hover-rotation: 45deg;
}

.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link {
	background: rgb(255 255 255 / 10%);
	transition:
		background-color 220ms ease,
		color 220ms ease,
		opacity 220ms ease;
}

.gp-hero-video__actions .celestia-button-variant-secondary .celestia-button__icon-frame {
	transform: translateX(0);
	transition: transform 220ms ease;
}

.gp-hero-video__actions .celestia-button-variant-secondary:hover {
	--gp-button-outline-color: #c6ab5d;
}

.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:hover,
.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:focus-visible {
	background: rgb(198 171 93 / 10%);
	opacity: 1;
}

.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:hover .celestia-button__icon-frame,
.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:focus-visible .celestia-button__icon-frame {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link,
	.gp-hero-video__actions .celestia-button-variant-secondary .celestia-button__icon-frame,
	.gp-hero-video__actions .celestia-button-variant-secondary .celestia-button__icon {
		transition: none;
	}

	.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:hover .celestia-button__icon-frame,
	.gp-hero-video__actions .celestia-button-variant-secondary .wp-block-button__link:focus-visible .celestia-button__icon-frame {
		transform: translateX(0);
	}
}

/* GP Packaging — operational benefits section. */
.gp-benefits {
	overflow: clip;
	padding-block: clamp(64px, 6vw, 88px) !important;
}

.gp-benefits__layout {
	align-items: stretch;
}

.gp-benefits__copy {
	padding-block: 12px;
}

.gp-benefits__title {
	max-width: 11ch;
	text-wrap: balance;
}

.gp-benefits__intro {
	max-width: 34rem;
	color: color-mix(
		in srgb,
		var(--wp--preset--color--surface) 72%,
		transparent
	) !important;
}

.gp-benefits__grid {
	column-gap: 0 !important;
	row-gap: clamp(20px, 2vw, 28px) !important;
	align-self: stretch;
}

.gp-benefits__item {
	min-height: 180px;
	padding: 24px 28px;
	border: 0;
	transition: background-color 180ms ease;
}

.gp-benefits__item:hover {
	background-color: color-mix(
		in srgb,
		var(--wp--preset--color--accent) 7%,
		transparent
	);
}

.gp-benefits__icon {
	align-self: flex-start;
}

.gp-benefits__item-copy {
	max-width: 32ch;
	color: color-mix(
		in srgb,
		var(--wp--preset--color--surface) 70%,
		transparent
	) !important;
}

@media (max-width: 781px) {
	.gp-benefits__copy {
		padding-block: 0;
	}

	.gp-benefits__title {
		max-width: 16ch;
	}
}

@media (max-width: 767px) {
	.gp-benefits__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.gp-benefits__item {
		min-height: 0;
		padding: var(--wp--preset--spacing--m, 32px) 0;
		border-right: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-benefits__item {
		transition: none;
	}
}

/* GP Packaging — Services page v2 */
.gp-services-hero-v2 {
	overflow: clip;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.gp-services-hero-v2__layout {
	min-height: clamp(34rem, 68svh, 46rem);
	gap: clamp(2.5rem, 6vw, 6rem);
}

.gp-services-hero-v2__content {
	padding-block: clamp(2rem, 5vw, 4.5rem);
}

.gp-services-hero-v2__title {
	max-width: 11ch;
	margin-block: var(--wp--preset--spacing--m) 0;
	line-height: 0.94;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.gp-services-hero-v2__copy {
	max-width: 52ch;
	margin-top: var(--wp--preset--spacing--m);
	color: rgb(255 255 255 / 0.78) !important;
	line-height: 1.65;
}

.gp-services-hero-v2__actions {
	margin-top: var(--wp--preset--spacing--l);
}

.gp-services-hero-v2__media {
	position: relative;
	min-height: 34rem;
}

.gp-services-hero-v2__image,
.gp-services-hero-v2__image img {
	width: 100%;
	height: 100%;
}

.gp-services-hero-v2__image {
	position: absolute;
	inset: 0;
	margin: 0;
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.gp-services-hero-v2__image img {
	display: block;
	object-fit: cover;
	object-position: center;
}

.gp-services-method-v2,
.gp-services-showcase-v2,
.gp-services-complementary-v2,
.gp-services-process-v2 {
	padding-block: clamp(5rem, 8vw, 8rem);
}

.gp-services-method-v2__layout {
	gap: clamp(3rem, 7vw, 7rem);
}

.gp-services-method-v2__copy h2 {
	max-width: 12ch;
	margin-top: var(--wp--preset--spacing--m);
	text-wrap: balance;
}

.gp-services-method-v2__copy p {
	max-width: 48ch;
	line-height: 1.7;
}

.gp-services-method-v2__grid {
	gap: 0;
	border-top: 1px solid rgb(7 31 27 / 18%);
	border-left: 1px solid rgb(7 31 27 / 18%);
}

.gp-services-method-v2__item {
	min-height: 13rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-right: 1px solid rgb(7 31 27 / 18%);
	border-bottom: 1px solid rgb(7 31 27 / 18%);
}

.gp-services-method-v2__number,
.gp-services-feature-v2__number,
.gp-services-complementary-v2__index,
.gp-services-process-v2__number {
	margin: 0 0 1.25rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.gp-services-method-v2__item h3,
.gp-services-method-v2__item p {
	margin-top: 0;
}

.gp-services-method-v2__item p:last-child {
	max-width: 28ch;
	margin-top: 0.75rem;
	line-height: 1.55;
}

.gp-services-showcase-v2__intro {
	margin-inline: 0 !important;
}

.gp-services-showcase-v2__title {
	max-width: 18ch;
	margin-top: var(--wp--preset--spacing--m);
	text-wrap: balance;
}

.gp-services-showcase-v2__list {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	margin-top: clamp(3.5rem, 7vw, 6rem);
}

.gp-services-feature-v2 {
	min-height: 30rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgb(255 255 255 / 12%);
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.gp-services-feature-v2 .wp-block-media-text__media {
	height: 100%;
	min-height: 30rem;
	overflow: hidden;
}

.gp-services-feature-v2 .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gp-services-feature-v2:hover .wp-block-media-text__media img {
	transform: scale(1.025);
}

.gp-services-feature-v2 .wp-block-media-text__content {
	padding: clamp(2.25rem, 5vw, 4.75rem);
	color: var(--wp--preset--color--ink);
}

.gp-services-feature-v2 .wp-block-media-text__content h3 {
	max-width: 15ch;
	margin: 0;
	text-wrap: balance;
}

.gp-services-feature-v2 .wp-block-media-text__content > p:not(.gp-services-feature-v2__number) {
	max-width: 56ch;
	margin-top: 1.25rem;
	line-height: 1.7;
}

.gp-services-feature-v2__list {
	display: grid;
	gap: 0.7rem;
	margin-top: 1.75rem;
	padding: 0;
	list-style: none;
	color: var(--wp--preset--color--ink);
	font-size: 0.95rem;
	font-weight: 650;
}

.gp-services-feature-v2__list li {
	position: relative;
	padding-left: 1.4rem;
}

.gp-services-feature-v2__list li::before {
	content: "";
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 0.5rem;
	height: 1px;
	background: var(--wp--preset--color--accent);
}

.gp-services-complementary-v2__inner > .gp-services-eyebrow-v2 {
	margin-bottom: var(--wp--preset--spacing--m);
}

.gp-services-complementary-v2__layout {
	gap: clamp(3rem, 7vw, 7rem);
}

.gp-services-complementary-v2__heading h2 {
	max-width: 12ch;
	margin-top: 0;
	text-wrap: balance;
}

.gp-services-complementary-v2__heading p {
	max-width: 38ch;
	line-height: 1.65;
}

.gp-services-complementary-v2__cards {
	height: 100%;
	gap: var(--wp--preset--spacing--m);
}

.gp-services-complementary-v2__card {
	min-height: 19rem;
	padding: clamp(2rem, 4vw, 3rem);
	border: 1px solid rgb(7 31 27 / 14%);
	clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.gp-services-complementary-v2__card h3 {
	max-width: 11ch;
	margin: 0;
}

.gp-services-complementary-v2__card p:last-child {
	margin-top: 1rem;
	line-height: 1.65;
}

.gp-services-process-v2__header {
	gap: clamp(2rem, 7vw, 7rem);
}

.gp-services-process-v2__header h2 {
	max-width: 13ch;
	margin-top: var(--wp--preset--spacing--m);
	text-wrap: balance;
}

.gp-services-process-v2__header p {
	max-width: 42ch;
	margin-bottom: 0.35rem;
	color: rgb(255 255 255 / 0.72) !important;
	line-height: 1.65;
}

.gp-services-process-v2__steps {
	gap: 0;
	margin-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid rgb(255 255 255 / 22%);
	border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.gp-services-process-v2__step {
	min-height: 13rem;
	padding: 1.75rem 1.4rem;
	border-left: 1px solid rgb(255 255 255 / 18%);
}

.gp-services-process-v2__step:first-child {
	border-left: 0;
}

.gp-services-process-v2__step h3 {
	margin: 0;
	line-height: 1.25;
}

@media (width <= 1024px) {
	.gp-services-hero-v2__layout,
	.gp-services-method-v2__layout,
	.gp-services-complementary-v2__layout {
		flex-wrap: wrap !important;
	}

	.gp-services-hero-v2__content,
	.gp-services-hero-v2__media,
	.gp-services-method-v2__copy,
	.gp-services-method-v2__layout > .wp-block-column:last-child,
	.gp-services-complementary-v2__heading,
	.gp-services-complementary-v2__layout > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}

	.gp-services-hero-v2__media {
		min-height: 30rem;
	}

	.gp-services-hero-v2__image {
		position: relative;
		height: 30rem;
	}

	.gp-services-process-v2__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gp-services-process-v2__step:nth-child(4) {
		border-left: 0;
		border-top: 1px solid rgb(255 255 255 / 18%);
	}

	.gp-services-process-v2__step:nth-child(5) {
		border-top: 1px solid rgb(255 255 255 / 18%);
	}
}

@media (width <= 781px) {
	.gp-services-hero-v2,
	.gp-services-method-v2,
	.gp-services-showcase-v2,
	.gp-services-complementary-v2,
	.gp-services-process-v2 {
		padding-block: 4.5rem;
	}

	.gp-services-hero-v2__layout {
		min-height: auto;
	}

	.gp-services-hero-v2__content {
		padding-block: 0;
	}

	.gp-services-hero-v2__title {
		font-size: clamp(2.75rem, 12vw, 4.5rem) !important;
	}

	.gp-services-hero-v2__media,
	.gp-services-hero-v2__image {
		min-height: 25rem;
		height: 25rem;
	}

	.gp-services-feature-v2 {
		grid-template-columns: 1fr !important;
	}

	.gp-services-feature-v2 .wp-block-media-text__media,
	.gp-services-feature-v2.has-media-on-the-right .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 1;
		min-height: 23rem;
	}

	.gp-services-feature-v2 .wp-block-media-text__content,
	.gp-services-feature-v2.has-media-on-the-right .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
		padding: 2rem;
	}

	.gp-services-complementary-v2__cards {
		grid-template-columns: 1fr;
	}

	.gp-services-process-v2__header {
		flex-wrap: wrap !important;
	}

	.gp-services-process-v2__header > .wp-block-column {
		flex-basis: 100% !important;
	}

	.gp-services-process-v2__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-services-process-v2__step:nth-child(odd) {
		border-left: 0;
	}

	.gp-services-process-v2__step:nth-child(3) {
		border-top: 1px solid rgb(255 255 255 / 18%);
	}

	.gp-services-process-v2__step:nth-child(4) {
		border-left: 1px solid rgb(255 255 255 / 18%);
	}

	.gp-services-process-v2__step:nth-child(5) {
		border-left: 0;
	}
}

@media (width <= 560px) {
	.gp-services-method-v2__grid,
	.gp-services-process-v2__steps {
		grid-template-columns: 1fr;
	}

	.gp-services-method-v2__item {
		min-height: auto;
	}

	.gp-services-hero-v2__media,
	.gp-services-hero-v2__image {
		min-height: 20rem;
		height: 20rem;
	}

	.gp-services-feature-v2 .wp-block-media-text__media,
	.gp-services-feature-v2.has-media-on-the-right .wp-block-media-text__media {
		min-height: 19rem;
	}

	.gp-services-process-v2__step,
	.gp-services-process-v2__step:nth-child(n) {
		min-height: auto;
		border-left: 0;
		border-top: 1px solid rgb(255 255 255 / 18%);
	}

	.gp-services-process-v2__step:first-child {
		border-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-services-feature-v2 .wp-block-media-text__media img {
		transition: none;
	}

	.gp-services-feature-v2:hover .wp-block-media-text__media img {
		transform: none;
	}
}

/* GP Packaging — compact Blog lead magnet and SureForms 3292. */
.gp-blog-lead-magnet {
	padding-block: clamp(56px, 5vw, 80px) !important;
}

.gp-blog-lead-magnet > .wp-block-group {
	display: grid;
	grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr) !important;
	gap: clamp(40px, 5vw, 72px) !important;
	align-items: center;
}

.gp-blog-lead-magnet > .wp-block-group > .wp-block-group {
	min-width: 0;
}

.gp-blog-lead-magnet > .wp-block-group > .wp-block-group:last-child {
	padding: 0 !important;
}

.gp-blog-lead-magnet .wp-block-image {
	margin: 0 auto !important;
}

.gp-blog-lead-magnet .wp-block-image img {
	display: block;
	width: min(100%, 300px) !important;
	height: auto !important;
	max-height: 340px;
	object-fit: contain;
}

.gp-blog-lead-magnet .wp-block-heading {
	max-width: none;
	text-wrap: normal;
}

@media (min-width: 1200px) {
	.gp-blog-lead-magnet .wp-block-heading {
		white-space: nowrap;
	}
}

.gp-blog-lead-magnet .wp-block-shortcode {
	width: 100%;
	margin-top: 8px;
}

.gp-blog-lead-magnet .srfm-form-container-3292 {
	--srfm-color-scheme-primary: var(--wp--preset--color--accent, #c6ab5d);
	--srfm-color-scheme-text-on-primary: var(--wp--preset--color--contrast, #0d1113);
	--srfm-color-input-label: var(--wp--preset--color--surface, #ffffff);
	--srfm-color-input-text: var(--wp--preset--color--contrast, #0d1113);
	--srfm-color-input-background: var(--wp--preset--color--surface, #ffffff);
	--srfm-color-input-border: rgb(255 255 255 / 22%);
	--srfm-row-gap-between-blocks: 16px;
	--srfm-col-gap-between-fields: 20px;
	--srfm-input-height: 44px;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.gp-blog-lead-magnet #srfm-form-3292 {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px 20px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 > .srfm-block-width-50 {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 > .srfm-block-width-100,
.gp-blog-lead-magnet #srfm-form-3292 > .srfm-submit-container,
.gp-blog-lead-magnet #srfm-form-3292 > .srfm-common-error-message {
	grid-column: 1 / -1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-block-single,
.gp-blog-lead-magnet #srfm-form-3292 .srfm-email-block {
	width: 100% !important;
	margin: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-block-label {
	display: block !important;
	margin: 0 0 7px !important;
	padding: 0 !important;
	color: var(--wp--preset--color--surface, #ffffff) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.045em !important;
	text-transform: uppercase !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-required {
	color: var(--wp--preset--color--accent, #c6ab5d) !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-description {
	display: none !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-block-wrap {
	width: 100% !important;
}

.gp-blog-lead-magnet #srfm-form-3292 input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.gp-blog-lead-magnet #srfm-form-3292 textarea,
.gp-blog-lead-magnet #srfm-form-3292 select {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	font: inherit !important;
	background: var(--wp--preset--color--surface, #ffffff) !important;
	border: 1px solid rgb(7 31 27 / 20%) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.gp-blog-lead-magnet #srfm-form-3292 :is(input, textarea, select):focus {
	outline: 2px solid var(--wp--preset--color--accent, #c6ab5d) !important;
	outline-offset: 1px !important;
	border-color: var(--wp--preset--color--accent, #c6ab5d) !important;
	box-shadow: none !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-cbx {
	display: flex !important;
	gap: 9px;
	align-items: flex-start;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-cbx > .srfm-span-wrap:first-of-type {
	display: inline-grid !important;
	place-items: center;
	flex: 0 0 18px;
	box-sizing: border-box;
	width: 18px !important;
	height: 18px !important;
	margin-top: 1px;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	background: transparent !important;
	border: 1.5px solid rgb(255 255 255 / 82%) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-cbx .srfm-block-label {
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-submit-container,
.gp-blog-lead-magnet #srfm-form-3292 .srfm-submit-container .wp-block-button {
	width: auto !important;
	text-align: left !important;
}

.gp-blog-lead-magnet #srfm-submit-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 132px !important;
	height: 44px !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 22px !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.045em !important;
	text-transform: uppercase !important;
	background: var(--wp--preset--color--champagne, #D0BD8E) !important;
	border: 0 !important;
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%) !important;
	box-shadow: none !important;
}

.gp-blog-lead-magnet #srfm-submit-btn:hover {
	filter: brightness(0.94);
}

@media (max-width: 781px) {
	.gp-blog-lead-magnet {
		padding-block: 56px 72px !important;
	}

	.gp-blog-lead-magnet > .wp-block-group {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 32px !important;
	}

	.gp-blog-lead-magnet .wp-block-image img {
		width: min(100%, 250px) !important;
		max-height: 290px;
	}
}

@media (max-width: 600px) {
	.gp-blog-lead-magnet {
		padding-block: 48px 64px !important;
	}

	.gp-blog-lead-magnet #srfm-form-3292 {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}

	.gp-blog-lead-magnet #srfm-form-3292 > .srfm-block-width-50 {
		grid-column: 1 / -1;
		width: 100% !important;
	}

	.gp-blog-lead-magnet #srfm-submit-btn {
		width: 100% !important;
	}
}

/* Remove wpautop artefacts generated around SureForms shortcode markup. */
.gp-blog-lead-magnet #srfm-form-3292 br,
.gp-blog-lead-magnet #srfm-form-3292 > p:not([id]),
.gp-blog-lead-magnet #srfm-form-3292 .srfm-block-single > p,
.gp-blog-lead-magnet #srfm-form-3292 .srfm-email-block > p {
	display: none !important;
	margin: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-error-wrap {
	min-height: 18px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 4px 0 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-block-label {
	min-height: 0 !important;
	height: auto !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-submit-container,
.gp-blog-lead-magnet #srfm-form-3292 .srfm-submit-container .wp-block-button {
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Normalize SureForms' different text and email field wrappers. */
.gp-blog-lead-magnet #srfm-form-3292 > .srfm-input-block,
.gp-blog-lead-magnet #srfm-form-3292 > .srfm-email-block > .srfm-email-block {
	display: grid !important;
	grid-template-rows: auto 44px minmax(18px, auto);
	gap: 0 !important;
	align-content: start;
}

.gp-blog-lead-magnet #srfm-form-3292 > .srfm-email-block {
	display: block !important;
}

.gp-blog-lead-magnet #srfm-form-3292 > .srfm-block-width-50 .srfm-block-wrap {
	align-self: stretch;
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 > .srfm-block-width-50 input:not([type="hidden"]) {
	height: 44px !important;
	min-height: 44px !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-cbx .srfm-check-icon {
	display: block !important;
	width: 12px !important;
	height: 10px !important;
	color: var(--wp--preset--color--contrast, #0d1113) !important;
	fill: none !important;
	stroke: currentColor !important;
	opacity: 0;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-input-checkbox:checked ~ .srfm-cbx > .srfm-span-wrap:first-of-type {
	background: var(--wp--preset--color--accent, #c6ab5d) !important;
	border-color: var(--wp--preset--color--accent, #c6ab5d) !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-input-checkbox:checked ~ .srfm-cbx .srfm-check-icon {
	opacity: 1 !important;
}

.gp-blog-lead-magnet #srfm-form-3292 .srfm-input-checkbox:focus-visible ~ .srfm-cbx > .srfm-span-wrap:first-of-type {
	outline: 2px solid var(--wp--preset--color--accent, #c6ab5d);
	outline-offset: 2px;
}

.gp-blog-lead-magnet #srfm-submit-btn .srfm-submit-wrap {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 0 !important;
	line-height: 1 !important;
}

/* GP Solutions mini mega menu.
 * The native Navigation block remains the source of titles and URLs.
 */
.gp-solutions-mega-menu__icon,
.gp-solutions-mega-menu__description,
.gp-solutions-mega-menu__group {
	display: none;
}

.gp-solutions-mega-menu__column,
.gp-solutions-mega-menu__items {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-solutions-mega-menu__footer {
	border-block-start: 1px solid var(--wp--preset--color--border, #071f1b1a);
}

.gp-solutions-mega-menu__footer-link {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs, 16px);
	width: 100%;
	font-weight: 700;
}

.gp-solutions-mega-menu__footer-arrow {
	color: var(--wp--preset--color--champagne, #c6ab5d);
	font-size: 1.25em;
	line-height: 1;
	transition: transform 180ms ease;
}

.gp-solutions-mega-menu__footer-link:hover .gp-solutions-mega-menu__footer-arrow,
.gp-solutions-mega-menu__footer-link:focus-visible .gp-solutions-mega-menu__footer-arrow {
	transform: translateX(3px);
}

@media (width >= 600px) {
	.celestia-header .wp-block-navigation .gp-solutions-mega-menu__panel {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto;
		column-gap: var(--wp--preset--spacing--s, 24px);
		row-gap: 0;
		box-sizing: border-box;
		top: calc(100% + var(--gp-solutions-panel-offset, 0px)) !important;
		left: calc(50% + var(--gp-solutions-panel-shift-x, 0px)) !important;
		width: min(820px, calc(100vw - 48px)) !important;
		min-width: min(820px, calc(100vw - 48px)) !important;
		padding: var(--wp--preset--spacing--s, 24px) !important;
		border: 1px solid var(--wp--preset--color--border, #071f1b1a) !important;
		background: var(--wp--preset--color--surface, #fff) !important;
		color: var(--wp--preset--color--contrast, #071f1b) !important;
		box-shadow: 0 22px 52px rgb(7 31 27 / 15%);
		transform: translateX(-50%);
	}

	.gp-solutions-mega-menu::after {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: var(--gp-solutions-panel-offset, 0px);
		content: "";
	}

	.gp-solutions-mega-menu__column {
		grid-row: 1;
		min-width: 0;
	}

	.gp-solutions-mega-menu__column[data-gp-group="movement"] {
		grid-column: 1;
	}

	.gp-solutions-mega-menu__column[data-gp-group="automation"] {
		grid-column: 2;
		padding-inline-start: var(--wp--preset--spacing--s, 24px);
		border-inline-start: 1px solid var(--wp--preset--color--border, #071f1b1a);
	}

	.gp-solutions-mega-menu__group {
		display: flex;
		align-items: center;
		min-height: 34px;
		padding: 0 var(--wp--preset--spacing--xs, 16px)
			var(--wp--preset--spacing--2-xs, 8px);
		color: var(--wp--preset--color--contrast, #071f1b);
		font-size: 0.7rem;
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.gp-solutions-mega-menu__item {
		width: 100%;
	}

	.celestia-header .gp-solutions-mega-menu__link {
		display: grid !important;
		grid-template-columns: 42px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-content: center;
		column-gap: 14px;
		row-gap: 3px;
		box-sizing: border-box;
		min-height: 78px;
		padding: 12px 16px !important;
		border-block-start: 1px solid var(--wp--preset--color--border, #071f1b1a);
		color: var(--wp--preset--color--contrast, #071f1b) !important;
		transition:
			background-color 180ms ease,
			color 180ms ease,
			box-shadow 180ms ease;
	}

	.celestia-header .gp-solutions-mega-menu__link:hover,
	.celestia-header .gp-solutions-mega-menu__link:focus-visible {
		background: var(--wp--preset--color--surface-alt, #f4f3ee);
		box-shadow: inset 3px 0 0 var(--wp--preset--color--champagne, #c6ab5d);
		outline: 1px solid color-mix(
			in srgb,
			var(--wp--preset--color--champagne, #c6ab5d) 58%,
			transparent
		);
		outline-offset: -1px;
	}

	.gp-solutions-mega-menu__icon {
		display: block;
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: center;
		width: 34px;
		height: 34px;
		background-color: var(--wp--preset--color--champagne, #c6ab5d);
		-webkit-mask-image: var(--gp-solutions-icon);
		mask-image: var(--gp-solutions-icon);
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-size: contain;
	}

	.gp-solutions-mega-menu__text {
		display: contents;
	}

	.gp-solutions-mega-menu__label {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		font-size: 0.95rem;
		font-weight: 700;
		line-height: 1.2;
	}

	.gp-solutions-mega-menu__description {
		display: block;
		grid-column: 2;
		grid-row: 2;
		color: var(--wp--preset--color--muted, #6f706d);
		font-size: 0.76rem;
		line-height: 1.4;
	}

	.gp-solutions-mega-menu__footer {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-block-start: var(--wp--preset--spacing--xs, 16px);
		border-block-start-color: var(--wp--preset--color--border, #071f1b1a);
		background: var(--wp--preset--color--surface-alt, #f4f3ee);
	}

	.celestia-header .gp-solutions-mega-menu__footer-link {
		padding: 16px !important;
		color: var(--wp--preset--color--contrast, #071f1b) !important;
		font-size: 0.85rem;
		letter-spacing: 0.02em;
	}
}

@media (width <= 599px) {
	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 36px;
		align-items: center;
		width: 100%;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > a.wp-block-navigation-item__content {
		grid-column: 1;
		grid-row: 1;
		box-sizing: border-box;
		width: 100%;
		min-height: 58px;
		padding: var(--wp--preset--spacing--xs) 0 !important;
		color: var(--wp--preset--color--contrast) !important;
		font-size: var(--wp--preset--font-size--heading-five);
		font-weight: 600;
		line-height: 1.08;
		letter-spacing: -0.02em;
		text-align: left;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle {
		position: relative;
		display: grid !important;
		place-items: center;
		grid-column: 2;
		grid-row: 1;
		width: 36px !important;
		height: 36px;
		margin: 0;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0;
		background: transparent !important;
		color: var(--wp--preset--color--accent) !important;
		cursor: pointer;
		transition: background-color 180ms ease;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle:hover {
		background: color-mix(
			in srgb,
			var(--wp--preset--color--accent) 10%,
			transparent
		) !important;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle:focus-visible {
		outline: 2px solid var(--wp--preset--color--accent);
		outline-offset: 2px;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle svg {
		display: none;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle::before,
	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle::after {
		position: absolute;
		width: 14px;
		height: 1.5px;
		background: currentColor;
		content: "";
		transition:
			transform 180ms ease,
			opacity 180ms ease;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .wp-block-navigation-submenu__toggle::after {
		transform: rotate(90deg);
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu--mobile-open
		> .wp-block-navigation-submenu__toggle::after {
		opacity: 0;
		transform: rotate(0);
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu > .gp-solutions-mega-menu__panel {
		display: none !important;
		grid-column: 1 / -1;
		grid-row: 2;
		position: static !important;
		box-sizing: border-box;
		width: 100% !important;
		height: auto !important;
		margin: 0;
		padding: var(--wp--preset--spacing--3-xs) 0
			var(--wp--preset--spacing--xs) !important;
		border: 0 !important;
		border-block-start: 1px solid var(--wp--preset--color--border) !important;
		background: transparent !important;
		box-shadow: none !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu--mobile-open > .gp-solutions-mega-menu__panel {
		display: flex !important;
		flex-direction: column;
		gap: 0;
		animation: gp-mobile-menu-reveal 180ms ease-out both;
	}

	.gp-solutions-mega-menu__column,
	.gp-solutions-mega-menu__items {
		width: 100%;
	}

	.gp-solutions-mega-menu__column[data-gp-group="automation"] {
		padding: 0;
		border: 0;
	}

	.gp-solutions-mega-menu__group {
		display: block;
		padding: 18px 0 var(--wp--preset--spacing--2-xs);
		color: var(--wp--preset--color--muted);
		font-size: 0.6875rem;
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.08em;
		text-align: left;
		text-transform: uppercase;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu__link {
		display: grid !important;
		grid-template-columns: 22px minmax(0, 1fr);
		align-items: center;
		gap: 12px;
		box-sizing: border-box;
		width: 100%;
		min-height: 42px;
		padding: var(--wp--preset--spacing--2-xs) 0 !important;
		color: var(--wp--preset--color--contrast) !important;
		text-align: left;
		text-decoration: none;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu__link:hover {
		color: var(--wp--preset--color--accent) !important;
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu__link:focus-visible {
		color: var(--wp--preset--color--accent) !important;
		outline: 1px solid var(--wp--preset--color--accent);
		outline-offset: 3px;
	}

	.gp-solutions-mega-menu__icon {
		display: block;
		width: 20px;
		height: 20px;
		background-color: var(--wp--preset--color--champagne);
		-webkit-mask-image: var(--gp-solutions-icon);
		mask-image: var(--gp-solutions-icon);
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-size: contain;
	}

	.gp-solutions-mega-menu__text,
	.gp-solutions-mega-menu__label {
		display: block;
		min-width: 0;
	}

	.gp-solutions-mega-menu__label {
		font-size: var(--wp--preset--font-size--caption);
		font-weight: 600;
		line-height: 1.25;
	}

	.gp-solutions-mega-menu__description {
		display: none;
	}

	.gp-solutions-mega-menu__footer {
		margin-block-start: 12px;
		border-block-start-color: var(--wp--preset--color--border);
	}

	.celestia-header .wp-block-navigation__responsive-container.is-menu-open
		.gp-solutions-mega-menu__footer-link {
		box-sizing: border-box;
		min-height: 48px;
		padding: 12px 0 !important;
		color: var(--wp--preset--color--contrast) !important;
		font-size: var(--wp--preset--font-size--caption);
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.01em;
		text-align: left;
	}

	.gp-solutions-mega-menu__footer-arrow {
		font-size: 1rem;
	}

	@keyframes gp-mobile-menu-reveal {
		from {
			opacity: 0;
			transform: translateY(-6px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-solutions-mega-menu__footer-arrow,
	.celestia-header .gp-solutions-mega-menu__link,
	.celestia-header .gp-solutions-mega-menu
		> .wp-block-navigation-submenu__toggle::before,
	.celestia-header .gp-solutions-mega-menu
		> .wp-block-navigation-submenu__toggle::after {
		transition-duration: 0.01ms !important;
	}

	.celestia-header .gp-solutions-mega-menu--mobile-open
		> .gp-solutions-mega-menu__panel {
		animation-duration: 0.01ms !important;
	}
}

.gp-solutions-mega-menu--keyboard-closed > .gp-solutions-mega-menu__panel {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Unified GP Solutions mega menu: one semantic list, two visual columns. */
@media (width >= 600px) {
	.celestia-header .wp-block-navigation .gp-solutions-mega-menu__panel {
		grid-template-columns: minmax(0, 1fr);
	}
	.gp-solutions-mega-menu__items {
		display: grid;
		grid-column: 1;
		grid-row: 1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--wp--preset--spacing--s, 24px);
		min-width: 0;
	}
	.gp-solutions-mega-menu__footer {
		grid-column: 1;
		grid-row: 2;
	}
}

/* Solution video gallery: static three-column grid. */
.gp-solution-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--s, 24px);
}

.gp-solution-video-card,
.gp-solution-video-card__media {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.gp-solution-video-card__media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--contrast, #0d1113);
}

.gp-solution-video-card iframe,
.gp-solution-video-card video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

@media (width < 960px) {
	.gp-solution-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width < 600px) {
	.gp-solution-video-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Neutralize the core flow gap inside the video grid. */
.gp-solution-video-grid > .gp-solution-video-card {
	margin-block-start: 0 !important;
}

/* Article reading layout with Easy Table of Contents. */
.single-post .gp-article-layout {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);
 gap:var(--wp--preset--spacing--2-xl);align-items:start;
}
.single-post .gp-article-layout > .celestia-single-post-content {
 min-width:0;width:100%;margin:0;text-align:left;
}
.single-post .gp-article-layout .celestia-single-post-content > * {
 max-width:100%;margin-inline:0;
}
.single-post .gp-article-toc {min-width:0;margin:0;position:sticky;top:120px;}
.single-post .gp-article-toc #ez-toc-container {
 width:100%;box-sizing:border-box;margin:0;padding:24px;
 border:1px solid var(--wp--preset--color--border);border-radius:0;
 background:var(--wp--preset--color--surface);box-shadow:none;
 font-size:14px;line-height:1.5;
}
.single-post .gp-article-toc .ez-toc-title {font-size:16px!important;font-weight:700!important;}
.single-post .gp-article-toc #ez-toc-container a {color:var(--wp--preset--color--contrast);}
.single-post .gp-article-toc #ez-toc-container a:hover {color:var(--wp--preset--color--deep);}
.single-post .gp-article-toc #ez-toc-container nav {max-height:calc(100svh - 230px);overflow-y:auto;}
.single-post .celestia-single-post-content :is(h2,h3,h4) {scroll-margin-top:120px;}
.single-post .celestia-single-post-content .wp-block-table {overflow-x:auto;}
@media(max-width:960px) {
 .single-post .gp-article-layout {grid-template-columns:minmax(0,1fr);gap:var(--wp--preset--spacing--l);}
 .single-post .gp-article-toc {position:static;grid-row:1;}
 .single-post .gp-article-toc #ez-toc-container nav {max-height:300px;}
}

/* Easy TOC: editorial hierarchy matching the GP palette. */
.single-post .gp-article-toc #ez-toc-container {
 padding:0;border:1px solid var(--wp--preset--color--border);
 border-top:3px solid var(--wp--preset--color--accent);
 background:var(--wp--preset--color--surface);
}
.single-post .gp-article-toc .ez-toc-title-container {
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:22px 20px 18px;
 background:var(--wp--preset--color--contrast);
 border-bottom:1px solid var(--wp--preset--color--border);
}
.single-post .gp-article-toc #ez-toc-container .ez-toc-title {
 margin:0;color:var(--wp--preset--color--surface);
 font-size:17px!important;font-weight:700!important;line-height:1.25!important;
}
.single-post .gp-article-toc .ez-toc-title-container > p {margin:0;}
.single-post .gp-article-toc #ez-toc-container .ez-toc-toggle {
 display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;
 padding:4px;background:transparent;border:1px solid var(--wp--preset--color--accent);
 border-radius:0;box-shadow:none;color:var(--wp--preset--color--accent);
}
.single-post .gp-article-toc .ez-toc-toggle svg {
 fill:var(--wp--preset--color--accent)!important;color:var(--wp--preset--color--accent)!important;
}
.single-post .gp-article-toc #ez-toc-container nav {padding:12px 12px 18px;scrollbar-width:thin;}
.single-post .gp-article-toc #ez-toc-container ul {margin:0;padding:0;list-style:none;}
.single-post .gp-article-toc #ez-toc-container ul ul {
 margin:2px 0 10px 15px;padding-left:10px;border-left:1px solid var(--wp--preset--color--border);
}
.single-post .gp-article-toc #ez-toc-container li {margin:0;padding:0;}
.single-post .gp-article-toc #ez-toc-container li > a {
 display:block;padding:10px 10px;border-left:2px solid transparent;
 color:var(--wp--preset--color--contrast);font-size:13px;line-height:1.45;
 font-weight:600;text-decoration:none;transition:background-color 150ms ease,border-color 150ms ease;
}
.single-post .gp-article-toc #ez-toc-container li > a::before {content:none!important;}
.single-post .gp-article-toc #ez-toc-container li.ez-toc-heading-level-3 > a {
 padding-block:7px;font-size:12px;font-weight:400;
}
.single-post .gp-article-toc #ez-toc-container li > a:hover,
.single-post .gp-article-toc #ez-toc-container li.active > a,
.single-post .gp-article-toc #ez-toc-container a.ez-toc-active {
 background:var(--wp--preset--color--surface-alt,var(--wp--preset--color--background));
 border-left-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--deep);
}
.single-post .gp-article-toc #ez-toc-container a:focus-visible {
 outline:2px solid var(--wp--preset--color--deep);outline-offset:-2px;
}
@media(prefers-reduced-motion:reduce) {
 .single-post .gp-article-toc #ez-toc-container li > a {transition:none;}
}

/* Easy TOC toggle: reset the plugin's inner border and lateral offset. */
.single-post .gp-article-toc #ez-toc-container .ez-toc-toggle {
 box-sizing:border-box;float:none;width:36px;height:36px;min-width:36px;
 padding:0;flex-shrink:0;line-height:1;
}
.single-post .gp-article-toc #ez-toc-container .ez-toc-js-icon-con {
 display:flex;float:none;position:static;left:auto;width:auto;height:auto;
 margin:0;padding:0;border:0;border-radius:0;
}
.single-post .gp-article-toc #ez-toc-container .ez-toc-icon-toggle-span {
 display:flex;align-items:center;justify-content:center;width:24px;height:24px;
}
.single-post .gp-article-toc .ez-toc-icon-toggle-span svg:first-child {
 display:block;flex-shrink:0;width:20px;height:20px;
}
.single-post .gp-article-toc .ez-toc-icon-toggle-span svg.arrow-unsorted-368013 {display:none;}
.single-post .gp-article-toc #ez-toc-container li > a {
 font-size:15px;line-height:1.5;padding-block:11px;
}
.single-post .gp-article-toc #ez-toc-container li.ez-toc-heading-level-3 > a {
 font-size:14px;line-height:1.5;padding-block:8px;
}

/* Global article CTA and adjacent article navigation. */
.gp-article-cta {padding-inline:var(--wp--preset--spacing--l);border-top:3px solid var(--wp--preset--color--accent);}
.gp-article-cta > .wp-block-group {align-items:center;}
.gp-article-cta h2,.gp-article-cta p {color:inherit;}
.celestia-single-post-footer .celestia-single-post-navigation {width:100%;max-width:none;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.celestia-single-post-navigation > .wp-block-post-navigation-link {margin:0;min-width:0;}
.celestia-single-post-navigation > .gp-post-nav-previous {grid-column:1;grid-row:1;text-align:left;}
.celestia-single-post-navigation > .gp-post-nav-next {grid-column:2;grid-row:1;text-align:right;}
.celestia-single-post-navigation .post-navigation-link__label {display:block;margin-bottom:var(--wp--preset--spacing--2-xs);}
.celestia-single-post-navigation a {max-width:100%;font-size:var(--wp--preset--font-size--body);line-height:1.5;}
.gp-footer-industrial {clip-path:polygon(var(--gp-footer-cut-size) 0,calc(100% - var(--gp-footer-cut-size)) 0,100% var(--gp-footer-cut-size),100% 100%,0 100%,0 var(--gp-footer-cut-size));}
@media (max-width:767px) {
 .celestia-single-post-navigation > .gp-post-nav-next {grid-column:1;grid-row:2;text-align:left;}
 .gp-article-cta {padding-inline:var(--wp--preset--spacing--m);}
}

/* Article responsive containment and compact featured image. */
.single-post .celestia-single-post,
.single-post .celestia-single-post :is(.gp-article-layout,.celestia-single-post-header,.celestia-single-post-footer,.gp-article-cta,.celestia-single-post-content,.gp-article-toc) {min-width:0;box-sizing:border-box;}
.single-post .celestia-single-post :is(p,li,h1,h2,h3,h4,.wp-block-post-navigation-link) {overflow-wrap:anywhere;}
.single-post .celestia-single-post-content :is(img,video,iframe) {max-width:100%;}
.single-post .celestia-single-post-content pre {max-width:100%;overflow-x:auto;}
.single-post .celestia-single-post-featured {max-width:min(100%,960px);margin-inline:auto;box-sizing:border-box;}
.single-post .celestia-single-post-featured img {width:100%;height:clamp(240px,32vw,420px);object-fit:cover;object-position:center;}
.single-post .gp-article-cta {padding:var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--l);}
.single-post .gp-article-cta > .wp-block-group {width:100%;max-width:100%;min-width:0;}
.single-post .gp-article-cta .wp-block-heading {text-align:center;}
@media (max-width:960px) {
 .single-post .gp-article-layout > .celestia-single-post-content {grid-column:1;grid-row:2;}
 .single-post .gp-article-layout > .gp-article-toc {grid-column:1;grid-row:1;width:100%;}
 .single-post .gp-article-layout {width:100%;max-width:100%;}
}
@media (max-width:767px) {
 .single-post .celestia-single-post-featured img {height:clamp(180px,55vw,240px);}
 .single-post .celestia-single-post > :is(.alignwide,.gp-article-layout,.celestia-single-post-footer,.gp-article-cta) {width:100%;max-width:100%;margin-inline:0;}
 .single-post .gp-article-cta {padding:var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);}
 .single-post .gp-article-cta .wp-block-buttons,.single-post .gp-article-cta .wp-block-button {max-width:100%;}
 .single-post .gp-article-cta .wp-block-button__link {max-width:100%;box-sizing:border-box;white-space:normal;}
 .single-post .celestia-single-post-content :is(ul,ol) {box-sizing:border-box;padding-inline-start:1.4em;}
}
