/* Madda Yoga — premium layout, rhythm, components */

#programma {
	scroll-margin-top: 6rem;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

:root {
	--madda-radius-sm: 6px;
	--madda-radius-md: 10px;
	--madda-radius-lg: 14px;
	--madda-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--madda-shadow-soft: 0 22px 50px rgba(44, 52, 48, 0.09);
	--madda-shadow-hover: 0 12px 28px rgba(44, 52, 48, 0.12);
	--madda-prose-spacing: clamp(1.1rem, 2.5vw, 1.45rem);
}

/* ——— Global buttons ——— */
.wp-block-button .wp-block-button__link,
.wp-block-button .wp-block-button__link.wp-element-button {
	border-radius: var(--madda-radius-sm);
	transition:
		background-color 0.28s var(--madda-ease),
		color 0.28s var(--madda-ease),
		border-color 0.28s var(--madda-ease),
		box-shadow 0.28s var(--madda-ease),
		transform 0.22s var(--madda-ease);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 4px 18px rgba(166, 144, 118, 0.35);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(44, 52, 48, 0.18);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(44, 52, 48, 0.08);
}

.wp-block-buttons {
	gap: 0.65rem 1rem;
}

/* ——— Header ——— */
.madda-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	overflow: visible;
	background: rgba(250, 247, 242, 0.82);
	backdrop-filter: blur(12px) saturate(1.02);
	-webkit-backdrop-filter: blur(12px) saturate(1.02);
	border-bottom: 1px solid rgba(44, 52, 48, 0.055);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.madda-site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
	border-radius: var(--madda-radius-sm);
	padding: 0.4rem 0.55rem;
	border: 1px solid rgba(44, 52, 48, 0.1);
	background: rgba(255, 255, 255, 0.45);
	transition: background 0.2s var(--madda-ease), border-color 0.2s var(--madda-ease);
}

.madda-site-header .wp-block-navigation__responsive-container-open:not(.always-shown):hover {
	background: rgba(255, 255, 255, 0.75);
	border-color: rgba(139, 126, 106, 0.25);
}

.madda-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	border-radius: 0 0 var(--madda-radius-md) var(--madda-radius-md);
}

.madda-site-header .wp-block-group.alignwide {
	padding-top: clamp(1rem, 2.2vw, 1.35rem) !important;
	padding-bottom: clamp(1rem, 2.2vw, 1.35rem) !important;
	overflow: visible;
}

.madda-site-header .madda-site-brand {
	margin: 0 !important;
	flex-shrink: 0;
	align-items: center;
	/* Riserva spazio per scale: evita che il menu si sovrapponga al disegno ingrandito */
	padding-right: min(2.75rem, 7vw);
}

.madda-site-header .madda-site-logo {
	margin: 0 !important;
	width: auto;
	/* Box compatto per il layout (non alza la barra); scale sul img ingrandisce il logo */
	max-width: min(8.35rem, 36vw);
	overflow: visible;
	border: none;
	box-shadow: none;
}

.madda-site-header .madda-site-logo a {
	display: block;
	line-height: 0;
	text-decoration: none;
	transition: opacity 0.22s var(--madda-ease);
	overflow: visible;
	border: none;
	outline: none;
	box-shadow: none;
}

.madda-site-header .madda-site-logo a:hover {
	opacity: 0.88;
}

/* Nessun riquadro dopo clic / focus mouse (outline del browser o del tema) */
.madda-site-header .madda-site-logo a:focus,
.madda-site-header .madda-site-logo a:focus-visible,
.madda-site-header .madda-site-logo a:active {
	outline: none;
	border: none;
	box-shadow: none;
}

.madda-site-header .madda-site-logo img {
	display: block;
	width: 100%;
	height: auto;
	transform: scale(1.52);
	transform-origin: left center;
	will-change: transform;
	outline: none;
	border: none;
	box-shadow: none;
}

@media (max-width: 781px) {
	.madda-site-header .madda-site-logo {
		max-width: min(7.5rem, 42vw);
	}

	.madda-site-header .madda-site-logo img {
		transform: scale(1.38);
	}

	.madda-site-header .madda-site-brand {
		padding-right: min(1.35rem, 4vw);
	}
}

.madda-site-header .wp-block-site-title a {
	font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
	font-weight: 500;
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	letter-spacing: 0.01em;
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	transition: color 0.22s var(--madda-ease), opacity 0.22s var(--madda-ease);
}

.madda-site-header .wp-block-site-title a:hover {
	color: var(--wp--preset--color--gold-muted);
}

.madda-nav.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content,
.madda-site-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.45rem 0.75rem;
	border-radius: var(--madda-radius-sm);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.22s var(--madda-ease), color 0.22s var(--madda-ease);
}

.madda-site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: rgba(166, 144, 118, 0.12);
	color: var(--wp--preset--color--charcoal);
}

/* ——— Section rhythm ——— */
.madda-section {
	padding-top: clamp(3.25rem, 9vw, 6.25rem);
	padding-bottom: clamp(3.25rem, 9vw, 6.25rem);
}

