/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 03 2026 | 14:55:22 */
.page-id-15 .footer-form, .page-id-19 .footer-form, .page-id-17 .footer-form {
	display: none;
}

.remove-list {
	list-style-type: none;
	padding: 0;
	a {
		text-decoration: none;
	}
	a:hover {
		text-decoration: underline;
	}
}

a:focus-visible, select:focus-visible, button:focus-visible, .wl-menu-toggle:focus-visible, a:focus, .wl-menu-toggle:focus, select:focus, input:focus, textarea:focus, button:focus {
  outline: none !important;
}

.shadow-sm {
	box-shadow: 1px 2px 17px 1px #00000008;
}

.max-content {
  width: fit-content;
  flex: 0 0 auto;
}

.max-content p {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

.max-content figure {
  flex: 0 0 auto;
	img {
		width: 30px;
	}
}

/* Rende il contenitore di riferimento per l'header assoluto */
.wp-site-blocks {
	position: relative;
}

/* Solo nelle pagine in cui la prima sezione del main è la cover indicata */
body:has(.wp-site-blocks > main > .wp-block-cover.copertina-sotto-header:first-child)
.wp-site-blocks > header.wp-block-template-part, body:has(.wp-site-blocks > .wp-block-cover.copertina-sotto-header)
.wp-site-blocks > header.wp-block-template-part {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	width: 100%;
}

/* Compensa la barra admin quando sei loggato */
body.admin-bar:has(.wp-site-blocks > main > .wp-block-cover.copertina-sotto-header:first-child)
.wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.vertical-scope {
	position: relative;
	.img-on-scope {
		position: absolute;
		top: 14%;
		left: 60%;
		width: 70%;
		img {
			object-fit: cover;
  			aspect-ratio: 3/2;
		}
	}
}

/* Pulsante "Guarda tutti" con riempimento animato */
.wp-block-button.more-icon .wp-block-button__link {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.35s ease, border-color 0.35s ease;
}

/* Fondo che entra dal basso */
.wp-block-button.more-icon .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: var(--wp--preset--color--primary);
	transform: translateY(101%);
	transition: transform 0.4s ease;
}

/* Hover e accessibilità da tastiera */
.wp-block-button.more-icon .wp-block-button__link:hover,
.wp-block-button.more-icon .wp-block-button__link:focus-visible {
	color: #ffffff !important;
	border-color: var(--wp--preset--color--primary) !important;
}

.wp-block-button.more-icon .wp-block-button__link:hover::before,
.wp-block-button.more-icon .wp-block-button__link:focus-visible::before {
	transform: translateY(0);
}

.more-icon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.more-icon .wp-block-button__link::after {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background: url("/wp-content/uploads/2026/06/more-icon.svg") center / contain no-repeat;
	transition: filter 0.35s ease;
}

.forced-width img {
	width: 60px !important;
	max-width: 60px !important;
	height: auto !important;
}

/* Icona bianca in hover */
.more-icon .wp-block-button__link:hover::after,
.more-icon .wp-block-button__link:focus-visible::after {
	filter: brightness(0) invert(1);
}

/* Copertina mappa: effetto gradient rosso dal basso */
.wp-block-cover.link-maps {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

/* Overlay gradient */
.wp-block-cover.link-maps .wp-block-cover__background {
	background: linear-gradient(
		to top,
		#e30715a1 0%,
		rgba(227, 7, 21, 0.15) 15%,
		rgba(227, 7, 21, 0) 50%
	) !important;
	opacity: 0;
	transform: translateY(100%);
	transition: transform 0.55s ease, opacity 0.55s ease;
}

/* Entrata del gradient dal basso */
.wp-block-cover.link-maps:hover .wp-block-cover__background,
.wp-block-cover.link-maps:focus-within .wp-block-cover__background {
	opacity: 1;
	transform: translateY(0);
}

/* Mantiene il contenuto sopra al gradient */
.wp-block-cover.link-maps .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

@media (max-width: 782px) {
	.row-committenti {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.wp-block-post.post.type-post.status-publish.format-standard.has-post-thumbnail.hentry.category-portfolio.rh-card-clickable .wp-block-cover {
		max-height: 200px;
		margin-bottom: 20px;
		border-radius: 20px !important;
	}

	.wpforms-container.wpforms-container-full {
		padding: 0 20px !important;
	}
	
	.wp-block-post.post.type-post.status-publish.format-standard.has-post-thumbnail.hentry.category-portfolio .wp-block-cover {
		min-height: 250px !important;
		border-radius: 20px !important;
	}
	
	.site-logo-title.wp-block-site-logo.cloned-for-mobile {
		padding-top: 40px;
	}
	
	.wp-block-navigation__responsive-container-close {
		margin-top: 40px;
	}
	
	.wpforms-one-half.wpforms-first, .wpforms-one-half {
		width: 100% !important;
		padding: 10px 0 !important;
		margin: 0!important;
	}
	
	.wp-block-group.ext-animate--on.has-background-color.has-primary-background-color.has-text-color.has-background.has-link-color.wp-elements-d0c929a1affe2208e323748c054580fd.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-ec429720.wp-block-group-is-layout-flex.ext-animate.ext-animated-fade {
		padding: 15px !important;
	}
	
	body.admin-bar:has(.wp-block-post-content > .wp-block-cover.copertina-sotto-header:first-child)
	header.wp-block-template-part {
		top: 46px;
	}
	
	.preventive-button {
		position: fixed;
		bottom: 25px;
		right: 25px;
		z-index: 999 !important;
		a {
			border-radius: 20px !important;
			box-shadow: 1px 2px 17px 1px #00000030 !important;
		}
	}
	
	.aligncenter.mobile-logo.wp-block-site-logo img {
		width: 80px;
	}
}