/*
Theme Name: fd-theme
Theme URI: https://boaratomulazzani.it/
Description: Custom WordPress theme for Studio Boarato Mulazzani. Cloned 1:1 from static export.
Version: 1.0
Author: FD
Author URI: https://boaratomulazzani.it/
Text Domain: fd-theme
*/

/* Custom theme styles and overrides */

/* Site Title Color (Blue) */
.elementor-14 .elementor-element-db6cfb6 .elementor-heading-title a {
	color: #1881D4 !important;
}

/* Base & Yellow Section Dividers Layout */
.elementor-widget-divider {
	--divider-border-style: none;
	--divider-border-width: 1px;
	--divider-color: #2c2c2c;
}
.elementor-widget-divider .elementor-divider {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
}
.elementor-widget-divider .elementor-divider-separator {
	display: flex !important;
	margin: 0 auto !important;
	direction: ltr !important;
	width: 80px !important;
	border-top: var(--divider-border-width) var(--divider-border-style) var(--divider-color) !important;
}
.elementor-element-0f0850e,
.elementor-element-6831cc7,
.elementor-element-9090a62,
.elementor-element-648c56b,
.elementor-element-7b17764,
.elementor-element-896ce15 {
	--divider-border-style: solid !important;
	--divider-color: #FFD54F !important;
	--divider-border-width: 3px !important;
}

/* Chi siamo section heading horizontal width spacing & centering */
.elementor-2 .elementor-element.elementor-element-d3a9ce5 > .elementor-container {
	max-width: 900px !important;
}

.elementor-element-28a2e17 {
	text-align: center !important;
}

/* Static gallery grid fallback layout (overriding absolute positioning) */
.elementor-gallery__container {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 5px !important;
	height: auto !important;
	position: relative !important;
}
@media (max-width: 1024px) {
	.elementor-gallery__container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}
@media (max-width: 767px) {
	.elementor-gallery__container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}

.elementor-gallery-item {
	position: relative !important;
	overflow: hidden !important;
	display: block !important;
	aspect-ratio: 3/2 !important;
	border-radius: 9px !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
}

.elementor-gallery-item .e-gallery-image {
	width: 100% !important;
	height: 100% !important;
	background-size: cover !important;
	background-position: center !important;
	transition: transform 800ms ease !important;
}

.elementor-gallery-item:hover .e-gallery-image {
	transform: scale(1.05) !important;
}

/* Mobile Header Improvements */
@media (max-width: 767px) {
	.elementor-element-5b550ec4 .elementor-container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 15px !important;
		padding: 15px 0 !important;
	}
	
	.elementor-element-2f5f98d6,
	.elementor-element-709bd8c5 {
		width: 100% !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		text-align: center !important;
	}
	
	.elementor-element-305e7a9f {
		display: none !important;
	}
	
	.elementor-element-db6cfb6 {
		text-align: center !important;
		width: 100% !important;
	}
	
	.elementor-element-db6cfb6 .elementor-heading-title {
		font-size: 24px !important;
		text-align: center !important;
		display: block !important;
	}
	
	.elementor-element-709bd8c5 .elementor-widget-wrap {
		justify-content: center !important;
		width: 100% !important;
		gap: 10px !important;
	}
}