.madda-section--compact {
	padding-top: clamp(2.5rem, 6vw, 4rem);
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.madda-section--sand {
	background-color: var(--wp--preset--color--sand);
}

.madda-section--sea {
	background-color: var(--wp--preset--color--sea-mist);
}

.madda-section--cream {
	background-color: var(--wp--preset--color--cream);
}

@media (max-width: 600px) {
	.madda-section:not(.madda-divider-wrap),
	.madda-hero {
		padding-left: max(1rem, env(safe-area-inset-left, 0px));
		padding-right: max(1rem, env(safe-area-inset-right, 0px));
	}

	.madda-hero--home {
		padding-left: max(1.15rem, 5vw, env(safe-area-inset-left, 0px));
		padding-right: max(1.15rem, 5vw, env(safe-area-inset-right, 0px));
	}
}

/* Editorial title stacks */
.madda-section-intro .wp-block-heading {
	margin-bottom: 0.5em;
	margin-left: auto;
	margin-right: auto;
	text-wrap: balance;
	max-width: 20rem;
}

.madda-section-intro .wp-block-heading + p {
	margin-top: 0;
}

.madda-prose-stack > * + * {
	margin-top: var(--madda-prose-spacing);
}

.madda-prose-stack h2 + p,
.madda-prose-stack h3 + p {
	margin-top: 1rem;
}

/* ——— Divider ——— */
.madda-divider hr,
hr.madda-divider,
.wp-block-separator.madda-divider {
	width: min(12rem, 35vw);
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	border: none;
	border-top: 1px solid rgba(44, 52, 48, 0.12);
	opacity: 1;
}

.madda-divider-wrap {
	padding: clamp(2rem, 5vw, 3.5rem) 1rem;
	background: var(--wp--preset--color--cream);
}

/* ——— Hero ——— */
.madda-hero {
	min-height: 88vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: clamp(3rem, 8vw, 6rem);
	padding-bottom: clamp(3rem, 8vw, 6rem);
	padding-left: clamp(1.15rem, 4vw, 2rem);
	padding-right: clamp(1.15rem, 4vw, 2rem);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	position: relative;
	isolation: isolate;
}

.madda-hero--home {
	min-height: 92vh;
	padding-left: clamp(1.35rem, 5vw, 3rem);
	padding-right: clamp(1.35rem, 5vw, 3rem);
	align-items: center;
	background-position: center right;
	background-image:
		linear-gradient(
			118deg,
			rgba(34, 38, 36, 0.58) 0%,
			rgba(34, 38, 36, 0.22) 38%,
			rgba(232, 224, 213, 0.12) 52%,
			rgba(76, 108, 106, 0.42) 100%
		),
		url("../assets/hero-retreat.png");
}

/* Centered content column; text stays left-aligned inside */
.madda-hero--home > .wp-block-group.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100%;
	max-width: min(38rem, 100%);
	align-self: center;
}

.madda-hero--home .madda-hero__inner.madda-hero__stack {
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: left;
}

.madda-hero--home.madda-hero--lux::after,
.madda-hero--home::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(34, 38, 36, 0.34) 0%, transparent 32%),
		radial-gradient(ellipse 92% 72% at 78% 32%, rgba(255, 255, 255, 0.07) 0%, transparent 52%),
		radial-gradient(ellipse 72% 58% at 18% 78%, rgba(34, 38, 36, 0.22) 0%, transparent 46%);
	pointer-events: none;
	z-index: 0;
}

@media (min-width: 601px) and (max-width: 1024px) {
	.madda-hero--home {
		padding-left: clamp(1.35rem, 5vw, 2.75rem);
		padding-right: clamp(1.35rem, 5vw, 2.75rem);
	}
}

.madda-hero .madda-hero__inner {
	position: relative;
	z-index: 1;
}

.madda-hero__inner {
	max-width: 38rem;
	margin-left: auto;
	margin-right: 0;
	text-align: right;
}

.madda-hero__stack {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: clamp(0.85rem, 2.2vw, 1.35rem);
}

.madda-hero__stack > * {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 100%;
}

.madda-hero__stack h1 {
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.04 !important;
}

/* Homepage hero only — single-line display headline + unified column (retreat unchanged) */
.madda-hero--home .madda-hero__inner.madda-hero__stack {
	max-width: min(38rem, 100%);
	align-items: stretch;
	gap: clamp(1.05rem, 2.5vw, 1.5rem);
}

.madda-hero--home .madda-hero-title {
	font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
	font-weight: 500;
	font-size: clamp(3rem, 8.15vw, 5.35rem) !important;
	line-height: 1.05 !important;
	letter-spacing: -0.018em;
	font-feature-settings: "kern" 1, "liga" 1;
	text-wrap: balance;
	text-shadow:
		0 2px 40px rgba(12, 16, 18, 0.5),
		0 1px 1px rgba(12, 16, 18, 0.35);
}

.madda-hero--home .madda-hero-title .madda-hero-title__word {
	font-weight: inherit;
	font-style: normal;
	letter-spacing: inherit;
}

.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero-title {
	text-align: left;
	width: 100%;
	max-width: none;
}

.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__meta {
	text-align: left;
	width: 100%;
	max-width: none !important;
	font-weight: 500;
	font-size: 0.69rem !important;
	letter-spacing: 0.24em;
	line-height: 1.5 !important;
	opacity: 0.86;
	padding-bottom: 1rem;
	border-bottom-color: rgba(250, 247, 242, 0.34);
	box-sizing: border-box;
}

.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__lede {
	text-align: left;
	width: 100%;
	max-width: none !important;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 1.03rem !important;
	line-height: 1.67 !important;
	letter-spacing: 0.012em;
	opacity: 0.9;
	font-weight: 400;
	text-wrap: balance;
	box-sizing: border-box;
}

.madda-hero--home .madda-hero__inner.madda-hero__stack > .wp-block-buttons {
	width: 100%;
	justify-content: flex-start;
}

.madda-hero__stack > .wp-block-buttons {
	margin-top: 0.35rem;
	justify-content: flex-end;
}

.madda-hero__stack .madda-hero__meta {
	margin: 0;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(250, 247, 242, 0.38);
	width: 100%;
	max-width: 28rem;
	text-align: right;
}

.madda-hero__stack > p:not(.madda-hero__meta) {
	text-wrap: balance;
	max-width: 30rem;
	opacity: 0.97;
}

