/*
Theme Name: Darfo Anticorruzione
Author: Corso anticorruzione – Comune di Darfo Boario Terme
Description: Tema a blocchi per il sito del corso «La prevenzione della corruzione e la trasparenza dell’azione amministrativa» (Comune di Darfo Boario Terme, 2026). Home con programma, moduli, domande frequenti, riferimenti normativi e slide scaricabili, più una scheda di sintesi per ciascun modulo (pagine create automaticamente all’attivazione). Non carica font, script o risorse da servizi esterni.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darfo-anticorruzione
Tags: block-patterns, full-site-editing, one-column, wide-blocks, accessibility-ready, education
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(section[id], [id].wp-block-group) { scroll-margin-top: 96px; }
a:focus-visible, .wp-element-button:focus-visible, summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--ocra);
	outline-offset: 3px;
	border-radius: 4px;
}
.wp-site-blocks > main,
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }
main.wp-block-group > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-block-heading { text-wrap: balance; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 0; } }
.dbt-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--bruma);
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	padding-left: max(var(--wp--style--root--padding-left, 1.25rem), calc((100% - 1200px) / 2));
	padding-right: max(var(--wp--style--root--padding-right, 1.25rem), calc((100% - 1200px) / 2));
	gap: 0.75rem 2rem;
}
.dbt-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.25;
	color: var(--wp--preset--color--ardesia);
}
.dbt-brand::before {
	content: "";
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--wp--preset--color--petrolio) var(--dbt-icon) center / 22px no-repeat;
}
.dbt-brand strong { color: var(--wp--preset--color--petrolio); font-family: var(--wp--preset--font-family--serif); font-size: 1.05rem; }
.dbt-brand a { color: inherit; text-decoration: none; }
.dbt-nav { font-weight: 600; font-size: 0.98rem; --navigation-layout-justification-setting: flex-end; }
.dbt-nav .wp-block-navigation__container { gap: 0.4rem 1.5rem; }
.dbt-nav a { color: var(--wp--preset--color--petrolio); text-decoration: none; }
.dbt-nav .wp-block-navigation-item__content { padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.dbt-nav .wp-block-navigation-item__content:hover { border-bottom-color: var(--wp--preset--color--ocra); color: var(--wp--preset--color--petrolio); }

/* ---------- Kicker, intro ---------- */
.dbt-kicker {
	margin: 0 0 0.6rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ocra-scuro);
}
.dbt-intro { font-size: 1.15rem; color: var(--wp--preset--color--ardesia); max-width: 46rem; }
.dbt-section-head > * + * { margin-block-start: 0.6rem; }
.dbt-section-head { margin-bottom: 2.5rem; }

/* ---------- Hero ---------- */
.dbt-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 20%, rgba(61, 107, 130, 0.55) 0, rgba(61, 107, 130, 0) 45%),
		var(--wp--preset--color--petrolio);
	color: var(--wp--preset--color--bianco);
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.dbt-hero-inner { position: relative; }
.dbt-hero-inner > * { max-width: 44rem; }
.dbt-hero .dbt-kicker { color: var(--wp--preset--color--ocra-chiaro); }
.dbt-hero h1 { color: var(--wp--preset--color--bianco); margin-top: 0.4rem; }
.dbt-hero .dbt-lead { font-size: 1.25rem; color: var(--wp--preset--color--bruma); }
.dbt-hero-inner::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: var(--wp--preset--color--ocra) var(--dbt-icon) center / 120px no-repeat;
	box-shadow: 0 0 0 28px rgba(61, 107, 130, 0.45);
}
@media (max-width: 1080px) { .dbt-hero-inner::after { display: none; } }
.dbt-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dbt-meta code {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.95rem;
	padding: 0.35em 0.9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--wp--preset--color--bianco);
}
.dbt-hero .wp-block-buttons { margin-top: 2rem; }
.dbt-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--bianco);
	border: 2px solid rgba(255, 255, 255, 0.7);
}
.dbt-hero .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--bianco); color: var(--wp--preset--color--petrolio); }

