/*
Theme Name: Busellato1957
Theme URI: https://grafichenoventa.it
Author: Grafiche Noventa
Author URI: https://grafichenoventa.it
Template: hello-elementor
Version: 1.0.0
Text Domain: grafichenoventa
*/

:root {
	--busellato-panorama-max-height: 760px;
	--busellato-portrait-height: 560px;
}

/* Solo protezione degli esclusi: gli effetti di ingresso sono gestiti da Elementor. */
.elementor .busellato-entrance-static,
.elementor .busellato-entrance-sequence:focus-within,
.elementor .swiper-slide-duplicate.busellato-entrance,
.elementor .swiper-slide-duplicate .busellato-entrance {
	animation: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.elementor .busellato-entrance.animated-fast {
	animation-duration: 2s;
}

.elementor .home-sustainability-photos .busellato-entrance.animated-fast,
.elementor .busellato-entrance.busellato-entrance-sequence.animated-fast {
	animation-duration: 0.6s;
}

/* Mantiene i collegamenti raggiungibili con Tab durante l'attesa della sequenza. */
.elementor .busellato-entrance-sequence.elementor-invisible {
	visibility: visible;
	opacity: 0;
	pointer-events: none;
}

.busellato-header .busellato-logo {
	transition: width 250ms ease;
}

header .busellato-header.elementor-sticky--effects .busellato-logo {
	width: 150px;
}

.busellato-language-switcher {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-family: var(--e-global-typography-menu-font-family), sans-serif;
	font-size: var(--e-global-typography-menu-font-size);
	font-weight: var(--e-global-typography-menu-font-weight);
	line-height: var(--e-global-typography-menu-line-height);
	letter-spacing: var(--e-global-typography-menu-letter-spacing);
}

.busellato-language-switcher > :is(a, span:not(.language-separator)) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.busellato-language-switcher > :is(a, span) {
	color: var(--e-global-color-secondary);
}

.busellato-language-switcher > :is(a, span:not(.language-separator)):hover {
	color: var(--e-global-color-primary);
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.elementor .busellato-header .elementor-widget.elementor-widget-nav-menu {
		--e-nav-menu-horizontal-menu-item-margin: 6px;
	}
}

@media (max-width: 1024px) {
	.busellato-header .busellato-header-languages {
		margin-inline-start: auto;
	}
}

/* Copertine e video condivisi. */
.elementor .busellato-hero {
	--busellato-hero-min-height: 0px;
	--busellato-hero-cap: max(var(--busellato-hero-min-height), calc(100svh - var(--busellato-header-height, 0px) - var(--wp-admin--admin-bar--height, 0px)));
	--busellato-hero-frame-height: min(calc((100vw - 20px) * 3 / 7), var(--busellato-hero-cap));
	--busellato-hero-title-size: min(var(--e-global-typography-hero-font-size, 72px), calc(var(--busellato-hero-frame-height) * .13));
	--busellato-hero-title-half: calc(var(--busellato-hero-title-size) * .55);
	--busellato-hero-play-size: 96px;
	--busellato-hero-play-gap: 24px;
	--busellato-hero-play-shift: 96px;
	--busellato-hero-play-clearance: 77px;
	--busellato-hero-cue-reserve: 85px;
	--busellato-hero-title-center: min(45%, calc(100% - var(--busellato-hero-cue-reserve) - var(--busellato-hero-title-half) - var(--busellato-hero-play-gap) - var(--busellato-hero-play-size)));
	max-height: var(--busellato-hero-cap);
	min-height: max(var(--busellato-hero-min-height), min(var(--min-height, 0px), var(--busellato-hero-cap)));
	overflow: hidden;
}

/* Il video e il titolo restano leggibili anche nelle finestre basse. */
.elementor .busellato-hero:has(.elementor-widget-video) {
	--busellato-hero-min-height: 648px;
	--busellato-hero-title-size: var(--e-global-typography-hero-font-size, 72px);
}

.busellato-hero .elementor-widget-video,
.busellato-hero .elementor-wrapper,
.busellato-hero .elementor-video:not(:fullscreen) {
	max-height: var(--busellato-hero-cap);
}

.busellato-hero .elementor-wrapper {
	width: 100%;
	min-height: var(--busellato-hero-min-height);
}

.busellato-hero .elementor-open-inline:not(:has(.elementor-custom-embed-image-overlay)) .elementor-video {
	object-fit: contain;
	object-position: center;
}

.busellato-hero .elementor-custom-embed-image-overlay img {
	height: 100%;
}

.busellato-hero .elementor-custom-embed-image-overlay:before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .32);
	pointer-events: none;
}

/* I titoli su tre righe mantengono il Play sotto al testo. */
.elementor .busellato-hero:has(.busellato-hero-copy h1 br) {
	--busellato-hero-title-half: calc(var(--busellato-hero-title-size) * 1.65);
}

body .elementor .elementor-element.busellato-hero-copy h1.elementor-heading-title {
	font-size: var(--busellato-hero-title-size);
	line-height: 1.1;
}

body .elementor .elementor-element.busellato-hero-copy {
	/* Centro del titolo stabile, con spazio per Play e freccia. */
	top: var(--busellato-hero-title-center);
	transform: translateY(-50%);
	pointer-events: none;
}

/* La copertina scompare al Play; il titolo resta nel markup. */
.busellato-hero:has(.elementor-open-inline):not(:has(.elementor-custom-embed-image-overlay)) .busellato-hero-copy {
	opacity: 0;
}

.busellato-hero .elementor-widget.busellato-hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 44px;
	margin-bottom: 25px;
	z-index: 3;
	transform: translateX(-50%);
}

.busellato-hero:has(.elementor-open-inline):not(:has(.elementor-custom-embed-image-overlay)) .busellato-hero-scroll {
	bottom: 64px;
}

.busellato-hero .busellato-scroll-cue {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--e-global-color-bianco);
}

.busellato-hero .busellato-scroll-cue:is(:hover, :focus-visible) {
	color: var(--e-global-color-primary);
}

