/**
 * Rosa del Deserto — classi per gli elementi nativi del BeBuilder
 *
 * Si usano nel campo "Classi" (Avanzate) di sezioni, wrap ed elementi.
 * L'elenco completo con le istruzioni è in LEGGIMI-BEBUILDER.md nel child theme.
 */

/* ==========================================================================
   Sezione base  .rdd-s
   ========================================================================== */

.rdd-s.mcb-section {
	position: relative;
	padding: var(--rdd-section) 0 !important;
	background: var(--rdd-paper);
	color: var(--rdd-text);
	overflow: hidden;
}

/* Il livello "overlay" che BeTheme aggiunge alle sezioni copriva link e pulsanti */
.rdd-s .mcb-background-overlay {
	pointer-events: none;
}

.rdd-s.rdd-s-tight {
	padding-top: 0 !important;
}

/* "Tight" toglie lo spazio solo se la sezione prima ha lo stesso fondo:
   dopo una sezione colorata, scura, hero o CTA lo spazio sopra torna */
.rdd-s:is(.rdd-s-sand, .rdd-s-dark, .rdd-s-hero, .rdd-s-cta) + .rdd-s.rdd-s-tight:not(.rdd-s-sand, .rdd-s-dark) {
	padding-top: var(--rdd-section) !important;
}

.rdd-s .section_wrapper {
	max-width: var(--rdd-max) !important;
	padding: 0 calc(var(--rdd-gutter) - 8px) !important;
	align-items: flex-start;
}

.rdd-s .mcb-wrap {
	padding: 0 8px !important;
	margin-bottom: 16px;
}

.rdd-s .mcb-wrap-inner {
	padding: 0 !important;
	margin: 0 !important;
}

.rdd-s .mcb-column-inner {
	margin: 0 !important;
	padding: 0 !important;
}

.rdd-s .mcb-column + .mcb-column {
	margin-top: 20px;
}

.rdd-s .column_attr p:last-child {
	margin-bottom: 0;
}

.rdd-s .title {
	margin: 0;
	color: inherit;
	font-family: var(--rdd-font);
}

.rdd-s .title a,
.rdd-s .title a:hover {
	color: inherit;
	text-decoration: none;
}

/* Sezione scura */
.rdd-s.rdd-s-dark {
	background: var(--rdd-forest);
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.7);
	--rdd-line: rgba(243, 240, 233, 0.16);
}

/* Sezione sabbia */
.rdd-s.rdd-s-sand {
	background: var(--rdd-sand);
}

/* ==========================================================================
   Tipografia (classi sugli elementi Heading e Column)
   ========================================================================== */

.rdd-t-display .title {
	font-size: clamp(44px, 8.4vw, 136px);
	font-weight: 500;
	line-height: 0.94;
	letter-spacing: -0.045em;
}

.rdd-t-h2 .title {
	font-size: clamp(34px, 5.2vw, 80px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
}

.rdd-t-h3 .title {
	font-size: clamp(22px, 2.2vw, 32px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.rdd-t-statement .title {
	font-size: clamp(28px, 4.2vw, 64px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.rdd-t-lead .column_attr {
	font-size: clamp(17px, 1.3vw, 20px);
	line-height: 1.55;
	color: var(--rdd-muted);
	max-width: 58ch;
}

.rdd-eyebrow-item .column_attr p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rdd-eyebrow-item .column_attr p::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rdd-leaf);
}

.rdd-s .rdd-eyebrow-item + .mcb-column {
	margin-top: 28px;
}

/* Wrap di testata allineato in basso (testo a destra del titolo) */
.rdd-head-aside {
	align-self: flex-end;
}

/* Testo + pulsante nella colonna accanto al titolo */
.rdd-s .rdd-head-aside .rdd-t-lead + .column_button {
	margin-top: 24px;
}

.rdd-head-aside--end .mcb-wrap-inner {
	justify-content: flex-end;
}

.rdd-s .rdd-head,
.rdd-s .rdd-head-aside,
.rdd-s .rdd-head-aside + .mcb-wrap,
.rdd-s .mcb-wrap:has(+ .rdd-head-aside) {
	margin-bottom: clamp(32px, 4.5vw, 64px);
}

/* se il blocco dopo l'intestazione è l'ultimo della sezione, lo spazio sotto lo dà già la sezione */
.rdd-s .rdd-head-aside + .mcb-wrap:last-child {
	margin-bottom: 16px;
}

/* ==========================================================================
   Pulsanti (classi sull'elemento Button)
   rdd-btn-dark (predefinito) · rdd-btn-light · rdd-btn-glass · rdd-btn-inline
   ========================================================================== */

.rdd-s .column_button .button,
.rdd-page-content .column_button .button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	/* stessa altezza con e senza freccia */
	min-height: 56px;
	margin: 0;
	padding: 14px 22px 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--rdd-radius-pill);
	background: var(--rdd-ink);
	color: var(--rdd-paper);
	font-family: var(--rdd-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	overflow: hidden;
	isolation: isolate;
	box-shadow: none;
	transition: color 0.5s var(--rdd-ease);
}

.rdd-s .column_button .button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--rdd-leaf);
	transform: translateY(101%);
	border-radius: inherit;
	transition: transform 0.5s var(--rdd-ease);
}

.rdd-s .column_button .button:hover::before,
.rdd-s .column_button .button:focus-visible::before {
	transform: translateY(0);
}

.rdd-s .column_button .button::after {
	content: "→";
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	transition: transform 0.5s var(--rdd-ease);
}

.rdd-s .column_button .button:hover::after {
	transform: rotate(-45deg);
}

.rdd-s .column_button .button .button_label {
	padding: 0;
}

/* Quando il fondo verde sale, il testo diventa bianco (anche sui pulsanti chiari) */
.rdd-s .column_button .button:hover,
.rdd-s .column_button .button:focus-visible {
	color: var(--rdd-white) !important;
}

.rdd-s .column_button .button:hover::after,
.rdd-s .column_button .button:focus-visible::after {
	background: rgba(255, 255, 255, 0.2) !important;
}

.rdd-btn-light .button {
	background: var(--rdd-paper) !important;
	color: var(--rdd-ink) !important;
}

.rdd-btn-light .button::after {
	background: rgba(13, 21, 16, 0.08) !important;
}

.rdd-btn-glass .button {
	background: var(--rdd-glass-bg) !important;
	border-color: var(--rdd-glass-border) !important;
	color: var(--rdd-white) !important;
	backdrop-filter: blur(var(--rdd-glass-blur));
	-webkit-backdrop-filter: blur(var(--rdd-glass-blur));
	padding-right: 26px !important;
}

.rdd-btn-glass .button::after {
	display: none !important;
}

/* Dentro un riquadro in vetro il pulsante non sfoca di nuovo lo sfondo (Chrome disegnava un rettangolo) */
.rdd-glass .rdd-btn-glass .button {
	background: rgba(255, 255, 255, 0.12) !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Due pulsanti affiancati */
.rdd-s .mcb-column.rdd-btn-inline {
	width: auto !important;
	flex: 0 0 auto;
	margin-right: 10px;
}

.rdd-s .mcb-column.rdd-btn-inline + .rdd-btn-inline {
	margin-top: 20px;
}

/* ==========================================================================
   Vetro su un wrap  .rdd-glass  (+ .rdd-glass--strong)
   ========================================================================== */

.rdd-s .mcb-wrap.rdd-glass {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.rdd-s .mcb-wrap.rdd-glass > .mcb-wrap-inner {
	padding: clamp(26px, 3vw, 40px) !important;
	background: var(--rdd-glass-bg);
	border: var(--rdd-glass-line) solid var(--rdd-glass-border);
	border-radius: var(--rdd-radius-lg);
	backdrop-filter: blur(var(--rdd-glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--rdd-glass-blur)) saturate(140%);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
	color: var(--rdd-white);
	--rdd-muted: rgba(255, 255, 255, 0.84);
}

.rdd-s .mcb-wrap.rdd-glass--strong > .mcb-wrap-inner {
	background: var(--rdd-glass-bg-strong);
}

/* ==========================================================================
   Immagine di sfondo della sezione: wrap .rdd-bg con un elemento Image
   ========================================================================== */

.rdd-s .mcb-wrap.rdd-bg {
	position: absolute !important;
	inset: -10% 0 0 0;
	width: 100% !important;
	margin: 0;
	padding: 0 !important;
	z-index: 0;
	pointer-events: none;
}

.rdd-s .rdd-bg .mcb-wrap-inner,
.rdd-s .rdd-bg .mcb-column,
.rdd-s .rdd-bg .mcb-column-inner,
.rdd-s .rdd-bg .image_frame,
.rdd-s .rdd-bg .image_wrapper {
	height: 100%;
	width: 100%;
	margin: 0 !important;
	border: 0;
}

.rdd-s .rdd-bg img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.rdd-s .rdd-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 21, 16, 0.35) 0%, rgba(13, 21, 16, 0) 35%, rgba(13, 21, 16, 0.7) 100%);
}

.rdd-s:has(.rdd-bg) .section_wrapper {
	position: static;
}