/* ---------- Sections ---------- */
.dbt-section { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.dbt-section--alt { background: var(--wp--preset--color--nebbia); }
.dbt-section--dark { background: var(--wp--preset--color--petrolio); color: var(--wp--preset--color--bianco); }
.dbt-section--dark h2, .dbt-section--dark h3 { color: var(--wp--preset--color--bianco); }
.dbt-section--dark .dbt-kicker { color: var(--wp--preset--color--ocra-chiaro); }
.dbt-section--dark .dbt-intro { color: var(--wp--preset--color--bruma); }

/* ---------- Grids & cards ---------- */
.dbt-grid { display: grid; gap: 1.5rem; }
.dbt-grid > * { margin: 0 !important; }
.dbt-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dbt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.dbt-card {
	background: var(--wp--preset--color--bianco);
	border: 1px solid var(--wp--preset--color--bruma);
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 1px 2px rgba(30, 42, 51, 0.04), 0 8px 24px rgba(30, 42, 51, 0.05);
}
.dbt-section:not(.dbt-section--alt):not(.dbt-section--dark) .dbt-card { background: var(--wp--preset--color--nebbia); border-color: transparent; box-shadow: none; }
.dbt-card > * { margin-block-start: 0; }
.dbt-card > * + * { margin-block-start: 0.75rem; }
.dbt-card h3 { font-size: 1.25rem; }
.dbt-card p { color: var(--wp--preset--color--inchiostro); }
.dbt-card[class*="dbt-i-"]::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--petrolio) var(--dbt-icon) center / 24px no-repeat;
}
.dbt-card--accent { background: #F6EEDF !important; }
.dbt-card--accent[class*="dbt-i-"]::before { background-color: var(--wp--preset--color--ocra); }

/* Stats */
.dbt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.dbt-stats > * { margin: 0 !important; }
.dbt-stat { border-top: 3px solid var(--wp--preset--color--ocra); padding-top: 1rem; }
.dbt-stat > * { margin: 0; }
.dbt-stat-num {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(2.4rem, 5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--petrolio);
}
.dbt-stat p:not(.dbt-stat-num) { color: var(--wp--preset--color--ardesia); }

/* Checklists */
.dbt-checklist { list-style: none; padding-left: 0; }
.dbt-checklist li { position: relative; padding-left: 1.75rem; margin: 0.4rem 0; }
.dbt-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.32em;
	width: 1.05rem;
	height: 1.05rem;
	background: var(--dbt-icon-check) center / contain no-repeat;
}

/* ---------- Programma ---------- */
.dbt-programma {
	list-style: none;
	counter-reset: dbt;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 0.9rem 1.5rem;
}
.dbt-programma li {
	counter-increment: dbt;
	position: relative;
	margin: 0;
	padding: 1rem 1.25rem 1rem 4.1rem;
	min-height: 3.6rem;
	display: flex;
	align-items: center;
	background: var(--wp--preset--color--bianco);
	border: 1px solid var(--wp--preset--color--bruma);
	border-radius: 14px;
}
.dbt-programma li::before {
	content: counter(dbt);
	position: absolute;
	left: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--petrolio);
	color: var(--wp--preset--color--bianco);
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 700;
	display: grid;
	place-items: center;
}

/* ---------- Moduli ---------- */
.dbt-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.5rem; }
.dbt-modules > * { margin: 0 !important; }
.dbt-module { display: flex; flex-direction: column; }
.dbt-module .dbt-num {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--ocra);
}
.dbt-module h3 { margin-top: 0.5rem; }
.dbt-module .dbt-checklist { font-size: 0.97rem; }
.dbt-module .dbt-refs { margin-top: auto !important; padding-top: 0.75rem; }
.dbt-refs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.dbt-refs code {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.3em 0.75em;
	border-radius: 999px;
	background: #F2E6CF;
	color: var(--wp--preset--color--ocra-scuro);
}
.dbt-module--dark { background: var(--wp--preset--color--petrolio) !important; border-color: transparent !important; }
.dbt-module--dark h3, .dbt-module--dark p, .dbt-module--dark li { color: var(--wp--preset--color--bianco); }
.dbt-module--dark .dbt-num { color: var(--wp--preset--color--ocra-chiaro); }
.dbt-module--dark .dbt-refs code { background: rgba(255, 255, 255, 0.12); color: var(--wp--preset--color--ocra-chiaro); }
.dbt-module--dark .dbt-checklist li::before { filter: brightness(0) invert(1); }