.busellato-hero .busellato-scroll-cue:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.busellato-scroll-cue svg {
	width: 36px;
	height: 36px;
	fill: currentColor;
	filter: drop-shadow(0 1px 1px var(--e-global-color-secondary)) drop-shadow(0 2px 5px var(--e-global-color-secondary));
}

.busellato-scroll-arrow {
	opacity: .45;
	transform-box: fill-box;
	animation: busellato-scroll-arrow 2.8s cubic-bezier(.4, 0, .2, 1) infinite both;
}

.busellato-scroll-arrow-upper {
	animation-delay: .5s;
}

.busellato-scroll-target {
	scroll-margin-top: 120px;
}

@keyframes busellato-scroll-arrow {
	0%, 85%, 100% { opacity: .45; transform: translateY(0); }
	20%, 45% { opacity: 1; transform: translateY(12%); }
	70% { opacity: .45; transform: translateY(22%); }
}

@media (prefers-reduced-motion: reduce) {
	.busellato-scroll-arrow {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

.busellato-hero .elementor-custom-embed-play {
	/* Abbassa il Play mantenendo libero lo spazio della freccia. */
	top: min(calc(100% - var(--busellato-hero-play-clearance) - var(--busellato-hero-play-size) / 2), calc(var(--busellato-hero-title-center) + var(--busellato-hero-title-half) + var(--busellato-hero-play-gap) + var(--busellato-hero-play-size) / 2 + var(--busellato-hero-play-shift)));
	width: var(--busellato-hero-play-size);
	height: var(--busellato-hero-play-size);
	border-radius: 50%;
	background: var(--e-global-color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
	.elementor-widget-video .elementor-custom-embed-play::after {
		content: "";
		position: absolute;
		inset: 0;
		border: 2px solid var(--e-global-color-bianco);
		border-radius: 50%;
		pointer-events: none;
		animation: busellato-play-pulse 2s ease-out infinite;
	}

	.elementor-widget-video .elementor-custom-embed-play:is(:hover, :focus-visible)::after {
		animation-play-state: paused;
	}
}

@keyframes busellato-play-pulse {
	/* Stessa durata della pulsazione, con una pausa più breve fra i cicli. */
	0%, 10% { opacity: 0; transform: scale(1); }
	24% { opacity: .5; transform: scale(1); }
	87%, 100% { opacity: 0; transform: scale(1.4); }
}

/* Le dimensioni delle foto cambiano con lo stato della slide. */
.busellato-photo-carousel .swiper-slide > .busellato-carousel-slide {
	aspect-ratio: 1.41;
}

.busellato-photo-carousel .busellato-carousel-photo {
	position: absolute;
	left: 0;
	top: 50%;
	width: 56%;
	height: 70%;
	transform: translateY(-50%);
	transition: width .65s ease, height .65s ease, left .65s ease;
}

.busellato-photo-carousel :is(.swiper-slide-prev, .swiper-slide-duplicate-prev) .busellato-carousel-photo {
	left: 44%;
}

.busellato-photo-carousel :is(.swiper-slide-active, .swiper-slide-duplicate-active) .busellato-carousel-photo {
	width: 100%;
	height: 100%;
}

.busellato-photo-carousel .busellato-carousel-photo img {
	display: block;
}

.busellato-photo-strip .elementor-widget-image img {
	display: block;
	aspect-ratio: 3/2;
}

body .elementor .elementor-element:is(.company-hospitality-photo, .eventi-visit-photo) {
	height: var(--busellato-portrait-height);
	aspect-ratio: auto;
}

body .elementor .elementor-element:is(.company-hospitality-photo, .eventi-visit-photo) img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media (min-width: 768px) {
	/* Il controllo nativo dello spazio laterale accetta solo pixel. */
	body .elementor-element.elementor-widget.busellato-photo-carousel {
		--e-n-carousel-swiper-offset-size: 27%;
	}
}

@media (max-width: 1024px) {
	:root {
		--busellato-portrait-height: 440px;
	}

	.elementor .busellato-hero {
		--busellato-hero-title-size: min(var(--e-global-typography-hero-font-size, 72px), calc(var(--busellato-hero-frame-height) * .13));
		--busellato-hero-play-size: 72px;
	}
}

@media (max-width: 767px) {
	:root {
		--busellato-portrait-height: 320px;
	}

	.elementor .busellato-hero:has(.elementor-widget-video) {
		--busellato-hero-min-height: 568px;
	}

	.busellato-hero .elementor-wrapper {
		height: clamp(400px, 125vw, 560px);
	}

	.elementor .busellato-hero {
		--busellato-hero-frame-height: min(clamp(400px, 125vw, 560px), var(--busellato-hero-cap));
		--busellato-hero-play-size: 64px;
		/* Spazio per la riga aggiuntiva dei titoli tradotti. */
		--busellato-hero-title-half: calc(var(--busellato-hero-title-size) * 1.1);
	}
	.elementor .busellato-hero:has(.busellato-hero-copy h1 br) {
		--busellato-hero-title-half: calc(var(--busellato-hero-title-size) * 2.2);
	}
}

/* Newsletter WPForms: stessa composizione del footer. */
body .elementor .newsletter-form .wpforms-container-full {
	--wpforms-button-background-color: var(--e-global-color-interazione);
	--wpforms-button-background-color-alt: var(--e-global-color-interazione);
	--wpforms-button-text-color: var(--e-global-color-bianco);
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	min-width: 0;
	font: inherit;
	color: var(--e-global-color-secondary);
}

body .elementor .newsletter-form .wpforms-form,
body .elementor .newsletter-form .wpforms-field-container,
body .elementor .newsletter-form .wpforms-form .wpforms-field {
	margin: 0;
	padding: 0;
	font: inherit;
}

body .elementor .newsletter-form .wpforms-field-container {
	display: flow-root;
}

body .elementor .newsletter-form .wpforms-field input[type=email] {
	border: 0;
	border-bottom: 1px solid var(--e-global-color-secondary);
	border-radius: 0;
	background: transparent;
	padding: 0 0 12px;
	margin: 0;
	color: var(--e-global-color-secondary);
	font: inherit;
	font-size: var(--e-global-typography-menu-font-size);
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	display: inline-block;
	vertical-align: baseline;
	box-shadow: none;
	opacity: 1;
}

body .elementor .newsletter-form .wpforms-field input::placeholder {
	color: var(--e-global-color-secondary);
	opacity: 1;
}

body .elementor .newsletter-form .wpforms-form .home-newsletter-consent {
	margin: 32px 0;
	padding: 0;
}

body .elementor .newsletter-form .home-newsletter-consent fieldset,
body .elementor .newsletter-form .home-newsletter-consent ul {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body .elementor .newsletter-form .home-newsletter-consent li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-family: var(--e-global-typography-footer-font-family);
	font-size: var(--e-global-typography-footer-font-size);
	line-height: 1.5;
}

body .elementor .newsletter-form .home-newsletter-consent input[type=checkbox] {
	appearance: auto;
	width: 18px;
	height: 18px;
	min-width: 18px;
	flex-shrink: 0;
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--e-global-color-text);
	font: 16px/24px var(--e-global-typography-footer-font-family);
	accent-color: var(--e-global-color-secondary);
}

body .elementor .newsletter-form .home-newsletter-consent input::before,
body .elementor .newsletter-form .home-newsletter-consent input::after {
	display: none;
}

body .elementor .newsletter-form .home-newsletter-consent .wpforms-field-label-inline {
	margin: 0;
	padding: 0;
	font: inherit;
	color: var(--e-global-color-secondary);
	line-height: 1.5;
	hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
}

body .elementor .newsletter-form .home-newsletter-consent a {
	color: var(--e-global-color-secondary);
	text-decoration: underline;
}

body .elementor .newsletter-form .wpforms-form .wpforms-submit-container {
	margin: 0;
	padding: 0;
}

body .elementor .newsletter-form .wpforms-submit {
	display: inline-block;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 15px 30px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: 1.2;
	text-transform: uppercase;
	background: var(--e-global-color-interazione);
	color: var(--e-global-color-bianco);
}

body .elementor .newsletter-form :is(input[type=email], input[type=checkbox], button[type=submit]):focus-visible {
	outline: 2px solid var(--e-global-color-secondary);
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.home-newsletter-root {
		background-color: var(--e-global-color-grigio);
	}
}

@media (prefers-reduced-motion: reduce) {
	.busellato-header .busellato-logo {
		transition: none;
	}

	.busellato-photo-carousel .busellato-carousel-photo {
		transition: none;
	}

	.busellato-photo-carousel .swiper-wrapper {
		transition-duration: 0ms !important;
	}
}

/* Lo scope Elementor conserva la priorità degli stili specifici di pagina. */
body .elementor .home-wines,
body .elementor #vini-cantina,
body .elementor #casai-panorama,
body .elementor #toro-panorama {
	min-height: min(var(--min-height, 0px), var(--busellato-panorama-max-height));
}

/* Home. */
body.home .elementor .home-quote {
	font-size: 42px;
}

body .elementor .home-quote p {
	/* Spazio dedicato alle virgolette, anche con la prima riga inglese più lunga. */
	padding-inline: 1.4em;
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
}

body .elementor .home-quote p::before,
body .elementor .home-quote p::after {
	content: "";
	position: absolute;
	width: .9em;
	height: 1em;
	background: linear-gradient(90deg, currentColor 0 42%, transparent 42% 58%, currentColor 58% 100%);
	color: #868787;
	transform: skewX(24deg);
	pointer-events: none;
}

body .elementor .home-quote p::before {
	left: 0;
	top: 0;
}

body .elementor .home-quote p::after {
	right: 0;
	bottom: 0;
}

body .elementor .home-news-card .home-news-image img {
	display: block;
	aspect-ratio: 1.52;
}

body .elementor .home-news-link .elementor-heading-title {
	margin: 0;
}

body .elementor .home-news-link a:hover,
body .elementor .home-news-link a:focus-visible {
	text-decoration: underline;
}

@media (min-width: 768px) {
	body .elementor .home-news-secondary:not(.home-news-card) {
		display: grid;
		grid-template-rows: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	body.home .elementor .home-quote {
		font-size: 36px;
	}

	body .elementor .home-quote p {
		padding-inline: 0;
	}

	body .elementor .home-quote p::before,
	body .elementor .home-quote p::after {
		display: none;
	}
}

@media (max-width: 767px) {
	body.home .elementor .home-quote {
		font-size: 30px;
	}

	body .elementor .home-quote br {
		display: none;
	}
}

/* Busellato1957. */
body .elementor :is(#company-promessa, #company-citazione) > .e-con-inner {
	min-height: 248px;
	justify-content: center;
}

body .elementor :is(#company-promessa, #company-citazione) p:last-child {
	margin-bottom: 0;
}

body .elementor #company-radici .company-roots-copy {
	display: contents;
}

body .elementor #company-radici .company-roots-copy > :is(.elementor-widget-heading, .company-roots-intro) {
	grid-column: 1 / -1;
}

