@media (max-width: 1199.98px) {
	.header .container {
		max-width: none;
		padding-left: 30px;
	}

	.header-main > .container,
	.header .menu-desktop ul {
		gap: 14px;
	}
}

@media (max-width: 991.98px) {
	.header .container {
		padding-right: 24px;
		padding-left: 24px;
	}

	.header-top > .container {
		flex-wrap: wrap;
		gap: 8px 20px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.header .hamburger {
		position: relative;
		top: auto;
		transform: none;
		flex-shrink: 0;
		width: 44px;
		height: 44px;
		padding-top: 7px;
	}

	.header .hamburger input {
		height: 44px;
	}

	.header .hamburger span {
		background-color: var(--nero-header);
	}
}

@media (max-width: 782px) {
	body.admin-bar .header {
		top: 46px;
	}

	body.admin-bar .overlay {
		padding-top: calc(var(--header-height) + 46px);
	}
}

@media (max-width: 575.98px) {
	.header .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.header-top .header-info {
		width: 100%;
		order: 3;
	}

	.header-top > .container {
		column-gap: 16px;
	}

	.menu-top ul {
		gap: 16px;
	}
}

@media (max-width: 991.98px) {
	.section-space {
		padding: 64px 0;
	}

	.section-gruppo {
		padding-bottom: 0;
	}

	.section-gruppo .brand-media-player,
	.section-gruppo .group-brand-fallback {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: calc(100% - 24px);
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
		margin: 24px 0 0 24px;
	}

	.section-azienda .col-lg-6:first-child {
		padding-right: calc(var(--bs-gutter-x) / 2);
	}

	.section-azienda::after {
		height: 60px;
	}

	.hero.hero-home {
		aspect-ratio: 16 / 9;
	}

	.cont-image-brand {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.swiperServizi .cont-image {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.cont-servizio {
		padding: 32px 24px 96px;
	}

	.swiperServizi .cont-carousel {
		right: 24px;
		width: calc(100% - 48px);
	}
}

@media (max-width: 575.98px) {
	.page-home .container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.box-link {
		padding: 20px 8px 0;
	}

	.box-link-titolo {
		overflow-wrap: anywhere;
	}

	.box-link-content > p {
		min-height: 96px;
		padding: 8px;
	}

	.box-link-content img {
		aspect-ratio: 2 / 1;
	}

	.box-brand summary {
		gap: 16px;
		flex-wrap: wrap;
	}

	.brand-name {
		width: 100%;
	}

	.box-brand-content {
		margin-left: 0;
	}

	.brand-player-controls {
		right: 14px;
		bottom: 14px;
		gap: 8px;
	}

	.brand-control-arrow,
	.brand-play-toggle {
		width: 36px;
		height: 36px;
	}

	.brand-play-toggle {
		width: auto;
		min-width: 0;
		padding: 0 10px;
	}

	.brand-play-toggle > span:last-child {
		font-size: 12px;
	}

	.titolo,
	.titolo-small {
		overflow-wrap: anywhere;
	}
}