@media (max-width: 781px) {
	/* Person on left: slight left bias so the subject stays in frame under cover */
	.madda-hero--home,
	.madda-hero--retreat {
		background-position: 28% center;
	}

	.madda-hero--home .madda-hero-title {
		font-size: clamp(2.65rem, 9.25vw, 4.25rem) !important;
		line-height: 1.06 !important;
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero-title,
	.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__meta,
	.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__lede {
		text-align: left;
	}

	.madda-hero--home .madda-hero__inner.madda-hero__stack > .wp-block-buttons {
		justify-content: flex-start;
	}

	.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__meta {
		font-size: 0.64rem !important;
		letter-spacing: 0.22em;
	}

	.madda-hero--home .madda-hero__inner.madda-hero__stack .madda-hero__lede {
		font-size: 1.01rem !important;
		line-height: 1.66 !important;
	}

	.madda-hero__inner {
		margin-left: 0;
		margin-right: auto;
		text-align: left;
	}

	.madda-hero__stack {
		align-items: flex-start;
	}

	.madda-hero--home .madda-hero__inner.madda-hero__stack {
		align-items: stretch;
	}

	.madda-hero__stack .madda-hero__meta {
		text-align: left;
	}

	.madda-hero__stack > .wp-block-buttons {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

.madda-hero__inner h1,
.madda-hero__inner h2 {
	color: var(--wp--preset--color--cream);
	text-shadow: 0 2px 32px rgba(34, 38, 36, 0.45);
}

.madda-hero--home .madda-hero__inner h1.madda-hero-title {
	text-shadow:
		0 2px 40px rgba(12, 16, 18, 0.5),
		0 1px 1px rgba(12, 16, 18, 0.35);
}

.madda-hero__inner p {
	color: rgba(250, 247, 242, 0.96);
	text-shadow: 0 1px 18px rgba(34, 38, 36, 0.35);
}

.madda-hero__inner .wp-block-button.is-style-outline .wp-block-button__link,
.madda-hero__inner .wp-block-button.is-style-outline a {
	border-width: 1.5px;
	border-color: rgba(250, 247, 242, 0.88);
	color: var(--wp--preset--color--cream);
	background: rgba(250, 247, 242, 0.06);
}

.madda-hero__inner .wp-block-button.is-style-outline .wp-block-button__link:hover,
.madda-hero__inner .wp-block-button.is-style-outline a:hover {
	background: rgba(250, 247, 242, 0.18);
	color: var(--wp--preset--color--cream);
	border-color: #fff;
}

.madda-hero__inner .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 6px 24px rgba(34, 38, 36, 0.35);
}

.madda-hero__meta {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.78rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.45 !important;
}

/* Retreat hero */
.madda-hero--retreat {
	min-height: 74vh;
	background-position: center right;
	background-image:
		linear-gradient(105deg, rgba(34, 38, 36, 0.55) 0%, rgba(34, 38, 36, 0.28) 42%, rgba(250, 247, 242, 0.22) 68%),
		url("../assets/hero-retreat.png");
}

.madda-hero--retreat::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 65% 50% at 15% 50%, rgba(34, 38, 36, 0.25) 0%, transparent 55%);
	pointer-events: none;
	z-index: 0;
}

.madda-hero--retreat .madda-hero__inner {
	text-align: left;
	margin-right: auto;
	margin-left: 0;
	max-width: 42rem;
}

.madda-hero--retreat .madda-hero__stack {
	align-items: flex-start;
}

.madda-hero--retreat .madda-hero__stack .madda-hero__meta {
	text-align: left;
	max-width: 100%;
}

.madda-hero--retreat .madda-hero__stack > .wp-block-buttons {
	justify-content: flex-start;
}

.madda-hero--retreat .madda-hero__stack .madda-hero__meta {
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(250, 247, 242, 0.35);
	max-width: 36rem;
}

/* ——— Brochure backgrounds ———
   PNGs include large printed typography; veils keep it atmospheric, never legible. */
.madda-bg-soft {
	background-size: cover, cover;
	background-position: center, center;
	position: relative;
	isolation: isolate;
	background-color: var(--wp--preset--color--cream);
}

.madda-bg-soft::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	/* Center-weighted scrim: extra density where body copy sits */
	background:
		radial-gradient(
			ellipse min(125vw, 72rem) 78% at 50% 46%,
			rgba(252, 251, 248, 0.97) 0%,
			rgba(252, 251, 248, 0.72) 42%,
			rgba(252, 251, 248, 0.28) 62%,
			transparent 76%
		),
		linear-gradient(
			180deg,
			rgba(250, 247, 242, 0.98) 0%,
			rgba(249, 246, 239, 0.96) 38%,
			rgba(247, 243, 236, 0.97) 72%,
			rgba(245, 240, 232, 0.98) 100%
		);
	pointer-events: none;
}

.madda-bg-soft::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	/* Soft edge light only — avoid a bright band that reveals background type */
	background: radial-gradient(ellipse 68% 38% at 50% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 58%);
	pointer-events: none;
	opacity: 0.65;
	filter: blur(0.5px);
}

.madda-bg-soft > * {
	position: relative;
	z-index: 1;
}

/* Pre-flatten brochure art so underlying lettering never resolves as words */
.madda-bg-soft--why {
	background-image:
		linear-gradient(
			180deg,
			rgba(250, 247, 242, 0.88) 0%,
			rgba(248, 244, 237, 0.85) 45%,
			rgba(246, 242, 235, 0.88) 100%
		),
		url("../assets/why-participate.png");
}

.madda-bg-soft--included {
	background-image:
		linear-gradient(
			180deg,
			rgba(250, 247, 242, 0.88) 0%,
			rgba(248, 244, 237, 0.85) 50%,
			rgba(246, 242, 235, 0.88) 100%
		),
		url("../assets/included-bg.png");
}

.madda-bg-soft--program {
	background-image:
		linear-gradient(
			180deg,
			rgba(250, 247, 242, 0.88) 0%,
			rgba(248, 244, 237, 0.85) 50%,
			rgba(246, 242, 235, 0.88) 100%
		),
		url("../assets/programma-bg.png");
}