body .elementor #company-radici .company-roots-intro p:last-child {
	margin-bottom: 0;
}

body .elementor #company-radici .company-family {
	max-width: min(100%, 600px);
	justify-self: center;
	align-self: start;
}

body .elementor #company-visione {
	min-height: min(var(--min-height, 0px), 800px);
}

body .elementor #company-visione::before {
	opacity: .55;
}

@media (min-width: 1025px) {
	body .elementor #company-visione > .e-con-inner {
		padding-block: 150px;
	}
}

body .elementor .company-family img {
	display: block;
}

body .elementor .company-meeting-photo img {
	display: block;
	aspect-ratio: 1140/705;
	max-height: 440px;
}

@media (max-width: 767px) {
	body .elementor .company-quote br {
		display: none;
	}
}

/* Eventi ed esperienze. */
body .elementor .eventi-photo-strip img {
	object-fit: cover;
}

/* Terroir. */
body .elementor .terroir-hero .elementor-custom-embed-image-overlay {
	background-position: center top;
}

body .elementor .elementor-element.terroir-mulberry img {
	display: block;
	aspect-ratio: 1918/820;
}

body .elementor .terroir-panorama img {
	display: block;
	aspect-ratio: 1920/788;
}

body .elementor .elementor-element.terroir-mulberry img,
body .elementor .elementor-element.terroir-panorama img {
	max-height: var(--busellato-panorama-max-height);
	object-fit: cover;
	object-position: center center;
}

