/**
 * Base: reset minimo, tipografia, layout di pagina, header e footer.
 * I token di colore/font/spacing vengono da theme.json (custom properties
 * --wp--preset--* e --wp--custom--*): qui non si ridefiniscono valori, si
 * consumano.
 */

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

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

body {
	margin: 0;
}

/* Landmark/focus visibile per accessibilità. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--s);
	position: fixed;
	top: var(--wp--preset--spacing--xxs);
	left: var(--wp--preset--spacing--xxs);
	z-index: 100;
}

/* ==================== Comartech: layer globale del design ====================
   Fonte: design/demo/assets/css/comartech.css (parte globale). I componenti
   Ohio (heading, button, banner card, icon-button, header, footer) sono in
   assets/css/ohio.css, caricato prima di questo file. Le custom property
   --clb-* di Ohio derivano dai preset di theme.json. */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face { font-family: "Yantramanav"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/yantramanav-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Yantramanav"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/yantramanav-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Yantramanav"; font-style: normal; font-display: swap; font-weight: 700; src: url("../fonts/yantramanav-latin-700-normal.woff2") format("woff2"); }

/* Bricolage Grotesque: solo per la scritta COMARTECH (sottoinsieme maiuscole). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/bricolage-grotesque-logo-wght.woff2") format("woff2-variations"); }

:root {
	/* Token Ohio come nelle opzioni della Demo 31, in bianco e nero. */
	--clb-color-primary: var(--wp--preset--color--accent);
	--clb-color-link-hover: var(--wp--preset--color--accent);
	--clb-color-black: var(--wp--preset--color--contrast);
	--clb-color-black-rgb: 17, 17, 17;
	--clb-color-selection: rgba(212, 19, 103, .2);
	--clb-border-radius: var(--wp--custom--radius--large);
	--clb-button-border-radius: var(--wp--custom--radius--pill);
	--clb-title-font-family: var(--wp--preset--font-family--heading);
	--clb-subtitle-font-family: var(--wp--preset--font-family--heading);
	--clb-text-font-family: var(--wp--preset--font-family--system);
	--clb-title-font-weight: 500;

	--cmt-gutter: var(--clb-grid-gutter, 16px);
	--cmt-dark: var(--wp--preset--color--inverse);
	--cmt-dark-card: var(--wp--preset--color--gray-800);
	--cmt-light: var(--wp--preset--color--gray-50);
	--cmt-on-dark: var(--wp--preset--color--base);
	--cmt-on-dark-muted: rgba(255, 255, 255, .75);
	--cmt-line: rgba(17, 17, 17, .35);
	--cmt-line-dark: rgba(255, 255, 255, .25);
	--cmt-accent: var(--wp--preset--color--accent);
	--cmt-header-h: 108px;
}

@media screen and (min-width: 1181px) {
	:root { --cmt-gutter: 12vh; }
	.page-container.-full-w,
	.site-footer .page-container.-full-w { --clb-container-side-gutter: 12vh; }
}

body {
	font-family: var(--clb-text-font-family);
	color: var(--clb-color-black);
	background: var(--wp--preset--color--base);
}

h1, h2, h3, h4, .widget-title, .font-titles, .titles-typo {
	font-family: var(--clb-title-font-family);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

:focus-visible { outline: 3px solid #000 !important; outline-offset: 3px; }
main:focus { outline: none; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cmt-header-h) - 20px); }

/* Contenitori (equivalenti dei container Elementor della demo). */
.cmt-boxed { display: flex; flex-wrap: wrap; width: 100%; }
.cmt-col-25, .cmt-col-75, .cmt-col-66, .cmt-col-33, .cmt-col-50 { width: 100%; display: flex; flex-direction: column; }

@media (min-width: 768px) {
	.cmt-col-25 { width: 25%; }
	.cmt-col-50 { width: 50%; }
	.cmt-col-75 { width: 75%; }
	.cmt-col-66 { width: 66.66%; }
	.cmt-col-33 { width: 33.33%; }
}

.cmt-divider { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--cmt-line); }

/* Pulsanti: hover nativo Ohio anche su :focus-visible da tastiera. */
.button:not(.-flat):not(.-text):focus-visible { background-color: var(--clb-color-button-hover); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
	.button, .icon-button { border: 2px solid CanvasText; }
}