@media (max-width: 781px) {
	/* Brochure lettering is hidden: keep premium calm via color only (no competing type) */
	.madda-bg-soft--why,
	.madda-bg-soft--program,
	.madda-bg-soft--included {
		background-image: none;
	}

	.madda-bg-soft::before {
		background: linear-gradient(
			180deg,
			rgba(252, 251, 248, 0.99) 0%,
			var(--wp--preset--color--cream) 45%,
			rgba(247, 243, 236, 0.98) 100%
		);
	}

	.madda-bg-soft::after {
		opacity: 0.35;
		filter: none;
	}
}

.madda-retreat-prose {
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
}

.madda-retreat-prose .wp-block-heading {
	margin-bottom: 0.65em;
}

.madda-program-lede {
	text-align: center;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	max-width: 36rem;
	margin: -0.25rem auto clamp(1.35rem, 3vw, 2rem);
	padding: 0 1rem;
	line-height: 1.45;
	opacity: 0.9;
}

/* ——— Retreat landing (page-retreat.html) ——— */
.madda-retreat-landing > .madda-section:not(.madda-hero) {
	padding-top: clamp(3.85rem, 9.5vw, 6.75rem);
	padding-bottom: clamp(3.85rem, 9.5vw, 6.75rem);
}

.madda-hero-retreat-title {
	font-size: clamp(2.35rem, 5.5vw, 3.65rem) !important;
	line-height: 1.06 !important;
	font-weight: 500 !important;
	margin: 0 !important;
	max-width: 18ch;
	text-wrap: balance;
}

.madda-hero-retreat-lede {
	max-width: 36rem;
	margin: 0 !important;
	opacity: 0.96;
}

.madda-hero--retreat .madda-hero__scroll-hint {
	margin: 0.5rem 0 0 !important;
	font-size: 0.82rem !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.madda-hero--retreat .madda-hero__scroll-hint a {
	color: rgba(250, 247, 242, 0.92);
	text-decoration: none;
	border-bottom: 1px solid rgba(250, 247, 242, 0.35);
	padding-bottom: 0.12em;
	transition:
		color 0.2s var(--madda-ease),
		border-color 0.2s var(--madda-ease);
}

.madda-hero--retreat .madda-hero__scroll-hint a:hover {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.55);
}

.madda-retreat-intro .madda-retreat-intro__inner {
	margin-left: auto;
	margin-right: auto;
}

.madda-retreat-why .madda-prose-stack > * + * {
	margin-top: clamp(1.15rem, 2.4vw, 1.45rem) !important;
}

.madda-retreat-why .madda-section-intro .wp-block-heading {
	max-width: none;
	margin-bottom: 0.75em !important;
}

/* ——— Retreat: Programma (timeline) ——— */
.madda-program-shell {
	width: 100%;
	max-width: min(44rem, 100%);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: clamp(0.35rem, 2vw, 0.85rem);
	padding-right: clamp(0.35rem, 2vw, 0.85rem);
	box-sizing: border-box;
}

.madda-program-header {
	text-align: center;
	margin-bottom: clamp(1.85rem, 4.5vw, 2.75rem);
	padding-bottom: clamp(1.25rem, 2.8vw, 1.85rem);
	border-bottom: 1px solid rgba(44, 52, 48, 0.08);
}

.madda-program-header .wp-block-heading {
	margin-top: 0 !important;
	margin-bottom: 0.65rem !important;
}

.madda-program-header .madda-program-lede {
	margin: 0 auto !important;
	max-width: 34rem;
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 500;
	font-size: clamp(0.88rem, 1.9vw, 0.98rem);
	line-height: 1.55;
	opacity: 0.88;
}

.madda-program-timeline {
	position: relative;
	width: 100%;
	max-width: 40rem;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.madda-program-timeline::before {
	content: "";
	position: absolute;
	left: calc(1.2rem - 1px);
	top: 0.7rem;
	bottom: 0.7rem;
	width: 2px;
	background: linear-gradient(
		180deg,
		rgba(166, 144, 118, 0.4) 0%,
		rgba(216, 232, 232, 0.55) 42%,
		rgba(166, 144, 118, 0.28) 100%
	);
	border-radius: 2px;
}

.madda-program-step {
	display: grid !important;
	grid-template-columns: 2.4rem minmax(0, 1fr);
	gap: clamp(1rem, 3.2vw, 1.45rem);
	align-items: start;
	margin: 0 !important;
	padding: 0 0 clamp(1.6rem, 4.5vw, 2.3rem) 0 !important;
	box-sizing: border-box;
}

.madda-program-step:last-child {
	padding-bottom: 0 !important;
}

.madda-program-step__marker.wp-block-group {
	margin: 0 !important;
}

.madda-program-step__marker {
	display: flex !important;
	justify-content: center;
	margin: 0 !important;
	padding: 0.1rem 0 0 !important;
	position: relative;
	z-index: 1;
}

.madda-program-step__num {
	margin: 0 !important;
	padding: 0 !important;
	width: 2.4rem;
	height: 2.4rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1 !important;
	color: var(--wp--preset--color--charcoal);
	background: linear-gradient(165deg, #fff 0%, rgba(250, 247, 242, 0.99) 100%);
	border: 2px solid rgba(255, 255, 255, 0.96);
	border-radius: 50%;
	box-shadow:
		0 0 0 1px rgba(166, 144, 118, 0.24),
		0 6px 22px rgba(44, 52, 48, 0.07);
	text-align: center;
}

.madda-program-step__body.wp-block-group {
	margin: 0 !important;
}

.madda-program-step__body {
	margin: 0 !important;
	padding: clamp(1.05rem, 2.6vw, 1.3rem) clamp(1.1rem, 3vw, 1.45rem) clamp(1.1rem, 2.8vw, 1.35rem) !important;
	background: rgba(255, 255, 255, 0.94);
	border-radius: var(--madda-radius-md);
	border: 1px solid rgba(44, 52, 48, 0.065);
	box-shadow: 0 10px 38px rgba(44, 52, 48, 0.048);
	box-sizing: border-box;
	min-width: 0;
}

.madda-program-step__title {
	margin: 0 0 0.8rem !important;
	padding: 0 !important;
	font-size: clamp(1.12rem, 2.35vw, 1.36rem) !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--charcoal);
}

.madda-program-step__body .madda-program-step__list,
.madda-program-step__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.madda-program-step__body .madda-program-step__list > li,
.madda-program-step__list > li {
	margin: 0 !important;
	padding: 0.5rem 0 0.5rem 1.2rem !important;
	position: relative;
	font-size: 0.94rem;
	line-height: 1.55;
	color: var(--wp--preset--color--charcoal);
	border-bottom: 1px solid rgba(44, 52, 48, 0.045);
}

.madda-program-step__body .madda-program-step__list > li:last-child,
.madda-program-step__list > li:last-child {
	border-bottom: none;
	padding-bottom: 0 !important;
}

.madda-program-step__body .madda-program-step__list > li:first-child,
.madda-program-step__list > li:first-child {
	padding-top: 0 !important;
}

.madda-program-step__body .madda-program-step__list > li::before,
.madda-program-step__list > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.76em;
	width: 0.45rem;
	height: 1px;
	background: linear-gradient(90deg, var(--wp--preset--color--gold-muted), rgba(166, 144, 118, 0.15));
	border-radius: 1px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.madda-program-step__body {
		transition:
			transform 0.25s var(--madda-ease),
			box-shadow 0.25s var(--madda-ease);
	}

	.madda-program-step:hover .madda-program-step__body {
		transform: translateY(-2px);
		box-shadow: 0 16px 46px rgba(44, 52, 48, 0.085);
	}
}