/* ---------- FAQ ---------- */
.dbt-faq > * { max-width: 56rem; }
.dbt-faq > * + * { margin-block-start: 0.85rem; }
.dbt-faq .wp-block-details {
	background: var(--wp--preset--color--bianco);
	border: 1px solid var(--wp--preset--color--bruma);
	border-radius: 14px;
	padding: 1.1rem 1.4rem;
}
.dbt-faq .wp-block-details summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
	font-weight: 700;
	font-size: 1.08rem;
	color: var(--wp--preset--color--petrolio);
}
.dbt-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.dbt-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: var(--wp--preset--color--nebbia);
	color: var(--wp--preset--color--petrolio);
	display: grid;
	place-items: center;
	font-size: 1.25rem;
	line-height: 1;
}
.dbt-faq .wp-block-details[open] summary::after { content: "–"; background: var(--wp--preset--color--ocra); color: var(--wp--preset--color--inchiostro); }
.dbt-faq .wp-block-details[open] { border-color: var(--wp--preset--color--ocra); }
.dbt-faq .wp-block-details > :not(summary) { margin-top: 0.8rem; }

/* ---------- Normativa ---------- */
.dbt-norme {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--bruma);
}
.dbt-norme li { margin: 0; padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--wp--preset--color--bruma); color: var(--wp--preset--color--ardesia); }
.dbt-norme li strong { display: block; color: var(--wp--preset--color--petrolio); font-size: 1.05rem; }
.dbt-links a { font-weight: 700; text-decoration: none; padding-right: 1.3rem; background: var(--dbt-icon-link) right center / 0.85rem no-repeat; }
.dbt-links a:hover { text-decoration: underline; }