/* ==================== Layout di pagina ====================
   --cmt-gutter (margini laterali uniformi) è definito nel layer Comartech
   qui sopra, coi valori della demo: 16px, 12vh oltre i 1180px. */

/* Container di sezione: TUTTE le sezioni hanno lo stesso ingombro
   orizzontale (wideSize, allineato all'inner dell'hero) e gli stessi
   margini laterali. La variante --narrow (contentSize) è per contenuti
   testuali lunghi (articoli), non per le sezioni. */
.cmt-container {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: var(--cmt-gutter);
}

.cmt-container--wide {
	max-width: var(--wp--style--global--wide-size, 1200px);
}

.cmt-container--narrow {
	max-width: var(--wp--style--global--content-size, 768px);
}

/* Respiro verticale: spazio uniforme tra le sezioni; le fasce full-bleed
   (alignfull) in apertura pagina toccano l'header e in chiusura toccano
   il footer, come l'hero. NB: i blocchi vivono dentro l'article
   .page-content (vedi page.php), che non deve aggiungere spazi propri. */
.site-main {
	padding-block: 0;
}

.site-main > * {
	margin-block: 0;
}

/* Comartech: le sezioni della home sono contigue come nella demo (ogni
   blocco gestisce il proprio respiro verticale). */
.page-content > * {
	margin-block: 0;
}

.page-content > *:first-child {
	margin-block-start: 0;
}

.page-content > *:last-child {
	margin-block-end: 0;
}

/* Pagina che apre con lo split (senza page-head, tipicamente con titolo
   H1 nel blocco): respiro sopra al posto del margine azzerato. */
.page-content > .cmt-split-content:first-child {
	padding-block-start: var(--wp--preset--spacing--xxl);
}

/* ==================== Bottone condiviso ====================
   CTA usata dai blocchi (cmt-button). Colori e radius dai token. */