.rdd-s:has(.rdd-bg) .mcb-wrap:not(.rdd-bg) {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Hero  .rdd-s-hero
   ========================================================================== */

.rdd-s.rdd-s-hero {
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	padding: 140px 0 24px !important;
	background: var(--rdd-ink);
	color: var(--rdd-white);
}

.rdd-s-hero .section_wrapper {
	width: 100%;
	align-items: flex-end;
}

.rdd-hero-meta .column_attr p {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 12px;
	font-size: 14px;
	opacity: 0.85;
}

.rdd-s-hero .rdd-glass .column_attr {
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.rdd-hero-meta .column_attr p span:nth-child(2) {
		display: none;
	}
}

/* ==========================================================================
   Numeri  wrap .rdd-stat-wrap (Heading .rdd-stat-num + Column .rdd-stat-label)
   ========================================================================== */

.rdd-s .mcb-wrap.rdd-stat-wrap {
	margin-top: clamp(40px, 5vw, 72px);
	margin-bottom: 0;
}

.rdd-stat-wrap > .mcb-wrap-inner {
	padding: 36px 24px 0 0 !important;
	border-top: 1px solid var(--rdd-line);
	border-right: 1px solid var(--rdd-line);
	min-height: 100%;
}

.rdd-stat-wrap:has(+ .mcb-wrap:not(.rdd-stat-wrap)) > .mcb-wrap-inner {
	border-right: 0;
}

.rdd-stat-num .title {
	font-size: clamp(40px, 5vw, 76px);
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 1;
	white-space: nowrap;
}

.rdd-s .rdd-stat-label {
	margin-top: 12px !important;
}

.rdd-stat-label .column_attr {
	font-size: 15px;
	color: var(--rdd-muted);
}

/* Immagine larga che si espande  Image .rdd-img-expand */
.rdd-s .mcb-column.rdd-img-expand {
	margin-top: clamp(48px, 6vw, 96px);
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

/* BeTheme mette .image_frame in inline-block: si stringe sulla foto e lascia gli angoli
   destri fuori dall'arrotondamento. Sulle immagini del design system riempie la colonna. */
.rdd-s :is(.rdd-img-expand, .rdd-prod-img, .rdd-work-img, .rdd-card-img, .rdd-bg-img, .rdd-panel-img, .rdd-steps-img, .rdd-tab-img) .image_frame {
	display: block;
	width: 100%;
}

.rdd-img-expand .image_frame,
.rdd-img-expand .image_wrapper {
	margin: 0;
	border: 0;
	height: clamp(360px, 80vh, 860px);
}

.rdd-img-expand img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Lo zoom lo guida GSAP: via la transition di BeTheme (.3s) che lo rincorreva a scatti */
.rdd-s [data-rdd-expand] img,
.rdd-s [data-rdd-expand] .image_wrapper {
	transition: none !important;
}

.rdd-s [data-rdd-expand] img {
	will-change: transform;
	backface-visibility: hidden;
}

/* ==========================================================================
   Card con vetro sopra l'immagine  wrap .rdd-card-glass
   Image .rdd-card-img · Column .rdd-card-num · Heading · Column .rdd-card-text
   ========================================================================== */

.rdd-card-glass > .mcb-wrap-inner {
	position: relative;
	display: grid !important;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr auto auto auto;
	aspect-ratio: 3 / 4.2;
	padding: 14px !important;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
	background: var(--rdd-moss);
	color: var(--rdd-white);
}

.rdd-card-glass > .mcb-wrap-inner::before {
	content: "";
	grid-row: 2 / 5;
	grid-column: 1;
	z-index: 1;
	border-radius: var(--rdd-radius);
	background: var(--rdd-glass-bg);
	border: var(--rdd-glass-line) solid var(--rdd-glass-border);
	backdrop-filter: blur(var(--rdd-glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--rdd-glass-blur)) saturate(140%);
}

.rdd-card-glass .mcb-column {
	position: relative;
	z-index: 2;
	grid-column: 1;
	margin: 0 !important;
	padding: 0 20px;
}

.rdd-card-glass .rdd-card-num { grid-row: 2; padding-top: 20px; }
.rdd-card-glass .column_heading { grid-row: 3; padding-top: 6px; padding-bottom: 8px; }
.rdd-card-glass .rdd-card-text { grid-row: 4; padding-bottom: 20px; }

/* Nel grid l'immagine assoluta parte dal padding: -14px la porta ai bordi della card */
.rdd-s .rdd-card-glass .rdd-card-img {
	position: absolute !important;
	inset: -14px;
	width: auto !important;
	z-index: 0;
	padding: 0;
}

.rdd-card-glass .rdd-card-img .image_frame,
.rdd-card-glass .rdd-card-img .image_wrapper,
.rdd-card-glass .rdd-card-img .mcb-column-inner {
	height: 100%;
	margin: 0;
	border: 0;
}

.rdd-card-glass .rdd-card-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--rdd-ease);
}

/* Velatura scura in basso: il testo resta leggibile anche su foto chiare (ghiaia, cielo) */
.rdd-card-glass .rdd-card-img .mcb-column-inner {
	position: relative;
}

.rdd-card-glass .rdd-card-img .mcb-column-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 21, 16, 0) 30%, rgba(13, 21, 16, 0.6) 100%);
	pointer-events: none;
}

.rdd-card-glass:hover .rdd-card-img img {
	transform: scale(1.06);
}

.rdd-card-num .column_attr {
	font-size: 12px;
	letter-spacing: 0.08em;
	opacity: 0.75;
}

.rdd-card-text .column_attr {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.84);
}

/* Card orizzontale per testi più lunghi (wrap 1/2)  .rdd-card-glass--wide */
.rdd-card-glass--wide > .mcb-wrap-inner {
	aspect-ratio: 16 / 10.5;
}

.rdd-card-glass--wide .rdd-card-text .column_attr {
	font-size: 15px;
	max-width: 52ch;
}

@media (max-width: 767px) {
	.rdd-card-glass.rdd-card-glass--wide > .mcb-wrap-inner {
		aspect-ratio: auto;
		min-height: 560px;
	}
}

/* Card bassa, in 3:2, per i rimandi secondari  .rdd-card-glass--short */
.rdd-card-glass--short > .mcb-wrap-inner {
	aspect-ratio: 3 / 2;
}

@media (max-width: 767px) {
	.rdd-card-glass.rdd-card-glass--short > .mcb-wrap-inner {
		aspect-ratio: 4 / 3;
	}
}

/* Card con foto chiara: velatura più forte sotto al testo  .rdd-card-glass--veil */
.rdd-card-glass--veil .rdd-card-img .mcb-column-inner::after {
	background: linear-gradient(180deg, rgba(13, 21, 16, 0.1) 10%, rgba(13, 21, 16, 0.84) 100%);
}

/* Fascia sabbia  wrap .rdd-band-sand */
.rdd-band-sand > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 24px;
	padding: 28px 32px !important;
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-sand);
}

.rdd-band-sand .mcb-column { grid-column: 1; margin: 0 !important; }
.rdd-band-sand .column_column { margin-top: 4px !important; color: var(--rdd-muted); }
.rdd-band-sand .column_button { grid-column: 2; grid-row: 1 / 3; }

/* ==========================================================================
   Scorrimento orizzontale  sezione .rdd-s-hscroll (+ .rdd-a-hscroll)
   wrap .rdd-hs-intro · wrap .rdd-hs-card (+ .rdd-hs-card--rose)
   ========================================================================== */

@media (min-width: 1024px) {
	.rdd-s-hscroll .section_wrapper {
		flex-wrap: nowrap !important;
		width: max-content !important;
		max-width: none !important;
		align-items: stretch;
		margin: 0;
	}

	.rdd-s-hscroll .mcb-wrap {
		flex: 0 0 auto;
		width: min(460px, 82vw) !important;
		margin-bottom: 0;
	}

	.rdd-s-hscroll .mcb-wrap.rdd-hs-intro {
		width: min(600px, 80vw) !important;
		padding-right: 56px !important;
	}

	/* Durante lo scorrimento la sezione resta ferma: le card devono stare tutte nello schermo,
	   altrimenti i link in basso restano fuori vista e non si possono cliccare */
	.rdd-s.rdd-s-hscroll {
		--rdd-hs-pad-top: clamp(104px, 13vh, 140px); /* spazio per l'header fisso */
		--rdd-hs-pad: clamp(32px, 6vh, 80px);
		padding: var(--rdd-hs-pad-top) 0 var(--rdd-hs-pad) !important;
	}

	.rdd-s-hscroll .rdd-hs-card > .mcb-wrap-inner {
		min-height: 0;
		height: min(720px, calc(100svh - var(--rdd-hs-pad-top) - var(--rdd-hs-pad)));
	}

	.rdd-s-hscroll .rdd-hs-card .rdd-card-img {
		flex: 1 1 260px;
		min-height: 110px;
	}
}

.rdd-hs-intro .column_button {
	margin-top: 40px !important;
}

.rdd-hs-card > .mcb-wrap-inner {
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
	min-height: 600px;
	height: 100%;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
	background: var(--rdd-moss);
	color: var(--rdd-paper);
}

.rdd-hs-card .mcb-column {
	margin: 0 !important;
	padding: 0 28px;
}

.rdd-hs-card .rdd-card-img {
	position: relative !important;
	padding: 0;
	flex: 0 0 260px;
}

.rdd-hs-card .rdd-card-img .mcb-column-inner,
.rdd-hs-card .rdd-card-img .image_frame,
.rdd-hs-card .rdd-card-img .image_wrapper {
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.rdd-hs-card .rdd-card-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.rdd-hs-card .rdd-card-num { padding-top: 28px; margin-bottom: 10px !important; }
.rdd-hs-card .rdd-card-text { margin: 12px 0 20px !important; }

.rdd-hs-card .rdd-card-text .column_attr {
	font-size: 15px;
	color: rgba(243, 240, 233, 0.75);
}

.rdd-hs-card .rdd-link-list {
	margin-top: auto !important;
	padding-bottom: 28px;
}

.rdd-link-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(243, 240, 233, 0.16);
}

.rdd-link-list li {
	list-style: none;
	margin: 0;
}

.rdd-link-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	font-size: 15px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 240, 233, 0.2);
	transition: padding 0.4s var(--rdd-ease), color 0.3s, border-color 0.3s;
}

.rdd-link-list a span {
	transition: transform 0.4s var(--rdd-ease);
}

.rdd-link-list a:hover,
.rdd-link-list a:focus-visible {
	padding-left: 10px;
	color: var(--rdd-white) !important;
	border-bottom-color: var(--rdd-white);
}

.rdd-link-list a:hover span,
.rdd-link-list a:focus-visible span {
	transform: translateX(-6px);
}

.rdd-hs-card--rose > .mcb-wrap-inner {
	background: var(--rdd-rose);
	color: var(--rdd-ink);
}

.rdd-hs-card--rose .rdd-card-text .column_attr {
	color: rgba(13, 21, 16, 0.75);
}

.rdd-hs-card--rose .rdd-link-list ul,
.rdd-hs-card--rose .rdd-link-list a {
	border-color: rgba(13, 21, 16, 0.18);
}