/* Mantiene chioma e base del gelso nella fascia panoramica. */
body .elementor .elementor-element.terroir-mulberry img {
	object-position: center 75%;
}

body .elementor #terroir-scelte > .e-con-inner {
	position: relative;
	isolation: isolate;
}

body .elementor .terroir-card-row {
	z-index: 1;
}

body .elementor .elementor-element.terroir-card-landscape {
	height: 50%;
	max-height: var(--busellato-panorama-max-height);
	top: 50%;
	transform: translateY(-50%);
}

body .elementor .elementor-element.elementor-widget.terroir-diagram {
	max-width: 440px;
	aspect-ratio: 648/626;
	overflow: hidden;
}

body .elementor .terroir-diagram img {
	position: absolute;
	width: 232%;
	max-width: none;
	left: -67.2%;
	top: -22.95%;
	height: auto;
}

@media (min-width: 1025px) {
	body .elementor #terroir-scelte > .e-con-inner {
		container-type: inline-size;
		--terroir-diagram-size: min(440px, 36cqw);
		--terroir-diagram-overlap: calc(var(--terroir-diagram-size) * 626 / 648 * .4);
		--terroir-top-reserve: 80px;
	}

	body .elementor .elementor-element.elementor-widget.terroir-diagram {
		width: var(--terroir-diagram-size);
		margin-top: calc(-1 * var(--terroir-diagram-overlap));
		margin-bottom: calc(-1 * var(--terroir-diagram-overlap));
	}

	body .elementor .terroir-card-row {
		--terroir-card-gap: var(--column-gap);
	}

	body .elementor .elementor-element.terroir-card {
		display: block;
	}

	body .elementor .terroir-card-row:has(+ .terroir-diagram) > .terroir-card {
		padding-bottom: var(--terroir-top-reserve);
	}

	body .elementor .terroir-diagram + .terroir-card-row > .terroir-card {
		padding-top: 40px;
	}

	/* Le sagome lasciano scorrere il testo ai lati dei quattro cerchi. */
	body .elementor .elementor-element.terroir-card::before {
		content: "";
		position: static;
		display: block;
		width: calc((var(--terroir-diagram-size) - var(--terroir-card-gap)) / 2 - 30px);
		background: none;
		border: 0;
		opacity: 1;
		shape-margin: 16px;
	}

	/* La sagoma superiore comprende anche lo spazio per le righe rientrate. */
	body .elementor .terroir-card-row:has(+ .terroir-diagram) > .terroir-card::before {
		height: calc(100% + var(--terroir-top-reserve));
	}

	body .elementor .terroir-card-row:has(+ .terroir-diagram) > .terroir-card:first-child::before {
		float: right;
		shape-outside: polygon(100% 0, 100% 100%, 0 100%, 0 calc(100% - var(--terroir-diagram-overlap) * .6), 30% calc(100% - var(--terroir-diagram-overlap)), 100% calc(100% - var(--terroir-diagram-overlap) - 30px));
	}

	body .elementor .terroir-card-row:has(+ .terroir-diagram) > .terroir-card:last-child::before {
		float: left;
		shape-outside: polygon(0 0, 0 100%, 100% 100%, 100% calc(100% - var(--terroir-diagram-overlap) * .6), 70% calc(100% - var(--terroir-diagram-overlap)), 0 calc(100% - var(--terroir-diagram-overlap) - 30px));
	}

	body .elementor .terroir-diagram + .terroir-card-row > .terroir-card::before {
		height: calc(var(--terroir-diagram-overlap) - 40px);
	}

	body .elementor .terroir-diagram + .terroir-card-row > .terroir-card:first-child::before {
		float: right;
		shape-outside: ellipse(100% 150% at 100% 0);
	}

	body .elementor .terroir-diagram + .terroir-card-row > .terroir-card:last-child::before {
		float: left;
		shape-outside: ellipse(100% 150% at 0 0);
	}

	body .elementor .terroir-card > .elementor-widget-heading {
		margin-bottom: var(--row-gap);
	}
}

@media (max-width: 767px) {
	body .elementor .elementor-element.terroir-mulberry img {
		aspect-ratio: 4/3;
	}

	body .elementor .terroir-panorama img {
		aspect-ratio: 3/2;
	}
}

/* Schede News e notizie correlate. */
/* Il wrapper dell'allineamento nativo deve conservare le dimensioni del link. */
body .elementor .busellato-news-cards .elementor-post__read-more-wrapper {
	display: flex;
}

body .elementor .busellato-news-cards .elementor-post__read-more {
	padding-top: 16px;
}

body .elementor .busellato-news-cards :is(.elementor-post__title a, .elementor-post__read-more):is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: .18em;
}

body .elementor .busellato-news-cards .elementor-post__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* shortcut: proporzioni e distanza seguono Altre news; aggiornarle insieme al layout del widget. */
body .elementor .single-news-related article.elementor-post:not(:has(.elementor-post__thumbnail__link))::before {
	content: "";
	width: 100%;
	aspect-ratio: 100 / 66;
	flex-shrink: 0;
	margin-bottom: 20px;
	background: var(--e-global-color-grigio) url("../../uploads/2026/10/busellato-logo.webp") center / 70% auto no-repeat;
}

/* I colori delle schede seguono i singoli articoli. */
body .elementor .news-posts article.elementor-post:nth-child(1) {
	--news-background: var(--e-global-color-bianco);
	--news-ink: var(--e-global-color-secondary);
	border-color: var(--e-global-color-primary);
}