@media (max-width: 781px) {
	.madda-program-shell {
		padding-left: 0;
		padding-right: 0;
	}

	.madda-program-timeline::before {
		left: calc(1.05rem - 1px);
	}

	.madda-program-step {
		grid-template-columns: 2.15rem minmax(0, 1fr);
		gap: 0.85rem;
	}

	.madda-retreat-landing > .madda-section:not(.madda-hero) {
		padding-top: clamp(3.15rem, 9vw, 5.25rem);
		padding-bottom: clamp(3.15rem, 9vw, 5.25rem);
	}

	.madda-retreat-program > .wp-block-group.alignwide {
		padding-left: 0;
		padding-right: 0;
	}
}

.madda-retreat-inclusions .madda-split-lists {
	gap: clamp(1.85rem, 4.5vw, 2.75rem);
	align-items: flex-start !important;
}

.madda-retreat-inclusions .madda-split-lists.is-layout-grid {
	align-items: start !important;
}

.madda-retreat-inclusions .madda-list-panel {
	padding: clamp(1.65rem, 3.6vw, 2.5rem);
}

.madda-retreat-inclusions .madda-list-panel h2 {
	margin-bottom: 1.25rem !important;
	padding-bottom: 0.95rem !important;
}

.madda-retreat-inclusions .madda-list-panel li {
	margin-bottom: 0.82rem;
	padding-left: 1.35rem;
	line-height: 1.66;
}

.madda-cta-premium--retreat {
	background: linear-gradient(
		135deg,
		#9ebfbf 0%,
		var(--wp--preset--color--sea-mist) 42%,
		var(--wp--preset--color--aqua-soft) 88%,
		#b5ccc9 100%
	) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.madda-cta-premium--retreat::before {
	background: radial-gradient(ellipse 50% 42% at 15% 12%, rgba(255, 255, 255, 0.48) 0%, transparent 58%),
		radial-gradient(ellipse 48% 45% at 88% 88%, rgba(250, 247, 242, 0.4) 0%, transparent 52%);
}

.madda-cta-premium--retreat .madda-cta-inner {
	max-width: 38rem;
	padding: clamp(2.25rem, 5.5vw, 3.35rem);
}

/* ——— Highlights row ——— */
.madda-highlights {
	border-block: 1px solid rgba(44, 52, 48, 0.055);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(250, 247, 242, 0.88) 45%, rgba(245, 240, 232, 0.92) 100%);
}

.madda-highlight-card {
	text-align: center;
	padding: clamp(1.2rem, 3vw, 1.65rem) clamp(1rem, 2vw, 1.35rem);
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: var(--madda-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 36px rgba(44, 52, 48, 0.045);
}

.madda-highlight-card h3 {
	font-size: clamp(1.15rem, 2.5vw, 1.35rem) !important;
	margin: 0 0 0.5rem !important;
	font-weight: 500 !important;
}

.madda-highlight-card p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.55;
	color: var(--wp--preset--color--taupe);
}

.madda-highlight-card .madda-highlight-eyebrow {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-muted);
	margin-bottom: 0.4rem;
}

/* ——— Quote band ——— */
.madda-quote-section {
	border-top: 1px solid rgba(44, 52, 48, 0.065);
	border-bottom: 1px solid rgba(44, 52, 48, 0.05);
	background: linear-gradient(180deg, rgba(250, 247, 242, 0.4) 0%, var(--wp--preset--color--cream) 50%, rgba(245, 240, 232, 0.35) 100%);
}

.madda-quote-block {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	text-wrap: balance;
	padding: clamp(2rem, 5vw, 3rem) 1.5rem;
	position: relative;
}

.madda-quote-block::before {
	content: "“";
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.75rem, 7vw, 4rem);
	line-height: 0.35;
	display: block;
	color: var(--wp--preset--color--gold-muted);
	opacity: 0.32;
	margin-bottom: 0.15rem;
}

.madda-quote-block p {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.2rem, 2.8vw, 1.45rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	color: var(--wp--preset--color--charcoal);
}