.rdd-hs-card--rose .rdd-link-list a {
	color: var(--rdd-ink) !important;
}

.rdd-hs-card--rose .rdd-link-list a:hover,
.rdd-hs-card--rose .rdd-link-list a:focus-visible {
	border-bottom-color: var(--rdd-white);
}

.rdd-hs-card--rose .rdd-link-list a:hover {
	color: var(--rdd-white) !important;
}

.rdd-hs-phone {
	margin-top: auto !important;
}

.rdd-hs-phone .title {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.rdd-hs-phone + .rdd-link-list {
	margin-top: 24px !important;
}

@media (max-width: 1023px) {
	.rdd-hs-card > .mcb-wrap-inner {
		min-height: 0;
	}

	.rdd-hs-card .rdd-card-img {
		flex-basis: 220px;
	}
}

/* ==========================================================================
   Righe elenco  wrap .rdd-row-wrap
   Column .rdd-row-num · Heading · Column .rdd-row-text
   ========================================================================== */

.rdd-s .mcb-wrap.rdd-row-wrap {
	margin-bottom: 0;
}

.rdd-row-wrap > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 24px;
	align-items: baseline;
	padding: 30px 0 !important;
	border-bottom: 1px solid var(--rdd-line);
	transition: padding 0.5s var(--rdd-ease);
}

.rdd-head + .rdd-row-wrap > .mcb-wrap-inner {
	border-top: 1px solid var(--rdd-line);
}

.rdd-row-wrap:hover > .mcb-wrap-inner {
	padding-left: 16px !important;
}

.rdd-row-wrap .mcb-column {
	margin: 0 !important;
}

.rdd-row-num .column_attr {
	font-size: 13px;
	color: var(--rdd-muted);
}

.rdd-row-text .column_attr {
	color: var(--rdd-muted);
}

@media (max-width: 767px) {
	.rdd-row-wrap > .mcb-wrap-inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

/* Foto in fila sotto le righe di un elenco (es. fasi di progetto)  wrap .rdd-steps-photo */
.rdd-s .mcb-wrap.rdd-steps-photo {
	margin-top: clamp(40px, 5vw, 72px);
	margin-bottom: 0;
}

/* ==========================================================================
   Realizzazioni  Image .rdd-work-img + Column .rdd-work-meta
   ========================================================================== */

.rdd-work-img .image_frame,
.rdd-work-img .image_wrapper {
	margin: 0;
	border: 0;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.rdd-work-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--rdd-ease);
}

.rdd-work-img:hover img {
	transform: scale(1.04);
}

.rdd-s .rdd-work-meta {
	margin-top: 16px !important;
}

.rdd-work-meta .column_attr p {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 0 4px;
	font-size: 15px;
}

.rdd-work-meta .column_attr span:last-child {
	color: var(--rdd-muted);
}

/* News: la griglia arriva dallo shortcode [rdd_ultimi_articoli] */
.rdd-s .rdd-news + .mcb-column,
.rdd-s .column_column:has(.rdd-news) + .column_button {
	margin-top: 48px;
}

/* ==========================================================================
   CTA finale  .rdd-s-cta
   ========================================================================== */

.rdd-s.rdd-s-cta {
	min-height: 88vh;
	display: flex;
	align-items: center;
	background: var(--rdd-ink);
	color: var(--rdd-white);
}

.rdd-s-cta .section_wrapper {
	width: 100%;
}

.rdd-s-cta .rdd-t-lead .column_attr {
	color: rgba(255, 255, 255, 0.84);
}

.rdd-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
	padding-top: 24px;
	border-top: var(--rdd-glass-line) solid var(--rdd-glass-border);
	font-size: 14px;
	line-height: 1.5;
}

.rdd-info strong {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.7;
	margin-bottom: 6px;
}

.rdd-info a {
	color: inherit !important;
}

@media (max-width: 700px) {
	.rdd-info {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Mobile: i wrap occupano tutta la larghezza
   ========================================================================== */

@media (max-width: 767px) {
	.rdd-s .mcb-wrap:not(.rdd-bg):not(.rdd-btn-inline) {
		width: 100% !important;
	}

	.rdd-s .mcb-wrap.rdd-stat-wrap.rdd-stat-wrap:not(.rdd-bg) {
		width: 50% !important;
		margin-top: 40px;
	}

	.rdd-stat-wrap > .mcb-wrap-inner {
		border-right: 0;
	}

	.rdd-band-sand > .mcb-wrap-inner {
		grid-template-columns: 1fr;
	}

	.rdd-band-sand .column_button {
		grid-column: 1;
		grid-row: auto;
		margin-top: 20px !important;
	}

	.rdd-card-glass > .mcb-wrap-inner {
		aspect-ratio: 4 / 4.6;
	}
}

/* ==========================================================================
   Ritocchi
   ========================================================================== */

/* Telefono e link del Pronto Intervento in fondo alla card */
.rdd-hs-card .mcb-column.rdd-hs-phone {
	margin-top: auto !important;
}

.rdd-hs-card .mcb-column.rdd-hs-phone + .rdd-link-list {
	margin-top: 24px !important;
}

/* Pulsante dopo la griglia degli articoli */
.rdd-s .mcb-column:has(.rdd-news) + .column_button {
	margin-top: 48px !important;
}

/* Pulsante allineato a destra nel wrap di testata */
.rdd-head-aside--end .column_button .mcb-column-inner {
	text-align: right;
}

@media (max-width: 767px) {
	.rdd-head-aside--end .column_button .mcb-column-inner {
		text-align: left;
	}
}

/* ==========================================================================
   Card a riquadro  wrap .rdd-card-dark · wrap .rdd-card-light
   ========================================================================== */

.rdd-card-dark > .mcb-wrap-inner,
.rdd-card-light > .mcb-wrap-inner {
	padding: clamp(28px, 3.4vw, 48px) !important;
	border-radius: var(--rdd-radius-lg);
	min-height: 100%;
}

.rdd-card-dark > .mcb-wrap-inner {
	background: var(--rdd-forest);
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.7);
}

.rdd-card-light > .mcb-wrap-inner {
	background: var(--rdd-white);
}

.rdd-s .mcb-wrap.rdd-card-dark,
.rdd-s .mcb-wrap.rdd-card-light {
	align-self: stretch;
}

/* Riferimenti (Column .rdd-ref con <p class="rdd-ref-label">) */
.rdd-s .rdd-ref {
	padding-top: 18px;
	border-top: 1px solid rgba(243, 240, 233, 0.16);
}

.rdd-ref .column_attr p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

.rdd-ref .column_attr a {
	color: inherit !important;
}

.rdd-ref .column_attr .rdd-ref-label {
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rdd-sage);
}

.rdd-form-intro .column_attr {
	color: var(--rdd-muted);
	font-size: 15px;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */

.rdd-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 16px;
}

.rdd-form-grid .rdd-field {
	margin: 0;
}

.rdd-form-grid .rdd-field--full {
	grid-column: 1 / -1;
}

.rdd-form-grid label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--rdd-ink);
}

.rdd-form-grid input[type="text"],
.rdd-form-grid input[type="email"],
.rdd-form-grid input[type="tel"],
.rdd-form-grid select,
.rdd-form-grid textarea {
	width: 100% !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1px solid var(--rdd-line) !important;
	border-radius: 14px !important;
	background: var(--rdd-paper) !important;
	color: var(--rdd-ink) !important;
	font-family: var(--rdd-font) !important;
	font-size: 16px !important;
	box-shadow: none !important;
	transition: border-color 0.3s, background 0.3s;
}

.rdd-form-grid textarea {
	min-height: 150px;
	resize: vertical;
}

.rdd-form-grid input:focus,
.rdd-form-grid select:focus,
.rdd-form-grid textarea:focus {
	outline: none;
	border-color: var(--rdd-leaf) !important;
	background: var(--rdd-white) !important;
}

.rdd-field--check {
	font-size: 14px;
	line-height: 1.5;
	color: var(--rdd-muted);
}

.rdd-field--check .wpcf7-list-item {
	margin: 0;
}

.rdd-field--check label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	color: var(--rdd-muted);
}

.rdd-field--check input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--rdd-moss);
}

.rdd-form-grid input[type="submit"] {
	display: inline-flex;
	padding: 16px 28px !important;
	border: 0 !important;
	border-radius: var(--rdd-radius-pill) !important;
	background: var(--rdd-ink) !important;
	color: var(--rdd-paper) !important;
	font-family: var(--rdd-font) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	cursor: pointer;
	transition: background 0.4s var(--rdd-ease);
}

.rdd-form-grid input[type="submit"]:hover {
	background: var(--rdd-moss) !important;
}

.rdd-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: #a2402a;
}

.rdd-form .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 14px 18px !important;
	border-radius: 14px;
	font-size: 14px;
}

.rdd-form .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* Campo trappola dell'antispam (inc/antispam.php): fuori schermo, non display:none */
.rdd-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Freccia dei menu a tendina (anche al focus, dove lo sfondo cambia colore) */
.rdd-form-grid select,
.rdd-form-grid select:focus {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 48px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230d1510' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	background-size: 16px 16px !important;
	cursor: pointer;
}

/* Campi per tipo di utente  .rdd-form-tipi (vedi assets/js/rdd-form.js) */
.rdd-form-tipi.is-switching {
	overflow: hidden;
}

.rdd-form-grid .rdd-field[hidden] {
	display: none;
}

.rdd-form-grid input.rdd-upper {
	text-transform: uppercase;
}

.rdd-form-grid .rdd-label-ente,
.rdd-form-grid[data-rdd-tipo="ente"] .rdd-label-persona {
	display: none;
}

.rdd-form-grid[data-rdd-tipo="ente"] .rdd-label-ente {
	display: inline;
}

@media (max-width: 640px) {
	.rdd-form-grid {
		grid-template-columns: 1fr;
	}
}

/* Hero più basso per le pagine interne  .rdd-s-hero--short */
.rdd-s.rdd-s-hero.rdd-s-hero--short {
	min-height: 86svh;
	padding: 150px 0 clamp(32px, 5vw, 64px) !important;
}

.rdd-s-hero--short .rdd-glass .rdd-t-lead .column_attr {
	max-width: 62ch;
}