body .elementor .news-posts article.elementor-post:nth-child(2) {
	--news-background: var(--e-global-color-secondary);
	--news-ink: var(--e-global-color-bianco);
}

body .elementor .news-posts article.elementor-post:nth-child(3) {
	--news-background: var(--e-global-color-interazione);
	--news-ink: var(--e-global-color-bianco);
}

body .elementor .news-posts article.elementor-post:nth-child(4) {
	--news-background: var(--e-global-color-accent);
	--news-ink: var(--e-global-color-secondary);
}

/* Dalla sesta notizia e nelle pagine successive: scheda bianca bordata. */
body .elementor .news-posts article.elementor-post:nth-child(n+6),
body .elementor .news-posts:has(.elementor-pagination a.prev) article.elementor-post {
	--news-background: var(--e-global-color-bianco);
	--news-ink: var(--e-global-color-secondary);
	border-color: var(--e-global-color-primary);
}

body .elementor .news-posts article.elementor-post {
	background: var(--news-background, var(--e-global-color-bianco));
}

body .elementor .news-posts .elementor-post :is(.elementor-post__title a, .elementor-post__excerpt p, .elementor-post__read-more) {
	color: var(--news-ink, var(--e-global-color-secondary));
}

body .elementor .news-posts .elementor-pagination {
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
}

body .elementor .news-posts .elementor-pagination a {
	color: var(--e-global-color-interazione);
}

/* shortcut: richiede il link Precedenti, adattare se cambia il tipo di paginazione. */
@media (min-width: 1025px) {
	body .elementor .news-posts:not(:has(.elementor-pagination a.prev)) .elementor-posts-container:has(> article:nth-child(4)) > article:nth-child(1) {
		grid-column: 1;
		grid-row: 1/span 2;
	}

	body .elementor .news-posts:not(:has(.elementor-pagination a.prev)) .elementor-posts-container:has(> article:nth-child(4)) > article:nth-child(2) {
		grid-column: 2;
		grid-row: 1;
	}

	body .elementor .news-posts:not(:has(.elementor-pagination a.prev)) .elementor-posts-container:has(> article:nth-child(4)) > article:nth-child(3) {
		grid-column: 2;
		grid-row: 2;
	}

	body .elementor .news-posts:not(:has(.elementor-pagination a.prev)) .elementor-posts-container:has(> article:nth-child(4)) > article:nth-child(4) {
		grid-column: 3;
		grid-row: 1/span 2;
	}
}

/* Singola news: nasconde il posto immagine quando il contenuto ne è privo. */
.busellato-single-news .single-news-featured:not(:has(img)) {
	display: none;
}

.busellato-single-news .single-news-featured img {
	display: block;
	aspect-ratio: 16/9;
}

@media (max-width: 767px) {
	.busellato-single-news .single-news-featured img {
		aspect-ratio: 4/3;
	}
}

/* Footer globale, inclusa la newsletter. */
#newsletter {
	scroll-margin-top: 120px;
}

.busellato-footer a {
	/* Elementor usa l’accento per hover, focus e voce di menu attiva. */
	--e-global-color-accent: var(--busellato-button-background);
}

.busellato-footer a:focus-visible {
	outline: 2px solid var(--e-global-color-accent);
	outline-offset: 4px;
}

.busellato-footer .busellato-footer-contacts a {
	display: inline-block;
}

.busellato-footer .elementor-widget-heading p {
	margin: 0;
}

/* Contatti: WPForms usa gli stessi caratteri dei controlli globali. */
body .elementor .contact-form .wpforms-container-full {
	margin: 0;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	--wpforms-field-size-font-size: var(--e-global-typography-text-font-size);
	--wpforms-field-size-line-height: 1.5em;
	--wpforms-label-size-font-size: var(--e-global-typography-accent-font-size);
	--wpforms-label-size-line-height: 1.2em;
	--wpforms-button-size-font-size: var(--e-global-typography-accent-font-size);
}

body .elementor .contact-form .wpforms-field-label {
	font-weight: var(--e-global-typography-accent-font-weight);
	text-transform: uppercase;
}

/* La comparsa degli errori non deve spostare il campo su cui si sta cliccando. */
body .elementor .contact-form .wpforms-field {
	position: relative;
	padding-bottom: 48px;
}

body .elementor .contact-form .wpforms-field em.wpforms-error {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	margin: 0;
	font-size: var(--e-global-typography-accent-font-size);
	line-height: 1.5;
}

body .elementor .contact-form .wpforms-field :is(input[type=text], input[type=email], input[type=tel], textarea) {
	border-width: 0 0 1px;
	padding-inline: 0;
	box-shadow: none;
}

body .elementor .contact-form .wpforms-field-label-inline {
	font-size: var(--e-global-typography-footer-font-size);
	line-height: 1.5;
}

body .elementor .contact-form .wpforms-submit {
	width: 100%;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-weight: var(--e-global-typography-accent-font-weight);
	text-transform: uppercase;
}

/* Scheda vino: dati WooCommerce, composizione condivisa dalle due linee. */
.single-wine-sheet {
	--wine-overlap: 240px;
}

.elementor .single-wine-sheet .elementor-widget.single-wine-logo {
	margin-bottom: var(--wine-overlap);
}

.single-wine-sheet .single-wine-logo img {
	display: block;
	margin-inline: auto;
}

.single-wine-panel {
	min-height: 520px;
}

.single-wine-bottle {
	position: relative;
	z-index: 1;
	align-self: stretch;
}

.single-wine-bottle img {
	position: absolute;
	top: calc(-1 * var(--wine-overlap));
	left: 0;
	width: 100%;
	height: calc(100% + var(--wine-overlap));
	object-fit: contain;
	object-position: center bottom;
}

.single-wine-attributes:not(:has(table)) {
	display: none;
}

.single-wine-description p:last-child,
.single-wine-format p:last-child {
	margin-bottom: 0;
}

.single-wine-attributes table.shop_attributes,
.single-wine-attributes table.shop_attributes tbody {
	display: grid;
	width: 100%;
	border: 0;
	margin: 0;
}

