/*
Theme Name: Circular
Theme URI: https://circular.it
Author: Circular S.r.l.
Description: Tema a blocchi del sito Circular, costruito sul Figma "Fase 1". Accessibile (WCAG 2.1 AA) e responsive.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: circular
*/

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
:root {
	--cx-night: #141a2c;
	--cx-night-deep: #0f1324;
	--cx-paper: #f7f5f0;
	--cx-line: #e2ded4;
	--cx-muted: #5b6176;
	--cx-body: #3e4458;
	--cx-header-h: 88px;
	--cx-pad: var(--wp--style--root--padding-left, 1.25rem);
	--cx-radius: 18px;
	--cx-focus-dark: #8fb4ff;
	--cx-focus-light: #4e2f9e;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--cx-focus-light);
	outline-offset: 3px;
	border-radius: 4px;
}
.cx-dark :where(a, button, input, select, textarea, summary):focus-visible,
.cx-site-header :where(a, button):focus-visible,
.cx-footer :where(a, button):focus-visible {
	outline-color: var(--cx-focus-dark);
}

.screen-reader-text:focus { z-index: 100000; }

/* ------------------------------------------------------------------
   Header (sits over the dark band at the top of every page)
------------------------------------------------------------------ */
.cx-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	color: #fff;
}
body.admin-bar .cx-site-header { top: 46px; }
@media (min-width: 783px) { body.admin-bar .cx-site-header { top: 32px; } }

.cx-nav-bar {
	max-width: calc(1200px + 2 * var(--cx-pad));
	margin: 0 auto;
	padding: 0 var(--cx-pad);
	min-height: var(--cx-header-h);
	box-sizing: border-box;
	gap: 2rem;
}
.cx-logo { display: inline-flex; align-items: center; color: #fff; line-height: 0; }
.cx-logo svg { width: 140px; height: auto; }

.cx-site-header .wp-block-navigation {
	font-size: 1rem;
	font-weight: 500;
	--navigation-layout-justification-setting: flex-start;
	flex: 1;
}
.cx-site-header .wp-block-navigation .wp-block-navigation__container { gap: 2.25rem; }
.cx-site-header .wp-block-navigation-item__content { color: #fff; text-decoration: none; }
.cx-site-header .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 6px; }
.cx-site-header .wp-block-navigation-submenu__toggle { color: #fff; }
.cx-site-header .wp-block-navigation .has-child { padding-bottom: .25rem; }
.cx-site-header .wp-block-navigation__submenu-icon { margin-left: .375rem; width: 12px; height: 12px; }
.cx-site-header .current-menu-item > .wp-block-navigation-item__content,
.cx-site-header .current-menu-ancestor > .wp-block-navigation-submenu__toggle,
.cx-site-header .current-menu-ancestor > .wp-block-navigation-item__content {
	box-shadow: inset 0 -2px 0 #fff;
}

/* Dropdown panel */
.cx-site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	background: #fff;
	color: var(--cx-night);
	border: 0;
	border-radius: 16px;
	padding: .75rem;
	box-shadow: 0 24px 60px rgba(8, 10, 25, .35);
	top: calc(100% + .75rem);
	left: -1.5rem;
	min-width: 22rem;
	gap: .25rem;
}
.cx-site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container::before {
	/* hover bridge so the panel does not close between label and panel */
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: -1rem;
	height: 1rem;
}
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--cx-night);
	padding: .75rem .875rem .75rem 1.375rem;
	border-radius: 10px;
	position: relative;
	display: block;
}
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: #f2f3f7;
	text-decoration: none;
}
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-size: 1rem; font-weight: 500; }
.cx-site-header .wp-block-navigation-item__description {
	display: block;
	font-size: .8125rem;
	font-weight: 400;
	color: var(--cx-muted);
	margin-top: .125rem;
	line-height: 1.35;
	white-space: normal;
}
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
	content: "";
	position: absolute;
	left: .75rem;
	top: .875rem;
	bottom: .875rem;
	width: 3px;
	border-radius: 2px;
	background: var(--cx-bar, #6b5fa8);
}
.cx-site-header .cx-menu-grid > .wp-block-navigation__submenu-container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 37rem;
}