.rdd-s-hero--short .rdd-glass .rdd-eyebrow-item .column_attr p::before {
	background: var(--rdd-sage);
}

/* ==========================================================================
   Hero "cuore"  sezione .rdd-s-heart (+ .rdd-a-heart)
   wrap .rdd-heart-stage: Heading .rdd-heart-num ("25") + Image .rdd-heart-img (PNG/WebP scontornato)
   wrap .rdd-heart-copy: eyebrow + Heading H1 .rdd-heart-title + Column .rdd-heart-meta
   ========================================================================== */

.rdd-s.rdd-s-heart {
	--rdd-heart-x: 66%;
	--rdd-heart-y: 50%;
	--rdd-heart-size: min(76vh, 46vw);
	min-height: 100svh;
	padding: 0 !important;
	background:
		radial-gradient(ellipse 60% 70% at var(--rdd-heart-x) 48%, #22402c 0%, rgba(20, 35, 26, 0) 70%),
		var(--rdd-forest);
	color: var(--rdd-paper);
	isolation: isolate;
}

.rdd-s-heart .section_wrapper {
	position: static;
}

/* Palco: occupa tutta la sezione, dietro ai testi */
.rdd-s-heart .mcb-wrap.rdd-heart-stage {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 0;
	pointer-events: none;
}

.rdd-s-heart .rdd-heart-stage > .mcb-wrap-inner {
	position: relative;
	height: 100%;
}

/* Il "25" gigante dietro al cuore */
.rdd-s-heart .rdd-heart-num {
	position: absolute !important;
	left: var(--rdd-heart-x);
	top: var(--rdd-heart-y);
	width: auto !important;
	translate: -50% -50%;
}

.rdd-s-heart .rdd-heart-num .title {
	margin: 0;
	font-size: min(70vh, 48vw);
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: -0.08em;
	white-space: nowrap;
	color: var(--rdd-moss);
	user-select: none;
}

/* Il cuore */
.rdd-s-heart .rdd-heart-img {
	position: absolute !important;
	left: var(--rdd-heart-x);
	top: calc(var(--rdd-heart-y) + 2%);
	width: var(--rdd-heart-size) !important;
	translate: -50% -50%;
	z-index: 1;
}

.rdd-s-heart .rdd-heart-img .mcb-column-inner {
	position: relative;
	margin: 0 !important;
	perspective: 900px;
}

.rdd-s-heart .rdd-heart-img .image_frame,
.rdd-s-heart .rdd-heart-img .image_wrapper {
	margin: 0;
	border: 0;
	background: none;
	overflow: visible;
	transform-style: preserve-3d;
}

.rdd-s-heart .rdd-heart-img img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.45));
	will-change: transform;
}

/* Comparsa radiale con il bordo sfumato: il raggio --rdd-reveal è animato dallo script */
.rdd-s-heart.is-heart-revealing .rdd-heart-img img {
	--rdd-reveal: 0%;
	-webkit-mask-image: radial-gradient(circle closest-side at 50% 54%, #000 calc(var(--rdd-reveal) - 35%), transparent var(--rdd-reveal));
	mask-image: radial-gradient(circle closest-side at 50% 54%, #000 calc(var(--rdd-reveal) - 35%), transparent var(--rdd-reveal));
}

/* Durante l'intro l'ombra è spenta (vedi initHeart), poi si accende con una dissolvenza */
.rdd-s-heart.is-heart-ready .rdd-heart-img img {
	filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0));
	transition: filter 0.9s ease;
}

.rdd-s-heart.is-heart-ready.is-heart-lit .rdd-heart-img img {
	filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.45));
}

/* Alone e onde del battito (creati dallo script) */
.rdd-heart-glow,
.rdd-heart-ring {
	will-change: transform, opacity;
	position: absolute;
	left: 50%;
	top: 52%;
	border-radius: 50%;
	pointer-events: none;
	translate: -50% -50%;
}

.rdd-heart-glow {
	width: 90%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(201, 144, 121, 0.38) 0%, rgba(127, 163, 108, 0.18) 38%, rgba(127, 163, 108, 0) 68%);
	z-index: -1;
}

.rdd-heart-ring {
	width: 70%;
	aspect-ratio: 1;
	border: 1.5px solid rgba(232, 214, 198, 0.55);
	opacity: 0;
	z-index: -1;
}

/* Testi, in basso a sinistra, sopra al palco */
.rdd-s-heart .mcb-wrap.rdd-heart-copy {
	position: relative;
	z-index: 2;
	width: 100% !important;
}

.rdd-s-heart .rdd-heart-copy > .mcb-wrap-inner {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100svh;
	padding: 150px 0 28px !important;
}

.rdd-s-heart .rdd-heart-title {
	max-width: min(46vw, 780px);
}

.rdd-s-heart .rdd-heart-title .title {
	margin: 0;
	font-size: clamp(38px, 5.4vw, 90px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-shadow: 0 2px 30px rgba(13, 21, 16, 0.45);
}

.rdd-s-heart .rdd-heart-meta {
	margin-top: clamp(36px, 6vh, 72px) !important;
}

.rdd-s-heart .rdd-heart-meta .column_attr p {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid rgba(243, 240, 233, 0.16);
	font-size: 14px;
	opacity: 0.8;
}

/* Prima dell'intro cuore e testi restano nascosti; se lo script non parte, compaiono da soli */
.rdd-js .rdd-s-heart:not(.is-heart-ready):not(.is-heart-static) :is(.rdd-heart-num, .rdd-heart-img, .rdd-heart-copy) {
	opacity: 0;
	animation: rdd-heart-failsafe 0.6s ease 3s forwards;
}

@keyframes rdd-heart-failsafe {
	to { opacity: 1; }
}

@media (max-width: 1023px) {
	.rdd-s.rdd-s-heart {
		--rdd-heart-x: 50%;
		--rdd-heart-y: 34%;
		--rdd-heart-size: min(84vw, 46svh);
	}

	.rdd-s-heart .rdd-heart-num .title {
		font-size: min(66vw, 40svh);
	}

	.rdd-s-heart .rdd-heart-title {
		max-width: none;
	}

	.rdd-s-heart .rdd-heart-title .title {
		font-size: clamp(34px, 7.4vw, 56px);
	}
}

@media (max-width: 760px) {
	.rdd-s-heart .rdd-heart-meta .column_attr p span:nth-child(2) {
		display: none;
	}
}

/* ==========================================================================
   Riga prodotto  wrap .rdd-prod (+ .rdd-prod--flip: foto a destra)
   Image .rdd-prod-img · Column .rdd-row-num · Heading · Column .rdd-t-lead · Button
   ========================================================================== */

.rdd-s .mcb-wrap.rdd-prod {
	margin-bottom: 0;
}

.rdd-prod > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-template-rows: 1fr repeat(4, auto) 1fr;
	column-gap: clamp(32px, 6vw, 96px);
	padding: clamp(28px, 4vw, 48px) 0 !important;
	border-top: 1px solid var(--rdd-line);
}

.rdd-prod .mcb-column {
	grid-column: 2;
	margin: 0 !important;
}

.rdd-prod .rdd-row-num { grid-row: 2; }
.rdd-prod .column_heading { grid-row: 3; margin-top: 14px !important; }
.rdd-prod .rdd-t-lead { grid-row: 4; margin-top: 20px !important; }
.rdd-prod .column_button { grid-row: 5; margin-top: 32px !important; }

.rdd-prod .title {
	font-size: clamp(30px, 3.4vw, 52px);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.rdd-s .rdd-prod .rdd-prod-img {
	grid-column: 1;
	grid-row: 1 / -1;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

.rdd-prod-img .image_frame,
.rdd-prod-img .image_wrapper {
	margin: 0;
	border: 0;
	aspect-ratio: 4 / 3;
}

.rdd-prod-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--rdd-ease) !important;
}

.rdd-prod:hover .rdd-prod-img img {
	transform: scale(1.04);
}

.rdd-prod.rdd-prod--flip > .mcb-wrap-inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.rdd-prod--flip .mcb-column { grid-column: 1; }
.rdd-s .rdd-prod--flip .rdd-prod-img { grid-column: 2; }

@media (max-width: 767px) {
	.rdd-prod > .mcb-wrap-inner,
	.rdd-prod.rdd-prod--flip > .mcb-wrap-inner {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.rdd-prod .mcb-column,
	.rdd-s .rdd-prod .rdd-prod-img {
		grid-column: 1;
		grid-row: auto !important;
	}

	.rdd-s .rdd-prod .rdd-prod-img {
		margin-bottom: 24px !important;
	}
}

/* ==========================================================================
   Titolo bicolore: nel titolo, il testo tra <span>…</span> diventa grigio
   (Heading .rdd-t-h2 / .rdd-t-display / .rdd-t-statement)
   ========================================================================== */

.rdd-s :is(.rdd-t-h2, .rdd-t-display, .rdd-t-statement) .title span {
	color: var(--rdd-muted);
}

.rdd-s .rdd-glass :is(.rdd-t-h2, .rdd-t-display) .title span {
	color: rgba(255, 255, 255, 0.62);
}

/* Testata centrata  wrap .rdd-center (eyebrow + titolo + testo) */
.rdd-s .mcb-wrap.rdd-center {
	margin-bottom: clamp(40px, 6vw, 72px);
}

/* Da sola nella sezione non serve spazio sotto */
.rdd-s .mcb-wrap.rdd-center:last-child {
	margin-bottom: 0;
}

.rdd-center .mcb-column {
	text-align: center;
}

.rdd-center .title {
	max-width: 18ch;
	margin-inline: auto !important;
}

/* Testo sotto al titolo: più largo e staccato, non un blocchetto compatto */
.rdd-s .rdd-center .rdd-t-lead {
	margin-top: clamp(20px, 2.2vw, 32px) !important;
}

.rdd-center .rdd-t-lead .column_attr {
	max-width: 72ch;
	margin-inline: auto;
}

/* ==========================================================================
   Pannello: testo a sinistra, foto a destra in un riquadro arrotondato
   wrap .rdd-panel (+ .rdd-panel--dark | .rdd-panel--sand)
   Heading · Column (testo) · Image .rdd-panel-img
   ========================================================================== */

.rdd-panel > .mcb-wrap-inner {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-height: clamp(420px, 38vw, 560px);
	padding: clamp(28px, 3.4vw, 48px) calc(46% + 16px) clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px) !important;
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-white);
}