.single-wine-attributes table.shop_attributes tbody {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.single-wine-attributes table.shop_attributes tr {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	column-gap: 12px;
	align-content: start;
}

.single-wine-attributes table.shop_attributes :is(th, td) {
	padding: 0;
	border: 0;
	background: transparent;
	width: auto;
	font-style: normal;
	line-height: inherit;
}

.single-wine-attributes table.shop_attributes td {
	grid-column: 2;
}

.single-wine-attributes table.shop_attributes p {
	margin: 0;
}

.single-wine-attributes tr::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: center;
	height: 42px;
	background: currentColor;
	mask: var(--wine-icon) center / contain no-repeat;
}

.single-wine-attributes .woocommerce-product-attributes-item--attribute_vitigno {
	--wine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 8c0-5 4-6 8-6M16 9C9 9 7 4 8 2c6 0 8 3 8 7'/%3E%3Ccircle cx='10' cy='16' r='5'/%3E%3Ccircle cx='22' cy='16' r='5'/%3E%3Ccircle cx='5' cy='25' r='4'/%3E%3Ccircle cx='16' cy='25' r='5'/%3E%3Ccircle cx='27' cy='25' r='4'/%3E%3Ccircle cx='11' cy='34' r='5'/%3E%3Ccircle cx='22' cy='34' r='5'/%3E%3Ccircle cx='16' cy='41' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.single-wine-attributes .woocommerce-product-attributes-item--attribute_grado-alcolico {
	--wine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M8 2h16l2 17c1 11-21 11-20 0L8 2zM16 27v13M7 41h18M7 16h18'/%3E%3C/g%3E%3C/svg%3E");
}

.single-wine-attributes .woocommerce-product-attributes-item--attribute_servire-a {
	--wine-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 29V6a4 4 0 018 0v23a7 7 0 11-8 0zM16 12v21M21 12h4M21 19h4M21 26h4'/%3E%3Ccircle cx='16' cy='35' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
	.elementor .single-wine-sheet .elementor-widget.single-wine-logo {
		margin-bottom: 0;
	}

	.single-wine-panel {
		min-height: 0;
	}

	.single-wine-bottle {
		height: 480px;
	}

	.single-wine-bottle img {
		top: 0;
		height: 100%;
	}
}

.woocommerce .catalog-wines ul.products li.product a img {
	height: 360px;
	object-fit: contain;
}

@media (max-width: 767px) {
	.single-wine-bottle {
		height: 400px;
	}

	.single-wine-attributes table.shop_attributes tbody {
		grid-template-columns: 1fr;
	}
}

/* Collezioni e card vino condivise dalle pagine del catalogo. */
.catalog-line-logo img {
	filter: brightness(0) invert(1);
}

body .elementor .elementor-element.prodotti-line-title .elementor-heading-title {
	font-size: calc(var(--e-global-typography-secondary-font-size) + 4px);
	font-weight: 700;
}

.catalog-cellar-photo img,
.catalog-wine-card .wine-card-image img {
	display: block;
}

body .elementor .elementor-element.catalog-cellar-photo img {
	max-height: var(--busellato-panorama-max-height);
	object-fit: cover;
	object-position: center center;
}

.elementor .catalog-wine-card .wine-card-link,
.elementor .catalog-collection-card > .elementor-widget-button {
	margin-top: auto;
}

.elementor .catalog-collection-copy {
	flex-grow: 1;
}



/* Gravity Forms: compatibilità dei soli moduli Contatti e Newsletter. */
body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) {
	margin: 0;
	padding: 0;
	min-width: 0;
	border: 0;
	border-radius: 0;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) :is(form, .gform_body, .gform_fields, .ginput_container, .gform_footer) {
	margin: 0;
	padding: 0;
	min-width: 0;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gfield {
	position: relative;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

/* La legenda aggiunta da GF resta disponibile ai lettori di schermo. */
body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gform_required_legend {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gform_heading {
	margin: 0;
	padding: 0;
}

/* Checkbox native: nessuna grafica o ombra del tema GF. */
body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gfield_checkbox {
	display: block;
	margin: 0;
	padding: 0;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gchoice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) input[type=checkbox] {
	appearance: auto;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	flex: 0 0 18px;
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	accent-color: var(--e-global-color-secondary);
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) input[type=checkbox]::before,
body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) input[type=checkbox]::after {
	display: none;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gchoice label {
	flex: 1;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-footer-font-family), sans-serif;
	font-size: var(--e-global-typography-footer-font-size, 16px);
	font-weight: 400;
	text-transform: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: manual;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gchoice a {
	color: var(--e-global-color-secondary);
	text-decoration: underline;
}

body .busellato-footer .newsletter-form #gform_wrapper_2 .gchoice a:is(:hover, :focus-visible) {
	color: var(--busellato-button-background);
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) :is(input[type=text], input[type=email], input[type=tel], input[type=checkbox], textarea):focus-visible {
	outline: 2px solid var(--e-global-color-secondary);
	outline-offset: 4px;
}

body .elementor :is(.contact-form #gform_wrapper_1, .newsletter-form #gform_wrapper_2) .gfield_validation_message {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size, 13px);
	line-height: 1.5;
}

/* Contatti: stessa colonna, dimensioni e spazio riservato agli errori. */
body .elementor .contact-form #gform_wrapper_1 {
	width: 100%;
	max-width: 624px;
}

body .elementor .contact-form #gform_wrapper_1 .gform_fields {
	display: block;
}

body .elementor .contact-form #gform_wrapper_1 .gfield:not(.gform_validation_container) {
	padding: 10px 0 48px;
}

body .elementor .contact-form #gform_wrapper_1 .gfield:not(.hidden_label) > .gfield_label {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size, 13px);
	font-weight: var(--e-global-typography-accent-font-weight, 700);
	line-height: 1.2;
	text-transform: uppercase;
}

body .elementor .contact-form #gform_wrapper_1 .gfield :is(input[type=text], input[type=email], input[type=tel], textarea) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 43px;
	min-height: 43px;
	margin: 0;
	padding: 0;
	border: solid var(--e-global-color-secondary);
	border-width: 0 0 1px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: var(--e-global-typography-text-font-size, 20px);
	font-weight: var(--e-global-typography-text-font-weight, 400);
	line-height: 20px;
}