.madda-quote-block cite,
.madda-quote-block .madda-quote-cite {
	display: block;
	margin-top: 1.25rem;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

/* ——— Premium CTA band ——— */
.madda-cta-premium {
	position: relative;
	overflow: hidden;
	background: linear-gradient(
		128deg,
		var(--wp--preset--color--sea-mist) 0%,
		#d0e2e2 38%,
		var(--wp--preset--color--aqua-soft) 72%,
		#b8cecc 100%
	) !important;
}

.madda-cta-premium::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 45% at 20% 15%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
		radial-gradient(ellipse 45% 40% at 90% 90%, rgba(250, 247, 242, 0.35) 0%, transparent 50%);
	pointer-events: none;
}

.madda-cta-premium .madda-cta-inner {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 5vw, 3rem);
	background: rgba(255, 255, 255, 0.42);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: var(--madda-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: var(--madda-shadow-soft);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.madda-cta-premium .madda-cta-inner .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(166, 144, 118, 0.85);
	color: var(--wp--preset--color--gold-muted);
	background: rgba(255, 255, 255, 0.35);
}

.madda-cta-premium .madda-cta-inner .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(166, 144, 118, 0.12);
	color: var(--wp--preset--color--charcoal);
	border-color: var(--wp--preset--color--charcoal);
}

.madda-cta-trust {
	display: block;
	text-align: center;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--taupe);
	margin-top: 1.35rem !important;
	margin-bottom: 0 !important;
	line-height: 1.45;
	opacity: 0.92;
}

/* ——— Image panels & placeholders ——— */
.madda-media-panel {
	border-radius: var(--madda-radius-md);
	overflow: hidden;
	box-shadow: var(--madda-shadow-soft);
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.madda-media-panel img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.madda-placeholder-visual {
	background-color: #d5e4e2;
	background-image: linear-gradient(152deg, rgba(220, 234, 234, 0.95) 0%, var(--wp--preset--color--sand) 48%, rgba(197, 218, 216, 0.98) 100%),
		url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q20 20 40 40 T80 40' fill='none' stroke='%232C3430' stroke-opacity='0.04' stroke-width='1'/%3E%3Cpath d='M0 55 Q25 35 50 55 T80 55' fill='none' stroke='%232C3430' stroke-opacity='0.035' stroke-width='1'/%3E%3C/svg%3E");
	background-size: 100% 100%, 80px 80px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: var(--wp--preset--color--taupe);
	position: relative;
	overflow: hidden;
	padding-bottom: 1.25rem !important;
}

.madda-placeholder-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 20px,
		rgba(255, 255, 255, 0.1) 20px,
		rgba(255, 255, 255, 0.1) 21px
	);
	pointer-events: none;
	opacity: 0.55;
}

.madda-placeholder-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 55% at 80% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
	pointer-events: none;
}

.madda-placeholder-visual--retreat::after {
	content: "Chia · 7 – 10 maggio";
	background: none;
	position: absolute;
	top: 1rem;
	right: 1rem;
	left: auto;
	bottom: auto;
	width: auto;
	height: auto;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(44, 52, 48, 0.38);
	pointer-events: none;
	text-align: right;
	line-height: 1.35;
	max-width: 9rem;
}

.madda-placeholder-visual p {
	position: relative;
	z-index: 1;
	font-size: 0.72rem !important;
	line-height: 1.45;
	max-width: 16rem;
}

.madda-hold-caption {
	color: rgba(44, 52, 48, 0.55) !important;
	font-weight: 600;
}

.madda-hold-caption--light {
	color: rgba(44, 52, 48, 0.48) !important;
}

/* ——— About portrait ——— */
.madda-about-portrait {
	aspect-ratio: 4 / 5;
	max-height: 440px;
	min-height: 260px;
	background: linear-gradient(168deg, #cfdedc 0%, var(--wp--preset--color--sand) 48%, #bacfc9 100%);
	border-radius: var(--madda-radius-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	color: var(--wp--preset--color--taupe);
	font-size: 0.9rem;
	text-align: center;
	padding: 1.5rem 1.25rem 1.35rem;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: var(--madda-shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	position: relative;
	overflow: hidden;
}

.madda-about-portrait::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 45% at 35% 28%, rgba(255, 255, 255, 0.45) 0%, transparent 58%);
	pointer-events: none;
}

.madda-about-portrait::after {
	content: "MB";
	position: absolute;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
	font-family: "Cormorant Garamond", "Palatino Linotype", serif;
	font-weight: 500;
	font-size: clamp(3rem, 18vw, 5.5rem);
	letter-spacing: 0.12em;
	color: rgba(44, 52, 48, 0.09);
	line-height: 1;
	pointer-events: none;
	white-space: nowrap;
}

.madda-about-portrait .madda-hold-caption,
.madda-about-portrait p {
	position: relative;
	z-index: 1;
	margin: 0 !important;
}

/* ——— Day cards ——— */
.madda-day-grid {
	display: grid;
	gap: clamp(1.35rem, 3vw, 2.15rem);
}

@media (min-width: 600px) {
	.madda-day-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.madda-day-card {
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--madda-radius-md);
	padding: clamp(1.4rem, 3vw, 2rem);
	box-shadow: 0 8px 32px rgba(44, 52, 48, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-top: 3px solid var(--wp--preset--color--gold-muted);
}

.madda-day-card h3 {
	margin-top: 0;
	margin-bottom: 0.95rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(44, 52, 48, 0.07);
	font-size: clamp(1.28rem, 2.4vw, 1.5rem) !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--charcoal);
}

.madda-day-card ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	font-size: 0.978rem;
	line-height: 1.6;
}

.madda-day-card li {
	position: relative;
	padding-left: 1.15rem;
	margin-bottom: 0.55rem;
}

.madda-day-card li:last-child {
	margin-bottom: 0;
}

.madda-day-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--wp--preset--color--aqua-soft);
	border: 1px solid rgba(44, 52, 48, 0.12);
}

/* ——— Included / excluded panels ——— */
.madda-split-lists {
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.5rem);
}

.madda-split-lists.is-layout-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start !important;
}