.rdd-panel--dark > .mcb-wrap-inner {
	background: var(--rdd-forest);
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.7);
}

.rdd-panel--sand > .mcb-wrap-inner {
	background: var(--rdd-sand);
}

.rdd-panel .mcb-column {
	margin: 0 !important;
}

.rdd-panel .column_heading .title {
	max-width: 16ch;
	font-size: clamp(28px, 3vw, 46px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.rdd-panel .column_column .column_attr {
	max-width: 46ch;
	color: var(--rdd-muted);
}

.rdd-s .rdd-panel .rdd-panel-img {
	position: absolute !important;
	top: 16px;
	right: 16px;
	bottom: 16px;
	width: 46% !important;
	border-radius: var(--rdd-radius);
	overflow: hidden;
}

.rdd-panel-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	height: 100%;
	margin: 0;
	border: 0;
}

.rdd-panel-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

@media (max-width: 767px) {
	.rdd-panel > .mcb-wrap-inner {
		min-height: 0;
		padding: 16px 16px 28px !important;
	}

	.rdd-s .rdd-panel .rdd-panel-img {
		position: relative !important;
		inset: auto;
		order: -1;
		width: 100% !important;
		aspect-ratio: 4 / 3;
	}

	.rdd-panel .column_heading,
	.rdd-panel .column_column {
		padding: 0 12px;
	}
}

/* ==========================================================================
   Fasi: titolo e foto a sinistra, passaggi numerati a destra
   wrap .rdd-steps · Heading · Image .rdd-steps-img · Column .rdd-step (<h3> + <p>)
   ========================================================================== */

.rdd-steps > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	column-gap: clamp(32px, 5vw, 80px);
	padding: clamp(24px, 3vw, 40px) !important;
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-sand);
	counter-reset: rdd-step;
}

.rdd-steps .mcb-column {
	margin: 0 !important;
}

.rdd-steps .column_heading {
	grid-column: 1;
	grid-row: 1;
}

.rdd-steps .column_heading .title {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.rdd-s .rdd-steps .rdd-steps-img {
	grid-column: 1;
	grid-row: 2 / span 9;
	align-self: end;
	margin-top: 32px !important;
	border-radius: var(--rdd-radius);
	overflow: hidden;
}

.rdd-steps-img :is(.image_frame, .image_wrapper) {
	margin: 0;
	border: 0;
	aspect-ratio: 4 / 3;
}

.rdd-steps-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.rdd-steps .rdd-step {
	grid-column: 2;
	position: relative;
	padding: 24px 0 24px 64px;
	border-bottom: 1px solid var(--rdd-line);
	counter-increment: rdd-step;
}

.rdd-steps .rdd-step:last-child {
	border-bottom: 0;
}

.rdd-steps .rdd-step::before {
	content: counter(rdd-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 22px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rdd-ink);
	color: var(--rdd-paper);
	font-size: 13px;
	font-weight: 500;
}

.rdd-step .column_attr h3 {
	margin: 6px 0 8px;
	color: inherit;
	font-family: var(--rdd-font);
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.rdd-step .column_attr p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--rdd-muted);
}

/* Variante .rdd-steps--split: foto a sinistra per tutta l'altezza, titolo sopra i passaggi a destra */
.rdd-steps--split .column_heading {
	grid-column: 2;
	padding-bottom: 8px;
}

.rdd-s .rdd-steps--split .rdd-steps-img {
	grid-row: 1 / span 9;
	align-self: stretch;
	margin-top: 0 !important;
}

.rdd-steps--split .rdd-steps-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	height: 100%;
	aspect-ratio: auto;
	min-height: 320px;
}

@media (max-width: 767px) {
	.rdd-steps > .mcb-wrap-inner {
		grid-template-columns: 1fr;
	}

	.rdd-s .rdd-steps--split .rdd-steps-img {
		order: -1;
		margin: 0 0 24px !important;
	}

	.rdd-steps--split .rdd-steps-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.rdd-steps .column_heading,
	.rdd-s .rdd-steps .rdd-steps-img,
	.rdd-steps .rdd-step {
		grid-column: 1;
		grid-row: auto;
	}

	.rdd-s .rdd-steps .rdd-steps-img {
		margin: 20px 0 8px !important;
	}
}

/* ==========================================================================
   Schede: foto a sinistra, pannello a destra, linguette per passare da una all'altra
   wrap .rdd-tab (uno per scheda) · Image .rdd-tab-img · Column .rdd-card-num ·
   Heading · Column .rdd-tab-text · Column .rdd-link-list (facoltativa)
   Le linguette le crea lo script dai titoli; senza script le schede restano una sotto l'altra.
   ========================================================================== */

.rdd-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 8px 16px;
	padding: 6px;
	border-radius: var(--rdd-radius-pill);
	background: var(--rdd-white);
	width: max-content;
	max-width: calc(100% - 16px);
}

.rdd-tabs-nav button {
	padding: 11px 18px;
	border: 0;
	border-radius: var(--rdd-radius-pill);
	background: transparent;
	color: var(--rdd-muted);
	font-family: var(--rdd-font);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.rdd-tabs-nav button:hover {
	color: var(--rdd-ink);
}

.rdd-tabs-nav button[aria-selected="true"] {
	background: var(--rdd-ink);
	color: var(--rdd-paper);
}

.is-tabbed .mcb-wrap.rdd-tab:not(.is-active) {
	display: none;
}

.rdd-tab.is-active > .mcb-wrap-inner {
	animation: rdd-tab-in 0.6s var(--rdd-ease);
}

@keyframes rdd-tab-in {
	from { opacity: 0; transform: translateY(12px); }
}

.rdd-tab > .mcb-wrap-inner {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(460px, 40vw, 600px);
	padding: clamp(32px, 4vw, 64px) clamp(28px, 4vw, 64px) clamp(32px, 4vw, 64px) calc(50% + clamp(28px, 4vw, 64px)) !important;
}

/* Il pannello chiaro a destra */
.rdd-tab > .mcb-wrap-inner::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: calc(50% - 8px);
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-white);
}

.rdd-tab .mcb-column {
	position: relative;
	margin: 0 !important;
}

.rdd-s .rdd-tab .rdd-tab-img {
	position: absolute !important;
	top: 0;
	left: 0;
	bottom: 0;
	width: calc(50% - 8px) !important;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

.rdd-tab-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	height: 100%;
	margin: 0;
	border: 0;
}

.rdd-tab-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.rdd-tab .rdd-card-num .column_attr {
	color: var(--rdd-muted);
	opacity: 1;
}

.rdd-tab .column_heading {
	margin-top: 12px !important;
}