body .elementor .contact-form #gform_wrapper_1 .gfield textarea {
	height: 97px;
	min-height: 97px;
	padding-block: 12px;
	resize: vertical;
}

body .elementor .contact-form #gform_wrapper_1 .gchoice label {
	line-height: 1.3;
}

body .elementor .contact-form #gform_wrapper_1 input[type=checkbox] {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	flex-basis: 16px;
}

body .elementor .contact-form #gform_wrapper_1 .gfield_validation_message {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
}

/* Newsletter: Nome/Cognome affiancati, gli altri campi a larghezza piena. */
body .elementor .newsletter-form #gform_wrapper_2 .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 15px 24px;
}

body .elementor .newsletter-form #gform_wrapper_2 .gfield {
	grid-column: 1 / -1;
}

body .elementor .newsletter-form #gform_wrapper_2 .gfield--type-text {
	grid-column: span 6;
}

body .elementor .newsletter-form #gform_wrapper_2 .gfield :is(input[type=text], input[type=email]) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 43px;
	min-height: 43px;
	margin: 0;
	padding: 0 0 12px;
	border: solid var(--e-global-color-secondary);
	border-width: 0 0 1px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size, 13px);
	line-height: 1.2;
}

body .elementor .newsletter-form #gform_wrapper_2 input::placeholder {
	color: var(--e-global-color-secondary);
	opacity: 1;
}

body .elementor .newsletter-form #gform_wrapper_2 .gfield--type-checkbox {
	margin-top: 17px;
}

body .elementor .newsletter-form #gform_wrapper_2 .gchoice label {
	line-height: 24px;
}

body .elementor .newsletter-form #gform_wrapper_2 .gform_footer {
	margin-top: 32px;
}

body .elementor .newsletter-form #gform_wrapper_2 .gfield_validation_message {
	margin-top: 8px;
}

body .elementor :is(.contact-form #gform_confirmation_wrapper_1, .newsletter-form #gform_confirmation_wrapper_2) {
	margin: 0;
	padding: 0;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	line-height: 1.5;
}

/* Credito di realizzazione nella riga finale del footer. */
.elementor .busellato-credit {
	margin-inline-start: auto;
}

@media (max-width: 767px) {
	.elementor .busellato-credit {
		margin-inline-start: 0;
	}
}

/* Pulsanti Elementor e form: stesso stile, dimensioni e stati. */
:root {
	--busellato-button-background: #c86e3b;
	--busellato-button-font-size: 16px;
	--busellato-button-padding-inline: 60px;
	--busellato-button-padding-block: 15px;
	/* Compensa le metriche del Gotham mantenendo l’altezza dei pulsanti. */
	--busellato-button-text-offset: 1.5px;
}

body .elementor :is(.elementor-widget.elementor-widget-button .elementor-button, .contact-form #gform_wrapper_1 .gform_button, .newsletter-form #gform_wrapper_2 .gform_button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: calc(var(--busellato-button-padding-block) + var(--busellato-button-text-offset)) var(--busellato-button-padding-inline) calc(var(--busellato-button-padding-block) - var(--busellato-button-text-offset));
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--busellato-button-font-size);
	font-weight: var(--e-global-typography-accent-font-weight, 700);
	font-style: var(--e-global-typography-accent-font-style, normal);
	line-height: var(--e-global-typography-accent-line-height, 1.2);
	letter-spacing: var(--e-global-typography-accent-letter-spacing, normal);
	text-transform: uppercase;
	text-decoration: none;
	background-color: var(--busellato-button-background);
	color: var(--e-global-color-bianco);
	transition: background-color .3s, color .3s;
}

body .elementor :is(.elementor-widget.elementor-widget-button .elementor-button, .contact-form #gform_wrapper_1 .gform_button, .newsletter-form #gform_wrapper_2 .gform_button):is(:hover, :focus):not(:disabled) {
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-bianco);
}

body .elementor :is(.elementor-widget.elementor-widget-button .elementor-button, .contact-form #gform_wrapper_1 .gform_button, .newsletter-form #gform_wrapper_2 .gform_button):focus-visible {
	outline: 2px solid var(--e-global-color-secondary);
	outline-offset: 4px;
}

/* News temporaneamente nascoste in Home e nei menu del sito. */
body.home #home-news,
body .elementor nav .menu-item:has(> a[href$="/news/"]) {
	display: none;
}

/* Sfondo grande di Sostenibilità nella Home: centro orizzontale, parte alta visibile. */
body.home .elementor #home-sostenibilita {
	background-position: center top;
}


/* Frecce comuni dei caroselli. Font Awesome Pro v7.3.1 by @fontawesome
 * https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. */
:root {
	--busellato-slider-arrow-size: 30px;
	--busellato-slider-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20d%3D%22M603.3%20331.3c6.2-6.2%206.2-16.4%200-22.6l-144-144c-6.2-6.2-16.4-6.2-22.6%200s-6.2%2016.4%200%2022.6L553.4%20304H48c-8.8%200-16%207.2-16%2016s7.2%2016%2016%2016h505.4L436.7%20452.7c-6.2%206.2-6.2%2016.4%200%2022.6s16.4%206.2%2022.6%200z%22%2F%3E%3C%2Fsvg%3E");
}

.elementor .elementor-swiper-button > :is(svg, i) {
	display: none;
}

.elementor .elementor-swiper-button::after {
	content: "";
	display: block;
	width: var(--busellato-slider-arrow-size);
	height: var(--busellato-slider-arrow-size);
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: var(--busellato-slider-arrow) center / contain no-repeat;
	mask: var(--busellato-slider-arrow) center / contain no-repeat;
	pointer-events: none;
}

.elementor .elementor-swiper-button-prev::after {
	transform: rotate(180deg);
}