@media (min-width: 782px) {
	.madda-split-lists {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.madda-split-lists.is-layout-flex {
		flex-wrap: nowrap;
	}

	.madda-split-lists.is-layout-flex > .wp-block-group.madda-list-panel {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (max-width: 781px) {
	.madda-split-lists.is-layout-flex > .wp-block-group.madda-list-panel {
		flex: 1 1 100%;
	}
}

.madda-list-panel {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--madda-radius-md);
	padding: clamp(1.5rem, 3.5vw, 2.35rem);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: var(--madda-shadow-soft);
}

.madda-list-panel--included {
	border-top: 3px solid var(--wp--preset--color--gold-muted);
}

.madda-list-panel--excluded {
	border-top: 3px solid rgba(139, 126, 106, 0.55);
}

.madda-list-panel h2 {
	margin-top: 0;
	margin-bottom: 1.15rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(44, 52, 48, 0.08);
	font-size: clamp(1.45rem, 2.5vw, 1.75rem) !important;
}

.madda-list-panel ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	line-height: 1.62;
}

.madda-list-panel li {
	position: relative;
	padding-left: 1.3rem;
	margin-bottom: 0.7rem;
	font-size: 0.998rem;
}

.madda-list-panel li:last-child {
	margin-bottom: 0;
}

.madda-list-panel--included li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold-muted);
	opacity: 0.9;
}

.madda-list-panel--excluded li::before {
	content: "";
	position: absolute;
	left: 0.05em;
	top: 0.62em;
	width: 5px;
	height: 5px;
	border-radius: 1px;
	background: var(--wp--preset--color--taupe);
	opacity: 0.75;
	transform: rotate(45deg);
}

/* ——— About: vision slice ——— */
.madda-vision-slice {
	position: relative;
}

.madda-vision-slice::before {
	content: "";
	display: block;
	width: min(180px, 40vw);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--wp--preset--color--gold-muted), transparent);
	margin: 0 auto 2.25rem;
	opacity: 0.7;
}

.madda-vision-inner {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
	background: rgba(255, 255, 255, 0.42);
	border-radius: var(--madda-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 16px 40px rgba(44, 52, 48, 0.05);
}

/* ——— Contact page ——— */
.madda-contact-page {
	background: linear-gradient(180deg, var(--wp--preset--color--sand) 0%, var(--wp--preset--color--cream) 45%, var(--wp--preset--color--sand) 100%);
}

.madda-contact-lead {
	max-width: 36rem;
}

.madda-contact-card > p.has-gold-muted-color {
	margin-bottom: 0.4rem !important;
}

.madda-contact-card {
	margin-top: 0.65rem;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--madda-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.88);
	box-shadow: var(--madda-shadow-soft);
}

.madda-contact-card > p.madda-contact-form-title {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-muted);
	margin: 1.35rem 0 0.25rem !important;
}

.madda-contact-details {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0;
	padding: 0 0 1rem;
	border-bottom: 1px solid rgba(44, 52, 48, 0.07);
}

.madda-contact-detail {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.65rem;
	font-size: 0.98rem;
	line-height: 1.55;
}

.madda-contact-detail dt {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	margin: 0;
	min-width: 5.5rem;
}

.madda-contact-detail dd {
	margin: 0;
	flex: 1;
	min-width: 12rem;
}

.madda-contact-detail a {
	font-weight: 500;
}


.madda-contact-hint {
	font-size: 0.82rem;
	font-style: italic;
	opacity: 0.88;
	color: var(--wp--preset--color--taupe);
}

.madda-contact-pending {
	display: inline-block;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--charcoal);
	background: rgba(216, 232, 232, 0.55);
	border: 1px solid rgba(44, 52, 48, 0.08);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	line-height: 1.35;
}


.madda-contact-whisper {
	font-style: italic;
	color: var(--wp--preset--color--taupe);
	margin-top: 1rem !important;
}

/* ——— Contact form ——— */
.madda-contact-form {
	max-width: 100%;
	margin-top: 0.15rem;
}

.madda-field {
	margin-bottom: 1.35rem;
}

.madda-field:last-of-type {
	margin-bottom: 0.5rem;
}

.madda-label {
	display: block;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	margin-bottom: 0.45rem;
}

.madda-contact-form .madda-input {
	width: 100%;
	max-width: 100%;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(44, 52, 48, 0.14);
	border-radius: var(--madda-radius-sm);
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.45;
	background: rgba(255, 255, 255, 0.92);
	color: var(--wp--preset--color--charcoal);
	box-sizing: border-box;
	transition: border-color 0.2s var(--madda-ease), box-shadow 0.2s var(--madda-ease);
}

.madda-contact-form .madda-input::placeholder {
	color: rgba(44, 52, 48, 0.38);
}

.madda-contact-form .madda-input:hover {
	border-color: rgba(139, 126, 106, 0.35);
}

.madda-contact-form .madda-input:focus {
	outline: none;
	border-color: var(--wp--preset--color--gold-muted);
	box-shadow: 0 0 0 3px rgba(166, 144, 118, 0.2);
}

.madda-contact-form .required {
	color: var(--wp--preset--color--gold-muted);
	font-weight: 600;
}

.madda-submit {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 1.05rem 2rem;
	background: var(--wp--preset--color--gold-muted);
	color: var(--wp--preset--color--cream);
	border: none;
	border-radius: var(--madda-radius-sm);
	cursor: pointer;
	transition: background 0.28s var(--madda-ease), color 0.28s var(--madda-ease), transform 0.22s var(--madda-ease), box-shadow 0.28s var(--madda-ease);
	box-shadow: 0 6px 22px rgba(166, 144, 118, 0.35);
	margin-top: 0.35rem;
}

.madda-submit:hover {
	background: var(--wp--preset--color--taupe);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(44, 52, 48, 0.15);
}