.rdd-tab .column_heading .title {
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.rdd-tab .rdd-tab-text {
	margin-top: 18px !important;
}

.rdd-tab .rdd-tab-text .column_attr {
	max-width: 48ch;
	color: var(--rdd-muted);
}

.rdd-tab .rdd-hs-phone {
	margin-top: 24px !important;
}

/* Elenco link su fondo chiaro */
.rdd-tab .rdd-link-list {
	margin-top: 28px !important;
}

.rdd-tab .rdd-link-list ul {
	border-top-color: var(--rdd-line);
}

.rdd-tab .rdd-link-list a {
	color: var(--rdd-ink) !important;
	border-bottom-color: var(--rdd-line);
}

.rdd-tab .rdd-link-list a:hover,
.rdd-tab .rdd-link-list a:focus-visible {
	color: var(--rdd-moss) !important;
	border-bottom-color: var(--rdd-moss);
}

@media (max-width: 767px) {
	.rdd-tabs-nav {
		width: auto;
		border-radius: var(--rdd-radius);
	}

	.rdd-tabs-nav button {
		flex: 1 1 auto;
	}

	.rdd-tab > .mcb-wrap-inner {
		min-height: 0;
		padding: 0 0 28px !important;
		background: var(--rdd-white);
		border-radius: var(--rdd-radius-lg);
		overflow: hidden;
	}

	.rdd-tab > .mcb-wrap-inner::before {
		display: none;
	}

	.rdd-s .rdd-tab .rdd-tab-img {
		position: relative !important;
		width: 100% !important;
		aspect-ratio: 4 / 3;
		margin-bottom: 24px !important;
		border-radius: 0;
	}

	.rdd-tab .mcb-column:not(.rdd-tab-img) {
		padding: 0 20px;
	}
}

/* ==========================================================================
   Blocchi tipografici (Impianti agricoli)
   Nei wrap a griglia gli elementi si dispongono da soli: conta solo l'ordine
   ========================================================================== */

.rdd-s :where(.rdd-bignum, .rdd-slide, .rdd-feature, .rdd-contact, .rdd-type) .mcb-column {
	float: none;
	width: auto !important;
	margin: 0 !important;
}

/* Il clearfix di BeTheme (::before/::after) occuperebbe celle della griglia */
:is(.rdd-bignum, .rdd-slide, .rdd-feature, .rdd-contact, .rdd-type) > .mcb-wrap-inner::before,
:is(.rdd-bignum, .rdd-slide, .rdd-feature, .rdd-contact, .rdd-type) > .mcb-wrap-inner::after,
:is(.rdd-bignum-stats, .rdd-pills) .column_attr::before,
:is(.rdd-bignum-stats, .rdd-pills) .column_attr::after {
	display: none !important;
}

.rdd-s :is(.rdd-avatar, .rdd-slide-img, .rdd-feature-img, .rdd-type-thumb, .rdd-type-wide) :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.rdd-s :is(.rdd-avatar, .rdd-slide-img, .rdd-feature-img, .rdd-type-thumb, .rdd-type-wide) img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Etichette a pillola: Column .rdd-pills con <span> nel paragrafo (la prima è piena) */
.rdd-pills .column_attr p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.rdd-pills .column_attr span,
.rdd-pill .column_attr p {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--rdd-line);
	border-radius: var(--rdd-radius-pill);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

.rdd-pills .column_attr span:first-child {
	border-color: var(--rdd-ink);
	background: var(--rdd-ink);
	color: var(--rdd-paper);
}

.rdd-pill .column_attr p {
	width: max-content;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Numero grande  wrap .rdd-bignum
   Heading .rdd-bignum-num (+ .rdd-a-count) · Heading · Image .rdd-avatar (2–3) ·
   Button .rdd-btn-plus · Column .rdd-bignum-text · Column .rdd-bignum-stats
   -------------------------------------------------------------------------- */

.rdd-bignum > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: repeat(4, clamp(64px, 7.6vw, 116px)) minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(8px, 1vw, 14px);
}

.rdd-bignum .rdd-bignum-num,
.rdd-bignum .column_heading:not(.rdd-bignum-num) {
	grid-column: 1 / -1;
}

.rdd-bignum-num .title {
	font-size: clamp(110px, 17vw, 260px);
	font-weight: 500;
	line-height: 0.82;
	letter-spacing: -0.065em;
}

/* Il "+" accanto al numero */
.rdd-bignum-num .title::after {
	content: "+";
	margin-left: 0.04em;
	color: var(--rdd-rose);
	font-weight: 400;
}

.rdd-bignum .column_heading:not(.rdd-bignum-num) {
	margin: clamp(16px, 2vw, 28px) 0 clamp(40px, 5vw, 72px) !important;
}

.rdd-bignum .column_heading:not(.rdd-bignum-num) .title {
	max-width: 18ch;
	font-size: clamp(28px, 3.2vw, 48px);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.rdd-bignum .column_heading:not(.rdd-bignum-num) .title span {
	color: var(--rdd-muted);
}

.rdd-bignum .rdd-avatar,
.rdd-bignum .rdd-btn-plus {
	grid-row: 3;
	aspect-ratio: 1;
}

.rdd-bignum .rdd-avatar {
	border-radius: var(--rdd-radius);
	overflow: hidden;
}

.rdd-bignum .rdd-avatar:nth-of-type(odd) {
	border-radius: 50%;
}

/* Cerchio verde con il "+": il testo del pulsante resta per gli screen reader */
.rdd-s .rdd-btn-plus .mcb-column-inner {
	height: 100%;
}

.rdd-s .rdd-btn-plus .button {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--rdd-leaf) !important;
	color: transparent !important;
	font-size: 0 !important;
	overflow: hidden;
	transition: scale 0.5s var(--rdd-ease);
}

/* Etichetta che prende il posto del "+": al passaggio del mouse, sempre visibile sul touch */
.rdd-s .rdd-btn-plus .button::before {
	content: "Contatti";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: none;
	transform: none !important;
	color: var(--rdd-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.rdd-s .rdd-btn-plus .button:hover::before,
.rdd-s .rdd-btn-plus .button:focus-visible::before {
	opacity: 1;
}

.rdd-s .rdd-btn-plus .button:hover::after,
.rdd-s .rdd-btn-plus .button:focus-visible::after {
	opacity: 0;
}

@media (hover: none) {
	.rdd-s .rdd-btn-plus .button::before {
		opacity: 1;
	}

	.rdd-s .rdd-btn-plus .button::after {
		opacity: 0;
	}
}

.rdd-s .rdd-btn-plus .button::after {
	content: "+";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: none;
	transform: none !important;
	color: var(--rdd-ink);
	font-size: clamp(36px, 3.6vw, 56px);
	font-weight: 300;
	line-height: 1;
	transition: opacity 0.3s ease;
}

.rdd-s .rdd-btn-plus .button:hover {
	scale: 1.06;
}

.rdd-bignum .rdd-bignum-text,
.rdd-bignum .rdd-bignum-stats {
	grid-column: 5;
	justify-self: end;
	width: min(100%, 520px) !important;
}

.rdd-bignum .rdd-bignum-text {
	grid-row: 3;
	padding-left: clamp(24px, 4vw, 64px);
}

.rdd-bignum-text .column_attr {
	color: var(--rdd-muted);
}

.rdd-bignum .rdd-bignum-stats {
	grid-row: 4;
	margin-top: clamp(32px, 4vw, 56px) !important;
	padding-left: clamp(24px, 4vw, 64px);
}

.rdd-bignum-stats .column_attr {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.rdd-bignum-stats .column_attr p {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--rdd-line);
	color: var(--rdd-muted);
	font-size: 15px;
}

.rdd-bignum-stats .column_attr strong {
	display: block;
	margin-bottom: 6px;
	color: var(--rdd-text);
	font-size: clamp(40px, 4.4vw, 68px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
}

@media (max-width: 767px) {
	.rdd-bignum > .mcb-wrap-inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rdd-bignum .rdd-bignum-text,
	.rdd-bignum .rdd-bignum-stats {
		grid-column: 1 / -1;
		justify-self: stretch;
		width: auto !important;
		padding-left: 0;
	}

	.rdd-bignum .rdd-bignum-text {
		grid-row: 4;
		margin-top: 32px !important;
	}

	.rdd-bignum .rdd-bignum-stats {
		grid-row: 5;
	}
}

/* --------------------------------------------------------------------------
   Card scorrevoli  wrap .rdd-slide (uno per card, 2 o più nella stessa sezione)
   Column .rdd-pill · Heading (il <span> diventa verde) · Column .rdd-slide-text ·
   Button .rdd-btn-light · Image .rdd-slide-img
   Le frecce le crea lo script; senza script le card restano una sotto l'altra.
   -------------------------------------------------------------------------- */

.rdd-s .mcb-wrap.rdd-slide {
	margin-bottom: 16px;
}

.rdd-slide > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-rows: auto auto 1fr auto auto;
	column-gap: clamp(32px, 5vw, 80px);
	min-height: clamp(460px, 40vw, 580px);
	padding: clamp(24px, 3.4vw, 48px) !important;
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-ink);
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.66);
	--rdd-line: rgba(243, 240, 233, 0.22);
}

.rdd-slide .mcb-column {
	grid-column: 1;
}

.rdd-slide .rdd-pill .column_attr p {
	color: var(--rdd-paper);
}

.rdd-slide .column_heading {
	margin-top: clamp(28px, 4vw, 56px) !important;
}

.rdd-slide .column_heading .title {
	font-size: clamp(34px, 4.2vw, 64px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.035em;
}

.rdd-slide .column_heading .title span {
	display: block;
	color: var(--rdd-leaf);
}

.rdd-slide .rdd-slide-text {
	margin-top: 24px !important;
}

.rdd-slide .rdd-slide-text .column_attr {
	max-width: 46ch;
	color: var(--rdd-muted);
	font-size: 15px;
}

.rdd-slide .column_button {
	align-self: end;
	margin-top: 28px !important;
}

/* Foto a destra con una fascia verde che sporge in alto */
.rdd-s .rdd-slide .rdd-slide-img {
	position: relative;
	grid-column: 2;
	grid-row: 1 / -1;
	align-self: stretch;
	margin-top: 12px !important;
}

.rdd-slide .rdd-slide-img::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 6%;
	right: 6%;
	height: 40px;
	border-radius: var(--rdd-radius) var(--rdd-radius) 0 0;
	background: var(--rdd-leaf);
}

/* La foto riempie l'altezza della card senza allungarla */
.rdd-s .rdd-slide .rdd-slide-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	position: static !important;
}

.rdd-s .rdd-slide .rdd-slide-img img {
	position: absolute !important;
	z-index: 1;
	inset: 0;
	border-radius: var(--rdd-radius);
}

/* Frecce e contatore (creati dallo script dentro la card attiva) */
.rdd-slider-nav {
	grid-column: 1;
	grid-row: 5;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 32px;
}

.rdd-slider-nav button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--rdd-line);
	border-radius: 50%;
	background: transparent;
	color: var(--rdd-paper);
	font: 400 18px/1 var(--rdd-font);
	cursor: pointer;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.rdd-slider-nav button:last-of-type {
	border-color: var(--rdd-leaf);
	background: var(--rdd-leaf);
	color: var(--rdd-ink);
}

.rdd-slider-nav button:hover {
	border-color: var(--rdd-paper);
	background: var(--rdd-paper);
	color: var(--rdd-ink);
}

.rdd-slider-nav span {
	margin-left: 8px;
	color: var(--rdd-muted);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.is-slider .mcb-wrap.rdd-slide:not(.is-active) {
	display: none;
}

.is-slider .rdd-slide.is-active > .mcb-wrap-inner {
	animation: rdd-tab-in 0.6s var(--rdd-ease);
}

@media (max-width: 767px) {
	.rdd-slide > .mcb-wrap-inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		min-height: 0;
		padding: 16px 16px 24px !important;
	}

	.rdd-s .rdd-slide .rdd-slide-img {
		grid-column: 1;
		grid-row: auto;
		order: -1;
		aspect-ratio: 4 / 3;
		margin: 12px 0 24px !important;
	}

	.rdd-slide .column_heading {
		margin-top: 20px !important;
	}

	.rdd-slider-nav {
		grid-row: auto;
	}
}

/* --------------------------------------------------------------------------
   Titolo gigante con foto sfalsata  wrap .rdd-feature
   Column .rdd-pills · Heading (il <span> va a capo, chiaro) · Column .rdd-feature-text ·
   Column .rdd-feature-label · Button · Image .rdd-feature-img
   -------------------------------------------------------------------------- */

.rdd-feature > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2vw, 32px);
}

.rdd-feature .mcb-column {
	grid-column: 1 / -1;
}

.rdd-feature .column_heading {
	grid-column: 1 / 10;
	margin-top: clamp(24px, 3vw, 40px) !important;
}