/* Evidenzia l’apertura dei quattro blocchi senza cambiare gli altri paragrafi. */
body .elementor #terroir-scelte .terroir-card .elementor-widget-text-editor p:first-child > strong:first-child {
	font-size: 23px;
}

@media (max-width: 767px) {
	body .elementor #terroir-scelte .terroir-card .elementor-widget-text-editor p:first-child > strong:first-child {
		font-size: 21px;
	}
}


/* Il testo della cantina segue il limite boxed anche nella fascia a tutta larghezza. */
@media (min-width: 1025px) {
	/* Conserva l’altezza della fascia mentre la foto occupa metà griglia. */
	body .elementor #vini-cantina {
		container-type: inline-size;
	}

	body .elementor #vini-cantina .catalog-cellar-photo img {
		height: clamp(496px, 45.47244cqw, var(--busellato-panorama-max-height));
	}

	body .elementor #vini-cantina > .e-con-full:last-child {
		padding-inline-end: max(var(--padding-right, 48px), calc((100vw - var(--container-max-width, 1440px)) / 2));
	}
}


@media (max-width: 767px) {
	/* Centra il gelso nel riquadro mobile. */
	body .elementor #terroir-foto img {
		object-position: 90% center;
	}
}

/* Inquadrature e fasce delle pagine Prodotti, Wine Shop ed Eventi. */
@media (min-width: 768px) {
	body .elementor #prodotti-hero { background-position: 50% 32%; }
}
body .elementor #prodotti-galleria .busellato-carousel-photo { overflow: hidden; }
/* Inquadrature del catalogo: mensole, confezioni e grappe in primo piano. */
body .elementor #prodotti-galleria .catalog-photo-cabinet img {
	transform: scale(1.45);
	transform-origin: center 42%;
}
body .elementor #prodotti-galleria .catalog-photo-boxes img {
	object-position: right bottom;
	transform: scale(2.2);
	transform-origin: right bottom;
}
body .elementor #prodotti-galleria .catalog-photo-grappa img {
	object-position: center top;
	transform: scale(1.8);
	transform-origin: center top;
}
body .elementor #wine-shop-prodotti .catalog-collection-copy { flex-grow: 0; }
body .elementor #wine-shop-prodotti .catalog-collection-card { align-items: center; }
body .elementor #wine-shop-prodotti .catalog-collection-card .elementor-heading-title {
	text-align: center;
	font-weight: 400;
}
body .elementor #eventi-eventi { background-position: center top; }
@media (min-width: 1025px) {
	body .elementor #eventi-eventi { min-height: min(44vw, var(--busellato-panorama-max-height)); }
	body .elementor #eventi-eventi > .e-con-inner { padding-block: 100px; }
	body .elementor #eventi-eventi > .e-con-inner { max-width: 1100px; }
}

/* Avvicina il triangolo al testo e lo allinea alle maiuscole del menu. */
@media (min-width: 1025px) {
	.busellato-header .elementor-nav-menu--main .sub-arrow { padding-inline-start: 4px; }
	.busellato-header .elementor-nav-menu--main .sub-arrow svg { position: relative; top: -2px; }
}


/* Navigazione cataloghi Terre dei Casai e Piana del Toro. */
body .elementor :is(#casai-vini, #toro-vini) .line-wine-carousel {
	padding-top: 20px;
}

body .elementor :is(#casai-vini, #toro-vini) .line-wine-carousel > .elementor-swiper-button {
	top: -50px !important;
	bottom: auto !important;
	left: 50% !important;
	right: auto !important;
}

body .elementor :is(#casai-vini, #toro-vini) .line-wine-carousel > .elementor-swiper-button-prev {
	transform: translateX(calc(-100% - 8px)) !important;
}

body .elementor :is(#casai-vini, #toro-vini) .line-wine-carousel > .elementor-swiper-button-next {
	transform: translateX(8px) !important;
}

/* Sottomenu header: stessa interlinea e sottolineatura del menu principale. */
body .busellato-header .elementor-nav-menu :is(.elementor-item, .elementor-sub-item) {
	line-height: var(--e-global-typography-menu-line-height, 1.3em);
}
body .busellato-header .elementor-nav-menu .elementor-sub-item {
	position: relative;
	border-inline-start: 0;
	text-align: left;
	justify-content: flex-start;
}
body .busellato-header .elementor-nav-menu .elementor-sub-item::after {
	content: "";
	position: absolute;
	inset-inline: 30px;
	bottom: 0;
	height: 2px;
	background-color: var(--e-global-color-primary);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}
body .busellato-header .elementor-nav-menu .elementor-sub-item:is(:hover, :focus-visible, .elementor-item-active, [aria-current="page"])::after {
	opacity: 1;
}
@media (min-width: 1025px) {
	body .busellato-header .elementor-nav-menu--main .sub-menu { margin-left: -30px !important; }
}
@media (max-width: 1024px) {
	body .busellato-header .elementor-nav-menu .elementor-sub-item::after { inset-inline: 25px; }
}


/* Mobile: distingue le sottovoci con 25px di rientro aggiuntivo. */
@media (max-width: 767px) {
  body .busellato-header .elementor-nav-menu__container.elementor-nav-menu--dropdown .sub-menu .elementor-sub-item {
    padding-inline-start: 50px;
  }
  body .busellato-header .elementor-nav-menu__container.elementor-nav-menu--dropdown .sub-menu .elementor-sub-item::after {
    inset-inline-start: 50px;
  }
}


/* Schede vino mobile: elimina lo spazio extra prima della scheda tecnica. */
@media (max-width: 767px) {
  body .elementor .catalog-wine-card p.elementor-heading-title {
    margin-bottom: 0;
  }
  body .elementor .catalog-wine-card .wine-card-link {
    margin-top: 0;
  }
}

/* Il selettore resta leggibile sul fondo del footer e segue i colori globali. */
.busellato-footer-languages .busellato-language-switcher > :is(a, span) {
	color: var(--e-global-color-bianco);
}
.busellato-footer-languages .busellato-language-switcher > :is(a, span:not(.language-separator)):is(:hover, :focus-visible) {
	color: var(--busellato-button-background);
}