/* ---------- Materiali ---------- */
.dbt-download {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 20px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}
.dbt-download > * { margin: 0 !important; }
.dbt-download-text > * + * { margin-block-start: 0.6rem; }
.dbt-download .wp-block-button__link { padding-left: 3.1rem; background-image: var(--dbt-icon-download); background-repeat: no-repeat; background-position: 1.3rem center; background-size: 1.05rem; }
.dbt-note { font-size: 0.92rem; color: var(--wp--preset--color--bruma); }
@media (max-width: 720px) { .dbt-download { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.dbt-footer {
	background: var(--wp--preset--color--petrolio-scuro);
	color: var(--wp--preset--color--bruma);
	padding-top: 3.5rem;
	padding-bottom: 2.5rem;
	font-size: 0.95rem;
}
.dbt-footer h2, .dbt-footer h3 { color: var(--wp--preset--color--bianco); font-size: 1.15rem; }
.dbt-footer a { color: var(--wp--preset--color--bianco); }
.dbt-footer a:hover { color: var(--wp--preset--color--ocra-chiaro); }
.dbt-footer .dbt-grid { gap: 2rem; }
.dbt-footer-list { list-style: none; padding: 0; }
.dbt-footer-list li { margin: 0.35rem 0; }
.dbt-footer-bottom { margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; color: #A9BBC6; }

/* ---------- Pagine e articoli ---------- */
.dbt-page { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.dbt-page .wp-block-post-title { margin-bottom: 1.5rem; }
.dbt-post-list .wp-block-post { padding: 1.5rem 0; border-bottom: 1px solid var(--wp--preset--color--bruma); }
.dbt-post-list .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--petrolio); }
.dbt-post-list .wp-block-post-date { color: var(--wp--preset--color--ardesia); font-size: 0.9rem; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
	.dbt-card { padding: 1.4rem; }
	.dbt-programma, .dbt-norme { grid-template-columns: 1fr; }
	.dbt-modules { grid-template-columns: 1fr; }
	.dbt-hero .dbt-lead { font-size: 1.1rem; }
}

/* ---------- Link nelle card e nel programma ---------- */
.dbt-programma li a { color: inherit; text-decoration: none; }
.dbt-programma li a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.dbt-programma li:hover { border-color: var(--wp--preset--color--ocra); box-shadow: 0 6px 18px rgba(30, 42, 51, 0.08); }
.dbt-programma li a:focus-visible { outline: none; }
.dbt-programma li:focus-within { outline: 3px solid var(--wp--preset--color--ocra); outline-offset: 2px; }
.dbt-module h3 a { color: inherit; text-decoration: none; }
.dbt-module h3 a:hover { color: var(--wp--preset--color--ocra-scuro); }
.dbt-more { margin-top: auto !important; padding-top: 0.5rem; font-weight: 700; }
.dbt-more a { text-decoration: none; color: var(--wp--preset--color--petrolio); border-bottom: 2px solid var(--wp--preset--color--ocra); }
.dbt-more a::after { content: " →"; }
.dbt-more a:hover { color: var(--wp--preset--color--ocra-scuro); }
.dbt-module .dbt-more + .dbt-refs { margin-top: 0.9rem !important; padding-top: 0; }
.dbt-module--dark .dbt-more a, .dbt-module--dark h3 a { color: var(--wp--preset--color--bianco); }
.dbt-module--dark .dbt-more a { border-bottom-color: var(--wp--preset--color--ocra-chiaro); }

/* ---------- Scheda modulo ---------- */
.dbt-hero--modulo { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.dbt-hero--modulo h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.dbt-hero--modulo .wp-block-post-excerpt__excerpt { margin: 0; }
.dbt-hero--modulo .dbt-hero-inner::after { width: 210px; height: 210px; background-size: 84px; box-shadow: 0 0 0 20px rgba(61, 107, 130, 0.45); }
.dbt-back { margin: 0 0 1.4rem; font-size: 0.95rem; }
.dbt-back a { color: var(--wp--preset--color--bruma); text-decoration: none; }
.dbt-back a:hover { color: var(--wp--preset--color--ocra-chiaro); text-decoration: underline; }
.dbt-modulo-body { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.dbt-modulo-body h2 {
	margin-top: 3.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--wp--preset--color--bruma);
	font-size: clamp(1.45rem, 3vw, 1.85rem);
}
.dbt-modulo-body h3 { margin-top: 2rem; font-size: 1.2rem; }
.dbt-modulo-body .wp-block-list:not([class*="dbt-"]) { padding-left: 1.3rem; }
.dbt-modulo-body .wp-block-list:not([class*="dbt-"]) li { margin: 0.4rem 0; padding-left: 0.2rem; }
.dbt-modulo-body .wp-block-list:not([class*="dbt-"]) li::marker { color: var(--wp--preset--color--ocra); font-weight: 700; }
.dbt-modulo-body .dbt-card { background: var(--wp--preset--color--nebbia); border-color: transparent; box-shadow: none; padding: 1.4rem 1.5rem; }
.dbt-modulo-body .dbt-card h3 { margin-top: 0; font-size: 1.1rem; }
.dbt-modulo-body .dbt-grid { gap: 1rem; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.dbt-modulo-body .dbt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Citazioni */
.dbt-modulo-body .wp-block-quote {
	position: relative;
	margin: 2rem 0;
	padding: 1.6rem 1.75rem 1.5rem 4rem;
	border: 0;
	border-radius: 16px;
	background: var(--wp--preset--color--petrolio);
	color: var(--wp--preset--color--bianco);
}
.dbt-modulo-body .wp-block-quote::before {
	content: "“";
	position: absolute;
	left: 1.25rem;
	top: 0.6rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 4rem;
	line-height: 1;
	color: var(--wp--preset--color--ocra-chiaro);
}
.dbt-modulo-body .wp-block-quote p { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; margin: 0; }
.dbt-modulo-body .wp-block-quote cite { display: block; margin-top: 0.85rem; font-style: normal; font-size: 0.88rem; font-weight: 700; color: var(--wp--preset--color--bruma); }

/* Riquadri */
.dbt-box { border-radius: 16px; padding: 1.4rem 1.6rem; margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; background: var(--wp--preset--color--nebbia); }
.dbt-box > * { margin-block-start: 0; }
.dbt-box > * + * { margin-block-start: 0.5rem; }
.dbt-box-title { margin: 0; color: var(--wp--preset--color--petrolio); }
.dbt-box--alert { background: #F7E9E9; }
.dbt-box--alert .dbt-box-title { color: var(--wp--preset--color--mattone); }
.dbt-box--ok { background: #E5F1EE; }
.dbt-box--ok .dbt-box-title { color: var(--wp--preset--color--verde); }
.dbt-box--accent { background: #F6EEDF; }
.dbt-box--accent .dbt-box-title { color: var(--wp--preset--color--ocra-scuro); }
.dbt-box--sintesi { background: var(--wp--preset--color--nebbia); padding: 1.6rem 1.8rem; margin-top: 0 !important; }
.dbt-box--sintesi .dbt-checklist li { margin: 0.55rem 0; }

/* Indice della pagina */
.dbt-toc { border: 1px solid var(--wp--preset--color--bruma); border-radius: 16px; padding: 1.2rem 1.6rem; margin-top: 1.75rem !important; }
.dbt-toc-title { margin: 0 0 0.5rem; color: var(--wp--preset--color--petrolio); }
.dbt-toc-list { margin: 0; padding-left: 1.4rem; columns: 2 18rem; column-gap: 2.5rem; font-size: 0.97rem; }
.dbt-toc-list li { margin: 0 0 0.35rem; break-inside: avoid; }
.dbt-toc-list li::marker { color: var(--wp--preset--color--ocra-scuro); font-weight: 700; }
.dbt-toc-list a { text-decoration: none; color: var(--wp--preset--color--petrolio-chiaro); }
.dbt-toc-list a:hover { text-decoration: underline; }

/* Norme */
.dbt-refs-list { list-style: none; padding: 0; }
.dbt-refs-list li { padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--wp--preset--color--bruma); position: relative; }
.dbt-refs-list li::before { content: "§"; position: absolute; left: 0.2rem; color: var(--wp--preset--color--ocra-scuro); font-weight: 700; }

/* Navigazione tra moduli */
.dbt-module-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem 1rem; }
.dbt-module-links li { margin: 0; }
.dbt-module-links a {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	gap: 0.9rem;
	height: 100%;
	padding: 0.85rem 1.1rem;
	background: var(--wp--preset--color--bianco);
	border: 1px solid var(--wp--preset--color--bruma);
	border-radius: 14px;
	color: var(--wp--preset--color--petrolio);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
}
.dbt-module-links a:hover { border-color: var(--wp--preset--color--ocra); }
.dbt-module-links strong {
	flex: 0 0 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--petrolio);
	color: var(--wp--preset--color--bianco);
	font-family: var(--wp--preset--font-family--serif);
}
.dbt-module-actions { margin-top: 2rem !important; }
.dbt-module-actions .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--petrolio); border: 2px solid var(--wp--preset--color--petrolio); }
/* Icone (Font Awesome Free, licenza CC BY 4.0 / SIL OFL 1.1) */
.dbt-i-shield{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8l0 378.1C394 378 431.1 230.1 432 141.4L256 66.8s0 0 0 0z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-scale{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320l144.9 0L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-eye{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-book{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M96 0C43 0 0 43 0 96L0 416c0 53 43 96 96 96l288 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-64c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L384 0 96 0zm0 384l256 0 0 64L96 448c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm16 48l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-users{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-usershield{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3l-91.4 0zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7l0-187.8L591.4 312z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-bullhorn{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75l-8.7 0-32 0-96 0c-35.3 0-64 28.7-64 64l0 96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-128 8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-147.6c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4L480 32zm-64 76.7L416 240l0 131.3C357.2 317.8 280.5 288 200.7 288l-8.7 0 0-96 8.7 0c79.8 0 156.5-29.8 215.3-83.3z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-gavel{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M318.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-120 120c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l4-4L325.4 293.4l-4 4c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l120-120c12.5-12.5 12.5-32.8 0-45.3l-16-16c-12.5-12.5-32.8-12.5-45.3 0l-4 4L330.6 74.6l4-4c12.5-12.5 12.5-32.8 0-45.3l-16-16zm-152 288c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l48 48c12.5 12.5 32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-1.4-1.4L272 285.3 226.7 240 168 298.7l-1.4-1.4z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-door{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M320 32c0-9.9-4.5-19.2-12.3-25.2S289.8-1.4 280.2 1l-179.9 45C79 51.3 64 70.5 64 92.5L64 448l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 192 0 32 0 0-32 0-448zM256 256c0 17.7-10.7 32-24 32s-24-14.3-24-32s10.7-32 24-32s24 14.3 24 32zm96-128l96 0 0 352c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-320c0-35.3-28.7-64-64-64l-96 0 0 64z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-rotate{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-sitemap{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M208 80c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-8 0 0 40 152 0c30.9 0 56 25.1 56 56l0 32 8 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-64 0c-26.5 0-48-21.5-48-48l0-64c0-26.5 21.5-48 48-48l8 0 0-32c0-4.4-3.6-8-8-8l-152 0 0 40 8 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-64 0c-26.5 0-48-21.5-48-48l0-64c0-26.5 21.5-48 48-48l8 0 0-40-152 0c-4.4 0-8 3.6-8 8l0 32 8 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-64 0c-26.5 0-48-21.5-48-48l0-64c0-26.5 21.5-48 48-48l8 0 0-32c0-30.9 25.1-56 56-56l152 0 0-40-8 0c-26.5 0-48-21.5-48-48l0-64z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-contract{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM80 64l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 96c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm54.2 253.8c-6.1 20.3-24.8 34.2-46 34.2L80 416c-8.8 0-16-7.2-16-16s7.2-16 16-16l8.2 0c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8 54.1 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L144 349l-9.8 32.8z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-landmark{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M240.1 4.2c9.8-5.6 21.9-5.6 31.8 0l171.8 98.1L448 104l0 .9 47.9 27.4c12.6 7.2 18.8 22 15.1 36s-16.4 23.8-30.9 23.8L32 192c-14.5 0-27.2-9.8-30.9-23.8s2.5-28.8 15.1-36L64 104.9l0-.9 4.4-1.6L240.1 4.2zM64 224l64 0 0 192 40 0 0-192 64 0 0 192 48 0 0-192 64 0 0 192 40 0 0-192 64 0 0 196.3c.6 .3 1.2 .7 1.8 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512L32 512c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1L64 224z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-chart{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-bulb{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M272 384c9.6-31.9 29.5-59.1 49.2-86.2c0 0 0 0 0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4c0 0 0 0 0 0c19.8 27.1 39.7 54.4 49.2 86.2l160 0zM192 512c44.2 0 80-35.8 80-80l0-16-160 0 0 16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-search{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-folder{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M88.7 223.8L0 375.8 0 96C0 60.7 28.7 32 64 32l117.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7L416 96c35.3 0 64 28.7 64 64l0 32-336 0c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224l400 0c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480L32 480c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-calendar{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-download{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 232l0 102.1 31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31L168 232c0-13.3 10.7-24 24-24s24 10.7 24 24z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-info{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-check{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-layers{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-graduation{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9l0 28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5l0-24.6c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-usertie{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M96 128a128 128 0 1 0 256 0A128 128 0 1 0 96 128zm94.5 200.2l18.6 31L175.8 483.1l-36-146.9c-2-8.1-9.8-13.4-17.9-11.3C51.9 342.4 0 405.8 0 481.3c0 17 13.8 30.7 30.7 30.7l131.7 0c0 0 0 0 .1 0l5.5 0 112 0 5.5 0c0 0 0 0 .1 0l131.7 0c17 0 30.7-13.8 30.7-30.7c0-75.5-51.9-138.9-121.9-156.4c-8.1-2-15.9 3.3-17.9 11.3l-36 146.9L238.9 359.2l18.6-31c6.4-10.7-1.3-24.2-13.7-24.2L224 304l-19.7 0c-12.4 0-20.1 13.6-13.7 24.2z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-link{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-envelope{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M215.4 96L144 96l-36.2 0L96 96l0 8.8L96 144l0 40.4 0 89L.2 202.5c1.6-18.1 10.9-34.9 25.7-45.8L48 140.3 48 96c0-26.5 21.5-48 48-48l76.6 0 49.9-36.9C232.2 3.9 243.9 0 256 0s23.8 3.9 33.5 11L339.4 48 416 48c26.5 0 48 21.5 48 48l0 44.3 22.1 16.4c14.8 10.9 24.1 27.7 25.7 45.8L416 273.4l0-89 0-40.4 0-39.2 0-8.8-11.8 0L368 96l-71.4 0-81.3 0zM0 448L0 242.1 217.6 403.3c11.1 8.2 24.6 12.7 38.4 12.7s27.3-4.4 38.4-12.7L512 242.1 512 448s0 0 0 0c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64c0 0 0 0 0 0zM176 160l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-hand{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 272c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L124.8 448c43.1 41.1 100.4 64 160 64l19.2 0c97.2 0 176-78.8 176-176l0-208c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 176c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208z'%3E%3C/path%3E%3C/svg%3E");}
.dbt-i-list{--dbt-icon:url("data:image/svg+xml,%3Csvg stroke='%23ffffff' fill='%23ffffff' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M152.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 113C-2.3 103.6-2.3 88.4 7 79s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM224 96c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32zM48 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'%3E%3C/path%3E%3C/svg%3E");}
:root{--dbt-icon-check:url("data:image/svg+xml,%3Csvg stroke='%232E7D6B' fill='%232E7D6B' stroke-width='0' viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'%3E%3C/path%3E%3C/svg%3E");--dbt-icon-scale-ocra:url("data:image/svg+xml,%3Csvg stroke='%231F3B4D' fill='%231F3B4D' stroke-width='0' viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320l144.9 0L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z'%3E%3C/path%3E%3C/svg%3E");--dbt-icon-download:url("data:image/svg+xml,%3Csvg stroke='%231E2A33' fill='%231E2A33' stroke-width='0' viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 232l0 102.1 31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31L168 232c0-13.3 10.7-24 24-24s24 10.7 24 24z'%3E%3C/path%3E%3C/svg%3E");--dbt-icon-link:url("data:image/svg+xml,%3Csvg stroke='%233D6B82' fill='%233D6B82' stroke-width='0' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z'%3E%3C/path%3E%3C/svg%3E");}

/* =========================================================
   Illustrazioni (v1.2)
   ========================================================= */
.wp-block-image.dbt-hero-illu, .wp-block-image.dbt-section-illu, .wp-block-image.dbt-card-illu,
.wp-block-image.dbt-download-illu, .wp-block-image.dbt-404-illu { margin: 0; }
.dbt-hero-illu img, .dbt-section-illu img, .dbt-card-illu img, .dbt-download-illu img, .dbt-404-illu img {
	display: block;
	width: 100%;
	height: auto;
}

/* Apertura della home: testo + illustrazione */
.dbt-hero-inner--home {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 3.5rem);
}
.dbt-hero-inner--home > * { margin: 0 !important; max-width: none; }
.dbt-hero-inner--home::after { display: none; }
.dbt-hero-text > * { max-width: 44rem; }
.dbt-hero-illu img { max-width: 520px; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(10, 25, 35, 0.25)); }
@media (max-width: 960px) {
	.dbt-hero-inner--home { grid-template-columns: 1fr; }
	.dbt-hero-illu { order: -1; }
	.dbt-hero-illu img { max-width: 340px; margin-inline: 0; }
}
@media (max-width: 600px) { .dbt-hero-illu img { max-width: 260px; } }

/* Intestazioni di sezione con illustrazione */
.dbt-section-head--illu {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	align-items: center;
	gap: 2rem 3rem;
}
.dbt-section-head--illu > * { margin: 0 !important; }
.dbt-section-head-text > * + * { margin-block-start: 0.6rem; }
.dbt-section-illu img { max-width: 300px; margin-left: auto; }
@media (max-width: 782px) {
	.dbt-section-head--illu { grid-template-columns: 1fr; }
	.dbt-section-illu { order: -1; }
	.dbt-section-illu img { max-width: 220px; margin-left: 0; }
}

/* Schede dei moduli */
.dbt-card-illu {
	border-radius: 12px;
	background: var(--wp--preset--color--bianco);
	box-shadow: 0 1px 2px rgba(30, 42, 51, 0.05);
	padding: 0.6rem 0.75rem 0.2rem;
	margin-bottom: 1.1rem !important;
}
.dbt-card-illu img { height: 150px; object-fit: contain; }
.dbt-module .dbt-card-illu + .dbt-num { margin-block-start: 0 !important; }
.dbt-module:hover .dbt-card-illu img { transform: translateY(-3px); }
.dbt-card-illu img { transition: transform 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .dbt-card-illu img { transition: none; } }

/* Materiali */
.dbt-download { grid-template-columns: 200px 1fr auto; }
.dbt-download-illu img { max-width: 200px; }
@media (max-width: 900px) {
	.dbt-download { grid-template-columns: 1fr; }
	.dbt-download-illu img { max-width: 170px; }
}

/* Pagina non trovata */
.dbt-404-illu img { max-width: 300px; }
.dbt-404-illu { margin-bottom: 1.5rem !important; }

/* Profilo delle montagne sopra il piè di pagina */
.dbt-footer { position: relative; }
.dbt-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: clamp(36px, 5.5vw, 76px);
	background: url("assets/illustrazioni/montagne.svg") center bottom / max(1600px, 100%) 100% repeat-x;
	pointer-events: none;
}

/* Scheda modulo: illustrazione nella testata (classe aggiunta al body da functions.php) */
.dbt-modulo--modulo-1-sistema-di-prevenzione .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-01.svg"); }
.dbt-modulo--modulo-2-piao-e-valore-pubblico .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-02.svg"); }
.dbt-modulo--modulo-3-sezione-rischi-corruttivi .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-03.svg"); }
.dbt-modulo--modulo-4-soggetti-rpct-monitoraggio .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-04.svg"); }
.dbt-modulo--modulo-5-misure-generali-etica-codici .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-05.svg"); }
.dbt-modulo--modulo-6-conflitto-di-interessi .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-06.svg"); }
.dbt-modulo--modulo-7-inconferibilita-incompatibilita-pantouflage .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-07.svg"); }
.dbt-modulo--modulo-8-whistleblowing .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-08.svg"); }
.dbt-modulo--modulo-9-rotazione-del-personale .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-09.svg"); }
.dbt-modulo--modulo-10-trasparenza .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-10.svg"); }
.dbt-modulo--appendice-trasparenza-negli-appalti .dbt-hero--modulo .dbt-hero-inner::after { background-image: url("assets/illustrazioni/modulo-A.svg"); }
.dbt-modulo--modulo-1-sistema-di-prevenzione .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-2-piao-e-valore-pubblico .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-3-sezione-rischi-corruttivi .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-4-soggetti-rpct-monitoraggio .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-5-misure-generali-etica-codici .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-6-conflitto-di-interessi .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-7-inconferibilita-incompatibilita-pantouflage .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-8-whistleblowing .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-9-rotazione-del-personale .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--modulo-10-trasparenza .dbt-hero--modulo .dbt-hero-inner::after,
.dbt-modulo--appendice-trasparenza-negli-appalti .dbt-hero--modulo .dbt-hero-inner::after {
	width: 270px;
	height: 270px;
	background-color: var(--wp--preset--color--nebbia);
	background-size: 86%;
	background-position: center 58%;
	box-shadow: 0 0 0 18px rgba(61, 107, 130, 0.45);
}