.cmt-button {
	display: inline-block;
	padding: 1.15em 2.8em;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: var(--wp--custom--radius--medium);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cmt-button:hover {
	background: var(--wp--preset--color--accent-dark);
	color: var(--wp--preset--color--base);
}

.cmt-button--inverse {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.cmt-button--inverse:hover {
	background: var(--wp--preset--color--gray-100);
	color: var(--wp--preset--color--contrast);
}

/* ==================== Form (CF7) ====================
   Comartech: spunte native con accent-color come nella demo (regole in
   blocks/contact-section/style.css e nel footer); niente checkbox custom. */

/* ==================== Copy field (componente condiviso) ====================
   Valore copiabile negli appunti (CF, IBAN...): usato dal blocco
   cmt/copy-field e incorporabile in altri blocchi (es. cmt/split-content)
   replicando lo stesso markup .cmt-copy-field + data-block="cmt/copy-field".
   Il micro-JS della copia è globale: assets/js/copy.js. */

.cmt-copy-field {
	max-width: 480px;
}

.cmt-copy-field__label {
	display: block;
	margin-block-end: var(--wp--preset--spacing--xxs);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gray-600);
}

.cmt-copy-field__row {
	display: flex;
}

.cmt-copy-field__value {
	flex: 1;
	min-width: 0;
	padding: 0.8em 1em;
	border: 1px solid var(--wp--preset--color--gray-300);
	border-radius: var(--wp--custom--radius--small) 0 0 var(--wp--custom--radius--small);
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

/* Senza JS il bottone è hidden: l'input chiude i suoi angoli. */
.cmt-copy-field__value:last-child {
	border-radius: var(--wp--custom--radius--small);
}

.cmt-copy-field__button {
	padding: 0.8em 1.6em;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cmt-copy-field__button:hover {
	background: var(--wp--preset--color--accent-dark);
}

.cmt-copy-field__button.is-copied {
	background: var(--wp--preset--color--gray-800);
}

.cmt-copy-field__caption {
	margin: var(--wp--preset--spacing--xxs) 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--gray-600);
}

.cmt-copy-field__placeholder {
	color: var(--wp--preset--color--gray-600);
	font-style: italic;
}

/* ==================== Reveal on scroll (opt-in) ====================
   Le classi vengono applicate da assets/js/reveal.js SOLO sul frontend e
   solo senza prefers-reduced-motion: senza JS niente stato nascosto. */

.cmt-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

.cmt-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

@media print {
	.cmt-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ==================== Header (Ohio header-1) ====================
   Fonte: design/demo/assets/css/comartech.css (Header, selettore lingua,
   contatori menu, hover menu). Componenti base in ohio.css. */

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	padding: 12px 20px; border-radius: 30px;
	background: #000; color: #fff; font-family: var(--clb-title-font-family); font-weight: 600;
	text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.header.-fixed { position: fixed; top: 0; left: 0; right: 0; }
.header .header-wrap { transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled .header-wrap { background: #fff; box-shadow: 0 1px 0 rgba(17, 17, 17, .1); }
.header .header-wrap-inner { padding-left: var(--cmt-gutter); padding-right: var(--cmt-gutter); }
/* Scritta provvisoria: Bricolage Grotesque 700 maiuscolo (solo la font, nessun segno grafico del logo definitivo) */
.cmt-logo {
  font-family: "Bricolage Grotesque", var(--clb-title-font-family); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .02em; text-transform: uppercase; color: var(--clb-color-black);
}
.cmt-nav .menu { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
/* Voci come nella Demo 10: padding orizzontale Ohio (0,9rem) e numerazione "with-counters" */
.cmt-nav .menu-link { padding: 0 .9rem; }
.cmt-nav .menu-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--clb-title-font-family); font-weight: 500; }
/* Voci di menu sempre nere: nessuna evidenziazione della voce attiva (non ci sono pagine interne) */
.cmt-nav .menu-link, .cmt-nav .menu-link:hover { color: inherit; }
.header .right-part { display: flex; align-items: center; gap: .75rem; }
.header .menu-optional { margin: 0; padding: 0; list-style: none; }
.header .button-group { display: flex; align-items: center; gap: .5rem; }
.cmt-lang { min-width: 44px; }
.header .mobile-hamburger { display: none; }

@media (max-width: 1024px) {
  .js .header .mobile-hamburger { display: block; }
  .js .cmt-hide-mobile { display: none; }
  .js .header .nav.cmt-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 5; height: auto;
    background: #fff; border-bottom: 1px solid rgba(17,17,17,.1);
    padding: 8px var(--cmt-gutter) 32px;
  }
  .js .header .nav.cmt-nav:not(.is-open) { display: none; }
  .js .cmt-nav .menu { flex-direction: column; gap: 0; }
  .js .header .cmt-nav .menu-link { width: 100%; min-height: 56px; padding: 0; font-size: 1.5rem; border-radius: 0; background: none; border-bottom: 1px solid rgba(17,17,17,.12); }
  .header .right-part { gap: .75rem; }
  .header.is-open .header-wrap { background: #fff; }
}
.hamburger-button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.hamburger-button[aria-expanded="true"] .hamburger { /* stato X gestito da Ohio con .-active */ }

/* Pulsante lingua (flat): fondo grigio chiaro come in Ohio, testo sottolineato */
.header .button.-flat:hover,
.header .button.-flat:focus-visible { background-color: rgba(17, 17, 17, .08); text-decoration: underline; text-underline-offset: .3em; }

/* Selettore lingua (posizione e aspetto del "lang-dropdown" di Ohio nel menu opzionale) */
.header .menu-optional { display: flex; align-items: center; gap: .5rem; }
.cmt-lang { position: relative; }
.cmt-lang__toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: 0 2rem 0 .75rem !important; border: 0; border-radius: var(--clb-button-border-radius);
  background-color: transparent; color: inherit; cursor: pointer;
  font-family: var(--clb-title-font-family); font-size: .9375rem; font-weight: 500;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 12px 10px;
  transition: background-color .3s;
}
.cmt-lang__toggle:hover, .cmt-lang__toggle:focus-visible, .cmt-lang__toggle[aria-expanded="true"] { background-color: rgba(17,17,17,.08); }
.cmt-lang__toggle[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 11l6-6 6 6'/%3e%3c/svg%3e"); }
.cmt-lang__list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 9rem;
  margin: 0; padding: 6px; list-style: none; background: #fff;
  border-radius: 14px; box-shadow: 0 8px 28px rgba(17,17,17,.14);
}
.js .cmt-lang__list:not(.is-open) { display: none; }
.cmt-lang__list li { margin: 0; }
.cmt-lang__list a {
  display: flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 10px;
  text-decoration: none; font-family: var(--clb-title-font-family); font-size: .9375rem;
}
.cmt-lang__list a:hover, .cmt-lang__list a:focus-visible { background: rgba(17,17,17,.08); }
.cmt-lang__list a[aria-current] { font-weight: 700; }
.cmt-lang__list a[aria-current]::after { content: "✓"; margin-left: auto; padding-left: 1rem; }
html:not(.js) .cmt-lang__toggle { display: none; }
html:not(.js) .cmt-lang__list { position: static; display: flex; box-shadow: none; padding: 0; background: none; }


/* Contatore delle voci (01, 02, 03): decorativo, letto dagli screen reader solo il nome */
.nav.with-counters .nav-item > a > span::before { position: absolute; speak: never; }
@media (max-width: 1024px) {
  .js .header .cmt-nav .menu-link { padding: 0; }
}



/* Menu: hover più marcato. Ohio attenua le altre voci (opacity .5 → qui .55 per il contrasto AA)
   e la voce sotto il cursore riceve una linea che si disegna da sinistra (stile links-underline di Ohio) */
@media (min-width: 1024px) {
  .header:not(.-mobile) .cmt-nav .menu:hover .nav-item:not(:hover) { opacity: .55; }
  .cmt-nav .nav-item { transition: opacity .35s cubic-bezier(.645,.045,.355,1); }
  .cmt-nav .menu-link > span { position: relative; }
  .cmt-nav .menu-link > span::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: currentColor; transform: scaleX(0); transform-origin: right center;
    transition: transform .35s cubic-bezier(.645,.045,.355,1);
  }
  .cmt-nav .menu-link:hover > span::after,
  .cmt-nav .menu-link:focus-visible > span::after { transform: scaleX(1); transform-origin: left center; }
}
@media (prefers-reduced-motion: reduce) {
  .cmt-nav .nav-item, .cmt-nav .menu-link > span::after { transition: none; }
}
@media (min-width: 1024px) { .header-1 .cmt-nav { margin-right: 1.25rem; } }

/* Barra admin di WP: l'header fisso scende sotto la barra. */
.admin-bar .header.-fixed { top: var(--wp-admin--admin-bar--height, 32px); }

/* ==================== Footer (Ohio site-footer, Demo 1 scura) ====================
   Fonte: comartech.css (Footer, newsletter, footer scuro). I titoli di
   colonna sono <p class="title widget-title">: niente headings nel footer. */

.site-footer { background: var(--cmt-light); }
.site-footer .cmt-footer-name { margin: 0 0 1rem; font-weight: 700; letter-spacing: .02em; }
.site-footer .widgets-column ul { margin: 0; padding: 0; list-style: none; }
.site-footer .-medium-t { font-weight: 600; font-family: var(--clb-title-font-family); }
.site-footer address { font-style: normal; }
.site-footer a { text-decoration: underline; overflow-wrap: anywhere; }
.site-footer-copyright .holder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer-copyright a { display: inline-flex; align-items: center; min-height: 44px; }

   griglia 3 colonne su desktop, 1 su mobile; campi e pulsante con gli stili Ohio. */
.cmt-contact__form { margin-top: 6vh; }
.cmt-contact__form .contact-form { width: 100%; }
.cmt-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.cmt-form > [class*="vc_col-lg-12"], .cmt-form > .wpcf7-response-output { grid-column: 1 / -1; }
.cmt-form p { margin: 0 0 1.5rem; }
.cmt-form label { font-family: var(--clb-title-font-family); font-weight: 500; }
.cmt-field-hint { font-family: var(--clb-text-font-family); font-weight: 400; color: var(--clb-color-grey); font-size: .875em; }
.cmt-form input:not([type="checkbox"]), .cmt-form select, .cmt-form textarea { width: 100%; margin-top: .5rem; }
.cmt-form .wpcf7-list-item label { display: flex; gap: .6rem; align-items: flex-start; font-family: var(--clb-text-font-family); font-weight: 400; font-size: .9375rem; }

/* Footer: impostazione della Demo 1 (fondo scuro, logo, titoli dei widget, newsletter) */
.site-footer.clb__dark_section { background: var(--cmt-dark); color: rgba(255,255,255,.75); }
.site-footer.clb__dark_section .widget-title,
.site-footer.clb__dark_section b,
.site-footer.clb__dark_section strong,
.site-footer.clb__dark_section .cmt-logo { color: #fff; }
.site-footer.clb__dark_section a { color: #fff; }
.site-footer.clb__dark_section a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer.clb__dark_section .widget-title { font-size: 1rem; font-weight: 600; margin: 0 0 .75rem; }
.site-footer.clb__dark_section .widget { margin-bottom: 2rem; }
.site-footer.clb__dark_section address, .site-footer.clb__dark_section .widget p { margin: 0; line-height: 1.6; }
.site-footer.clb__dark_section .site-footer-copyright { border-top: 1px solid rgba(255,255,255,.15); }
.site-footer.clb__dark_section .site-footer-copyright, .site-footer.clb__dark_section .site-footer-copyright a { color: rgba(255,255,255,.75); }
.site-footer.clb__dark_section .site-footer-copyright a:hover { color: #fff; }
.site-footer.clb__dark_section .widget_ohio_widget_logo .cmt-logo { text-decoration: none; font-size: 1.375rem; }
/* Newsletter su fondo scuro */
.site-footer.clb__dark_section .cmt-newsletter input[type="email"] { background: rgba(255,255,255,.1); color: #fff; }
.site-footer.clb__dark_section .cmt-newsletter input::placeholder { color: rgba(255,255,255,.65); }
.site-footer.clb__dark_section .cmt-newsletter .button.-flat { color: #fff; }
.site-footer.clb__dark_section .cmt-newsletter .wpcf7-list-item-label { color: rgba(255,255,255,.75); }
.site-footer.clb__dark_section .cmt-newsletter input[type="checkbox"] { accent-color: #fff; }
.site-footer.clb__dark_section .cmt-newsletter .wpcf7-response-output { color: #fff; background: rgba(255,255,255,.1); }
.site-footer.clb__dark_section .cmt-newsletter .wpcf7-response-output.is-error { color: #ffd5de; background: rgba(212,19,103,.25); }
.site-footer.clb__dark_section :focus-visible { outline-color: #fff !important; }


/* Titoli di colonna come <p> (niente headings nel footer): stesse misure
   degli h3 della demo, che la regola .widget p qui sopra azzererebbe. */
.site-footer.clb__dark_section .widget p.widget-title { margin: 0 0 .75rem; line-height: 1.35; }

/* Esiti MC4WP con lo stesso aspetto dei messaggi del modulo della demo. */
.cmt-newsletter .mc4wp-response:empty { display: none; }
.cmt-newsletter .mc4wp-alert { margin: .5rem 0 0; padding: .75rem 1rem; border-radius: 12px; font-size: .875rem; font-weight: 600; color: #111; background: rgba(17,17,17,.06); }
.cmt-newsletter .mc4wp-alert p { margin: 0; }
.cmt-newsletter .mc4wp-error, .cmt-newsletter .mc4wp-notice { color: #a1001c; background: #fdecef; }
.site-footer.clb__dark_section .cmt-newsletter .mc4wp-alert { color: #fff; background: rgba(255,255,255,.1); }
.site-footer.clb__dark_section .cmt-newsletter .mc4wp-error,
.site-footer.clb__dark_section .cmt-newsletter .mc4wp-notice { color: #ffd5de; background: rgba(212,19,103,.25); }

/* Fascia legale: link Privacy/Cookie Policy (Iubenda) e credits accanto. */
.site-footer-copyright .-right { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.site-footer-copyright .cmt-credits { display: inline-flex; align-items: center; min-height: 44px; }

/* Newsletter: testo di accettazione implicita della privacy sotto il campo. */
.cmt-newsletter .cmt-newsletter__note { margin: 0; font-size: .875rem; line-height: 1.45; }
.cmt-newsletter .cmt-newsletter__note a { text-decoration: underline; }
.site-footer.clb__dark_section .cmt-newsletter .cmt-newsletter__note { color: rgba(255,255,255,.75); }