/* product colour bars */
.cx-p-pec { --cx-bar: #3aa6b9; }
.cx-p-secureid { --cx-bar: #c0559f; }
.cx-p-quotel { --cx-bar: #e8902f; }
.cx-p-smartsearch { --cx-bar: #3a9a5b; }
.cx-p-easytender { --cx-bar: #8b6cf0; }
.cx-p-sinfonia { --cx-bar: #4b63d8; }

.cx-header-cta .wp-block-button__link {
	background: #fff;
	color: var(--cx-night);
	font-size: .9375rem;
	font-weight: 600;
	padding: .625rem 1.125rem;
	border-radius: 999px;
	white-space: nowrap;
}
.cx-only-mobile { display: none !important; }

/* Mobile and tablet: full-screen menu up to 1099px */
@media (max-width: 1099.98px) {
	.cx-site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.cx-site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.cx-site-header .wp-block-navigation { flex: 0 0 auto; order: 3; }
	.cx-site-header .wp-block-navigation__responsive-container-open { color: #fff; }
	.cx-site-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
	.cx-header-cta { margin-left: auto; }
}
@media (max-width: 480px) {
	.cx-header-cta { display: none; }
	.cx-logo svg { width: 120px; }
}
.cx-site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--cx-night) !important;
	color: #fff !important;
	padding: 1.5rem var(--cx-pad) 3rem;
}
.cx-site-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4rem; gap: 1.25rem; }
.cx-site-header .is-menu-open .wp-block-navigation__container { gap: 1.25rem !important; }
.cx-site-header .is-menu-open .wp-block-navigation-item__content,
.cx-site-header .is-menu-open .wp-block-navigation-submenu__toggle { color: #fff !important; font-size: 1.25rem; }
.cx-site-header .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	box-shadow: none !important;
	padding: .25rem 0 0 0 !important;
	min-width: 0 !important;
	display: flex !important;
	grid-template-columns: none !important;
}
.cx-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, .85) !important;
	font-size: 1rem;
	padding: .375rem 0 .375rem 1rem;
}
.cx-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before { left: 0; top: .5rem; bottom: .5rem; }
.cx-site-header .is-menu-open .wp-block-navigation-item__description { display: none; }
.cx-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: transparent; text-decoration: underline; }
.cx-site-header .is-menu-open .cx-only-mobile { display: block !important; }
.cx-site-header .wp-block-navigation__responsive-container-close { color: #fff; top: 1.5rem; right: var(--cx-pad); }

/* ------------------------------------------------------------------
   Dark bands: hero, page title band
------------------------------------------------------------------ */
.cx-dark { color: #fff; }
.cx-dark :where(h1, h2, h3, h4) { color: #fff; }
.cx-dark a:where(:not(.wp-element-button)) { color: #fff; }

.cx-hero,
.cx-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--cx-night);
	background-image:
		radial-gradient(45% 70% at 88% 18%, rgba(107, 77, 214, .55), rgba(20, 26, 44, 0) 70%),
		radial-gradient(40% 60% at 4% 100%, rgba(56, 102, 214, .45), rgba(20, 26, 44, 0) 70%),
		linear-gradient(120deg, #11162a 0%, #171e3c 65%, #23305f 100%);
	color: #fff;
	padding-top: calc(var(--cx-header-h) + clamp(2.5rem, 6vw, 5rem)) !important;
	padding-bottom: clamp(3.5rem, 8vw, 7.5rem) !important;
}
.cx-band { padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.cx-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: min(640px, 70vw);
	aspect-ratio: 1;
	right: max(-40px, calc((100vw - 1440px) / 2 - 40px));
	top: calc(var(--cx-header-h) - 40px);
	opacity: .6;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cg fill='none'%3E%3Ccircle cx='320' cy='320' r='240' stroke='%238FB4FF' stroke-width='1.5'/%3E%3Ccircle cx='330' cy='310' r='222' stroke='%23C48BFF' stroke-width='1.2'/%3E%3Ccircle cx='308' cy='332' r='258' stroke='%23FF8FC8' stroke-width='1.2'/%3E%3Ccircle cx='322' cy='318' r='204' stroke='%23FFFFFF' stroke-opacity='.4'/%3E%3Ccircle cx='316' cy='326' r='232' stroke='%237FD6E8' stroke-opacity='.6' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 900px) {
	.cx-hero::after { width: 420px; right: -180px; top: auto; bottom: -160px; opacity: .35; }
}

.cx-breadcrumb { font-size: .875rem; color: rgba(255, 255, 255, .78); margin: 0 0 1.75rem !important; }
.cx-breadcrumb a { color: rgba(255, 255, 255, .78) !important; text-decoration: none; }
.cx-breadcrumb a:hover { color: #fff !important; text-decoration: underline; }

.cx-tag {
	display: inline-block;
	width: fit-content;
	font-size: .9375rem;
	font-weight: 500;
	margin: 0 0 1.25rem !important;
	padding: .4375rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .28);
}
.cx-hero h1 { max-width: 48rem; margin-top: 0; }
.cx-lead {
	font-size: clamp(1.125rem, 1rem + .45vw, 1.25rem);
	line-height: 1.5;
	max-width: 39rem;
	color: rgba(255, 255, 255, .86);
	margin-top: 1.5rem !important;
}
.cx-hero .wp-block-buttons { margin-top: 2.25rem; }
.cx-note { font-size: .875rem; color: rgba(255, 255, 255, .72); }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.wp-block-button__link { transition: background-color .2s, color .2s, box-shadow .2s; }
.cx-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: #fff;
	color: #122a66;
}
.cx-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #e9ecf6; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid currentColor;
}
.cx-dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cx-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.cx-section { padding-top: clamp(4rem, 8vw, 7.5rem) !important; padding-bottom: clamp(4rem, 8vw, 7.5rem) !important; }
.cx-section--paper { background: var(--cx-paper); }
.cx-section--white { background: #fff; }
.cx-intro { max-width: 40rem; color: var(--cx-muted); font-size: 1.125rem; line-height: 1.5; }
.cx-textlink a { font-weight: 600; text-decoration: none; }
.cx-textlink a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------
   Solution cards
------------------------------------------------------------------ */
.cx-cards { margin-top: clamp(2rem, 4vw, 3rem) !important; }
.cx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	overflow: hidden;
	min-height: 18.75rem;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cx-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 26, 44, .12); }
.cx-card:focus-within { outline: 2px solid var(--cx-c, var(--cx-focus-light)); outline-offset: 3px; }
.cx-card__head {
	padding: 1.5rem 1.75rem 1.875rem;
	min-height: 8.75rem;
	box-sizing: border-box;
	background: var(--cx-g, var(--cx-night));
	color: #fff;
}
.cx-card__area { margin: 0 !important; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .92); }
.cx-card__title { margin: .5rem 0 0 !important; font-size: 2rem !important; font-weight: 400 !important; line-height: 1.1; color: #fff !important; }
.cx-card__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.cx-card__body > p { margin: 0; color: var(--cx-body); font-size: 1.0625rem; line-height: 1.5; }
.cx-card__body > .cx-card__link { margin-top: auto !important; padding-top: 1.5rem; font-size: .9375rem; font-weight: 600; }
.cx-card__link a { color: var(--cx-c, #122a66); text-decoration: none; }
.cx-card__link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-card__link a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cx-card__link a:focus-visible { outline: none; }

.cx-card--pec { --cx-g: linear-gradient(120deg, #062f38 0%, #0b5966 60%, #0e7f8f 100%); --cx-c: #0b5966; }
.cx-card--secureid { --cx-g: linear-gradient(120deg, #3a1534 0%, #7a2f6a 60%, #c45fab 100%); --cx-c: #7a2f6a; }
.cx-card--quotel { --cx-g: linear-gradient(120deg, #2e1a04 0%, #6a3a06 60%, #ff9600 100%); --cx-c: #6a3a06; }
.cx-card--smartsearch { --cx-g: linear-gradient(120deg, #0f2a0b 0%, #2b5a1f 60%, #479337 100%); --cx-c: #2b5a1f; }
.cx-card--easytender { --cx-g: linear-gradient(120deg, #24164d 0%, #4e2f9e 60%, #a16fff 100%); --cx-c: #4e2f9e; }
.cx-card--sinfonia { --cx-g: linear-gradient(120deg, #121a45 0%, #26369a 60%, #4662de 100%); --cx-c: #26369a; }

/* ------------------------------------------------------------------
   Steps (method / "come si attiva")
------------------------------------------------------------------ */
.cx-steps { margin-top: clamp(2rem, 4vw, 3rem) !important; }
.cx-step { position: relative; }
.cx-step__num {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	margin: 0 0 1.5rem !important;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 500;
	background: linear-gradient(135deg, #2a3a78 0%, #141a2c 100%);
}
.cx-step h3 { font-size: 1.375rem; font-weight: 500; margin: 0 0 .625rem !important; }
.cx-step > p:not(.cx-step__num) { color: var(--cx-muted); margin: 0; line-height: 1.55; }
@media (min-width: 782px) {
	.cx-steps > .cx-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 1.625rem;
		left: 4.25rem;
		right: 1rem;
		height: 1px;
		background: #4b63d8;
	}
	.cx-steps > .cx-step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: calc(1.625rem - 4px);
		right: 1rem;
		width: 8px;
		height: 8px;
		border-top: 1px solid #4b63d8;
		border-right: 1px solid #4b63d8;
		transform: rotate(45deg);
	}
}

/* ------------------------------------------------------------------
   Demo invite
------------------------------------------------------------------ */
.cx-invite {
	border-radius: 28px;
	padding: clamp(1rem, 4vw, 3rem) !important;
	background:
		radial-gradient(60% 90% at 100% 100%, rgba(107, 77, 214, .55), rgba(20, 26, 44, 0) 70%),
		linear-gradient(120deg, #11162a 0%, #1b2347 100%);
}
.cx-invite__card {
	background: #fff;
	color: var(--cx-night);
	border-radius: 20px;
	padding: clamp(1.5rem, 4vw, 3.5rem) !important;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.cx-invite__card h2 { color: var(--cx-night) !important; margin-top: 0; }
.cx-invite__card p { color: var(--cx-body); }
.cx-invite__next { font-weight: 600; color: var(--cx-night) !important; margin-top: 2rem !important; }
.cx-invite__list { list-style: none; padding: 0; margin: .75rem 0 0; counter-reset: cx; }
.cx-invite__list li { counter-increment: cx; position: relative; padding-left: 2.25rem; margin: 0 0 .75rem; color: var(--cx-body); }
.cx-invite__list li::before {
	content: counter(cx);
	position: absolute; left: 0; top: .05rem;
	width: 1.5rem; height: 1.5rem; border-radius: 50%;
	background: #2a3a78; color: #fff; font-size: .8125rem; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.cx-invite__card .wp-block-button__link { background: var(--cx-night); color: #fff; }
.cx-invite__card .wp-block-button__link:hover { background: #2a3a78; }

/* ------------------------------------------------------------------
   Posts and reports
------------------------------------------------------------------ */
.cx-post-meta { font-size: .9375rem; color: rgba(255, 255, 255, .78); }
.cx-post-meta a { color: rgba(255, 255, 255, .9) !important; }
.cx-post-grid .wp-block-post {
	background: #fff;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cx-post-grid .wp-block-post:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 26, 44, .12); }
.cx-post-grid .wp-block-post:focus-within { outline: 2px solid var(--cx-focus-light); outline-offset: 3px; }
.cx-post-grid .wp-block-post-featured-image { margin: 0; }
.cx-post-grid .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.cx-post-grid .cx-post-card__body { padding: 1.5rem 1.75rem 1.75rem; }
.cx-post-grid .wp-block-post-title { font-size: 1.375rem; font-weight: 500; margin: .5rem 0 .75rem; }
.cx-post-grid .wp-block-post-title a { text-decoration: none; color: var(--cx-night); }
.cx-post-grid .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.cx-post-grid .wp-block-post-title a:focus-visible { outline: none; }
.cx-post-grid .wp-block-post-date,
.cx-post-grid .wp-block-post-excerpt { color: var(--cx-muted); font-size: .9375rem; }
.cx-post-grid .wp-block-post-excerpt__more-text { display: none; }

.cx-article { font-size: 1.125rem; line-height: 1.7; }
.cx-article :where(h2) { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.5em; }
.cx-article :where(h3) { font-size: 1.375rem; margin-top: 2em; }
.cx-article img { border-radius: 12px; height: auto; max-width: 100%; }
.cx-article figcaption { font-size: .875rem; color: var(--cx-muted); }
.cx-featured img { border-radius: var(--cx-radius); width: 100%; height: auto; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.cx-footer {
	background: var(--cx-night-deep);
	color: rgba(255, 255, 255, .74);
	font-size: .9375rem;
}
.cx-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.cx-footer a:hover { color: #fff; text-decoration: underline; }
.cx-footer .cx-logo svg { width: 128px; }
.cx-footer__claim { margin-top: .75rem !important; color: rgba(255, 255, 255, .74); }
.cx-footer__title { color: #fff; font-weight: 600; font-size: .9375rem; margin: 0 0 .75rem !important; }
.cx-footer__list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.cx-footer__list li { margin: 0 0 .5rem; }
.cx-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; margin-top: 2.5rem !important; font-size: .875rem; }

/* ------------------------------------------------------------------
   Motion preferences
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.cx-card:hover, .cx-post-grid .wp-block-post:hover { transform: none; }
}

/* ------------------------------------------------------------------
   Vertical rhythm between full-width bands
------------------------------------------------------------------ */
.wp-site-blocks > *,
main.wp-block-group > *,
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0; }

/* ------------------------------------------------------------------
   Narrow text blocks inside 1200px sections stay left-aligned
------------------------------------------------------------------ */
:is(.cx-hero, .cx-band, .cx-section).is-layout-constrained > :is(.cx-tag, .cx-lead, .cx-intro, h1) {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	margin-right: auto !important;
}
.cx-steps { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)) !important; }
.cx-footer .is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(10.5rem, 100%), 1fr)) !important; }
.cx-hero > h1 { max-width: 48rem !important; }
.cx-lead { max-width: 39rem !important; }
.cx-intro { max-width: 40rem !important; }
.cx-tag { max-width: max-content !important; }
@media (max-width: 1099.98px) { .cx-site-header .cx-nav-bar > .cx-header-cta { margin-left: auto !important; } }
@media (max-width: 480px) { .cx-site-header .cx-nav-bar > .cx-header-cta { display: none !important; } .cx-site-header .cx-nav-bar > .wp-block-navigation { margin-left: auto !important; } }

/* ------------------------------------------------------------------
   Demo form (Contact Form 7)
------------------------------------------------------------------ */
.cx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1rem; }
.cx-form .cx-field { margin: 0; }
.cx-form .cx-field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .cx-form { grid-template-columns: 1fr; } }
.cx-form label { display: block; font-size: .875rem; font-weight: 500; color: var(--cx-night); margin-bottom: .375rem; }
.cx-form .cx-optional { font-weight: 400; color: var(--cx-muted); }
.cx-form input[type="text"],
.cx-form input[type="email"],
.cx-form input[type="tel"],
.cx-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	color: var(--cx-night);
	background: #fff;
	border: 1px solid #8a8fa3;
	border-radius: 10px;
	padding: .75rem .875rem;
	min-height: 44px;
}
.cx-form textarea { min-height: 7.5rem; resize: vertical; }
.cx-form ::placeholder { color: #6b7086; opacity: 1; }
.cx-form :is(input, textarea):focus-visible { outline: 2px solid var(--cx-focus-light); outline-offset: 1px; border-color: var(--cx-focus-light); }
.cx-form .wpcf7-not-valid { border-color: #b3261e !important; }
.cx-form .wpcf7-not-valid-tip { color: #b3261e; font-size: .8125rem; margin-top: .25rem; }
.cx-consent { font-size: .875rem; color: var(--cx-body); }
.cx-consent .wpcf7-list-item { margin: 0; }
.cx-consent label { display: flex; gap: .625rem; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--cx-body); }
.cx-consent input[type="checkbox"] { width: 1.125rem; height: 1.125rem; margin-top: .125rem; flex: none; accent-color: var(--cx-night); }
.cx-form .cx-submit,
.cx-form input[type="submit"] {
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
	background: var(--cx-night);
	border: 0;
	border-radius: 999px;
	padding: .875rem 1.5rem;
	min-height: 44px;
	cursor: pointer;
}
.cx-form input[type="submit"]:hover { background: #2a3a78; }
.cx-form input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 10px; font-size: .9375rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2b5a1f; color: #1e3f15; background: #eef6ea; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; color: #8c1d18; background: #fcefee; }

/* ==================================================================
   Solution pages (product colour set by body class cx-prod--*)
================================================================== */
:root { --cx-a: #26369a; --cx-a2: #4b63d8; --cx-deep: #141a2c; --cx-soft: #eef1fb; --cx-light: #c7d1fb; }
body.cx-prod--pec { --cx-a: #0b5966; --cx-a2: #0e7f8f; --cx-deep: #062f38; --cx-soft: #e0f3f6; --cx-light: #bfe7ee; }
body.cx-prod--secureid { --cx-a: #7a2f6a; --cx-a2: #c45fab; --cx-deep: #3a1534; --cx-soft: #f8e8f3; --cx-light: #f3c6e6; }
body.cx-prod--quotel { --cx-a: #6a3a06; --cx-a2: #d97a00; --cx-deep: #2e1a04; --cx-soft: #fdf0e0; --cx-light: #ffd9a3; }
body.cx-prod--smartsearch { --cx-a: #2b5a1f; --cx-a2: #479337; --cx-deep: #0f2a0b; --cx-soft: #e7f3e3; --cx-light: #c9e8bf; }
body.cx-prod--easytender { --cx-a: #4e2f9e; --cx-a2: #8b62f0; --cx-deep: #24164d; --cx-soft: #eee8fb; --cx-light: #d9cbff; }
body.cx-prod--sinfonia { --cx-a: #26369a; --cx-a2: #4662de; --cx-deep: #121a45; --cx-soft: #e6eafb; --cx-light: #c7d1fb; }

/* steps and focus pick up the product colour */
.cx-step__num { background: linear-gradient(135deg, var(--cx-a2) 0%, var(--cx-deep) 100%) !important; }
@media (min-width: 782px) {
	.cx-steps > .cx-step:not(:last-child)::after { background: var(--cx-a2) !important; }
	.cx-steps > .cx-step:not(:last-child)::before { border-color: var(--cx-a2) !important; }
}
.cx-textlink a { color: var(--cx-a); }

/* Hero */
.cx-prod-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background-color: var(--cx-deep);
	background-image:
		radial-gradient(40% 70% at 82% -5%, color-mix(in srgb, var(--cx-a2) 75%, transparent), transparent 70%),
		radial-gradient(35% 60% at 0% 100%, rgba(21, 66, 148, .55), transparent 70%),
		linear-gradient(120deg, var(--cx-deep) 0%, var(--cx-a) 70%, var(--cx-a2) 100%);
	padding-top: calc(var(--cx-header-h) + clamp(2rem, 5vw, 3.5rem)) !important;
	padding-bottom: calc(clamp(8rem, 18vw, 15rem) + 3rem) !important;
}
.cx-prod-hero .cx-breadcrumb,
.cx-prod-hero .cx-breadcrumb a { color: color-mix(in srgb, var(--cx-light) 80%, #fff) !important; }
.cx-prod-hero h1 {
	font-size: var(--wp--preset--font-size--huge) !important;
	line-height: 1 !important;
	letter-spacing: -.02em;
	margin: .25rem 0 0 !important;
	color: #fff;
}
.cx-prod-hero .cx-lead { color: color-mix(in srgb, var(--cx-soft) 85%, #fff); max-width: 40rem !important; }
.cx-prod-hero .cx-tag { background: rgba(255, 255, 255, .1); }
.cx-prod-hero__cta { align-self: flex-start; }
.cx-prod-hero__cta .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .cx-prod-hero__cta .wp-block-buttons { justify-content: flex-start; } }
.cx-prod-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { color: var(--cx-deep) !important; }

.wp-block-post-content > .cx-hero-mock {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * clamp(8rem, 18vw, 15rem)) !important;
	background: transparent;
}

/* Product interface mock */
.cx-ui {
	background: #f4f6f7;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(6, 20, 30, .28);
	color: var(--cx-night);
	font-size: .875rem;
}
.cx-ui__top { display: flex; flex-wrap: wrap; gap: .5rem 3.5rem; align-items: center; background: #fff; padding: 1.125rem 1.5rem; }
.cx-ui__top strong { font-size: 1rem; font-weight: 600; }
.cx-ui__top span { color: var(--cx-muted); font-size: .8125rem; }
.cx-ui__body { display: grid; grid-template-columns: 15rem minmax(0, 1fr); }
.cx-ui__side { list-style: none; margin: 0; padding: 1rem .75rem; background: #fff; }
.cx-ui__side li { display: flex; justify-content: space-between; padding: .5rem 1rem; border-radius: 8px; margin-bottom: .5rem; }
.cx-ui__side li span:last-child { color: var(--cx-muted); }
.cx-ui__side .is-active { background: var(--cx-soft); font-weight: 500; }
.cx-ui__side .is-warn span:first-child { color: #7a5a06; }
.cx-ui__list { list-style: none; margin: 0; padding: .75rem 1.5rem 1.5rem; display: grid; gap: .75rem; }
.cx-ui__list li { background: #fff; border-radius: 10px; padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cx-ui__list b { display: block; font-weight: 500; font-size: .9375rem; }
.cx-ui__meta { display: flex; flex-wrap: wrap; gap: .25rem 2.5rem; color: var(--cx-muted); font-size: .75rem; margin-top: .25rem; }
.cx-pill { flex: none; background: var(--cx-soft); color: var(--cx-a); font-size: .75rem; font-weight: 600; padding: .3125rem .75rem; border-radius: 999px; white-space: nowrap; }
.cx-pill--warn { background: #fcefc7; color: #6b4c05; }
@media (max-width: 781px) {
	.cx-ui__body { grid-template-columns: 1fr; }
	.cx-ui__side { display: none; }
	.cx-ui__list { padding: .75rem; }
	.cx-ui__list li:nth-child(n+5) { display: none; }
	.cx-ui__meta span + span { display: none; }
}

/* Feature rows */
.cx-features-intro { max-width: 46rem !important; }
.cx-feature { align-items: center !important; gap: clamp(2rem, 5vw, 4.5rem) !important; margin-top: clamp(3.5rem, 7vw, 6rem) !important; }
@media (min-width: 782px) { .cx-feature--flip { flex-direction: row-reverse; } }
.cx-eyebrow { font-size: .875rem; font-weight: 600; color: var(--cx-a); margin: 0 0 .75rem !important; }
.cx-eyebrow span { margin-right: .375rem; }
.cx-feature h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem) !important; line-height: 1.2; margin: 0 0 1rem !important; }
.cx-feature p:not(.cx-eyebrow) { color: var(--cx-body); line-height: 1.6; }

.cx-ill {
	position: relative;
	border-radius: 24px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	min-height: 18rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(150deg, var(--cx-soft) 0%, color-mix(in srgb, var(--cx-light) 55%, #fff) 100%);
	font-size: .8125rem;
	color: var(--cx-night);
}
.cx-ill-card { background: #fff; border-radius: 10px; box-shadow: 0 8px 22px rgba(20, 26, 44, .08); padding: .75rem 1rem; }
.cx-ill-card b { display: block; font-weight: 600; font-size: .8125rem; }
.cx-ill-card small { display: block; color: var(--cx-muted); font-size: .6875rem; margin-top: .125rem; }
.cx-badge { display: inline-block; background: var(--cx-soft); color: var(--cx-a); font-size: .625rem; font-weight: 600; border-radius: 999px; padding: .125rem .5rem; margin-top: .375rem; }
.cx-ill svg.cx-wires { width: 100%; height: 100%; overflow: visible; }
.cx-ill svg.cx-wires path { fill: none; stroke: var(--cx-a2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cx-ill svg.cx-wires path.is-warn { stroke: #d9a514; stroke-dasharray: 4 4; }

.cx-ill--sources { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 1fr); align-items: stretch; gap: 0; }
.cx-ill--sources .cx-col { display: grid; gap: 1rem; align-content: center; }
.cx-ill-dark { background: var(--cx-deep); color: #fff; border-radius: 10px; padding: 1rem 1.125rem; align-self: center; box-shadow: 0 12px 28px rgba(6, 20, 30, .25); }
.cx-ill-dark b { display: block; font-size: .9375rem; font-weight: 600; }
.cx-ill-dark small { display: block; color: color-mix(in srgb, var(--cx-light) 80%, #fff); font-size: .6875rem; margin: .25rem 0 .625rem; }
.cx-ill-dark span { font-size: .75rem; font-weight: 500; }

.cx-ill--pdf { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr); align-items: center; }
.cx-ill--pdf .cx-col { display: grid; gap: .75rem; }
.cx-file { display: flex; align-items: center; gap: .625rem; }
.cx-file::before { content: ""; width: 1.125rem; height: 1.375rem; border-radius: 3px; background: #e8eaf2; flex: none; }
.cx-arrow { text-align: center; font-size: 1.25rem; color: var(--cx-a); }
.cx-pdf { background: #fff; border-radius: 10px; box-shadow: 0 8px 22px rgba(20, 26, 44, .08); overflow: hidden; }
.cx-pdf__head { background: var(--cx-soft); color: var(--cx-a); font-weight: 600; font-size: .75rem; padding: .625rem 1rem; }
.cx-pdf ol { list-style: none; margin: 0; padding: .75rem 1rem; display: grid; gap: .625rem; }
.cx-pdf li { display: flex; gap: .75rem; align-items: center; }
.cx-pdf li::before { content: ""; width: 1.75rem; height: 2rem; border-radius: 4px; background: #efebe4; flex: none; }

.cx-ocr { width: 100%; max-width: 26rem; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(20, 26, 44, .08); padding: 1rem; }
.cx-ocr__title { font-weight: 600; font-size: .75rem; margin-bottom: .5rem; }
.cx-ocr__row { display: flex; justify-content: space-between; align-items: flex-end; padding: .625rem .75rem; border-radius: 8px; }
.cx-ocr__row small { display: block; color: var(--cx-muted); font-size: .625rem; }
.cx-ocr__row b { font-size: 1rem; font-weight: 500; letter-spacing: .02em; }
.cx-ocr__row span { color: var(--cx-muted); font-size: .75rem; }
.cx-ocr__row.is-best { background: var(--cx-soft); }
.cx-ocr__row.is-best span { color: var(--cx-a); font-weight: 600; }
.cx-ocr__chosen { display: inline-block; margin-top: .75rem; background: var(--cx-soft); color: var(--cx-a); font-size: .6875rem; font-weight: 600; border-radius: 999px; padding: .25rem .75rem; }

.cx-ill--route { display: grid; grid-template-columns: minmax(0, .9fr) 5rem minmax(0, 1fr); align-items: stretch; }
.cx-ill--route .cx-col { display: grid; gap: 1rem; align-content: center; }
.cx-ill--route .cx-src { align-self: center; }
.cx-dest { border-left: 4px solid var(--cx-a2); }
.cx-dest.is-warn { border-left-color: #e2b11f; }

@media (max-width: 600px) {
	.cx-ill--sources, .cx-ill--route { grid-template-columns: 1fr; gap: 1rem; }
	.cx-ill--pdf { grid-template-columns: 1fr; gap: .75rem; }
	.cx-ill--pdf .cx-arrow { transform: rotate(90deg); }
	.cx-ill svg.cx-wires { display: none; }
}

/* Numbers band */
.cx-stats-band {
	color: #fff;
	background:
		radial-gradient(45% 90% at 100% 0%, color-mix(in srgb, var(--cx-a2) 75%, transparent), transparent 70%),
		linear-gradient(120deg, var(--cx-deep) 0%, var(--cx-a) 100%);
}
.cx-stats-band .cx-kicker { color: color-mix(in srgb, var(--cx-light) 85%, #fff); font-size: .9375rem; margin: 0 0 1.5rem !important; }
.cx-stats { margin-top: 0 !important; }
.cx-stat { padding-right: 1.5rem; }
@media (min-width: 782px) { .cx-stat + .cx-stat { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 2.5rem; } }
.cx-stat__num { font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem) !important; font-weight: 500; line-height: 1; margin: 0 0 1.25rem !important; color: #fff; }
.cx-stat__title { font-weight: 600; font-size: 1.125rem; margin: 0 0 .5rem !important; color: #fff; }
.cx-stat p:last-child { color: rgba(255, 255, 255, .82); margin: 0; }
.cx-stats-band .cx-textlink { margin-top: 2.5rem !important; }
.cx-stats-band .cx-textlink a { color: #fff; }

/* Technical sheet */
.cx-two-col { gap: clamp(2rem, 6vw, 5rem) !important; }
.cx-spec { margin: 0; }
.cx-spec table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cx-spec td { border: 0; border-top: 1px solid var(--cx-line); padding: 1rem .5rem 1rem 0; vertical-align: top; color: var(--cx-body); line-height: 1.5; }
.cx-spec tr:last-child td { border-bottom: 1px solid var(--cx-line); }
.cx-spec td:first-child { font-weight: 600; color: var(--cx-night); width: 27%; }
@media (max-width: 600px) {
	.cx-spec tr { display: block; border-top: 1px solid var(--cx-line); padding: .875rem 0; }
	.cx-spec td { display: block; border: 0 !important; padding: 0; width: auto !important; }
	.cx-spec td:first-child { margin-bottom: .25rem; }
}

/* FAQ */
.cx-faq-index { list-style: none; margin: 2rem 0 !important; padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--cx-a2); display: grid; gap: .875rem; }
.cx-faq-index a { color: var(--cx-night); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.cx-faq-index a:hover { text-decoration: underline; }
.cx-faq .wp-block-details { padding: 1.5rem 0 !important; border-top: 1px solid var(--cx-line); border-bottom: 0 !important; margin: 0 !important; }
.cx-faq .wp-block-group:last-child .wp-block-details { border-bottom: 1px solid var(--cx-line) !important; }
.cx-faq .wp-block-details summary { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.cx-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.cx-faq .wp-block-details summary::after { content: "+"; font-weight: 400; color: var(--cx-a); transition: transform .2s; }
.cx-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.cx-faq .wp-block-details p { color: var(--cx-body); margin: .75rem 0 0; }
.cx-faq-group > * { margin-block-start: 0 !important; }

/* Compact cards (other solutions) */
.cx-cards--compact { margin-top: 2rem !important; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)) !important; }
.cx-cards--compact .cx-card { min-height: 15rem; }
.cx-cards--compact .cx-card__head { min-height: 6.5rem; padding: 1.25rem 1.25rem 1.5rem; }
.cx-cards--compact .cx-card__title { font-size: 1.625rem !important; }
.cx-cards--compact .cx-card__body { padding: 1.25rem; }
.cx-cards--compact .cx-card__body > p { font-size: .9375rem; }

/* Invite accent follows the product */
body[class*="cx-prod--"] .cx-invite {
	background:
		radial-gradient(60% 90% at 100% 100%, color-mix(in srgb, var(--cx-a2) 70%, transparent), transparent 70%),
		linear-gradient(120deg, var(--cx-deep) 0%, var(--cx-a) 100%);
}
body[class*="cx-prod--"] .cx-invite__list li::before { background: var(--cx-a); }
.wp-block-post-content > .cx-hero-mock { background: linear-gradient(to bottom, transparent clamp(8rem, 18vw, 15rem), var(--cx-paper) clamp(8rem, 18vw, 15rem)) !important; }
.cx-hero-mock + .cx-section { padding-top: clamp(3.5rem, 7vw, 6rem) !important; }
.cx-pdf li b { display: block; font-weight: 600; font-size: .75rem; }
.cx-pdf li small { display: block; color: var(--cx-muted); font-size: .625rem; }
.cx-file { font-weight: 500; }
:is(.cx-hero, .cx-band, .cx-section).is-layout-constrained > .cx-kicker { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.cx-stats { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)) !important; }
@media (max-width: 781px) { .cx-prod-hero__cta .wp-block-buttons { margin-top: .5rem !important; } }

/* Dropdown fixes: panel width and label above description */
.cx-site-header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container { min-width: 22rem !important; }
.cx-site-header .wp-block-navigation .has-child.cx-menu-grid > .wp-block-navigation__submenu-container { min-width: 38rem !important; width: 38rem !important; }
.cx-site-header .wp-block-navigation__submenu-container > .wp-block-navigation-item { width: 100%; display: block; }
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block !important;
	width: 100%;
	box-sizing: border-box;
	white-space: normal;
}
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label,
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__description { display: block !important; }
.cx-site-header .is-menu-open .wp-block-navigation .has-child > .wp-block-navigation__submenu-container,
.cx-site-header .is-menu-open .has-child.cx-menu-grid > .wp-block-navigation__submenu-container { min-width: 0 !important; width: auto !important; }
.cx-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .75rem .875rem .75rem 1.5rem !important; }
.cx-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .375rem 0 .375rem 1rem !important; }

/* ==================================================================
   Illustration toolkit for solution pages
================================================================== */
.cx-ui__cols { display: grid; gap: 1rem; padding: 1.25rem 1.5rem 1.5rem; align-items: start; }
.cx-ui__foot { padding: 0 1.5rem 1.25rem; color: var(--cx-muted); font-size: .75rem; }
.cx-panel { background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(20, 26, 44, .06); padding: 1rem 1.125rem; }
.cx-panel__title { display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-weight: 600; font-size: .875rem; margin-bottom: .75rem; }
.cx-panel__sub { display: block; color: var(--cx-muted); font-size: .6875rem; font-weight: 400; margin-top: .125rem; }
.cx-muted { color: var(--cx-muted); }
.cx-hl { color: var(--cx-a); font-weight: 600; }
.cx-chip { display: inline-block; background: #f0f1f5; color: var(--cx-body); font-size: .6875rem; font-weight: 500; border-radius: 999px; padding: .1875rem .625rem; margin: .125rem .25rem .125rem 0; }
.cx-chip--a { background: var(--cx-soft); color: var(--cx-a); }
.cx-chip--ok { background: #e3f3e8; color: #1d5a32; }
.cx-chip--warn { background: #fcefc7; color: #6b4c05; }
.cx-chip--risk { background: #fbe3e1; color: #8c1d18; }
.cx-fakebtn { display: inline-block; background: var(--cx-a); color: #fff; font-weight: 600; font-size: .75rem; border-radius: 999px; padding: .5rem 1.125rem; }
.cx-fakebtn--dark { background: var(--cx-night); }
.cx-fakebtn--block { display: block; text-align: center; }
.cx-fakeinput { display: flex; align-items: center; gap: .5rem; background: #f3f4f7; color: var(--cx-muted); border-radius: 999px; padding: .5rem .875rem; font-size: .75rem; }
.cx-search { display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: 10px; padding: .625rem .875rem; box-shadow: 0 6px 18px rgba(20, 26, 44, .06); font-size: .875rem; }
.cx-search::before { content: ""; width: .875rem; height: .875rem; border: 2px solid var(--cx-muted); border-radius: 50%; flex: none; }
.cx-search .cx-fakebtn { margin-left: auto; }

.cx-kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; font-size: .8125rem; }
.cx-kv dt { color: var(--cx-muted); margin: 0; }
.cx-kv dd { margin: 0; font-weight: 600; }
.cx-kv--lines dt, .cx-kv--lines dd { border-bottom: 1px solid #eef0f4; padding-bottom: .5rem; }

.cx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; font-size: .8125rem; }
.cx-checks li { display: flex; gap: .625rem; align-items: flex-start; }
.cx-checks li::before { content: "✓"; flex: none; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #2f8a4f; color: #fff; font-size: .625rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: .0625rem; }
.cx-checks small { display: block; color: var(--cx-muted); font-size: .6875rem; }
.cx-checks--plain li::before { background: transparent; color: var(--cx-a); font-size: .875rem; }
.cx-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; font-size: .8125rem; }
.cx-rules li { display: flex; gap: .75rem; }
.cx-rules .is-yes::before { content: "✓"; color: #1d6a3a; font-weight: 700; }
.cx-rules .is-no { color: var(--cx-muted); text-decoration: line-through; }
.cx-rules .is-no::before { content: "✕"; color: #b3261e; text-decoration: none; display: inline-block; }

.cx-code { background: var(--cx-deep); color: #fff; border-radius: 12px; padding: 1rem 1.125rem; font-size: .75rem; box-shadow: 0 12px 28px rgba(6, 20, 30, .25); }
.cx-code b { display: block; font-size: .875rem; }
.cx-code small { display: block; color: color-mix(in srgb, var(--cx-light) 80%, #fff); font-size: .6875rem; margin-bottom: .75rem; }
.cx-code pre { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; line-height: 1.5; white-space: pre; color: #fff; background: none; padding: 0; }

.cx-flow { display: grid; grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr); align-items: center; width: 100%; }
.cx-flow__line { height: 1px; background: var(--cx-a2); position: relative; }
.cx-flow__line::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--cx-a2); border-right: 1px solid var(--cx-a2); transform: rotate(45deg); }
.cx-flow__mid { display: grid; gap: .5rem; justify-items: center; }
@media (max-width: 600px) { .cx-flow { grid-template-columns: 1fr; gap: 1rem; } .cx-flow__line { height: 2rem; width: 1px; justify-self: center; } .cx-flow__line::after { display: none; } }

.cx-bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .875rem 1rem; align-items: center; font-size: .75rem; }
.cx-bars i { display: block; height: .875rem; border-radius: 3px; background: var(--cx-a); }
.cx-bars b { font-weight: 600; }

.cx-doc { background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(20, 26, 44, .08); padding: 1rem 1.125rem; font-size: .75rem; }
.cx-doc > b { display: block; font-size: .875rem; }
.cx-doc > small { display: block; color: var(--cx-muted); font-size: .6875rem; margin-bottom: .75rem; }
.cx-doc h4 { font-size: .75rem !important; font-weight: 600; margin: .875rem 0 .375rem !important; color: var(--cx-night); }
.cx-doc i { display: block; height: .3125rem; border-radius: 3px; background: #e3e5ee; margin: .3125rem 0; }
.cx-doc i:nth-of-type(3n) { width: 65%; }
.cx-doc--soft i { background: var(--cx-light); }

.cx-filelist { display: grid; gap: .625rem; }
.cx-fileitem { display: flex; gap: .625rem; align-items: center; border: 1px solid #eceef3; border-radius: 8px; padding: .5rem .625rem; font-size: .75rem; background: #fff; }
.cx-fileitem::before { content: ""; width: 1rem; height: 1.25rem; border-radius: 3px; background: var(--cx-soft); flex: none; }
.cx-fileitem b { display: block; font-weight: 600; }
.cx-fileitem small { display: block; color: var(--cx-muted); font-size: .625rem; }
.cx-drop { border: 1.5px dashed var(--cx-a2); color: var(--cx-a); border-radius: 8px; padding: .875rem; text-align: center; font-size: .6875rem; }

.cx-bubble { background: #f0f1f5; border-radius: 12px; padding: .625rem .875rem; font-size: .75rem; line-height: 1.45; max-width: 85%; }
.cx-bubble--me { background: var(--cx-soft); margin-left: auto; }
.cx-chat { display: grid; gap: .625rem; }

.cx-idcard { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(20, 26, 44, .1); width: 100%; max-width: 20rem; position: relative; }
.cx-idcard__head { background: #dfe6f2; color: #2a3550; font-weight: 600; font-size: .75rem; letter-spacing: .03em; padding: .625rem .875rem; }
.cx-idcard__body { display: grid; grid-template-columns: 5.5rem 1fr; gap: .875rem; padding: .875rem; }
.cx-idcard__photo { position: relative; height: 7rem; border-radius: 6px; background: #e9eaf3; overflow: hidden; }
.cx-idcard__photo::before { content: ""; position: absolute; left: 50%; top: 18%; width: 2.25rem; height: 2.25rem; margin-left: -1.125rem; border-radius: 50%; background: #b8bde0; }
.cx-idcard__photo::after { content: ""; position: absolute; left: 50%; bottom: -1.25rem; width: 4rem; height: 4rem; margin-left: -2rem; border-radius: 50%; background: #b8bde0; }
.cx-idcard__photo.is-flag { outline: 2px dashed #c0392b; outline-offset: -6px; }
.cx-idcard__name b { display: block; font-size: .9375rem; }
.cx-idcard__name span { display: block; color: var(--cx-muted); font-size: .8125rem; margin-bottom: .625rem; }
.cx-idcard__name i { display: block; height: .3125rem; background: #e3e5ee; border-radius: 3px; margin: .4375rem 0; }
.cx-idcard__name i:nth-of-type(3) { width: 60%; }
.cx-flagtag { position: absolute; top: -.75rem; left: 1rem; background: #fbe3e1; color: #8c1d18; font-size: .625rem; font-weight: 600; border-radius: 999px; padding: .1875rem .625rem; }

.cx-rowlist { display: grid; gap: .25rem; font-size: .75rem; }
.cx-rowlist > div { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .5rem .625rem; border-radius: 8px; }
.cx-rowlist small { display: block; color: var(--cx-muted); font-size: .625rem; }
.cx-rowlist b { font-weight: 600; }
.cx-rowlist .is-warn { background: #fcefc7; }

.cx-dest.is-ok { border-left-color: #2f8a4f; }
.cx-dest.is-risk { border-left-color: #b3261e; }
.cx-dest { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }

.cx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; }
@media (max-width: 600px) { .cx-grid2 { grid-template-columns: 1fr; } }
.cx-stack { display: grid; gap: .875rem; width: 100%; }

.cx-stats--words .cx-stat__num { font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.25rem) !important; margin-bottom: 1rem !important; }

.cx-skel { display: grid; gap: .875rem; }
.cx-skel i { display: block; height: .75rem; border-radius: 6px; background: #e3e5ee; }
.cx-skel i:nth-child(even) { width: 70%; }
.cx-skel span { display: block; height: 7rem; border-radius: 10px; background: #eceef4; }

@media (max-width: 781px) {
	.cx-ui__cols { grid-template-columns: 1fr !important; padding: 1rem; }
	.cx-hide-sm { display: none !important; }
}

/* ------------------------------------------------------------------
   Homepage (temporary hero)
------------------------------------------------------------------ */
.cx-home-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #141a2c;
	color: #fff;
	min-height: max(42rem, 100vh);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: calc(var(--cx-header-h) + 3rem) !important;
	padding-bottom: 4rem !important;
}
.cx-home-hero__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; max-width: none !important; }
.cx-home-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.cx-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(15, 19, 36, .82) 0%, rgba(15, 19, 36, .5) 42%, rgba(15, 19, 36, 0) 70%);
}
@media (max-width: 900px) { .cx-home-hero::before { background: linear-gradient(180deg, rgba(15, 19, 36, .55) 0%, rgba(15, 19, 36, .85) 100%); } }
.cx-home-hero h1 { max-width: 36rem !important; margin-top: 0; }
.cx-home-hero .cx-lead { max-width: 35rem !important; }
.cx-home-hero .wp-block-buttons { margin-top: 2rem; }
.cx-home-hero .cx-note { margin-top: 1.25rem !important; }
.cx-tag--dot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8fe0ee; margin-right: .625rem; vertical-align: 1px; }
:is(.cx-home-hero).is-layout-constrained > :is(.cx-tag, .cx-lead, .cx-note, h1, .wp-block-buttons) { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }

/* ==================================================================
   Light header (pages with a light hero)
================================================================== */
body.cx-light-header .cx-site-header { color: var(--cx-night); }
body.cx-light-header .cx-site-header .cx-logo { color: var(--cx-night); }
body.cx-light-header .cx-site-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
body.cx-light-header .cx-site-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle,
body.cx-light-header .cx-site-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon,
body.cx-light-header .cx-site-header .wp-block-navigation__responsive-container-open { color: var(--cx-night) !important; }
body.cx-light-header .cx-site-header .current-menu-item > .wp-block-navigation-item__content,
body.cx-light-header .cx-site-header .current-menu-ancestor > .wp-block-navigation-submenu__toggle,
body.cx-light-header .cx-site-header .current-menu-ancestor > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--cx-night); }
body.cx-light-header .cx-site-header .cx-header-cta .wp-block-button__link { background: var(--cx-night); color: #fff; }
body.cx-light-header .cx-site-header :where(a, button):focus-visible { outline-color: var(--cx-focus-light); }
body.cx-light-header .cx-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > :is(.wp-block-navigation-item__content, .wp-block-navigation-submenu__toggle) { color: #fff !important; }
body.cx-light-header .cx-site-header .is-menu-open .cx-logo { color: #fff; }

/* ==================================================================
   Platform page
================================================================== */
.cx-light-hero {
	background: var(--cx-paper);
	padding-top: calc(var(--cx-header-h) + clamp(1.5rem, 4vw, 3rem)) !important;
	padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
	overflow: hidden;
}
.cx-light-hero .cx-breadcrumb, .cx-light-hero .cx-breadcrumb a { color: var(--cx-muted) !important; }
.cx-light-hero .cx-breadcrumb a:hover { color: var(--cx-night) !important; }
.cx-tag--light { background: #ebe9f8; border-color: transparent; color: #3f3a8c; }
.cx-tag--light::before { background: #6b5fd8; }
.cx-light-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem) !important; line-height: 1.05 !important; letter-spacing: -.02em; margin: 0 0 1.5rem !important; }
.cx-squiggle { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 35 9, 55 5 S 95 2, 118 6' fill='none' stroke='%236b5fd8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left 100% / 100% .3em no-repeat; padding-bottom: .12em; }
.cx-light-hero .cx-lead { color: var(--cx-body); max-width: 33rem !important; }
.cx-light-hero .wp-block-buttons { margin-top: 2rem; }
.cx-hand { font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 500; }

.cx-cai-stage { position: relative; min-height: 32rem; }
.cx-cai {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(20, 26, 44, .14);
	padding: 1.5rem 1.5rem 1.25rem;
	width: min(100%, 22rem);
	transform: rotate(-3deg);
	font-size: .6875rem;
	color: var(--cx-night);
}
.cx-cai__title { font-weight: 700; font-size: .75rem; letter-spacing: .02em; }
.cx-cai__sub { color: var(--cx-muted); border-bottom: 1px solid #d9dbe3; padding-bottom: .5rem; margin-bottom: .75rem; }
.cx-cai__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
.cx-cai__f { margin: 0 0 .75rem; }
.cx-cai__f small { display: block; font-size: .5625rem; font-weight: 600; letter-spacing: .03em; color: var(--cx-body); text-transform: uppercase; }
.cx-cai__f span { display: inline-block; font-family: 'Caveat', cursive; font-size: 1.375rem; line-height: 1.2; color: #1d2a6e; border-bottom: 1px solid #c5c8d3; padding: 0 .375rem; background: #ebe9f8; }
.cx-cai__f span.is-warn { background: #fcefc7; }
.cx-cai__checks { display: flex; gap: 1rem; margin-top: .25rem; }
.cx-cai__checks i { display: inline-block; width: .75rem; height: .75rem; border: 1px solid #8a8fa3; vertical-align: -2px; margin-right: .25rem; font-style: normal; font-size: .625rem; line-height: .75rem; text-align: center; }
.cx-extract {
	position: absolute;
	right: 0;
	bottom: 2.5rem;
	width: min(100%, 15rem);
	background: var(--cx-night);
	color: #fff;
	border-radius: 12px;
	padding: 1rem 1.125rem;
	box-shadow: 0 20px 50px rgba(8, 10, 25, .35);
	font-size: .75rem;
}
.cx-extract__head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .75rem; }
.cx-extract__head span { color: rgba(255, 255, 255, .6); font-weight: 400; }
.cx-extract__f { margin-bottom: .75rem; }
.cx-extract__f > div { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .7); font-size: .6875rem; }
.cx-extract__f b { display: block; font-size: .875rem; margin: .125rem 0 .375rem; }
.cx-extract__f i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); }
.cx-extract__f i::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: 2px; background: #7b7fe8; }
.cx-extract__f.is-warn > div span { color: #f2c94c; }
.cx-extract__f.is-warn i::before { background: #f2c94c; }
.cx-extract__ok { display: inline-block; background: rgba(76, 175, 120, .2); color: #a8e6c1; border-radius: 999px; padding: .3125rem .75rem; font-size: .6875rem; }
.cx-note-hand { position: absolute; font-family: 'Caveat', cursive; font-size: 1.375rem; line-height: 1.15; }
.cx-note-hand--a { top: 4.5rem; right: -.5rem; color: #3f3a8c; transform: rotate(4deg); }
.cx-note-hand--b { bottom: -1rem; left: 1.5rem; color: #7a5a06; }
@media (max-width: 781px) {
	.cx-cai-stage { min-height: 0; display: grid; gap: 1rem; }
	.cx-cai { transform: none; width: 100%; }
	.cx-extract { position: static; width: 100%; }
	.cx-note-hand { display: none; }
}

.cx-logos { border-top: 1px solid var(--cx-line); margin-top: clamp(2rem, 4vw, 3rem) !important; padding-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.25rem; }
.cx-logos small { font-size: .8125rem; color: var(--cx-muted); }
.cx-logos span { font-size: 1.125rem; font-weight: 600; color: #4a5068; }

/* Light stats */
.cx-stats--light .cx-stat__num, .cx-stats--light .cx-stat__title { color: var(--cx-night) !important; }
.cx-stats--light .cx-stat p:last-child { color: var(--cx-muted); }
@media (min-width: 782px) { .cx-stats--light .cx-stat + .cx-stat { border-left-color: var(--cx-line); } }

/* OCR vs IDP */
.cx-ocr-box { background: #f1efe8; border: 1px solid var(--cx-line); border-radius: 14px; padding: 1.125rem 1.25rem; }
.cx-ocr-box small { display: block; font-weight: 600; font-size: .8125rem; color: var(--cx-body); margin-bottom: .75rem; }
.cx-ocr-box code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; line-height: 1.7; color: var(--cx-night); background: none; padding: 0; white-space: normal; }
.cx-ocr-box code mark { background: none; color: #b3261e; }
.cx-between { font-size: .8125rem; font-weight: 500; color: #3f3a8c; margin: .75rem 0 !important; }
.cx-idp-box { background: #fff; border: 1px solid var(--cx-line); border-radius: 14px; padding: 1.125rem 1.25rem; box-shadow: 0 10px 30px rgba(20, 26, 44, .06); }
.cx-idp-box > small { display: block; font-weight: 600; font-size: .8125rem; color: var(--cx-body); margin-bottom: .5rem; }
.cx-idp-row { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: .75rem; align-items: center; border-top: 1px solid #eef0f4; padding: .625rem 0; font-size: .8125rem; }
.cx-idp-row span:first-child { color: var(--cx-muted); }
.cx-idp-row b { justify-self: start; background: #e8f0fd; border-radius: 4px; padding: .125rem .5rem; font-weight: 600; }
.cx-idp-row b.is-plain { background: none; padding: 0; }
.cx-idp-row b.is-warn { background: #fcefc7; }
.cx-idp-row em { font-style: normal; font-size: .75rem; color: #3f3a8c; }
.cx-idp-row em.is-warn { color: #7a5a06; }
@media (max-width: 600px) { .cx-idp-row { grid-template-columns: 1fr auto; } .cx-idp-row span:first-child { grid-column: 1 / -1; } }

/* Dark band with numbered steps and mock */
.cx-night-band { background: radial-gradient(60% 60% at 90% 0%, rgba(56, 86, 180, .45), transparent 70%), linear-gradient(180deg, #131a33 0%, #10152a 100%); color: #fff; }
.cx-night-band :where(h2, h3) { color: #fff; }
.cx-night-band .cx-intro { color: rgba(255, 255, 255, .78); }
.cx-numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.cx-numlist li { counter-increment: n; display: grid; grid-template-columns: 2.5rem 1fr; border-top: 1px solid rgba(255, 255, 255, .15); padding: 1.25rem 0; }
.cx-numlist li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.cx-numlist li::before { content: counter(n); color: #8fd3ee; font-size: 1.125rem; font-weight: 500; }
.cx-numlist b { display: block; font-size: 1.25rem; font-weight: 500; margin-bottom: .375rem; }
.cx-numlist p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.cx-flowmock { display: grid; gap: 1rem; color: var(--cx-night); font-size: .75rem; }
.cx-flowmock .cx-panel { box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cx-flowmock__pec .cx-panel__title { background: #eef0f4; margin: -1rem -1.125rem .75rem; padding: .625rem 1.125rem; border-radius: 12px 12px 0 0; font-size: .75rem; }
.cx-flowmock .cx-hand-f { font-family: 'Caveat', cursive; font-size: 1.25rem; color: #1d2a6e; border-bottom: 1px solid #d9dbe3; display: block; margin-bottom: .5rem; }
.cx-flowmock .cx-hand-f.is-warn { background: #fcefc7; }
.cx-flowmock small.lbl { display: block; font-size: .5625rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cx-body); }
.cx-flowmock .cx-recog { justify-self: start; background: #dff0fb; color: #1d4f7a; border-radius: 999px; padding: .375rem .75rem; font-weight: 600; font-size: .6875rem; }
.cx-flowmock .cx-result-warn { border: 2px solid #e2b11f; }
.cx-flowmock .cx-result-warn small { color: #7a5a06; font-weight: 600; }

/* Document list */
.cx-doclist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); column-gap: clamp(2rem, 4vw, 3rem); margin-top: 2rem !important; }
.cx-docrow { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: start; border-top: 1px solid var(--cx-line); padding: 1.25rem 0; }
.cx-docrow b { font-size: 1.125rem; font-weight: 500; }
.cx-docrow p { grid-column: 1; margin: 0; color: var(--cx-muted); font-size: .9375rem; }
.cx-docrow .cx-pillm { grid-row: 1 / span 2; grid-column: 2; }
.cx-pillm { font-size: .75rem; font-weight: 500; border-radius: 999px; padding: .25rem .75rem; white-space: nowrap; }
.cx-pillm::before { content: "●"; margin-right: .375rem; font-size: .5rem; vertical-align: 2px; }
.cx-pillm--ready { background: #e8f0fd; color: #1d3f8f; }
.cx-pillm--custom { border: 1px solid #a5a9b8; color: var(--cx-body); }
.cx-pillm--custom::before { content: "○"; font-size: .625rem; vertical-align: 1px; }

/* Solutions bento */
.cx-bento { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; margin-top: 2rem !important; }
.cx-bento > :first-child { grid-row: 1 / span 2; }
@media (max-width: 900px) { .cx-bento { grid-template-columns: 1fr; } .cx-bento > :first-child { grid-row: auto; } }
.cx-tile { position: relative; border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: .75rem; }
.cx-tile--pec { background: radial-gradient(70% 60% at 100% 100%, #0aa3b6 0%, transparent 70%), linear-gradient(135deg, #062f38 0%, #0b5966 100%); }
.cx-tile--secureid { background: radial-gradient(70% 70% at 100% 0%, #c45fab 0%, transparent 70%), linear-gradient(135deg, #3a1534 0%, #7a2f6a 100%); flex-direction: row; }
.cx-tile--quotel { background: radial-gradient(70% 70% at 0% 100%, #ff9600 0%, transparent 70%), linear-gradient(135deg, #2e1a04 0%, #a35a06 100%); flex-direction: row; }
.cx-tile__text { flex: 1; display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.cx-tile small { font-size: .8125rem; color: rgba(255, 255, 255, .85); }
.cx-tile h3 { color: #fff !important; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem) !important; font-weight: 500 !important; margin: 0 !important; }
.cx-tile p { margin: 0; color: rgba(255, 255, 255, .9); line-height: 1.5; }
.cx-tile a { color: #fff; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 1rem; }
.cx-tile a::after { content: ""; position: absolute; inset: 0; }
.cx-tile a:hover { text-decoration: underline; }
.cx-tile:focus-within { outline: 3px solid var(--cx-focus-light); outline-offset: 3px; }
.cx-tile__mock { background: #fff; color: var(--cx-night); border-radius: 12px; font-size: .75rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.cx-tile--pec .cx-tile__mock { margin-top: 1.5rem; }
.cx-tile--secureid .cx-tile__mock, .cx-tile--quotel .cx-tile__mock { width: 10.5rem; flex: none; align-self: center; padding: .75rem; }
@media (max-width: 600px) { .cx-tile--secureid, .cx-tile--quotel { flex-direction: column; } .cx-tile--secureid .cx-tile__mock, .cx-tile--quotel .cx-tile__mock { width: 100%; } }
.cx-tile__mock-head { display: flex; justify-content: space-between; background: #eef0f4; padding: .625rem 1rem; border-radius: 12px 12px 0 0; font-weight: 600; }
.cx-tile__mock-head span { color: #0b5966; font-weight: 500; }
.cx-tile__mock ul { list-style: none; margin: 0; padding: .25rem 1rem .5rem; }
.cx-tile__mock li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; border-bottom: 1px solid #eef0f4; padding: .625rem 0; }
.cx-tile__mock li:last-child { border-bottom: 0; }
.cx-tile__mock li b { display: block; font-weight: 500; font-size: .8125rem; }
.cx-tile__mock li small { color: var(--cx-muted); font-size: .6875rem; }
.cx-tile__mock .cx-pill { background: #e0f3f6; color: #0b5966; }
.cx-tile__mock .cx-pill--warn { background: #fcefc7; color: #6b4c05; }
.cx-dotlist { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .375rem; }
.cx-dotlist li::before { content: "●"; color: #2f8a4f; margin-right: .375rem; }

/* Case card */
.cx-case {
	position: relative;
	border-radius: 24px;
	padding: clamp(1.75rem, 4vw, 3rem);
	color: #fff;
	background: radial-gradient(45% 80% at 60% 50%, rgba(56, 102, 180, .55), transparent 70%), #151a35;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) auto auto;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	margin-top: 2rem !important;
}
@media (max-width: 960px) { .cx-case { grid-template-columns: 1fr; } }
.cx-case .cx-chip { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.cx-case h3 { color: #fff !important; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem) !important; font-weight: 500 !important; line-height: 1.2; margin: .75rem 0 1rem !important; }
.cx-case p { color: rgba(255, 255, 255, .82); margin: 0 0 1rem; }
.cx-case a { color: #8fd3ee; font-weight: 600; text-decoration: none; }
.cx-case a:hover { text-decoration: underline; }
.cx-ring { width: 13.5rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 1.5rem; box-sizing: border-box; background: radial-gradient(closest-side, #1a2350 88%, transparent 89% 100%), conic-gradient(#5ec6e8 0 85%, #8b62f0 85% 100%); }
.cx-ring b { font-size: 3.75rem; font-weight: 500; line-height: 1; }
.cx-ring strong { font-size: .875rem; margin-top: .5rem; }
.cx-ring small { font-size: .6875rem; color: rgba(255, 255, 255, .75); margin-top: .25rem; }
.cx-bignum b { display: block; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 500; line-height: 1; }
.cx-bignum strong { display: block; margin-top: .75rem; }
.cx-bignum small { color: rgba(255, 255, 255, .75); }

/* Data band */
.cx-data-band { background: radial-gradient(50% 120% at 100% 50%, rgba(80, 70, 180, .45), transparent 70%), linear-gradient(90deg, #131a33, #1b2147); color: #fff; padding-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important; }
.cx-data-band h2 { color: #fff !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; margin: 0 0 .75rem !important; }
.cx-data-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 38rem; }
.cx-data-band .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .cx-data-band .wp-block-buttons { justify-content: flex-start; } }

/* Article cards */
.cx-reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem !important; }
.cx-read { position: relative; border-radius: 18px; padding: 1.5rem; min-height: 15rem; color: #fff; display: flex; flex-direction: column; background: radial-gradient(70% 70% at 80% 10%, rgba(120, 170, 255, .55), transparent 70%), linear-gradient(150deg, #2b47b8 0%, #1f2f8a 60%, #4c3f9e 100%); }
.cx-read:nth-child(2) { background: radial-gradient(70% 70% at 80% 10%, rgba(80, 200, 220, .45), transparent 70%), linear-gradient(150deg, #2340a8 0%, #183a7a 60%, #2b47b8 100%); }
.cx-read small { font-size: .8125rem; color: rgba(255, 255, 255, .85); }
.cx-read h3 { color: #fff !important; font-size: 1.375rem !important; font-weight: 500 !important; line-height: 1.25; margin: auto 0 1rem !important; }
.cx-read a { color: #fff; font-weight: 600; font-size: .875rem; text-decoration: none; }
.cx-read a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-read a:hover { text-decoration: underline; }
.cx-read:focus-within { outline: 3px solid var(--cx-focus-light); outline-offset: 3px; }
@media (max-width: 1279px) { .cx-note-hand { display: none; } }
.cx-doclist { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 781px) { .cx-doclist { grid-template-columns: 1fr !important; } }
.cx-tile__mock .cx-dotlist { padding: 0; }
.cx-tile__mock .cx-dotlist li { display: block; border: 0; padding: 0; font-size: .6875rem; }
.cx-case, .cx-tile, .cx-read, .cx-ui, .cx-ill, .cx-panel, .cx-doc { box-sizing: border-box; }

/* ==================================================================
   Technology page
================================================================== */
.cx-band--plain::after { display: none; }
.cx-tech-hero { padding-bottom: clamp(4rem, 8vw, 7rem) !important; }
.cx-tech-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem) !important; max-width: 34rem !important; }
.cx-tech-hero .cx-lead { max-width: 33rem !important; }
.cx-motors { background: #fff; color: var(--cx-night); border-radius: 18px; padding: 1.25rem 1.5rem 1.5rem; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); font-size: .8125rem; }
.cx-motors__head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin-bottom: 1rem; }
.cx-motors__head span { color: var(--cx-muted); font-weight: 400; }
.cx-motors__scan { display: flex; justify-content: space-between; align-items: center; background: #f1efe8; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: .75rem; }
.cx-motors__scan b { font-family: 'Caveat', cursive; font-size: 1.75rem; font-weight: 500; color: #1d2a6e; }
.cx-motors__scan small { color: var(--cx-muted); font-size: .6875rem; }
.cx-motors__row { display: grid; grid-template-columns: 5.5rem 1fr 4.5rem 2.5rem; gap: .75rem; align-items: center; padding: .625rem .5rem; border-radius: 8px; }
.cx-motors__row span { color: var(--cx-muted); font-size: .75rem; }
.cx-motors__row code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; background: none; padding: 0; color: var(--cx-night); }
.cx-motors__row i { display: block; height: 4px; border-radius: 2px; background: #e3e5ee; }
.cx-motors__row i::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: 2px; background: #c5c8d3; }
.cx-motors__row em { font-style: normal; font-size: .75rem; color: var(--cx-muted); text-align: right; }
.cx-motors__row.is-best { background: #e3f0fb; }
.cx-motors__row.is-best code { color: #1d4f9a; font-weight: 700; }
.cx-motors__row.is-best i::before { background: linear-gradient(90deg, #5ec6e8, #4b63d8); }
.cx-motors__row.is-best em { color: #1d4f9a; font-weight: 600; }
.cx-motors__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #eef0f4; margin-top: .75rem; padding-top: .875rem; color: var(--cx-body); font-size: .75rem; }
.cx-motors__foot b { flex: none; background: #e3f0fb; color: #1d4f9a; border-radius: 6px; padding: .25rem .5rem; font-size: .6875rem; }
.cx-caption-dark { font-size: .75rem; color: rgba(255, 255, 255, .6); margin-top: .75rem !important; }
@media (max-width: 600px) { .cx-motors__row { grid-template-columns: 4.5rem 1fr 2.5rem; } .cx-motors__row i { display: none; } }

.cx-steps--5 { grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)) !important; }
.cx-steps--5 .cx-step__num { width: 2.5rem; height: 2.5rem; font-size: .9375rem; margin-bottom: 1.25rem !important; }
@media (min-width: 782px) {
	.cx-steps--5 > .cx-step:not(:last-child)::after { top: 1.25rem; left: 3.25rem; }
	.cx-steps--5 > .cx-step:not(:last-child)::before { top: calc(1.25rem - 4px); }
}

.cx-glass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; align-items: start; }
.cx-glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 1.5rem; }
.cx-glass b { display: block; font-size: 1.375rem; font-weight: 500; margin-bottom: .625rem; }
.cx-glass p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.55; font-size: .9375rem; }
.cx-checkgrid { list-style: none; padding: 0; margin: 2.5rem 0 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); column-gap: 2rem; }
.cx-checkgrid li { display: grid; grid-template-columns: 1.75rem 1fr; border-top: 1px solid rgba(255, 255, 255, .14); padding: 1rem 0; }
.cx-checkgrid li::before { content: "✓"; color: #8fd3ee; font-weight: 700; }
.cx-checkgrid b { display: block; font-weight: 600; }
.cx-checkgrid p { margin: .125rem 0 0; color: rgba(255, 255, 255, .75); font-size: .875rem; }
.cx-small-dark { color: rgba(255, 255, 255, .72); font-size: .9375rem; margin-top: 1.25rem !important; }

.cx-numlist--light li { border-color: var(--cx-line) !important; grid-template-columns: 2.75rem 1fr; padding: 1rem 0; }
.cx-numlist--light li::before { content: counter(n, decimal-leading-zero); color: #6b5fd8; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; padding-top: .25rem; }
.cx-numlist--light b { font-size: 1.125rem; color: var(--cx-night); }
.cx-numlist--light p { color: var(--cx-muted); font-size: .9375rem; }
.cx-wordmap { position: relative; background: #fff; border-radius: 18px; padding: 1.5rem; box-shadow: 0 20px 50px rgba(20, 26, 44, .08); }
.cx-wordmap > b { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 1.25rem; }
.cx-wordmap__lines { display: grid; gap: .625rem; }
.cx-wordmap__line { display: flex; flex-wrap: wrap; gap: .375rem; }
.cx-wordmap__line.is-gap { margin-top: 1.25rem; }
.cx-wordmap__line i { display: block; height: 1rem; width: var(--w); border-radius: 3px; background: #e5e9e8; outline: 1px solid #bcdcf5; outline-offset: 1px; }
.cx-wordmap__line i.is-sel { background: #d6e8fb; outline: 2px solid #4b8de0; }
.cx-wordmap__tip { position: absolute; left: 47%; top: 44%; background: var(--cx-night); color: #fff; border-radius: 8px; padding: .5rem .75rem; font-size: .6875rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cx-wordmap__tip small { display: block; color: rgba(255, 255, 255, .7); }
.cx-wordmap__tip code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8125rem; background: none; padding: 0; color: #fff; font-weight: 700; }
.cx-caption { font-size: .75rem; color: var(--cx-muted); margin-top: .75rem !important; }

.cx-comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-comp { background: var(--cx-paper); border-radius: 18px; padding: 1.75rem; }
.cx-comp::before { content: ""; display: block; width: 1.75rem; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #5ec6e8, #4b63d8); margin-bottom: 1rem; }
.cx-comp small { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; color: #6b5fd8; font-size: .6875rem; }
.cx-comp b { display: block; font-size: 1.375rem; font-weight: 500; margin: .375rem 0 .625rem; }
.cx-comp p { margin: 0; color: var(--cx-body); font-size: .9375rem; line-height: 1.55; }

.cx-ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-ai { background: #fff; border-radius: 18px; padding: 1.75rem; }
.cx-ai b { display: block; font-size: 1.5rem; font-weight: 500; margin-bottom: .625rem; }
.cx-ai p { margin: 0 0 1rem; color: var(--cx-body); }
.cx-ai small { display: block; color: var(--cx-muted); font-size: .75rem; margin-bottom: .5rem; }
.cx-ai ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cx-ai li { background: #e3f0fb; color: #1d3f8f; border-radius: 8px; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; }

.cx-conn { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 2.5rem !important; }
.cx-conn__box { background: var(--cx-paper); border-radius: 16px; padding: 1.25rem 1.5rem; }
.cx-conn__box.is-dark { background: var(--cx-night); color: #fff; }
.cx-conn__box small { display: block; color: var(--cx-muted); font-size: .8125rem; margin-bottom: .75rem; }
.cx-conn__box.is-dark small { color: #8fd3ee; font-weight: 600; }
.cx-conn__box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cx-conn__box li { background: #fff; border: 1px solid var(--cx-line); border-radius: 999px; padding: .375rem .875rem; font-size: .8125rem; }
.cx-conn__box.is-dark li { background: rgba(255, 255, 255, .1); border-color: transparent; color: #fff; }
.cx-conn__arrow { color: var(--cx-muted); font-size: 1.25rem; }
@media (max-width: 900px) { .cx-conn { grid-template-columns: 1fr; } .cx-conn__arrow { transform: rotate(90deg); justify-self: center; } }
.cx-comp-grid, .cx-checkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 781px) { .cx-comp-grid, .cx-checkgrid { grid-template-columns: 1fr !important; } }

/* ==================================================================
   Resources area: blog, reports, case studies
================================================================== */
:root {
	--cx-area-tecnologia-ai: radial-gradient(70% 70% at 85% 10%, rgba(110, 170, 255, .55), transparent 70%), linear-gradient(150deg, #2b47b8 0%, #1f2f8a 55%, #4c3f9e 100%);
	--cx-area-experience: radial-gradient(70% 70% at 80% 100%, rgba(232, 92, 140, .7), transparent 70%), linear-gradient(150deg, #3d2a8a 0%, #6a2f8f 55%, #b24a8f 100%);
	--cx-area-temi-generali: radial-gradient(60% 70% at 85% 10%, rgba(64, 120, 140, .55), transparent 70%), linear-gradient(150deg, #141a2c 0%, #1b2236 60%, #232b40 100%);
}
.cx-area--tecnologia-ai { --cx-area-bg: var(--cx-area-tecnologia-ai); }
.cx-area--experience { --cx-area-bg: var(--cx-area-experience); }
.cx-area--temi-generali { --cx-area-bg: var(--cx-area-temi-generali); }

.cx-page-hero { background: var(--cx-paper); padding-top: calc(var(--cx-header-h) + clamp(1.5rem, 4vw, 3rem)) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.cx-page-hero .cx-breadcrumb, .cx-page-hero .cx-breadcrumb a { color: var(--cx-muted) !important; }
.cx-page-hero h1, .cx-page-hero .wp-block-query-title { font-size: clamp(2.75rem, 1.8rem + 3.6vw, 5rem) !important; line-height: 1.02 !important; letter-spacing: -.02em; margin: 0 0 1.25rem !important; }
.cx-page-hero .cx-lead { color: var(--cx-body); max-width: 40rem !important; }

.cx-filters ul { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cx-filters a { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.25rem; box-sizing: border-box; padding: .375rem .875rem; border-radius: 999px; background: #fff; border: 1px solid var(--cx-line); color: var(--cx-night); font-size: .875rem; font-weight: 500; text-decoration: none; }
.cx-filters a span { color: var(--cx-muted); font-size: .75rem; }
.cx-filters a:hover { border-color: var(--cx-night); }
.cx-filters a[aria-current] { background: var(--cx-night); border-color: var(--cx-night); color: #fff; }
.cx-filters a[aria-current] span { color: rgba(255, 255, 255, .7); }
.cx-legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .8125rem; color: var(--cx-muted); }
.cx-legend li::before { content: ""; display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-right: .4375rem; vertical-align: -1px; }
.cx-legend--tecnologia-ai::before { background: #2b47b8; }
.cx-legend--experience::before { background: #8a3a91; }
.cx-legend--temi-generali::before { background: #141a2c; }

/* Blog cards (query loop and related) */
.cx-blog-cards { list-style: none; margin: 2rem 0 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.25rem !important; }
@media (max-width: 960px) { .cx-blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .cx-blog-cards { grid-template-columns: 1fr !important; } }
.cx-blog-cards > li, .cx-blog-cards .wp-block-post {
	position: relative;
	display: flex !important;
	flex-direction: column;
	min-height: 15.5rem;
	box-sizing: border-box;
	padding: 1.5rem !important;
	margin: 0 !important;
	border-radius: 18px;
	color: #fff;
	background: var(--cx-area-bg, var(--cx-area-tecnologia-ai));
	transition: transform .2s ease, box-shadow .2s ease;
}
.cx-blog-cards > li:hover, .cx-blog-cards .wp-block-post:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 26, 44, .18); }
.cx-blog-cards > li:focus-within, .cx-blog-cards .wp-block-post:focus-within { outline: 3px solid var(--cx-focus-light); outline-offset: 3px; }
.cx-meta { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .85); }
.cx-blog-cards h3, .cx-blog-cards .wp-block-post-title { color: #fff !important; font-size: 1.375rem !important; font-weight: 500 !important; line-height: 1.25 !important; margin: auto 0 1rem !important; padding-top: 2rem; }
.cx-blog-cards .wp-block-post-title a { color: inherit; text-decoration: none; }
.cx-readmore, .cx-blog-cards > li > a { color: #fff; font-weight: 600; font-size: .875rem; text-decoration: none; }
.cx-readmore::after, .cx-blog-cards > li > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-readmore:hover, .cx-blog-cards > li > a:hover { text-decoration: underline; }
.cx-readmore:focus-visible, .cx-blog-cards > li > a:focus-visible { outline: none; }
.cx-blog-cards .wp-block-shortcode, .cx-blog-cards p:empty { margin: 0; }

/* Featured post */
.cx-featured-post { list-style: none; margin: 2.5rem 0 0 !important; padding: 0; }
.cx-featured-post .wp-block-post { position: relative; border-radius: 22px; color: #fff; padding: clamp(1.75rem, 4vw, 2.5rem) !important; min-height: 20rem; box-sizing: border-box; display: flex; flex-direction: column; background: var(--cx-area-bg, var(--cx-area-tecnologia-ai)); }
.cx-featured-post .wp-block-post-title { color: #fff !important; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem) !important; font-weight: 500 !important; line-height: 1.15 !important; max-width: 36rem; margin: 2.5rem 0 1rem !important; }
.cx-featured-post .wp-block-post-excerpt { color: rgba(255, 255, 255, .88); max-width: 36rem; margin-top: auto; }
.cx-featured-post .wp-block-post-excerpt__more-text { display: none; }
.cx-featured-post .cx-meta::before { content: "In evidenza · "; }
.cx-featured-post .cx-byline { font-size: .8125rem; color: rgba(255, 255, 255, .8); margin: 1rem 0 .5rem; }
.cx-featured-post .wp-block-post:focus-within { outline: 3px solid var(--cx-focus-light); outline-offset: 3px; }

.cx-pagination { margin-top: 3rem !important; gap: .5rem; }
.cx-pagination a, .cx-pagination .page-numbers { min-width: 2.5rem; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--cx-line); color: var(--cx-night); text-decoration: none; padding: 0 .75rem; box-sizing: border-box; }
.cx-pagination .current { background: var(--cx-night); border-color: var(--cx-night); color: #fff; }

/* Invite (light card) */
.cx-invite-light {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 1fr);
	gap: 2rem;
	align-items: center;
	border-radius: 22px;
	padding: clamp(1.75rem, 4vw, 3rem);
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #5ec6e8, #8b62f0 50%, #ff8f7a) border-box;
	border: 2px solid transparent;
}
@media (max-width: 781px) { .cx-invite-light { grid-template-columns: 1fr; } }
.cx-invite-light h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; margin: 0 0 .75rem !important; }
.cx-invite-light p { margin: 0; color: var(--cx-body); }
.cx-invite-light .wp-block-buttons { flex-direction: column; align-items: stretch; gap: .75rem; }
.cx-invite-light .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
.cx-invite-light .cx-textlink { text-align: center; font-size: .875rem; margin-top: .25rem; }

/* Report cards and covers */
.cx-report-cards { list-style: none; margin: 2.5rem 0 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.25rem !important; align-items: start; }
@media (max-width: 960px) { .cx-report-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .cx-report-cards { grid-template-columns: 1fr !important; } }
.cx-report-cards .wp-block-post { position: relative; background: #fff; border-radius: 18px; overflow: hidden; margin: 0 !important; transition: transform .2s ease, box-shadow .2s ease; }
.cx-report-cards .wp-block-post:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 26, 44, .12); }
.cx-report-cards .wp-block-post:focus-within { outline: 3px solid var(--cx-focus-light); outline-offset: 3px; }
.cx-report-cards .cx-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.cx-report-cards .cx-meta, .cx-report-head .cx-meta { color: var(--cx-muted); font-size: .75rem; }
.cx-report-cards .wp-block-post-title { font-size: 1.1875rem !important; font-weight: 500 !important; line-height: 1.3 !important; margin: .5rem 0 .625rem !important; }
.cx-report-cards .wp-block-post-excerpt { color: var(--cx-body); font-size: .875rem; margin: 0 0 .875rem; }
.cx-report-cards .wp-block-post-excerpt__more-text { display: none; }
.cx-report-cards .cx-readmore { color: #3f3a8c; }
.cx-cover-wrap { background: #f1efe8; padding: 1.75rem 0; display: flex; justify-content: center; }
.cx-cover { position: relative; width: 8.5rem; aspect-ratio: 3 / 4.2; border-radius: 3px; color: #fff; padding: .75rem; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; box-shadow: 4px 8px 18px rgba(20, 26, 44, .25); font-size: .625rem; }
.cx-cover::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; right: -70%; top: -35%; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.cx-cover span { font-weight: 600; }
.cx-cover small { margin-top: auto; opacity: .8; font-size: .5625rem; }
.cx-cover b { font-size: .8125rem; font-weight: 500; line-height: 1.15; }
.cx-cover--viola { background: linear-gradient(160deg, #3d3a8c, #6c5fc4); }
.cx-cover--petrolio { background: linear-gradient(160deg, #0b5966, #0aa3b6); }
.cx-cover--azzurro { background: linear-gradient(160deg, #1d5a7a, #5ec6e8); }
.cx-cover--magenta { background: linear-gradient(160deg, #6a2f8f, #e05aa0); }
.cx-cover--notte { background: linear-gradient(160deg, #141a2c, #2a3a78); }
.cx-cover-wrap--video { flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 12rem; background: radial-gradient(60% 80% at 50% 40%, #233666, #141a2c); color: #fff; }
.cx-play { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; position: relative; }
.cx-play::after { content: ""; position: absolute; left: 1.35rem; top: 1.05rem; border-left: 1.1rem solid var(--cx-night); border-top: .7rem solid transparent; border-bottom: .7rem solid transparent; }
.cx-cover-wrap--video small { font-size: .75rem; opacity: .85; }

/* Report detail */
.cx-report-head .cx-meta { color: #3f3a8c; font-weight: 600; margin-bottom: .75rem; }
.cx-report-head h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem) !important; line-height: 1.1 !important; margin: 0 0 1.25rem !important; }
.cx-report-body ul { list-style: none; padding: 0; }
.cx-report-body li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.cx-report-body li::before { content: "✓"; position: absolute; left: 0; color: #3f3a8c; font-weight: 700; }
.cx-dl-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(20, 26, 44, .08); }
.cx-dl-card .cx-cover-wrap { padding: 2.5rem 0; }
.cx-dl-card .cx-cover { width: 9.5rem; }
.cx-dl-card__body { padding: 1.5rem; }
.cx-dl-card__body h2 { font-size: 1.375rem !important; margin: 0 0 .25rem !important; }
.cx-dl-card__body > p { color: var(--cx-muted); font-size: .875rem; margin: 0 0 1rem; }
.cx-download .cx-form { grid-template-columns: 1fr; }
.cx-download .cx-submit, .cx-download input[type="submit"] { width: 100%; }
.cx-download .wpcf7-list-item { display: block; margin: 0 0 .5rem; }
.cx-dl-note { font-size: .75rem; color: var(--cx-muted); margin: .75rem 0 0 !important; }

/* Article */
.cx-article-hero { background: var(--cx-area-bg, var(--cx-area-tecnologia-ai)); color: #fff; padding-top: calc(var(--cx-header-h) + clamp(1.5rem, 4vw, 3rem)) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.cx-article-hero .wp-block-post-title { color: #fff !important; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem) !important; line-height: 1.1 !important; max-width: 52rem; margin: 0 0 1.25rem !important; }
.cx-article-hero .wp-block-post-excerpt { color: rgba(255, 255, 255, .88); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 46rem; margin: 0; }
.cx-article-hero .wp-block-post-excerpt__more-text { display: none; }
.cx-article-hero .cx-breadcrumb a, .cx-article-hero .cx-breadcrumb { color: rgba(255, 255, 255, .85) !important; }
.cx-article-hero .wp-block-post-terms { display: inline; }
.cx-byline { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem !important; font-size: .875rem; }
.cx-byline::before { content: ""; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255, 255, 255, .25); flex: none; }
.cx-byline b { display: block; }
.cx-byline span { color: rgba(255, 255, 255, .8); font-size: .8125rem; }
.cx-article-layout { gap: clamp(2rem, 5vw, 4rem) !important; }
.cx-article-aside { position: sticky; top: 2rem; align-self: flex-start; }
@media (max-width: 781px) { .cx-article-aside { position: static; } }
.cx-toc p, .cx-share p { font-size: .8125rem; font-weight: 600; margin: 0 0 .625rem; }
.cx-toc ol { list-style: none; margin: 0 0 2rem; padding: 0 0 0 .875rem; border-left: 2px solid var(--cx-line); display: grid; gap: .625rem; font-size: .875rem; }
.cx-toc a { color: var(--cx-body); text-decoration: none; }
.cx-toc a:hover { color: var(--cx-night); text-decoration: underline; }
.cx-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cx-share p { width: 100%; }
.cx-share a, .cx-share button { font: inherit; font-size: .8125rem; color: var(--cx-night); background: #fff; border: 1px solid var(--cx-line); border-radius: 999px; padding: .375rem .875rem; text-decoration: none; cursor: pointer; min-height: 2.25rem; }
.cx-share a:hover, .cx-share button:hover { border-color: var(--cx-night); }
.cx-article .cx-inbreve { background: #e8f0fd; border-radius: 14px; padding: 1.25rem 1.5rem; }
.cx-article .cx-inbreve > :first-child { margin-top: 0; font-weight: 600; font-size: 1rem; }
.cx-article .cx-inbreve ul { margin: .5rem 0 0; padding-left: 1.25rem; font-size: 1rem; }
.cx-article .wp-block-details { border-bottom: 1px solid var(--cx-line); padding: 1rem 0; }
.cx-article .wp-block-details summary { font-weight: 500; cursor: pointer; }
.cx-article-author { display: flex; gap: 1rem; align-items: center; background: var(--cx-paper); border-radius: 14px; padding: 1rem 1.25rem; margin-top: 3rem !important; font-size: .875rem; color: var(--cx-body); }
.cx-article-author::before { content: ""; width: 3rem; height: 3rem; border-radius: 50%; background: #ddd8cc; flex: none; }
.cx-article-author b { display: block; color: var(--cx-night); }

/* Resources hub */
.cx-hub-rows { list-style: none; margin: 2.5rem 0 0 !important; padding: 0; border-top: 1px solid var(--cx-line); }
.cx-hub-rows li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1.3fr) minmax(0, 1.2fr) auto auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--cx-line); padding: 1.5rem 0; }
.cx-hub-rows small { font-family: ui-monospace, Menlo, Consolas, monospace; color: #6b5fd8; font-size: .75rem; }
.cx-hub-rows a { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 400; color: var(--cx-night); text-decoration: none; line-height: 1.1; }
.cx-hub-rows a::after { content: ""; position: absolute; inset: 0; }
.cx-hub-rows a:focus-visible { outline: none; }
.cx-hub-rows li:focus-within { outline: 2px solid var(--cx-focus-light); outline-offset: 4px; border-radius: 6px; }
.cx-hub-rows p { margin: 0; color: var(--cx-body); font-size: .9375rem; }
.cx-hub-rows em { font-style: normal; font-size: .8125rem; color: var(--cx-muted); white-space: nowrap; }
.cx-hub-rows i { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--cx-night); display: flex; align-items: center; justify-content: center; font-style: normal; transition: background .2s, color .2s; }
.cx-hub-rows li:hover i { background: var(--cx-night); color: #fff; }
@media (max-width: 781px) { .cx-hub-rows li { grid-template-columns: 2.5rem 1fr auto; } .cx-hub-rows p, .cx-hub-rows em { grid-column: 2 / -1; } .cx-hub-rows i { grid-row: 1; grid-column: 3; } }
.cx-search-light { max-width: 26rem; margin-top: 1.5rem !important; }
.cx-search-light .wp-block-search__inside-wrapper { border: 1px solid var(--cx-line); border-radius: 999px; background: #fff; padding: .25rem .25rem .25rem 1rem; }
.cx-search-light input { border: 0 !important; background: transparent; font: inherit; font-size: .9375rem; min-height: 2.5rem; }
.cx-search-light .wp-block-search__button { border-radius: 999px; background: var(--cx-night); color: #fff; border: 0; font-weight: 600; padding: .5rem 1rem; margin: 0; }
.cx-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cx-section-head h2 { margin: 0 !important; }
.cx-section-head a { color: #3f3a8c; font-weight: 600; font-size: .875rem; text-decoration: none; }
.cx-section-head a:hover { text-decoration: underline; }
.cx-report-cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 781px) { .cx-report-cards--row { grid-template-columns: 1fr !important; } }
.cx-report-cards--row .wp-block-post { display: grid; grid-template-columns: 11rem 1fr; }
.cx-report-cards--row .cx-cover-wrap { height: 100%; box-sizing: border-box; align-items: center; }
.cx-report-cards--row .cx-cover { width: 7rem; }
@media (max-width: 600px) { .cx-report-cards--row .wp-block-post { grid-template-columns: 1fr; } }

.cx-invite-light .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--cx-night); color: #fff; }
.cx-invite-light .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #2a3a78; }
.cx-section--paper + .cx-section--paper { padding-top: 0 !important; }

:is(.cx-page-hero, .cx-article-hero).is-layout-constrained > :is(.cx-lead, .cx-search-light, .wp-block-term-description, .wp-block-post-title, .wp-block-post-excerpt, .cx-byline) { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }

.cx-invite-light .wp-block-buttons { display: flex; }
.cx-invite-light .wp-block-button { width: 100%; }
.cx-invite-light .wp-block-button.is-style-outline .wp-block-button__link { color: var(--cx-night); border: 1px solid var(--cx-night); background: transparent; }
.cx-invite-light .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--cx-night); color: #fff; }
.cx-share a, .cx-share button { display: inline-flex; align-items: center; line-height: 1.2; white-space: nowrap; box-sizing: border-box; }

.cx-page-hero + .cx-section--paper { padding-top: 0 !important; }

.cx-page-hero > .cx-search-light { max-width: 26rem !important; }

/* Resources hero, aligned with Figma */
.cx-page-hero.is-layout-constrained > :is(h1, .wp-block-query-title) { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.cx-page-hero h1, .cx-page-hero .wp-block-query-title { font-size: clamp(3rem, 1.6rem + 5vw, 6rem) !important; line-height: 1 !important; margin-top: 0 !important; margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important; }
.cx-page-hero .cx-breadcrumb { font-size: .9375rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem) !important; }
.cx-page-hero .cx-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem) !important; line-height: 1.5; max-width: 52rem !important; }
.cx-filters ul { margin-top: clamp(1.5rem, 3vw, 2.25rem); gap: .625rem; }
.cx-filters a { font-size: .9375rem; font-weight: 600; min-height: 2.5rem; padding: .5rem 1.125rem; }
.cx-filters a span { font-size: .8125rem; font-weight: 400; margin-left: .25rem; }
.cx-legend { margin-top: 1.25rem; font-size: .875rem; gap: 1.75rem; }
.cx-legend li::before { width: 1rem; height: 1rem; border-radius: 4px; vertical-align: -3px; margin-right: .5rem; }
.cx-legend--tecnologia-ai::before { background: linear-gradient(135deg, #2b47b8, #6e8ff0); }
.cx-legend--experience::before { background: linear-gradient(135deg, #6a2f8f, #d0568f); }
.cx-legend--temi-generali::before { background: #141a2c; }
.cx-featured-post { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }

.cx-cai, .cx-extract { box-sizing: border-box; max-width: 100%; }
@media (max-width: 781px) {
	.cx-cai { padding: 1.25rem; }
	.cx-cai__row { gap: .75rem; }
	.cx-cai__f span { font-size: 1.25rem; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
	.cx-cai__checks { flex-wrap: wrap; gap: .5rem 1rem; }
}

/* ==================================================================
   Motion (only when JS adds .cx-anim and the visitor allows motion)
================================================================== */
@property --cx-p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* 1. Reveal on scroll */
.cx-anim .cx-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-rv.is-in { opacity: 1; transform: none; }

/* 2. Living mockups: initial state until the stage plays */
.cx-anim .cx-mk :is(.cx-extract__f i, .cx-motors__row i)::before,
.cx-anim :is(.cx-mk .cx-bars, .cx-bars.cx-mk) i { transform-origin: left center; transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) :is(.cx-extract__f i, .cx-motors__row i)::before,
.cx-anim :is(.cx-mk:not(.is-play) .cx-bars, .cx-bars.cx-mk:not(.is-play)) i { transform: scaleX(0); }

.cx-anim .cx-mk .cx-cai__f span { transition: background-color .45s ease, box-shadow .45s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) .cx-cai__f span { background-color: transparent; }
.cx-anim .cx-mk.is-play .cx-cai__f span { animation: cx-scan .9s ease var(--cx-d, 0s) both; }
@keyframes cx-scan { 0% { box-shadow: 0 0 0 0 rgba(123, 127, 232, 0); } 40% { box-shadow: 0 0 0 4px rgba(123, 127, 232, .35); } 100% { box-shadow: 0 0 0 0 rgba(123, 127, 232, 0); } }

.cx-anim .cx-mk :is(.cx-extract__f b, .cx-extract__ok, .cx-ocr__chosen, .cx-motors__foot b) { transition: opacity .5s ease, transform .5s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) :is(.cx-extract__f b, .cx-extract__ok, .cx-ocr__chosen, .cx-motors__foot b) { opacity: 0; transform: translateY(6px); }

.cx-anim .cx-mk :is(.cx-motors__row.is-best, .cx-ocr__row.is-best) { transition: background-color .6s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) :is(.cx-motors__row.is-best, .cx-ocr__row.is-best) { background-color: transparent; }

.cx-anim .cx-mk :is(.cx-ui__list > li, .cx-chat > *, .cx-rowlist > *, .cx-filelist > *, .cx-doclist > *, .cx-idp-row, .cx-ocr__row, .cx-motors__row, .cx-flowmock > *, .cx-tile__mock > *) { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) :is(.cx-ui__list > li, .cx-rowlist > *, .cx-filelist > *, .cx-doclist > *, .cx-idp-row, .cx-ocr__row, .cx-motors__row, .cx-flowmock > *, .cx-tile__mock > *) { opacity: 0; transform: translateY(-10px); }
.cx-anim .cx-mk:not(.is-play) .cx-chat > * { opacity: 0; transform: translateY(10px) scale(.98); }
.cx-anim :is(.cx-chat, .cx-rowlist, .cx-filelist, .cx-doclist, .cx-flowmock, .cx-tile__mock).cx-mk > * { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim :is(.cx-rowlist, .cx-filelist, .cx-doclist, .cx-flowmock, .cx-tile__mock).cx-mk:not(.is-play) > * { opacity: 0; transform: translateY(-10px); }
.cx-anim .cx-chat.cx-mk:not(.is-play) > * { opacity: 0; transform: translateY(10px) scale(.98); }


@media (prefers-reduced-motion: reduce) {
	.cx-anim .cx-rv, .cx-anim .cx-mk *, .cx-anim .cx-mk *::before { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

.cx-stat__num, .cx-motors__row em { font-variant-numeric: tabular-nums; }
.cx-note-hand--a { top: 1.25rem; z-index: 2; }

.cx-qa__q { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem) !important; font-weight: 500 !important; line-height: 1.35 !important; margin: 0 !important; color: var(--cx-night); }
.cx-article .cx-qa .cx-qa__q { font-size: 1.125rem !important; }
.cx-qa > :not(.cx-qa__q) { margin-top: .75rem !important; }
.cx-faq .cx-qa p, .cx-article .cx-qa p { color: var(--cx-body); }

/* FAQ always open: the question list on the left would repeat them */
.cx-faq-index { display: none !important; }

/* FAQ accordion (closed by default) */
.cx-article .wp-block-details { border-top: 1px solid var(--cx-line); border-bottom: 0; padding: 1.125rem 0; margin: 0 !important; }
.cx-article .wp-block-details:last-of-type { border-bottom: 1px solid var(--cx-line); }
.cx-article .wp-block-details summary { font-size: 1.125rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--cx-night); }
.cx-article .wp-block-details summary::-webkit-details-marker { display: none; }
.cx-article .wp-block-details summary::after { content: "+"; flex: none; font-size: 1.375rem; line-height: 1; font-weight: 400; color: #3f3a8c; transition: transform .2s; }
.cx-article .wp-block-details[open] summary::after { transform: rotate(45deg); }
.cx-article .wp-block-details p { color: var(--cx-body); margin: .75rem 0 0; }
.cx-faq .wp-block-details summary::after { flex: none; font-size: 1.5rem; line-height: 1; }
:is(.cx-faq, .cx-article) .wp-block-details summary:hover { color: #3f3a8c; }

/* ==================================================================
   Sector pages
================================================================== */
.cx-sector-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background: #121733;
	padding-top: calc(var(--cx-header-h) + clamp(2rem, 6vw, 5rem)) !important;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
}
.cx-sector-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cx-sector-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(.9); transform: scale(1.25); opacity: .55; }
.cx-sector-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 72% 40%, rgba(70, 110, 220, .35), transparent 70%), linear-gradient(90deg, rgba(18, 23, 51, .96) 0%, rgba(18, 23, 51, .88) 45%, rgba(18, 23, 51, .7) 100%); }
.cx-sector-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .cx-sector-hero__grid { grid-template-columns: 1fr; } }
.cx-sector-hero .cx-breadcrumb { margin-bottom: 1.25rem !important; }
.cx-sector-hero .cx-tag { margin-bottom: 1.5rem !important; font-size: .875rem; }
.cx-sector-hero h1 { color: #fff !important; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem) !important; line-height: 1.04 !important; letter-spacing: -.02em; margin: 0 0 1.5rem !important; }
.cx-sector-hero h1 .cx-h1-sub { display: block; font-size: .62em; line-height: 1.15; color: #c9cbf2; margin-top: .25rem; letter-spacing: -.01em; }
.cx-sector-hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 36rem; margin: 0; }
.cx-sector-hero .wp-block-buttons { margin-top: 2rem; gap: .875rem; }
.cx-sector-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--cx-night); }
.cx-sector-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cx-sector-hero__photo { position: relative; margin: 0; justify-self: center; width: min(100%, 31rem); aspect-ratio: 1; }
.cx-sector-hero__photo::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 150, 240, .45), transparent); z-index: -1; }
.cx-sector-hero__photo::after { content: ""; position: absolute; inset: -3%; border-radius: 50%; border: 1.5px solid rgba(143, 196, 255, .75); box-shadow: 0 0 40px rgba(94, 150, 240, .35); }
.cx-sector-hero__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
@media (max-width: 900px) { .cx-sector-hero__photo { width: min(78%, 22rem); order: -1; } }
.cx-sector-hero .cx-logos { border-color: rgba(255, 255, 255, .18); margin-top: clamp(2.5rem, 6vw, 5rem) !important; }
.cx-sector-hero .cx-logos small { color: rgba(255, 255, 255, .7); }
.cx-sector-hero .cx-logos span { color: #fff; }

.cx-h2-lead { color: var(--cx-body); font-size: 1.0625rem; line-height: 1.6; max-width: 46rem; margin-top: 1.25rem !important; }
.cx-dark .cx-h2-lead { color: rgba(255, 255, 255, .78); }
.cx-link-more { display: inline-block; margin-top: 2rem; color: #3f3a8c; font-weight: 600; text-decoration: none; }
.cx-dark .cx-link-more { color: #8fd3ee; }
.cx-link-more:hover { text-decoration: underline; }

/* Document table with accuracy bars */
.cx-doctable { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .cx-doctable { grid-template-columns: 1fr; } }
.cx-doctable h2 { margin: 0 0 1.25rem !important; }
.cx-doctable__note { font-size: .8125rem; color: var(--cx-muted); }
.cx-doctable table { width: 100%; border-collapse: collapse; }
.cx-doctable th { text-align: left; font-size: .75rem; font-weight: 500; color: var(--cx-muted); padding: 0 0 .75rem; border-bottom: 1px solid var(--cx-line); }
.cx-doctable td { padding: 1.25rem 0; border-bottom: 1px solid var(--cx-line); vertical-align: middle; }
.cx-doctable td:first-child { padding-right: 2rem; }
.cx-doctable td b { display: block; font-weight: 500; font-size: 1.0625rem; color: var(--cx-night); }
.cx-doctable td small { display: block; color: var(--cx-muted); font-size: .8125rem; margin-top: .25rem; }
.cx-doctable td em { display: block; font-style: normal; color: #7a5600; font-size: .8125rem; margin-top: .375rem; }
.cx-acc { display: flex; align-items: center; gap: 1rem; white-space: nowrap; font-weight: 600; font-size: .9375rem; }
.cx-acc i { position: relative; display: block; width: clamp(7rem, 14vw, 10rem); height: 6px; border-radius: 3px; background: #ebe9e2; flex: none; overflow: hidden; }
.cx-acc i::before, .cx-acc i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; transform-origin: left center; }
.cx-acc i::after { width: var(--b); background: #b9b6e3; }
.cx-acc i::before { width: var(--a); background: #5c5aa6; z-index: 1; }
@media (max-width: 600px) { .cx-doctable td { display: block; border-bottom: 0; padding: .75rem 0 0; } .cx-doctable tr { display: block; border-bottom: 1px solid var(--cx-line); padding-bottom: 1rem; } .cx-doctable thead { display: none; } }

/* Process cards on dark band */
.cx-area-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-area-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 1.75rem 1.5rem; }
.cx-area-card h3 { color: #fff !important; font-size: 1.375rem !important; font-weight: 500 !important; margin: 0 0 1.25rem !important; line-height: 1.2; }
.cx-area-card dl { margin: 0; }
.cx-area-card dt { font-size: .8125rem; font-weight: 600; color: #8fd3ee; margin: 1rem 0 .375rem; }
.cx-area-card dt:first-child { margin-top: 0; }
.cx-area-card dd { margin: 0; color: rgba(255, 255, 255, .82); font-size: .9375rem; line-height: 1.55; }

/* Timeline of a claim */
.cx-timeline { position: relative; list-style: none; margin: 2.5rem 0 0 !important; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.cx-timeline::before { content: ""; position: absolute; left: .5rem; right: 0; top: .5rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #5ec6e8 0%, #4b63d8 60%, #6b5fb0 80%, #d9d4c4 80%); transform-origin: left center; }
.cx-timeline li { position: relative; padding-top: 2.25rem; }
.cx-timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; border: 2.5px solid #4b8de0; box-sizing: border-box; }
.cx-timeline li.is-person::before { border-color: #c9951a; background: #f2c94c; }
.cx-timeline h3 { font-size: 1.125rem !important; font-weight: 600 !important; margin: 0 0 .5rem !important; line-height: 1.25; }
.cx-timeline p { margin: 0; color: var(--cx-body); font-size: .9375rem; line-height: 1.5; }
.cx-mark { display: inline-block; margin-top: .875rem; padding: .3125rem .625rem; border-radius: 6px; font-size: .75rem; font-weight: 600; background: #e3f0fb; color: #1d4f9a; line-height: 1.35; }
.cx-mark--person { background: #f8e2a6; color: #5a4000; }
.cx-mark + .cx-mark { display: block; width: fit-content; margin-top: .5rem; font-weight: 500; }
.cx-legend-note { font-size: .8125rem; color: var(--cx-muted); margin-top: 2rem !important; }
@media (max-width: 960px) { .cx-timeline { grid-template-columns: 1fr; gap: 0; } .cx-timeline::before { left: .4375rem; right: auto; top: .5rem; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, #5ec6e8, #4b63d8 80%, #d9d4c4 80%); } .cx-timeline li { padding: 0 0 1.75rem 2.25rem; } }

/* Product cards (sector pages) */
.cx-sector-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-sector-cards .cx-tile { min-height: 13rem; }
.cx-tile--sinfonia { background: radial-gradient(70% 70% at 100% 100%, #4662de 0%, transparent 70%), linear-gradient(135deg, #121a45 0%, #26369a 100%); }
.cx-tile--sinfonia.cx-tile--row, .cx-tile--secureid.cx-tile--row { flex-direction: row; }
.cx-tile--plain { flex-direction: column !important; }
.cx-tile__chat { width: 10.5rem; flex: none; align-self: center; background: #fff; color: var(--cx-night); border-radius: 12px; padding: .75rem; font-size: .6875rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); display: grid; gap: .5rem; }
.cx-tile__chat b { font-size: .6875rem; color: var(--cx-muted); font-weight: 500; }
.cx-tile__chat span { display: block; padding: .5rem .625rem; border-radius: 10px; background: #f0f1f5; line-height: 1.4; }
.cx-tile__chat span.is-me { background: #e6eafb; margin-left: 1.25rem; }
@media (max-width: 600px) { .cx-tile--row { flex-direction: column !important; } .cx-tile__chat { width: 100%; } }

/* Voltura mock */
.cx-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 960px) { .cx-split { grid-template-columns: 1fr; } }
.cx-split h2 { margin: 0 0 1.25rem !important; }
.cx-split > div > p { color: var(--cx-body); line-height: 1.6; }
.cx-checks2 { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .875rem; }
.cx-checks2 li { position: relative; padding-left: 2rem; line-height: 1.45; }
.cx-checks2 li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1rem; height: .875rem; border-radius: 3px; background: #cfe5f8; }
.cx-checks2 li.is-person::before { background: #f8e2a6; }
.cx-split__end { color: #3f3a8c !important; font-weight: 500; }
.cx-papers { position: relative; min-height: 31rem; }
.cx-paper { position: absolute; background: #fff; border-radius: 4px; box-shadow: 0 18px 40px rgba(20, 26, 44, .14); font-size: .6875rem; color: var(--cx-night); padding: 1.25rem; box-sizing: border-box; }
.cx-paper h4 { font-size: .8125rem !important; letter-spacing: .03em; margin: 0 !important; font-weight: 700 !important; }
.cx-paper > small { display: block; color: var(--cx-muted); font-size: .625rem; margin-bottom: .875rem; }
.cx-paper .cx-f { border-bottom: 1px solid #c5c8d3; padding: .125rem .375rem; margin-bottom: .5rem; }
.cx-paper .cx-f small { display: block; font-size: .5625rem; color: var(--cx-muted); }
.cx-paper .cx-f b { font-family: 'Caveat', cursive; font-weight: 500; font-size: 1.125rem; color: #1d2a6e; line-height: 1.2; }
.cx-paper code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .6875rem; color: var(--cx-night); background: none; padding: 0; }
.cx-hl { background: #d6e8fb; border-radius: 2px; padding: 0 .1875rem; transition: background-color .5s ease; transition-delay: var(--cx-d, 0s); }
.cx-hl--warn { background: #f8e2a6; }
.cx-paper--modulo { left: 0; top: 2rem; width: 62%; border-top: 4px solid #5c5aa6; z-index: 2; }
.cx-paper--catasto { right: 6%; top: 0; width: 38%; background: #faf8f1; transform: rotate(2deg); z-index: 1; }
.cx-paper--id { right: 0; bottom: 0; width: 40%; background: #e8ecf3; border-radius: 12px; transform: rotate(-3deg); z-index: 3; padding: 0 0 1rem; overflow: hidden; }
.cx-paper--id h4 { background: #cdd6e4; padding: .5rem .875rem; font-size: .6875rem !important; margin-bottom: .75rem !important; }
.cx-paper--id .cx-id { display: flex; gap: .75rem; padding: 0 .875rem; }
.cx-paper--id .cx-id i { width: 3.5rem; height: 4.25rem; border-radius: 4px; background: #b8bfd1; flex: none; }
.cx-paper .cx-row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: .75rem; }
.cx-paper .cx-box { border: 1px solid #c5c8d3; padding: .25rem .5rem; margin-bottom: .5rem; }
.cx-paper .cx-cb { display: flex; align-items: center; gap: .5rem; margin: .375rem 0; }
.cx-paper .cx-cb i { width: .875rem; height: .875rem; border: 1px solid #8a8fa3; display: inline-grid; place-content: center; font-style: normal; font-size: .625rem; flex: none; }
.cx-paper .cx-sign { display: inline-block; width: 8rem; height: 1.75rem; border-radius: 2px; vertical-align: middle; background: #d6e8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M6 15c8-9 12 6 20-2s12 7 20 0 12 5 20-1 14 5 22 0' fill='none' stroke='%231d2a6e' stroke-width='1.6'/%3E%3C/svg%3E") center / 85% no-repeat; }
@media (max-width: 700px) {
	.cx-papers { min-height: 0; display: grid; gap: 1rem; }
	.cx-paper { position: static; width: 100% !important; transform: none !important; }
}

/* Percent cards */
.cx-pct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: 1rem; margin-top: 2.5rem !important; }
.cx-pct-card { background: var(--cx-paper); border-radius: 14px; padding: 1.25rem; }
.cx-section--paper .cx-pct-card { background: #fff; }
.cx-pct-card strong { display: block; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); font-weight: 400; color: #5c5aa6; line-height: 1; margin-bottom: .875rem; }
.cx-pct-card b { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .5rem; color: var(--cx-night); }
.cx-pct-card p { margin: 0; color: var(--cx-body); font-size: .875rem; line-height: 1.5; }

/* Requests table on dark band */
.cx-reqtable { width: 100%; border-collapse: collapse; margin-top: 2.5rem; }
.cx-reqtable th { text-align: left; font-size: .75rem; font-weight: 500; color: #8fd3ee; padding: 0 1.5rem .875rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.cx-reqtable td { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); vertical-align: top; color: rgba(255, 255, 255, .8); font-size: .9375rem; line-height: 1.55; }
.cx-reqtable td:first-child { color: #fff; font-size: 1.1875rem; font-weight: 500; width: 20%; }
.cx-reqtable q { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.125rem; color: #fff; quotes: "«" "»"; line-height: 1.45; }
.cx-reqtable td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.cx-out { display: inline-block; border: 1px solid rgba(143, 211, 238, .6); color: #b9e6f5; border-radius: 999px; padding: .3125rem .75rem; font-size: .75rem; font-weight: 600; }
@media (max-width: 800px) { .cx-reqtable thead { display: none; } .cx-reqtable tr { display: block; border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 1.25rem 0; } .cx-reqtable td { display: block; border: 0; padding: .25rem 0; width: auto !important; text-align: left !important; } }

/* Message cards (hospitality) */
.cx-msgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; align-items: start; }
.cx-msg { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(20, 26, 44, .06); }
.cx-msg small { display: inline-block; background: #efeee9; color: var(--cx-body); border-radius: 999px; padding: .1875rem .625rem; font-size: .6875rem; font-weight: 500; }
.cx-msg q { display: block; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.125rem; line-height: 1.5; color: var(--cx-night); margin: 1rem 0; quotes: "«" "»"; }
.cx-msg p { margin: 0; font-size: .8125rem; color: var(--cx-body); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cx-msg p span { background: #e3f0fb; color: #1d4f9a; font-weight: 600; border-radius: 4px; padding: .25rem .5rem; }

/* Flow diagram on dark band */
.cx-flow2 { margin-top: 2.5rem !important; display: grid; gap: 2.5rem; }
.cx-flow2__label { font-size: .8125rem; font-weight: 600; color: #8fd3ee; margin: 0 0 .75rem; }
.cx-flow2__row { display: flex; align-items: stretch; gap: 0; }
.cx-flow2__box { flex: 1 1 0; min-width: 0; border-radius: 12px; padding: 1.125rem 1.25rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.cx-flow2__box b { display: block; color: #fff; font-weight: 600; margin-bottom: .375rem; }
.cx-flow2__box span { display: block; color: rgba(255, 255, 255, .75); font-size: .875rem; line-height: 1.5; }
.cx-flow2__box--quotel { background: rgba(255, 150, 0, .16); border-color: rgba(255, 170, 60, .55); flex-grow: 1.3; }
.cx-flow2__box--sinfonia { background: rgba(70, 98, 222, .3); border-color: rgba(120, 145, 240, .6); flex-grow: 1.3; }
.cx-flow2__box--staff { background: rgba(0, 0, 0, .25); border-color: rgba(242, 201, 76, .55); flex-grow: 2.6; }
.cx-flow2__arrow { flex: 0 0 3.5rem; display: grid; place-items: center; color: #9fa6ff; font-size: .75rem; position: relative; }
.cx-flow2__arrow::before { content: "→"; font-size: 1.125rem; }
.cx-flow2__arrow small { position: absolute; top: calc(50% - 1.6rem); color: #8fd3ee; font-size: .6875rem; }
@media (max-width: 900px) { .cx-flow2__row { flex-direction: column; } .cx-flow2__arrow { flex-basis: 2rem; } .cx-flow2__arrow::before { content: "↓"; } .cx-flow2__arrow small { top: auto; left: calc(50% + 1rem); } }

/* Four columns with separators */
.cx-cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.5rem !important; }
.cx-cols4 > div { padding: 0 1.5rem; border-left: 1px solid var(--cx-line); }
.cx-cols4 > div:first-child { padding-left: 0; border-left: 0; }
.cx-cols4 h3 { font-size: 1.25rem !important; font-weight: 500 !important; margin: 0 0 .625rem !important; }
.cx-cols4 p { margin: 0; color: var(--cx-body); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 900px) { .cx-cols4 { grid-template-columns: 1fr 1fr; gap: 2rem 0; } .cx-cols4 > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .cx-cols4 { grid-template-columns: 1fr; } .cx-cols4 > div { padding: 0; border: 0; } }

/* DDT mock */
.cx-paper--ddt { position: relative; width: 100%; max-width: 34rem; padding: 1.75rem; transform: rotate(-1.5deg); }
.cx-ddt__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.cx-ddt__top code { display: block; margin-bottom: .25rem; }
.cx-ddt__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.cx-ddt__parties > div { border: 1px solid #c5c8d3; padding: .5rem .625rem; min-height: 3.5rem; }
.cx-ddt__parties small { display: block; color: var(--cx-muted); font-size: .5625rem; margin-bottom: .25rem; }
.cx-ddt table { width: 100%; border-collapse: collapse; margin: .75rem 0; font-size: .6875rem; }
.cx-ddt th { background: #efeee9; text-align: left; font-weight: 500; padding: .375rem .5rem; color: var(--cx-muted); }
.cx-ddt td { padding: .5rem; border-bottom: 1px solid #e3e3e3; }
.cx-ddt__res { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 1.25rem 0; }
.cx-ddt__note { font-family: 'Caveat', cursive; font-size: 1.125rem; color: #8a2a1e; background: #f8e2a6; padding: .375rem .625rem; line-height: 1.25; }
.cx-ddt__stamp { border: 2px solid #4b63d8; color: #4b63d8; border-radius: 6px; padding: .375rem .625rem; transform: rotate(8deg); font-size: .625rem; font-weight: 700; text-align: center; letter-spacing: .03em; line-height: 1.5; }
.cx-ddt__signs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.cx-ddt__signs small { display: block; color: var(--cx-muted); font-size: .5625rem; margin-bottom: .25rem; }
.cx-ddt__signs .cx-sign { width: 100%; }
.cx-compare { background: #fff; border-radius: 16px; padding: 1.25rem 1.5rem; margin-top: 1.5rem; box-shadow: 0 10px 30px rgba(20, 26, 44, .06); }
.cx-compare b { display: block; margin-bottom: .75rem; }
.cx-compare table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cx-compare th { text-align: left; font-weight: 400; font-size: .75rem; color: var(--cx-muted); padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--cx-line); }
.cx-compare td { padding: .625rem .5rem .625rem 0; border-bottom: 1px solid #efeee9; }
.cx-compare tr:last-child td { border-bottom: 0; }

/* Journey of a shipment */
.cx-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-journey > div { position: relative; padding-top: 1.75rem; }
.cx-journey > div::before { content: ""; position: absolute; top: .375rem; left: 0; width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid #5c8fe0; background: #fff; box-sizing: border-box; }
.cx-journey > div:not(:last-child)::after { content: ""; position: absolute; top: .6875rem; left: 1.125rem; right: .25rem; height: 2px; background: linear-gradient(90deg, #5ec6e8, #5c5aa6); transform-origin: left center; }
.cx-journey h3 { font-size: 1.0625rem !important; font-weight: 600 !important; margin: 0 0 .875rem !important; }
.cx-journey .cx-pct-card { margin-bottom: .75rem; padding: 1rem 1.125rem; }
.cx-journey .cx-pct-card strong { margin-bottom: .5rem; font-size: 1.625rem; }
.cx-journey .cx-pct-card p { color: var(--cx-night); }
@media (max-width: 900px) { .cx-journey { grid-template-columns: 1fr 1fr; } .cx-journey > div::after { display: none; } }
@media (max-width: 560px) { .cx-journey { grid-template-columns: 1fr; } }

/* Today / with Circular cards */
.cx-oggi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-oggi > div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 1.5rem 1.75rem; }
.cx-oggi h3 { color: #fff !important; font-size: 1.375rem !important; font-weight: 500 !important; margin: 0 0 1rem !important; }
.cx-oggi dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0; }
.cx-oggi dt { font-size: .75rem; color: rgba(255, 255, 255, .6); margin-bottom: .375rem; }
.cx-oggi dt.is-c { color: #8fd3ee; font-weight: 600; }
.cx-oggi dd { margin: 0; color: rgba(255, 255, 255, .8); font-size: .9375rem; line-height: 1.55; }
.cx-oggi dd.is-c { color: #fff; }
@media (max-width: 480px) { .cx-oggi dl { grid-template-columns: 1fr; } }

/* Other sectors */
.cx-sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2.5rem !important; }
.cx-sector-card { background: var(--cx-paper); border-radius: 18px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; min-height: 17rem; }
.cx-sector-card::before { content: ""; display: block; width: 1.875rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #5ec6e8, #4b63d8); margin-bottom: 1rem; }
.cx-sector-card h3 { font-size: 1.375rem !important; font-weight: 500 !important; margin: 0 0 .75rem !important; }
.cx-sector-card p { margin: 0 0 1.5rem; color: var(--cx-body); font-size: .9375rem; line-height: 1.6; }
.cx-sector-card nav { margin-top: auto; font-size: .875rem; font-weight: 600; color: #3f3a8c; }
.cx-sector-card nav a { color: #3f3a8c; text-decoration: none; }
.cx-sector-card nav a:hover { text-decoration: underline; }
.cx-sector-chips { margin-top: 3rem !important; }
.cx-sector-chips p { color: #3f3a8c; font-weight: 600; font-size: .9375rem; margin: 0 0 1rem; }
.cx-sector-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .625rem; }
.cx-sector-chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem 1.125rem; border: 1px solid var(--cx-line); border-radius: 999px; color: var(--cx-night); text-decoration: none; font-weight: 500; font-size: .9375rem; background: #fff; box-sizing: border-box; }
.cx-sector-chips a:hover { border-color: var(--cx-night); }

/* Motion for sector components */
.cx-anim .cx-mk .cx-acc i::before, .cx-anim .cx-mk .cx-acc i::after { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) .cx-acc i::before, .cx-anim .cx-mk:not(.is-play) .cx-acc i::after { transform: scaleX(0); }
.cx-anim .cx-timeline.cx-mk::before { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) .1s; }
.cx-anim .cx-timeline.cx-mk:not(.is-play)::before { transform: scaleX(0); }
.cx-anim .cx-timeline.cx-mk > li, .cx-anim .cx-journey.cx-mk > div { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-timeline.cx-mk:not(.is-play) > li, .cx-anim .cx-journey.cx-mk:not(.is-play) > div { opacity: 0; transform: translateY(10px); }
.cx-anim .cx-journey.cx-mk > div::after { transition: transform .8s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-journey.cx-mk:not(.is-play) > div::after { transform: scaleX(0); }
.cx-anim .cx-mk:not(.is-play) .cx-hl { background-color: transparent; }
.cx-anim .cx-mk.is-play .cx-hl { animation: cx-scan .9s ease var(--cx-d, 0s) both; }
.cx-anim .cx-mk .cx-compare tbody tr, .cx-anim .cx-mk .cx-msg { transition: opacity .55s ease, transform .55s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-mk:not(.is-play) .cx-compare tbody tr, .cx-anim .cx-msgs.cx-mk:not(.is-play) .cx-msg { opacity: 0; transform: translateY(8px); }
.cx-anim .cx-flow2.cx-mk .cx-flow2__box, .cx-anim .cx-flow2.cx-mk .cx-flow2__arrow { transition: opacity .5s ease, transform .5s ease; transition-delay: var(--cx-d, 0s); }
.cx-anim .cx-flow2.cx-mk:not(.is-play) .cx-flow2__box, .cx-anim .cx-flow2.cx-mk:not(.is-play) .cx-flow2__arrow { opacity: 0; transform: translateX(-8px); }
@media (prefers-reduced-motion: reduce) { .cx-anim .cx-mk *, .cx-anim .cx-mk::before, .cx-anim .cx-mk *::before, .cx-anim .cx-mk *::after { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } }
.cx-sector-hero > .cx-sector-hero__bg { max-width: none !important; margin: 0 !important; }

/* Sector hero refinements */
.cx-sector-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .875rem; }
.cx-sector-hero__grid > div:first-child { max-width: 37.5rem; }
.cx-sector-hero h1 { font-size: clamp(2.375rem, 1.5rem + 3vw, 3.75rem) !important; }
.cx-sector-hero .cx-logos { margin-top: clamp(2rem, 4vw, 3.5rem) !important; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 3rem; }
.cx-sector-hero .cx-logos small { font-size: .875rem; }
.cx-sector-hero .cx-logos span { font-size: 1.375rem; font-weight: 600; }
.cx-more { margin: 2rem 0 0 !important; }
.cx-more .cx-link-more { margin-top: 0; }
@media (min-width: 701px) { .cx-paper--catasto { right: 0; width: 35%; } .cx-paper--modulo { width: 63%; } }
@media (min-width: 900px) { .cx-msgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cx-oggi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .cx-oggi { grid-template-columns: 1fr; } }

/* Article tables */
.single-post .wp-block-table { margin: 2rem 0; overflow-x: auto; }
.single-post .wp-block-table table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.single-post .wp-block-table th, .single-post .wp-block-table td { border: 0; border-bottom: 1px solid var(--cx-line); padding: .75rem 1rem .75rem 0; text-align: left; vertical-align: top; }
.single-post .wp-block-table thead th { font-size: .8125rem; font-weight: 600; color: var(--cx-muted); border-bottom: 2px solid var(--cx-line); }
.single-post .wp-block-table td:last-child { white-space: nowrap; font-weight: 600; color: #5c5aa6; }


/* Glossario */
.cx-glossario-index { display: flex; flex-wrap: wrap; gap: .375rem; margin: 2rem 0 3rem; padding: 0; list-style: none; }
.cx-glossario-index a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--cx-line); border-radius: 999px; font-weight: 600; text-decoration: none; color: inherit; }
.cx-glossario-index a:hover, .cx-glossario-index a:focus-visible { background: #5c5aa6; border-color: #5c5aa6; color: #fff; }
.cx-glossario h2 { font-size: 2.5rem; line-height: 1; color: #5c5aa6; margin: 3.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--cx-line); scroll-margin-top: 6rem; }
.cx-glossario h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; scroll-margin-top: 6rem; }
.cx-glossario h3 + p { margin-top: 0; }
.cx-glossario .cx-term-more { font-size: .9375rem; margin-top: .25rem; }
.cx-glossario :target { outline: 2px solid #5c5aa6; outline-offset: 6px; border-radius: 4px; }



/* Report: dettagli, nota DOME, FAQ */
.cx-report-body h2 { font-size: 1rem; font-weight: 600; margin: 2rem 0 .75rem; }
.cx-report-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--cx-line); }
.cx-report-facts div { margin: 0; }
.cx-report-facts dt { font-size: .75rem; color: var(--cx-muted); margin: 0; }
.cx-report-facts dd { font-size: .875rem; font-weight: 600; margin: .125rem 0 0; }
.cx-report-body .cx-dome-note { margin: 3rem 0 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; background: #141a2c; color: #c9cae6; }
.cx-dome-note .cx-dome-label { font-family: 'Roboto Mono', ui-monospace, monospace; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .75rem; }
.cx-report-body .cx-dome-note h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 500; margin: 0 0 1rem; }
.cx-dome-note p { color: #c9cae6; }
.cx-dome-note strong { color: #fff; font-weight: 500; }
.cx-dome-note a { color: #f4a6cf; font-weight: 600; }
.cx-report-body .cx-dome-note ol { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: none; }
.cx-report-body .cx-dome-note li { padding: 1rem 0 1rem 3.75rem; margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); min-height: 2.75rem; }
.cx-report-body .cx-dome-note li::before { content: attr(data-l); top: 1rem; left: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.125rem; font-weight: 600; background: linear-gradient(135deg, #3fa9f5, #5b2be0); }
.cx-dome-note li strong { display: block; }
.single-report .cx-report-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem) !important; line-height: 1.08 !important; }
.cx-report-body .cx-dome-note + h2 { font-size: 1.5rem; font-weight: 500; margin: 3rem 0 1rem; }
.single-report main > .cx-section:has(.cx-section-head):not(:has(.wp-block-post)) { display: none; }


/* ==================================================================
   Homepage (fase 1)
   ================================================================== */
.cx-logos-band { padding-top: clamp(1.5rem, 3vw, 2.25rem) !important; padding-bottom: clamp(1.5rem, 3vw, 2.25rem) !important; background: var(--cx-paper); }
.cx-logos-band .cx-logos { border-top: 0; margin-top: 0 !important; padding-top: 0; }
.cx-problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 1024px) { .cx-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cx-problems { grid-template-columns: 1fr; } }
.cx-problem { --cx-pc: #6565a7; position: relative; display: flex; flex-direction: column; background: var(--cx-paper); border-radius: 16px; padding: 1.75rem 1.5rem 1.5rem; }
.cx-problem::before { content: ""; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--cx-pc); margin-bottom: 1.25rem; }
.cx-problem--pec { --cx-pc: #00a4ba; } .cx-problem--idp { --cx-pc: #3a7bd5; } .cx-problem--secureid { --cx-pc: #c45fab; } .cx-problem--smartsearch { --cx-pc: #479337; }
.cx-problem h3 { font-size: 1.125rem !important; font-weight: 600 !important; line-height: 1.3; margin: 0 0 .75rem !important; }
.cx-problem p { font-size: .9375rem; color: var(--cx-body, #4a5068); margin: 0 0 1.5rem; }
.cx-problem a { margin-top: auto; font-size: .875rem; font-weight: 600; color: #3f3a8c; text-decoration: none; }
.cx-problem a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-problem:hover a { text-decoration: underline; }
.cx-problem:focus-within { outline: 3px solid var(--cx-focus, #3f3a8c); outline-offset: 3px; }
.cx-sector-pills { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cx-sector-pills p { font-size: .9375rem; font-weight: 600; color: #3f3a8c; margin: 0 0 1rem; }
.cx-sector-pills div { display: flex; flex-wrap: wrap; gap: .625rem; }
.cx-pill-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; border: 1px solid var(--cx-line); border-radius: 999px; background: #fff; color: var(--cx-night, #141a2c); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.cx-pill-link:hover { border-color: #3f3a8c; color: #3f3a8c; }
.cx-pill-link--more { border-style: dashed; }

/* Method loop */
.cx-method { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 2.5rem; }
.cx-method__text { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.55; color: var(--cx-night, #141a2c); margin: 0; }
.cx-loop { position: relative; width: min(100%, 30rem); aspect-ratio: 1; margin: 3rem auto; }
.cx-loop__ring { position: absolute; inset: 18%; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #55c3e9, #3a7bd5, #6565a7, #d65db1, #ff8f6b, #55c3e9); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cx-loop::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 50% 0, #fff 0 .3rem, #141a2c .32rem .45rem, transparent .47rem), radial-gradient(circle at 100% 50%, #fff 0 .3rem, #141a2c .32rem .45rem, transparent .47rem), radial-gradient(circle at 50% 100%, #fff 0 .3rem, #141a2c .32rem .45rem, transparent .47rem), radial-gradient(circle at 0 50%, #fff 0 .3rem, #141a2c .32rem .45rem, transparent .47rem); }
.cx-loop__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 500; line-height: 1.2; color: var(--cx-night, #141a2c); }
.cx-loop__node { position: absolute; width: 10rem; font-size: .8125rem; line-height: 1.35; color: var(--cx-muted); text-align: center; }
.cx-loop__node strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--cx-night, #141a2c); margin-bottom: .25rem; }
.cx-loop__node--n { left: 50%; bottom: calc(82% + .75rem); transform: translateX(-50%); }
.cx-loop__node--s { left: 50%; top: calc(82% + .75rem); transform: translateX(-50%); }
.cx-loop__node--e { left: calc(82% + 1rem); top: 50%; transform: translateY(-50%); text-align: left; width: 8.5rem; }
.cx-loop__node--w { right: calc(82% + 1rem); top: 50%; transform: translateY(-50%); text-align: right; width: 8.5rem; }
@media (max-width: 860px) {
  .cx-method { grid-template-columns: 1fr; }
  .cx-loop { width: min(100%, 21rem); margin: 4.5rem auto; }
  .cx-loop__node { width: 7rem; font-size: .75rem; }
  .cx-loop__node--e, .cx-loop__node--w { width: 5.75rem; }
}

/* Project phases: from scratch vs platform */
.cx-phases { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.cx-phases__row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.cx-phases__label { margin: 0; }
.cx-phases__label b { display: block; font-size: .9375rem; }
.cx-phases__label small { font-size: .8125rem; color: var(--cx-muted); }
.cx-phases__bar { display: flex; gap: .5rem; align-items: stretch; }
.cx-phase { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--cx-line); border-radius: 8px; padding: .75rem .875rem; font-size: .8125rem; }
.cx-phase b { display: block; font-weight: 600; }
.cx-phase small { display: block; font-size: .6875rem; color: var(--cx-muted); }
.cx-phases__row:first-child .cx-phase:nth-child(n+2):nth-child(-n+4) { flex-grow: 1.5; }
.cx-phase--ready { flex-grow: 2.6; border: 0; color: #fff; background: linear-gradient(110deg, #154294, #4e4b96 55%, #9c2c74); }
.cx-phase--ready small { color: #fff; }
.cx-phases__gain { flex: 1.6 1 0; align-self: center; font-size: .8125rem; font-weight: 600; color: #3f3a8c; padding-left: .5rem; }
.cx-phases__note { font-size: .8125rem; color: var(--cx-muted); margin: .5rem 0 0; }
@media (max-width: 900px) {
  .cx-phases__row { grid-template-columns: 1fr; gap: .75rem; }
  .cx-phases__bar { flex-wrap: wrap; }
  .cx-phase { flex: 1 1 30%; }
  .cx-phase--ready { flex-basis: 100%; }
  .cx-phases__gain { flex-basis: 100%; padding: 0; }
}


/* ==================================================================
   Consulenza e metodo
   ================================================================== */
.cx-svc-hero::after { display: none; }
.cx-svc-hero--tec { background-image: radial-gradient(50% 70% at 85% 10%, rgba(85, 195, 233, .45), transparent 70%), linear-gradient(120deg, #172a6e 0%, #1f3d98 55%, #2f56bf 100%); }
.cx-svc-hero--exp { background-image: radial-gradient(45% 70% at 95% 100%, rgba(255, 143, 107, .55), transparent 70%), radial-gradient(50% 70% at 80% 0%, rgba(214, 93, 177, .55), transparent 70%), linear-gradient(120deg, #2e1d5c 0%, #4b2a80 50%, #7a3a8f 100%); }
.cx-svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cx-svc-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); line-height: 1.08; margin: 0 0 1.5rem; }
.cx-svc-hero .cx-lead { margin-top: 0 !important; }
.cx-svc-hero .cx-tag { margin-bottom: 1.25rem !important; }
.cx-stair { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cx-stair li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-radius: 999px; padding: 1.125rem 1.75rem; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); font-weight: 600; }
.cx-stair li small { font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.cx-stair li:nth-child(1) { background: linear-gradient(90deg, #1d6aa8, #154294); border-color: transparent; }
.cx-stair li:nth-child(2) { margin-left: 12%; } .cx-stair li:nth-child(3) { margin-left: 24%; } .cx-stair li:nth-child(4) { margin-left: 36%; }
.cx-cloud { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; padding: 1rem 0; }
.cx-cloud span { padding: .625rem 1.125rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); font-size: .9375rem; font-weight: 500; }
.cx-cloud span:nth-child(2n) { transform: translateY(1.25rem); } .cx-cloud span:nth-child(3n) { transform: translateY(-.75rem); }
@media (max-width: 900px) { .cx-svc-hero__grid { grid-template-columns: 1fr; } .cx-stair li { margin-left: 0 !important; } }

.cx-rows { margin-top: 2.5rem; border-bottom: 1px solid var(--cx-line); }
.cx-row { display: grid; grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--cx-line); align-items: start; }
.cx-rows--3 .cx-row { grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 2.2fr); }
.cx-row__n { font-size: .8125rem; color: #3f3a8c; font-weight: 600; padding-top: .375rem; }
.cx-row h3 { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem) !important; font-weight: 500 !important; margin: 0 !important; line-height: 1.3; }
.cx-row p { margin: 0; font-size: .9375rem; color: var(--cx-body, #4a5068); }
.cx-row__get small { display: block; font-size: .75rem; font-weight: 600; color: #3f3a8c; margin-bottom: .25rem; }
.cx-row__get p { font-size: .875rem; }
.cx-rows--exp .cx-row__n, .cx-rows--exp .cx-row__get small { color: #9c2c74; }
@media (max-width: 860px) { .cx-row, .cx-rows--3 .cx-row { grid-template-columns: 2.25rem minmax(0, 1fr); } .cx-row > :nth-child(n+3) { grid-column: 2; } }

/* Il metodo */
.cx-mhero__loop { position: relative; width: min(100%, 26rem); aspect-ratio: 1; margin: 2rem auto; }
.cx-mhero__loop::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #55c3e9, #3a7bd5, #6565a7, #d65db1, #ff8f6b, #55c3e9); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cx-mhero__loop b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 500; font-size: 1.25rem; line-height: 1.25; }
.cx-mhero__loop span { position: absolute; padding: .375rem .875rem; border-radius: 999px; background: rgba(20, 26, 44, .85); border: 1px solid rgba(255, 255, 255, .35); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.cx-mhero__loop span:nth-of-type(1) { top: 8%; left: 50%; transform: translate(-50%, -50%); }
.cx-mhero__loop span:nth-of-type(2) { top: 50%; right: 8%; transform: translate(50%, -50%); }
.cx-mhero__loop span:nth-of-type(3) { bottom: 8%; left: 50%; transform: translate(-50%, 50%); }
.cx-mhero__loop span:nth-of-type(4) { top: 50%; left: 8%; transform: translate(-50%, -50%); }
.cx-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cx-stage__mark { display: grid; gap: 1.25rem; }
.cx-stage__ring { position: relative; width: 5.5rem; height: 5.5rem; }
.cx-stage__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--cx-from, -45deg), #3a7bd5, #d65db1 25%, #e4e0d6 25%); -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 4px), #000 calc(50% - 3px)); mask: radial-gradient(circle, transparent 0 calc(50% - 4px), #000 calc(50% - 3px)); }
.cx-stage--2 .cx-stage__ring { --cx-from: 45deg; } .cx-stage--3 .cx-stage__ring { --cx-from: 135deg; } .cx-stage--4 .cx-stage__ring { --cx-from: 225deg; }
.cx-stage__ring em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 1.375rem; font-weight: 500; color: var(--cx-night, #141a2c); }
.cx-stage__name { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 500; line-height: 1.05; margin: 0; color: var(--cx-night, #141a2c); }
.cx-stage__lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 500; margin: 0 0 1.5rem; color: var(--cx-night, #141a2c); }
.cx-stage__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cx-stage__card { background: var(--cx-paper); border-radius: 12px; padding: 1.25rem 1.375rem; }
.cx-section--paper .cx-stage__card { background: #fff; }
.cx-stage__card small { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; margin-bottom: .5rem; }
.cx-stage__card small::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #3a7bd5; }
.cx-stage__card--exp small::before { background: #d65db1; }
.cx-stage__card p { margin: 0; font-size: .9375rem; color: var(--cx-body, #4a5068); }
.cx-stage__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.cx-stage__out div { border-top: 1px solid var(--cx-line); padding-top: .75rem; }
.cx-stage__out small { display: block; font-size: .75rem; color: var(--cx-muted); margin-bottom: .25rem; }
.cx-stage__out p { margin: 0; font-size: .9375rem; font-weight: 500; }
@media (max-width: 860px) { .cx-stage, .cx-stage__cards, .cx-stage__out { grid-template-columns: 1fr; } }
.cx-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.cx-promises div { padding-top: 1rem; border-top: 2px solid; border-image: linear-gradient(90deg, #55c3e9, #6565a7) 1; }
.cx-promises h3 { font-size: 1.125rem !important; font-weight: 600 !important; margin: 0 0 .5rem !important; }
.cx-promises p { margin: 0; font-size: .9375rem; color: #c9cae6; }
@media (max-width: 860px) { .cx-promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cx-promises { grid-template-columns: 1fr; } }
.cx-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cx-pair__cards { display: grid; gap: 1rem; }
.cx-pair__cards div { background: var(--cx-paper); border-radius: 12px; padding: 1.25rem 1.5rem 1.25rem 1.75rem; border-left: 4px solid #3a7bd5; }
.cx-pair__cards div + div { border-left-color: #d65db1; }
.cx-pair__cards b { display: block; margin-bottom: .25rem; }
.cx-pair__cards p { margin: 0; font-size: .9375rem; color: var(--cx-body, #4a5068); }
@media (max-width: 860px) { .cx-pair { grid-template-columns: 1fr; } }


/* ==================================================================
   Chi siamo e Contatti
   ================================================================== */
.cx-about-hero::after { display: none; }
.cx-about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cx-about-hero h1 { font-size: clamp(2.75rem, 1.8rem + 3.6vw, 4.5rem); margin: 0 0 1.5rem; }
.cx-about-hero .cx-lead { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem) !important; color: #fff; max-width: 34rem; margin-top: 0 !important; }
.cx-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 2.5rem 0 1.75rem; padding: 0; list-style: none; }
.cx-stats b { display: block; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 500; line-height: 1; margin-bottom: .5rem; }
.cx-stats span { display: block; font-size: .8125rem; line-height: 1.35; color: #c9cae6; }
.cx-about-hero__place { font-size: .9375rem; color: #8fd8f5; margin: 0; }
.cx-orbits { position: relative; width: min(100%, 28rem); aspect-ratio: 1; margin: 0 auto; }
.cx-orbits i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(143, 180, 255, .55); }
.cx-orbits i:nth-child(1) { inset: 0; border-color: rgba(143, 216, 245, .45); }
.cx-orbits i:nth-child(2) { inset: 9%; border-color: rgba(255, 143, 107, .55); border-left-color: transparent; transform: rotate(20deg); }
.cx-orbits i:nth-child(3) { inset: 19%; border-color: rgba(214, 93, 177, .6); border-bottom-color: transparent; }
.cx-orbits i:nth-child(4) { inset: 30%; border-color: rgba(85, 195, 233, .6); }
.cx-orbits i:nth-child(5) { inset: 40%; background: radial-gradient(circle, rgba(101, 101, 167, .7), rgba(101, 101, 167, .15)); border-color: rgba(143, 180, 255, .6); }
.cx-orbits b { position: absolute; width: .5rem; height: .5rem; border-radius: 50%; background: #ff8f6b; box-shadow: 0 0 12px currentColor; }
.cx-orbits b:nth-of-type(1) { top: 12%; left: 62%; color: #ff8f6b; } .cx-orbits b:nth-of-type(2) { top: 44%; left: 28%; background: #55c3e9; color: #55c3e9; } .cx-orbits b:nth-of-type(3) { top: 74%; left: 30%; background: #d65db1; color: #d65db1; } .cx-orbits b:nth-of-type(4) { top: 82%; left: 92%; background: #55c3e9; color: #55c3e9; }
@media (max-width: 900px) { .cx-about-hero__grid { grid-template-columns: 1fr; } .cx-orbits { width: 16rem; } }
.cx-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.cx-cols3 > div { border-top: 1px solid var(--cx-line); padding-top: 1.5rem; position: relative; }
.cx-cols3 > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #55c3e9, #6565a7); }
.cx-cols3 > div:nth-child(2)::before { background: linear-gradient(90deg, #6565a7, #d65db1); } .cx-cols3 > div:nth-child(3)::before { background: linear-gradient(90deg, #d65db1, #ff8f6b); }
.cx-cols3 h3 { font-size: 1.375rem !important; font-weight: 500 !important; margin: 0 0 .75rem !important; }
.cx-cols3 p { font-size: .9375rem; color: var(--cx-body, #4a5068); margin: 0 0 1rem; }
.cx-cols3 a { font-size: .875rem; font-weight: 600; color: #3f3a8c; text-decoration: none; }
.cx-cols3 a:hover { text-decoration: underline; }
@media (max-width: 860px) { .cx-cols3 { grid-template-columns: 1fr; } }
.cx-principles { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
.cx-principles li { border-top: 1px solid rgba(255, 255, 255, .16); padding: 1.5rem 0; }
.cx-principles h3 { display: flex; gap: .75rem; align-items: baseline; font-size: 1.25rem !important; font-weight: 500 !important; margin: 0 0 .5rem !important; }
.cx-principles h3 small { font-size: .75rem; color: #8fd8f5; font-weight: 600; }
.cx-principles p { margin: 0 0 0 1.75rem; font-size: .9375rem; color: #c9cae6; }
@media (max-width: 760px) { .cx-principles { grid-template-columns: 1fr; } }
.cx-wordmarks { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cx-wordmarks li { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 600; color: #5b6176; }
.cx-engines { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin-top: 2.5rem; }
.cx-engines p { margin: 0 .75rem 0 0; font-size: .875rem; font-weight: 600; }
.cx-engines span { padding: .5rem 1rem; border: 1px solid var(--cx-line); border-radius: 999px; font-size: .875rem; background: #fff; }

/* Contatti */
.cx-contact { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cx-contact__form { background: #fff; border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 20px 50px rgba(20, 26, 44, .07); }
.cx-contact__side h2 { font-size: 1.125rem !important; font-weight: 600 !important; margin: 0 0 1rem !important; }
.cx-contact__side .cx-invite__list { margin-bottom: 2rem; }
.cx-contact__direct { border-top: 1px solid var(--cx-line); padding-top: 1.75rem; margin-bottom: 2rem; }
.cx-contact__direct dl { margin: 0; display: grid; gap: 1rem; }
.cx-contact__direct dt { font-size: .75rem; color: var(--cx-muted); }
.cx-contact__direct dd { margin: .125rem 0 0; font-weight: 500; }
.cx-contact__direct a { color: #3f3a8c; }
.cx-contact__paths { background: #fff; border-radius: 14px; padding: 1.25rem 1.5rem; }
.cx-contact__paths p { font-weight: 600; font-size: .9375rem; margin: 0 0 .75rem; }
.cx-contact__paths ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cx-contact__paths a { color: #3f3a8c; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.cx-contact__paths a:hover { text-decoration: underline; }
@media (max-width: 900px) { .cx-contact { grid-template-columns: 1fr; } }
.cx-choice { border: 0; padding: 0; margin: 0 0 .5rem; }
.cx-choice legend { font-size: 1.25rem; font-weight: 500; color: var(--cx-night, #141a2c); margin-bottom: 1rem; padding: 0; }
.cx-choice .wpcf7-radio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.cx-choice .wpcf7-list-item { margin: 0; }
.cx-choice label { position: relative; display: block !important; height: 100%; box-sizing: border-box; border: 1px solid var(--cx-line); border-radius: 12px; padding: .875rem 1rem .875rem 2.5rem; cursor: pointer; font-size: .9375rem !important; font-weight: 600 !important; margin: 0 !important; }
.cx-choice label input { position: absolute; left: 1rem; top: 1.125rem; accent-color: #3f3a8c; }
.cx-choice label:has(input:checked) { border-color: #3f3a8c; background: #f1f0fa; }
.cx-choice label:has(input:focus-visible) { outline: 3px solid #3f3a8c; outline-offset: 2px; }
.cx-choice .wpcf7-list-item-label::after { display: block; margin-top: .25rem; font-size: .8125rem; font-weight: 400; color: var(--cx-muted); }
.cx-choice .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::after { content: "PEC Engine, SinfonIA, Quotel e gli altri."; }
.cx-choice .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::after { content: "Un progetto su misura, con la consulenza tecnologica o experience."; }
.cx-choice .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::after { content: "Collaborazioni, stampa, domande generali."; }
@media (max-width: 640px) { .cx-choice .wpcf7-radio { grid-template-columns: 1fr; } }
.cx-form select { width: 100%; box-sizing: border-box; min-height: 3rem; border: 1px solid #8a8fa3; border-radius: 10px; padding: .625rem .875rem; font: inherit; background: #fff; color: var(--cx-night, #141a2c); }


/* Casi clienti */
.cx-cases { display: grid; gap: 1.5rem; }
.cx-cases .cx-case h3 { margin-top: 1rem !important; }


/* Caso cliente */
.cx-case-hero::after { display: none; }
.cx-case-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cx-case-hero .cx-chip { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); margin-right: .375rem; }
.cx-case-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.1; margin: 1.25rem 0 1.25rem; }
.cx-case-hero .cx-lead { margin-top: 0 !important; }
.cx-case-hero .cx-ring { margin: 0 auto; }
@media (max-width: 900px) { .cx-case-hero__grid { grid-template-columns: 1fr; } }
.cx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
.cx-facts div { border-left: 1px solid var(--cx-line); padding-left: 1.25rem; }
.cx-facts dt { font-size: .8125rem; color: var(--cx-muted); }
.cx-facts dd { margin: .25rem 0 0; font-size: 1.125rem; font-weight: 500; }
@media (max-width: 760px) { .cx-facts { grid-template-columns: 1fr 1fr; } }
.cx-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cx-nums div { border-top: 2px solid; border-image: linear-gradient(90deg, #55c3e9, #6565a7) 1; padding-top: 1.25rem; }
.cx-nums b { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 500; line-height: 1; margin-bottom: .75rem; color: var(--cx-night, #141a2c); }
.cx-nums strong { display: block; font-size: 1rem; margin-bottom: .375rem; }
.cx-nums p { margin: 0 0 .75rem; font-size: .9375rem; color: var(--cx-body, #4a5068); }
.cx-nums small { display: block; font-size: .8125rem; color: var(--cx-muted); }
@media (max-width: 760px) { .cx-nums { grid-template-columns: 1fr; } }
.cx-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.cx-ba__col h3 { font-size: 1.25rem !important; font-weight: 600 !important; margin: 0 0 .5rem !important; }
.cx-ba__col > p { font-size: .9375rem; color: var(--cx-body, #4a5068); margin: 0 0 1.25rem; min-height: 3em; }
.cx-inbox { background: #fff; border: 1px solid var(--cx-line); border-radius: 16px; overflow: hidden; }
.cx-inbox__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--cx-line); font-weight: 600; font-size: .9375rem; }
.cx-inbox__head span { display: inline-flex; gap: .375rem; }
.cx-inbox ul { list-style: none; margin: 0; padding: 0; }
.cx-inbox li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: .875rem 1.25rem; border-bottom: 1px solid #efeee9; font-size: .875rem; }
.cx-inbox li:last-child { border-bottom: 0; }
.cx-inbox li b { font-weight: 600; }
.cx-inbox li small { color: var(--cx-muted); font-size: .8125rem; }
.cx-inbox li em { grid-column: 1 / -1; font-style: normal; font-size: .75rem; color: var(--cx-muted); }
.cx-tagx { display: inline-block; padding: .1875rem .625rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; background: #ecebe6; color: #4a5068; }
.cx-tagx--ai { background: #e3f1fa; color: #154294; }
.cx-tagx--person { background: #fbecc0; color: #6b4e06; }
.cx-legend-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.5rem; font-size: .8125rem; color: var(--cx-body, #4a5068); list-style: none; padding: 0; }
.cx-legend-row li::before { content: ""; display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-right: .5rem; vertical-align: -1px; background: #ecebe6; }
.cx-legend-row li:nth-child(2)::before { background: #9fd0ef; } .cx-legend-row li:nth-child(3)::before { background: #f5c84b; }
.cx-caption { font-size: .8125rem; color: var(--cx-muted); margin-top: .75rem; }
@media (max-width: 860px) { .cx-ba { grid-template-columns: 1fr; } }
.cx-story { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.cx-story__part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); }
.cx-story__part > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; margin: 0 !important; }
.cx-story__part > h2 small { display: block; font-size: .875rem; color: #3f3a8c; font-weight: 600; margin-bottom: .5rem; }
.cx-story__part p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--cx-body, #4a5068); }
.cx-story__part ol, .cx-story__part ul { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .75rem; color: var(--cx-body, #4a5068); font-size: 1.0625rem; line-height: 1.6; }
.cx-story__part li strong { color: var(--cx-night, #141a2c); }
.cx-story__teams { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.cx-story__teams div { background: var(--cx-paper); border-radius: 12px; padding: 1.25rem 1.375rem; border-top: 3px solid #3a7bd5; }
.cx-story__teams div + div { border-top-color: #d65db1; }
.cx-story__teams b { display: block; margin-bottom: .375rem; }
.cx-story__teams p { font-size: .9375rem !important; margin: 0 !important; }
@media (max-width: 860px) { .cx-story__part, .cx-story__teams { grid-template-columns: 1fr; } }
.cx-offer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.cx-offer > div { background: #fff; border-radius: 14px; padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.cx-offer h3 { font-size: .9375rem !important; font-weight: 600 !important; margin: 0 0 .25rem !important; }
.cx-offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; font-size: .875rem; }
.cx-offer li { color: #6b7086; }
.cx-offer li.is-on { color: var(--cx-night, #141a2c); font-weight: 600; }
.cx-offer li.is-on::before { content: "✓ "; color: #2e7d4f; }
.cx-offer li a { color: inherit; }
.cx-offer p { margin: auto 0 0; padding-top: .75rem; border-top: 1px solid var(--cx-line); font-size: .8125rem; color: var(--cx-body, #4a5068); }
@media (max-width: 1100px) { .cx-offer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cx-offer { grid-template-columns: 1fr; } }


/* 404 */
.cx-e404::after { display: none; }
.cx-e404__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cx-e404__kicker { color: #8fd8f5; font-size: .9375rem; font-weight: 600; margin: 0 0 1rem; }
.cx-e404 h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.1; margin: 0 0 1.5rem; }
.cx-e404__vis { position: relative; }
.cx-e404__card { background: #fff; color: var(--cx-night, #141a2c); border-radius: 18px; padding: 1.25rem 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.cx-e404__head { display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; margin-bottom: 1rem; }
.cx-e404__head code { color: #4a5068; }
.cx-e404__digits { display: flex; justify-content: center; gap: 1.25rem; background: #f3f1ec; border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.cx-e404__digits span { text-align: center; }
.cx-e404__digits i { display: block; width: 4.5rem; height: 5.5rem; line-height: 5.5rem; font-style: normal; font-size: 4rem; font-weight: 400; border: 2px solid #3a7bd5; border-radius: 6px; background: #e3f1fa; margin-bottom: .5rem; }
.cx-e404__digits .is-doubt i { border: 2px dashed #c9a227; background: #fbf3d9; }
.cx-e404__digits small { display: inline-block; font-size: .6875rem; font-weight: 600; padding: .125rem .5rem; border-radius: 999px; background: #e3f1fa; color: #154294; }
.cx-e404__digits .is-doubt small { background: #fbecc0; color: #6b4e06; }
.cx-e404__engines { list-style: none; margin: 0; padding: 0; font-size: .8125rem; }
.cx-e404__engines li { display: grid; grid-template-columns: 5.5rem 4rem 1fr 2.5rem; gap: .75rem; align-items: center; padding: .5rem .5rem; border-radius: 6px; }
.cx-e404__engines li.is-best { background: #e3f1fa; }
.cx-e404__engines code { font-weight: 700; color: #154294; }
.cx-e404__engines em { height: .25rem; border-radius: 2px; background: linear-gradient(90deg, #3a7bd5, #6565a7) left / var(--w) 100% no-repeat, #e4e0d6; }
.cx-e404__engines b { font-weight: 500; text-align: right; color: #4a5068; }
.cx-e404__res { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--cx-line); margin-top: .75rem; padding-top: .75rem; font-size: .8125rem; }
.cx-e404__note { position: absolute; right: -1rem; bottom: -5.5rem; width: 11rem; transform: rotate(4deg); background: #fbe7a1; color: #3d2f05; padding: 1rem; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 1.125rem; line-height: 1.2; box-shadow: 0 10px 20px rgba(0, 0, 0, .25); margin: 0; }
@media (max-width: 900px) { .cx-e404__grid { grid-template-columns: 1fr; } .cx-e404__note { position: static; transform: none; margin: 1rem 0 0 auto; } }
.cx-e404__routes { margin-top: 2rem; max-width: 52rem; }
.cx-e404__routes li { align-items: center; }
.cx-e404__routes a.cx-tagx { text-decoration: none; }
.cx-e404__routes a.cx-tagx:hover { text-decoration: underline; }
.cx-e404__search { max-width: 26rem; margin-top: 1.5rem !important; }


/* Accessibility: solid fallback colour under every dark gradient, so contrast tools (and browsers without gradients) see a dark background */
:is(.cx-card__head, .cx-read, .cx-data-band, .cx-night-band, .cx-stats-band, .cx-tile, .cx-article-hero, .cx-case, .cx-featured-post .wp-block-post, .cx-blog-cards .wp-block-post, .cx-blog-cards > li, .cx-report-cards .cx-cover, .cx-cover, .cx-dark) { background-color: #141a2c; }
.cx-phase--ready { background-color: #4e4b96; }
.cx-area--experience:is(.wp-block-post, li, .cx-read) { background-color: #3d2a6e; }
.cx-area--tecnologia-ai:is(.wp-block-post, li, .cx-read) { background-color: #1f2f8a; }

body:not(.cx-light-header) .cx-site-header { background-color: rgba(17, 22, 42, .01); }

@media (max-width: 600px) {
  .cx-loop { width: 12rem; margin: 5rem auto; }
  .cx-loop__node { width: 6.5rem; font-size: .6875rem; }
  .cx-loop__node strong { font-size: .8125rem; }
  .cx-loop__node--e, .cx-loop__node--w { width: 4.75rem; }
  .cx-loop__node--e { left: calc(82% + .5rem); }
  .cx-loop__node--w { right: calc(82% + .5rem); }
}

/* Consulenza heroes: fixes (23/10) */
.cx-svc-hero h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem) !important; line-height: 1.1 !important; }
.cx-svc-hero__grid > div:first-child { max-width: 36rem; }
:is(.cx-svc-hero, .cx-e404, .cx-about-hero, .cx-case-hero) .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cx-stair li { padding: .875rem 1.5rem; font-size: .9375rem; }
.cx-cloud { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 0; }
.cx-cloud span, .cx-cloud span:nth-child(2n), .cx-cloud span:nth-child(3n) { transform: none; }
.cx-cloud span:nth-child(1) { margin-left: 30%; } .cx-cloud span:nth-child(2) { margin-left: 48%; } .cx-cloud span:nth-child(3) { margin-left: 10%; }
.cx-cloud span:nth-child(4) { margin-left: 62%; } .cx-cloud span:nth-child(5) { margin-left: 34%; } .cx-cloud span:nth-child(6) { margin-left: 4%; } .cx-cloud span:nth-child(7) { margin-left: 44%; }
@media (max-width: 900px) { .cx-cloud { flex-direction: row; flex-wrap: wrap; } .cx-cloud span { margin-left: 0 !important; } }


/* Report: copertina reale dall'immagine in evidenza (23/10) */
.cx-cover--img { padding: 0; background: none !important; aspect-ratio: 3 / 4; }
.cx-cover--img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cx-dl-card .cx-cover--img { width: 13rem; }
.cx-report-cards .cx-cover--img { width: 9rem; }


/* Report: schede a scaffale (23/10) */
.cx-cover--img::before, .cx-cover--img::after { display: none !important; }
.cx-report-cards .cx-cover--petrolio .cx-cover-wrap { background: linear-gradient(160deg, #e3f4f6, #c3e8ee); }
.cx-report-cards .cx-cover--viola .cx-cover-wrap { background: linear-gradient(160deg, #eeedf8, #d9d5f1); }
.cx-report-cards .cx-cover--azzurro .cx-cover-wrap { background: linear-gradient(160deg, #e8f4fa, #cde7f4); }
.cx-report-cards .cx-cover--magenta .cx-cover-wrap { background: linear-gradient(160deg, #fbedf5, #f2d5e6); }
.cx-report-cards .cx-cover--notte .cx-cover-wrap { background: linear-gradient(160deg, #e9ebf3, #d3d8e8); }
.cx-report-cards:not(.cx-report-cards--row) .cx-cover-wrap { padding: 2.5rem 0 0; height: 19rem; box-sizing: border-box; align-items: flex-end; overflow: hidden; }
.cx-report-cards:not(.cx-report-cards--row) .cx-cover { width: 12.5rem !important; border-radius: 6px 6px 0 0; box-shadow: 0 -2px 30px rgba(20, 26, 44, .18); margin-bottom: -1px; }
.cx-report-cards:not(.cx-report-cards--row) .cx-cover:not(.cx-cover--img) { height: 16.5rem; aspect-ratio: auto; }
@media (max-width: 600px) { .cx-report-cards:not(.cx-report-cards--row) .cx-cover-wrap { height: 17rem; } .cx-report-cards:not(.cx-report-cards--row) .cx-cover { width: 11rem !important; } .cx-report-cards:not(.cx-report-cards--row) .cx-cover:not(.cx-cover--img) { height: 14.5rem; } }

/* Report: schede alte uguali (23/10) */
.cx-report-cards:not(.cx-report-cards--row) { align-items: stretch !important; }
.cx-report-cards:not(.cx-report-cards--row) > .wp-block-post { display: flex; flex-direction: column; }
.cx-report-cards:not(.cx-report-cards--row) .cx-card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.cx-report-cards:not(.cx-report-cards--row) .cx-card-body > :last-child { margin-top: auto !important; }

/* Report: niente fascia bianca sopra le schede (23/10) */
.cx-section > .wp-block-query:first-child > .cx-report-cards:first-child { margin-top: 0 !important; }
.cx-section:has(> .wp-block-query:first-child > .cx-report-cards:first-child) { padding-top: 2.5rem; }

/* Articoli: scheda del report nella colonna e richiamo nel testo (23/10) */
.cx-aside-report { position: relative; margin-top: 2rem; padding: 1.5rem; background: #f4f2ec; border-radius: 18px; transition: box-shadow .2s ease, transform .2s ease; }
.cx-aside-report:hover { box-shadow: 0 14px 32px rgba(20, 26, 44, .12); transform: translateY(-2px); }
.cx-aside-report:focus-within { outline: 3px solid var(--cx-focus-light, #6565a7); outline-offset: 3px; }
.cx-aside-report__cover { width: 7.25rem; margin-bottom: 1.25rem; }
.cx-aside-report__cover img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 4px 10px 22px rgba(20, 26, 44, .22); }
.cx-aside-report__type { margin: 0 0 .5rem; color: var(--cx-muted, #5b6172); font-size: .875rem; }
.cx-aside-report__title { margin: 0 0 1rem; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; color: #141a2c; }
.cx-aside-report a { color: #3f3a8c; font-weight: 500; text-decoration: none; }
.cx-aside-report a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.cx-inline-report { margin: 2.5rem 0; padding: 1.25rem 1.5rem; background: #ececf6; border-left: 4px solid #6565a7; border-radius: 0 14px 14px 0; }
.cx-inline-report p { margin: 0; }
.cx-inline-report__label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #4e4b96; margin-bottom: .375rem !important; }
.cx-inline-report a { color: #3f3a8c; font-weight: 500; }

/* Articoli: su mobile la scheda laterale lascia il posto al box nel testo */
@media (max-width: 781px) { .cx-aside-report { display: none; } }

/* Header: menu centrato tra logo e pulsante, voci sulla stessa riga */
@media (min-width: 782px) {
	.cx-nav-bar > .wp-block-navigation { margin-left: 3rem; margin-right: 2rem; justify-content: center; }
	.cx-nav-bar .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { justify-content: center; align-items: center; }
	.cx-nav-bar .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > li { height: 2rem; align-items: center; }
}
@media (min-width: 782px) { .cx-nav-bar .wp-block-navigation__container > li:not(.has-child) { padding-bottom: 4px; } }
@media (min-width: 782px) {
	.cx-nav-bar > .wp-block-navigation { margin-left: clamp(1.5rem, 3vw, 3rem); margin-right: clamp(1rem, 2vw, 2rem); }
	.cx-nav-bar .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { flex-wrap: nowrap; column-gap: clamp(1.25rem, 2.6vw, 2.25rem); }
}
@media (min-width: 782px) { .cx-nav-bar .wp-block-navigation__container > li > .wp-block-navigation-item__content { white-space: nowrap; } }