.rdd-feature .column_heading .title {
	font-size: clamp(56px, 10.4vw, 168px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.rdd-feature .column_heading .title span {
	display: block;
	color: rgba(13, 21, 16, 0.2);
}

.rdd-feature .rdd-feature-text {
	grid-column: 10 / -1;
	grid-row: 2;
	align-self: end;
}

.rdd-feature-text .column_attr {
	color: var(--rdd-muted);
	font-size: 15px;
}

.rdd-feature .rdd-feature-label {
	grid-column: 1 / 4;
	grid-row: 3;
	margin-top: clamp(40px, 5vw, 72px) !important;
}

.rdd-feature-label .column_attr {
	max-width: 24ch;
	font-size: clamp(17px, 1.4vw, 21px);
	font-weight: 500;
	line-height: 1.3;
}

.rdd-feature .column_button {
	grid-column: 1 / 4;
	grid-row: 4;
	align-self: end;
}

.rdd-s .rdd-feature .rdd-feature-img {
	position: relative;
	grid-column: 5 / -1;
	grid-row: 3 / 5;
	aspect-ratio: 16 / 10;
	margin-top: clamp(40px, 5vw, 72px) !important;
}

/* Bordo colorato che sporge a sinistra della foto */
.rdd-feature .rdd-feature-img::before {
	content: "";
	position: absolute;
	top: 8%;
	bottom: 8%;
	left: -14px;
	width: 40px;
	border-radius: var(--rdd-radius) 0 0 var(--rdd-radius);
	background: var(--rdd-rose);
}

.rdd-feature .rdd-feature-img .mcb-column-inner {
	position: relative;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

@media (max-width: 860px) {
	.rdd-feature .column_heading,
	.rdd-feature .rdd-feature-text,
	.rdd-feature .rdd-feature-label,
	.rdd-feature .column_button,
	.rdd-s .rdd-feature .rdd-feature-img {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.rdd-feature .rdd-feature-text {
		margin-top: 24px !important;
	}

	.rdd-feature .rdd-feature-label {
		margin-top: 40px !important;
	}

	.rdd-feature .column_button {
		margin-top: 20px !important;
	}

	.rdd-s .rdd-feature .rdd-feature-img {
		margin: 40px 0 0 14px !important;
		aspect-ratio: 4 / 3;
	}
}

/* --------------------------------------------------------------------------
   Contatto tipografico  wrap .rdd-contact
   Heading · Column (testo) · Button · Column .rdd-contact-big ([rdd_telefono] e [rdd_email])
   -------------------------------------------------------------------------- */

.rdd-contact > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto auto 1fr;
	column-gap: clamp(32px, 6vw, 96px);
}

.rdd-contact .mcb-column {
	grid-column: 1;
}

.rdd-contact .column_heading .title {
	font-size: clamp(34px, 3.8vw, 58px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.rdd-contact .column_heading .title span {
	color: var(--rdd-muted);
}

.rdd-contact .column_column:not(.rdd-contact-big) {
	margin-top: 20px !important;
}

.rdd-contact .column_column:not(.rdd-contact-big) .column_attr {
	max-width: 40ch;
	color: var(--rdd-muted);
}

.rdd-contact .column_button {
	align-self: end;
	margin-top: 32px !important;
}

.rdd-contact .rdd-contact-big {
	grid-column: 2;
	grid-row: 1 / -1;
	align-self: center;
}

.rdd-contact-big .column_attr p {
	margin: 0;
	font-size: clamp(36px, 5.4vw, 86px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.045em;
	overflow-wrap: anywhere;
}

.rdd-contact-big .column_attr p + p {
	margin-top: 0.3em;
	font-size: clamp(26px, 3.4vw, 54px);
	letter-spacing: -0.035em;
}

.rdd-contact-big a {
	color: var(--rdd-ink) !important;
	background-image: linear-gradient(var(--rdd-leaf), var(--rdd-leaf));
	background-size: 0 4px;
	background-position: 0 92%;
	background-repeat: no-repeat;
	transition: background-size 0.6s var(--rdd-ease);
}

.rdd-contact-big a:hover,
.rdd-contact-big a:focus-visible {
	background-size: 100% 4px;
}

@media (max-width: 860px) {
	.rdd-contact > .mcb-wrap-inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.rdd-contact .rdd-contact-big {
		grid-column: 1;
		grid-row: auto;
		margin-top: 48px !important;
	}

	.rdd-contact .column_button {
		order: 2;
	}
}

/* --------------------------------------------------------------------------
   Hero tipografico  sezione .rdd-s-type con un wrap .rdd-type
   Column .rdd-eyebrow-item · Heading H1 (il <span> diventa chiaro) · Image .rdd-type-thumb ·
   Column .rdd-t-lead · Button · Image .rdd-type-wide · Column .rdd-type-chip
   -------------------------------------------------------------------------- */

.rdd-s.rdd-s-type {
	padding-top: clamp(130px, 13vw, 190px) !important;
	padding-bottom: 0 !important;
	background: linear-gradient(var(--rdd-forest) calc(100% - clamp(120px, 14vw, 220px)), var(--rdd-paper) 0);
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.7);
}

/* Senza foto sotto (News): tutta la sezione resta scura */
.rdd-s.rdd-s-type.rdd-s-type--solid {
	padding-bottom: clamp(56px, 6vw, 96px) !important;
	background: var(--rdd-forest);
}

.rdd-type > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2vw, 32px);
}

.rdd-type .mcb-column {
	grid-column: 1 / 10;
}

.rdd-type .column_heading {
	margin-top: clamp(24px, 3vw, 40px) !important;
}

.rdd-type .column_heading .title {
	font-size: clamp(48px, 9.6vw, 156px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.rdd-type .column_heading .title span {
	display: block;
	color: rgba(243, 240, 233, 0.34);
}

.rdd-s .rdd-type .rdd-type-thumb {
	grid-column: 10 / -1;
	grid-row: 1 / 3;
	align-self: start;
	aspect-ratio: 4 / 5;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

.rdd-type .rdd-t-lead {
	grid-column: 1 / 6;
	grid-row: 3;
	margin-top: clamp(28px, 3vw, 44px) !important;
}

.rdd-type .column_button {
	grid-column: 9 / -1;
	grid-row: 3;
	justify-self: end;
	align-self: end;
}

.rdd-s .rdd-type .rdd-type-wide {
	grid-column: 1 / -1;
	grid-row: 4;
	aspect-ratio: 21 / 9;
	margin-top: clamp(40px, 5vw, 72px) !important;
	border-radius: var(--rdd-radius-lg);
	overflow: hidden;
}

/* Variante più alta (16:9) per foto con dettagli in verticale */
@media (min-width: 768px) {
	.rdd-s .rdd-type .rdd-type-wide.rdd-type-wide--tall {
		aspect-ratio: 16 / 9;
	}
}

/* Card salvia al posto della foto piccola: Column .rdd-t-lead.rdd-type-card + Button subito dopo.
   Testo e pulsante stanno nella stessa cella, il pulsante in basso dentro la card */
.rdd-type:has(.rdd-type-card) .mcb-column:nth-child(-n + 2) {
	grid-column: 1 / 9;
}

.rdd-type:has(.rdd-type-card) .column_heading {
	grid-row: 2;
}

.rdd-type .rdd-t-lead.rdd-type-card {
	grid-column: 9 / -1;
	grid-row: 1 / 4;
	align-self: end;
	margin: 0 !important;
	padding: clamp(22px, 2vw, 30px) clamp(24px, 2.2vw, 32px) calc(clamp(22px, 2vw, 30px) + 70px);
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-sage);
}

/* Card senza pulsante: niente spazio in basso riservato al pulsante */
.rdd-type .rdd-t-lead.rdd-type-card:last-child {
	padding-bottom: clamp(22px, 2vw, 30px);
}

.rdd-type .rdd-type-card .column_attr p + p {
	margin-top: 0.8em;
	font-size: 0.8em;
	line-height: 1.45;
	letter-spacing: 0;
}

.rdd-type .rdd-type-card .column_attr {
	color: var(--rdd-forest);
	font-size: clamp(18px, 1.5vw, 22px);
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.rdd-type .rdd-type-card + .column_button {
	grid-column: 9 / -1;
	grid-row: 1 / 4;
	position: relative;
	z-index: 2;
	justify-self: start;
	align-self: end;
	margin: 0 0 clamp(22px, 2vw, 30px) clamp(24px, 2.2vw, 32px) !important;
}

/* Al posto della foto larga: tre Wrap 1/3 .rdd-type-photo, ciascuno con un'Image .rdd-work-img */
.rdd-s-type .mcb-wrap.rdd-type-photo {
	margin-top: clamp(40px, 5vw, 72px);
}

@media (max-width: 767px) {
	.rdd-s-type .mcb-wrap.rdd-type-photo {
		margin-top: 32px;
	}

	.rdd-s-type .mcb-wrap.rdd-type-photo ~ .mcb-wrap.rdd-type-photo {
		display: none;
	}

	.rdd-s-type .rdd-type-photo .rdd-work-img :is(.image_frame, .image_wrapper) {
		aspect-ratio: 4 / 3;
	}
}

/* Riquadro in vetro sopra la foto larga */
.rdd-type .rdd-type-chip {
	position: relative;
	z-index: 2;
	grid-column: 1 / -1;
	grid-row: 4;
	align-self: start;
	justify-self: start;
	max-width: 340px;
	margin: calc(clamp(40px, 5vw, 72px) + 16px) 0 0 16px !important;
	padding: 18px 20px;
	border: var(--rdd-glass-line) solid var(--rdd-glass-border);
	border-radius: var(--rdd-radius);
	background: var(--rdd-glass-bg-strong);
	-webkit-backdrop-filter: blur(var(--rdd-glass-blur));
	backdrop-filter: blur(var(--rdd-glass-blur));
}

.rdd-type-chip .column_attr {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.8);
}

.rdd-type-chip .column_attr strong {
	display: block;
	margin-bottom: 4px;
	color: var(--rdd-white);
	font-size: 16px;
	font-weight: 500;
}

@media (max-width: 767px) {
	.rdd-type .mcb-column,
	.rdd-type .rdd-t-lead,
	.rdd-type .column_button {
		grid-column: 1 / -1;
		grid-row: auto;
		justify-self: start;
	}

	.rdd-s .rdd-type .rdd-type-thumb {
		display: none;
	}

	.rdd-type .column_button {
		margin-top: 28px !important;
	}

	.rdd-type:has(.rdd-type-card) .mcb-column:nth-child(-n + 2) {
		grid-column: 1 / -1;
	}

	.rdd-type .rdd-t-lead.rdd-type-card,
	.rdd-type .rdd-type-card + .column_button {
		grid-column: 1 / -1;
		grid-row: 3;
	}

	.rdd-type .rdd-t-lead.rdd-type-card {
		margin-top: 32px !important;
	}

	.rdd-type:has(.rdd-type-card) .column_heading {
		grid-row: 2;
	}

	.rdd-s .rdd-type .rdd-type-wide {
		grid-row: 5;
		aspect-ratio: 4 / 3;
	}

	.rdd-type .rdd-type-chip {
		grid-row: 6;
		max-width: none;
		margin: 12px 0 0 !important;
		background: var(--rdd-moss);
	}

	.rdd-s.rdd-s-type {
		background: linear-gradient(var(--rdd-forest) calc(100% - 200px), var(--rdd-paper) 0);
	}
}

/* --------------------------------------------------------------------------
   Varietà  wrap .rdd-variety (1/4): Column .rdd-pill · Heading · Column (testo)
   -------------------------------------------------------------------------- */

/* stessa altezza per le card della riga, anche con titoli su due righe */
.rdd-s .mcb-wrap.rdd-variety {
	align-self: stretch;
}

/* la prima card non eredita il margine pensato per il wrap dopo .rdd-head-aside */
.rdd-s .rdd-head-aside + .mcb-wrap.rdd-variety {
	margin-bottom: 16px;
}

.rdd-variety > .mcb-wrap-inner {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	padding: clamp(22px, 2.2vw, 32px) !important;
	border-radius: var(--rdd-radius-lg);
	background: var(--rdd-white);
}

.rdd-variety .mcb-column {
	margin: 0 !important;
}

.rdd-variety .column_heading {
	margin-top: auto !important;
	padding-top: clamp(36px, 3.6vw, 56px);
}

.rdd-variety .column_heading .title {
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.rdd-variety .column_column:not(.rdd-pill) {
	margin-top: 12px !important;
}

.rdd-variety .column_column:not(.rdd-pill) .column_attr {
	color: var(--rdd-muted);
	font-size: 15px;
}

/* --------------------------------------------------------------------------
   Fasi in linea  wrap .rdd-phase (1/4): Column .rdd-phase-num · Heading · Column (testo)
   -------------------------------------------------------------------------- */

.rdd-phase > .mcb-wrap-inner {
	position: relative;
	padding-top: 32px !important;
	border-top: 1px solid var(--rdd-line);
}

.rdd-phase > .mcb-wrap-inner::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rdd-leaf);
}

.rdd-phase .mcb-column {
	margin: 0 !important;
}

.rdd-phase-num .column_attr p {
	margin: 0;
	color: var(--rdd-leaf);
	font-size: clamp(56px, 6vw, 96px);
	font-weight: 300;
	line-height: 0.9;
	letter-spacing: -0.05em;
}

.rdd-phase .column_heading {
	margin-top: clamp(32px, 4vw, 56px) !important;
}

.rdd-phase .column_heading .title {
	max-width: 16ch;
	font-size: clamp(21px, 1.8vw, 26px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.rdd-phase .column_column:not(.rdd-phase-num) {
	margin-top: 14px !important;
}

.rdd-phase .column_column:not(.rdd-phase-num) .column_attr {
	color: var(--rdd-muted);
	font-size: 15px;
}

@media (max-width: 767px) {
	.rdd-variety .column_heading {
		padding-top: 28px;
	}
}

@media (max-width: 767px) {
	.rdd-s .mcb-wrap.rdd-phase {
		margin-bottom: 40px;
	}
}

/* --------------------------------------------------------------------------
   Pagina 404  sezione .rdd-s-404 con un wrap .rdd-404
   Column .rdd-eyebrow-item · Column .rdd-404-digit · Image .rdd-404-img · Column .rdd-404-digit ·
   Heading H1 · Column .rdd-t-lead · Button
   -------------------------------------------------------------------------- */

.rdd-s.rdd-s-404 {
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: clamp(120px, 12vw, 170px) 0 clamp(64px, 7vw, 100px) !important;
	/* la stessa luce verde del menu a tutto schermo */
	background:
		radial-gradient(ellipse 75% 80% at 52% 48%, rgba(52, 104, 18, 0.57) 0%, rgba(44, 90, 17, 0.42) 22%, rgba(34, 72, 16, 0.24) 45%, rgba(20, 42, 14, 0.08) 70%, rgba(13, 26, 12, 0) 92%),
		#0c160d;
	color: var(--rdd-paper);
	--rdd-muted: rgba(243, 240, 233, 0.72);
}

.rdd-404 {
	--rdd-404-size: clamp(132px, min(26vw, 30vh), 280px);
}

.rdd-404 > .mcb-wrap-inner {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	justify-items: center;
	align-items: center;
	column-gap: clamp(8px, 1.2vw, 20px);
	text-align: center;
}

.rdd-404 .mcb-column {
	grid-column: 1 / -1;
	width: auto !important;
	margin: 0 !important;
}

.rdd-404 .mcb-column.rdd-404-digit,
.rdd-404 .mcb-column.rdd-404-img {
	grid-column: auto;
}

.rdd-404 .mcb-column.rdd-404-digit:has(+ .rdd-404-img) {
	justify-self: end;
}

.rdd-404 .rdd-404-img + .mcb-column.rdd-404-digit {
	justify-self: start;
}

.rdd-404-digit .column_attr {
	font-size: var(--rdd-404-size);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.055em;
	color: var(--rdd-paper);
}

.rdd-404-digit .column_attr p {
	margin: 0;
}

.rdd-s .rdd-404-img :is(.mcb-column-inner, .image_frame, .image_wrapper) {
	display: block;
	width: calc(var(--rdd-404-size) * 0.72);
	aspect-ratio: 1;
	margin: 0;
	border: 0;
	border-radius: 50%;
	overflow: hidden;
}

.rdd-s .rdd-404-img img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.rdd-404 .column_heading {
	margin-top: clamp(20px, 2.4vw, 36px) !important;
}

.rdd-404 .column_heading .title {
	font-size: clamp(32px, 4.4vw, 64px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--rdd-paper);
}

.rdd-404 .column_heading .title span {
	color: var(--rdd-sage);
}

.rdd-404 .rdd-t-lead {
	max-width: 520px;
	margin-top: 16px !important;
}

.rdd-404 .column_button {
	margin-top: clamp(24px, 2.6vw, 36px) !important;
}

/* --------------------------------------------------------------------------
   Punto di fuoco delle foto tagliate  Image → Classes, insieme alla classe del blocco
   rdd-focus-left / -right (asse orizzontale) · rdd-focus-top / -bottom (asse verticale)
   Si combinano: "rdd-type-wide rdd-focus-right rdd-focus-top"
   -------------------------------------------------------------------------- */

.rdd-focus-left   { --rdd-focus-x: 0%; }
.rdd-focus-right  { --rdd-focus-x: 100%; }
.rdd-focus-top    { --rdd-focus-y: 0%; }
.rdd-focus-bottom { --rdd-focus-y: 100%; }

.rdd-s :is(.rdd-focus-left, .rdd-focus-right, .rdd-focus-top, .rdd-focus-bottom) img {
	object-position: var(--rdd-focus-x, 50%) var(--rdd-focus-y, 50%) !important;
}

/* Solo su mobile e tablet, dove una foto orizzontale diventa un taglio verticale:
   rdd-fm-0 … rdd-fm-100 sceglie quale parte della larghezza resta visibile. Il desktop non cambia */
.rdd-fm-0   { --rdd-fm: 0%; }
.rdd-fm-15  { --rdd-fm: 15%; }
.rdd-fm-30  { --rdd-fm: 30%; }
.rdd-fm-60  { --rdd-fm: 60%; }
.rdd-fm-70  { --rdd-fm: 70%; }
.rdd-fm-85  { --rdd-fm: 85%; }
.rdd-fm-100 { --rdd-fm: 100%; }

@media (max-width: 960px) {
	.rdd-s [class*="rdd-fm-"] img {
		object-position: var(--rdd-fm) 50% !important;
	}
}

/* ==========================================================================
   Solo nel BeBuilder (body.mfn-ui): sezioni e sfondi selezionabili
   Sul sito lo sfondo sta dietro ai contenuti e non riceve i clic; nell'editor
   diventa una fascia visibile in cima alla sezione, da cliccare per cambiare foto.
   ========================================================================== */

.mfn-ui .rdd-s.mcb-section {
	overflow: visible;
}

.mfn-ui .rdd-s.rdd-s-hero,
.mfn-ui .rdd-s.rdd-s-cta {
	display: block;
	min-height: 0;
}

.mfn-ui .rdd-s .mcb-wrap.rdd-bg {
	position: relative !important;
	inset: auto;
	height: auto;
	margin: 0 auto 32px !important;
	max-width: var(--rdd-max);
	z-index: 2;
	pointer-events: auto;
	outline: 2px dashed rgba(127, 163, 108, 0.8);
	outline-offset: -2px;
}

.mfn-ui .rdd-s .mcb-wrap.rdd-bg::before {
	content: "Sfondo della sezione · clicca l'immagine per sostituirla";
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(13, 21, 16, 0.8);
	color: #fff;
	font: 500 12px/1.2 var(--rdd-font, sans-serif);
	pointer-events: none;
}

.mfn-ui .rdd-s .mcb-wrap.rdd-bg::after {
	display: none;
}

.mfn-ui .rdd-s .rdd-bg :is(.mcb-wrap-inner, .mcb-column, .mcb-column-inner, .image_frame, .image_wrapper) {
	height: auto;
}

.mfn-ui .rdd-s .rdd-bg img {
	display: block;
	height: 220px !important;
	object-fit: cover;
}

/* Hero "cuore" nel BeBuilder: palco e testi uno sotto l'altro, tutto cliccabile */
.mfn-ui .rdd-s-heart .mcb-wrap.rdd-heart-stage {
	position: relative !important;
	height: 70vh;
	pointer-events: auto;
}

.mfn-ui .rdd-s-heart .rdd-heart-copy > .mcb-wrap-inner {
	min-height: 0;
	padding-top: 40px !important;
}