.madda-notice--success {
	padding: 1rem 1.25rem;
	background: rgba(216, 232, 232, 0.65);
	border-radius: var(--madda-radius-sm);
	border: 1px solid rgba(44, 52, 48, 0.08);
	max-width: 100%;
	margin-bottom: 1.25rem;
}

.madda-notice--error {
	padding: 1rem 1.25rem;
	background: rgba(252, 245, 238, 0.95);
	border-radius: var(--madda-radius-sm);
	border: 1px solid rgba(166, 144, 118, 0.28);
	max-width: 100%;
	margin-bottom: 1.25rem;
}

/* ——— Footer ——— */
.madda-footer-root {
	border-top: 1px solid rgba(44, 52, 48, 0.05);
}

.madda-footer-root h3 {
	font-size: clamp(1.35rem, 2.5vw, 1.55rem) !important;
	font-weight: 500 !important;
	margin-bottom: 0.65rem !important;
	letter-spacing: -0.02em;
}

.madda-footer-root .madda-footer-tagline {
	font-size: 0.94rem !important;
	line-height: 1.55;
	color: var(--wp--preset--color--taupe);
	margin: 0 !important;
}

.madda-footer-root .madda-footer-eyebrow {
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--gold-muted) !important;
	margin: 0 0 0.85rem !important;
}

.madda-footer-nav .wp-block-navigation-item .wp-block-navigation-item__content {
	padding: 0.2rem 0;
	font-size: 0.9rem;
	transition: color 0.2s var(--madda-ease);
}

.madda-footer-nav .wp-block-navigation-item .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--gold-muted);
}

.madda-footer-social {
	padding-top: 0.35rem;
	border-top: 1px solid rgba(44, 52, 48, 0.08);
	font-size: 0.91rem !important;
	line-height: 1.65;
}

.madda-footer-social a {
	font-weight: 500;
	transition: color 0.2s var(--madda-ease);
}

.madda-footer-legal {
	margin-top: 0.25rem !important;
	letter-spacing: 0.02em;
}

@media (max-width: 600px) {
	.madda-footer-root .wp-block-columns {
		gap: 1.75rem !important;
	}

	.madda-footer-root .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ——— Subtle hero entrance ——— */
@media (prefers-reduced-motion: no-preference) {
	.madda-hero__stack {
		animation: madda-fade-up 1s var(--madda-ease) both;
	}
}

@keyframes madda-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.madda-hero__stack {
		animation: none !important;
	}

	.wp-block-button .wp-block-button__link:hover,
	.madda-submit:hover {
		transform: none;
	}
}

/* ——— Mobile: balance & presentation flow ——— */
@media (max-width: 781px) {
	/*
	 * Nav overlay: backdrop-filter sullo sticky header crea un containing block che
	 * “intrappola” position:fixed del pannello menu. Su mobile niente blur sul header.
	 */
	.madda-site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: rgba(250, 247, 242, 0.97);
		z-index: 99900;
	}

	.madda-site-header .wp-block-navigation {
		position: relative;
		z-index: 1;
		flex: 0 0 auto;
		min-width: 0;
		--navigation-layout-justify: flex-end;
	}

	.madda-site-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important;
		inset: 0 !important;
		z-index: 100000 !important;
		display: flex !important;
		flex-direction: column !important;
	}

	.madda-site-header .wp-block-group.alignwide {
		flex-wrap: nowrap;
		align-items: center;
		column-gap: 0.5rem;
		row-gap: 0;
	}

	.madda-site-header .madda-site-brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.madda-home-about.wp-block-columns {
		flex-direction: column;
		gap: 2rem !important;
	}

	.madda-home-about--image-first-mobile.wp-block-columns {
		flex-direction: column-reverse !important;
		gap: 2.75rem !important;
		row-gap: 2.75rem !important;
	}

	.madda-home-about .wp-block-column {
		flex-basis: 100% !important;
	}

	.madda-home-retreat.wp-block-columns {
		gap: 1.75rem !important;
	}

	.madda-home-retreat .wp-block-column {
		flex-basis: 100% !important;
	}

	.madda-highlights .wp-block-columns {
		gap: 1rem !important;
	}

	.madda-highlight-card {
		padding: clamp(1.1rem, 4vw, 1.4rem) 1rem;
	}

	.madda-hero__stack h1:not(.madda-hero-title) {
		max-width: 100%;
		overflow-wrap: anywhere;
		hyphens: auto;
	}

	.madda-hero--home .madda-hero-title {
		max-width: 100%;
	}

	.madda-divider-wrap {
		padding: clamp(1.35rem, 4vw, 2.25rem) 1rem;
	}

	.madda-cta-premium .madda-cta-inner {
		margin-left: 0.15rem;
		margin-right: 0.15rem;
		padding: clamp(1.45rem, 5vw, 2.35rem);
	}

	.madda-quote-block {
		padding: clamp(1.5rem, 4vw, 2.25rem) 1rem;
	}

	.madda-quote-section.madda-section {
		padding-top: clamp(2.5rem, 7vw, 4rem);
		padding-bottom: clamp(2.5rem, 7vw, 4rem);
	}

	.wp-block-buttons.is-content-justification-center {
		flex-wrap: wrap;
		justify-content: center !important;
	}

	.madda-about-portrait {
		max-height: min(22rem, 88vw);
		min-height: 260px;
		margin-inline: auto;
		max-width: min(20rem, 100%);
	}

	/* “MB” più contenuto: meno invasivo rispetto al testo sotto quando le colonne sono in stack */
	.madda-home-about .madda-about-portrait::after {
		font-size: clamp(2rem, 9.5vw, 3.35rem);
		top: 34%;
	}
}

@media (max-width: 600px) {
	.madda-section {
		padding-top: clamp(2.65rem, 8vw, 5rem);
		padding-bottom: clamp(2.65rem, 8vw, 5rem);
	}

	.madda-placeholder-visual,
	.madda-placeholder-visual.wp-block-group {
		min-height: 260px !important;
	}
}
