/* Fondazione Eagle: small style layer on top of Elementor (free). */

/* ---------- Slideshow (class "eagle-slider" on an Elementor container) ---------- */
.eagle-slider--on { position: relative; }
.eagle-slider--on .eagle-slide { display: none !important; }
.eagle-slider--on .eagle-slide.is-active { display: flex !important; animation: eagleFade .5s ease; }
@keyframes eagleFade { from { opacity: 0; } to { opacity: 1; } }
.eagle-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	background: none !important; border: 0 !important; padding: 10px !important; color: #181818 !important;
	cursor: pointer; line-height: 0; box-shadow: none !important;
}
.eagle-slider__arrow--prev { left: 64px; }
.eagle-slider__arrow--next { right: 64px; }
.eagle-slider__dots { position: absolute; left: 0; right: 0; bottom: var(--eagle-dots-bottom, 72px); display: flex; justify-content: center; gap: 12px; z-index: 5; }
.eagle-slider__dots button {
	width: 7px; height: 7px; min-height: 0; padding: 0 !important; border-radius: 50%; border: 0 !important;
	background: #181818 !important; cursor: pointer; box-sizing: content-box;
}
.eagle-slider__dots button.is-active { width: 6px; height: 6px; background: transparent !important; border: 2px solid #181818 !important; }
@media (max-width: 767px) {
	.eagle-slider__arrow--prev { left: 4px; }
	.eagle-slider__arrow--next { right: 4px; }
	.eagle-slider__arrow svg { width: 12px; height: 22px; }
	.eagle-slider__dots { bottom: 20px; }
}

/* ---------- Contact form (Contact Form 7) ---------- */
.eagle-cf7 { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: Raleway, sans-serif; }
.eagle-cf7 .f { width: 100%; display: flex; flex-direction: column; }
.eagle-cf7 .f-half { width: calc(50% - 5px); }
.eagle-cf7 .f > span.lbl { font-size: 15px; line-height: 1.3; padding: 0 0 2px 5px; }
.eagle-cf7 .wpcf7-form-control-wrap { display: block; }
.eagle-cf7 input[type=text], .eagle-cf7 input[type=email], .eagle-cf7 input[type=tel], .eagle-cf7 textarea {
	width: 100%; box-sizing: border-box; background: transparent; border-radius: 0; border: 1px solid;
	height: 50px; padding: 3px 10px; font: 15px Raleway, sans-serif; margin: 0 0 6px;
}
.eagle-cf7 textarea { height: 126px; resize: vertical; }
.eagle-cf7 .f.f-submit { width: 100%; display: flex; flex-direction: row; justify-content: flex-end; }
.eagle-cf7 input[type=submit] {
	width: 142px; height: 47px; border-radius: 0; border: 0; cursor: pointer; padding: 0;
	font: 700 15px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .02em;
}
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; font: 15px Raleway, sans-serif; }
.wpcf7-spinner { position: absolute; }

/* light variant: white labels/borders over the photo (home) */
.eagle-form-light .eagle-cf7, .eagle-form-light .wpcf7-response-output { color: #fff; }
.eagle-form-light .eagle-cf7 input:not([type=submit]), .eagle-form-light .eagle-cf7 textarea { border-color: rgba(255,255,255,.85); color: #fff; }
.eagle-form-light .eagle-cf7 input[type=submit] { background: #fff; color: #181818; }
.eagle-form-light .eagle-cf7 input[type=submit]:hover { background: #181818; color: #fff; }
.eagle-form-light .wpcf7-not-valid-tip { color: #fff; }

/* dark variant: black labels/borders on grey (Contatti) */
.eagle-form-dark .eagle-cf7 { color: #181818; }
.eagle-form-dark .eagle-cf7 input:not([type=submit]), .eagle-form-dark .eagle-cf7 textarea { border-color: #181818; color: #181818; }
.eagle-form-dark .eagle-cf7 input[type=submit] { background: #181818; color: #fff; }
.eagle-form-dark .eagle-cf7 input[type=submit]:hover { background: #fff; color: #181818; }

/* ---------- Rich text: keep Wix spacing (empty paragraphs became <p>&nbsp;</p>) ---------- */
.elementor-widget-text-editor p { margin: 0; }
.elementor-widget-text-editor ul { margin: 0; padding-left: 24px; }
.elementor-widget-text-editor li p { margin: 0; }
.elementor-widget-heading .elementor-heading-title a { color: inherit; }
.elementor-widget-text-editor a { color: inherit; }

/* ---------- Header nav: Wix-like dropdown ---------- */
.eagle-nav .hfe-nav-menu .sub-menu { min-width: 200px; }

@media (max-width: 767px) {
	.eagle-cf7 .f-half { width: 100%; }
}

/* ---------- Mobile header: hamburger at the top right, logo and name centred ---------- */
@media (max-width: 767px) {
	.eagle-header { position: relative; }
	.eagle-header .elementor-widget-navigation-menu { position: absolute; top: 16px; right: 14px; margin: 0 !important; }
	.eagle-header .hfe-nav-menu__toggle { justify-content: flex-end; }
}
/* Poppins titles typed in light weight stay light even inside <strong> */
.eagle-light strong { font-weight: inherit; }

/* Cookie banner: hide the empty legal-link list (the links are added by Complianz once the cookie and privacy policies are generated) */
.cmplz-cookiebanner .cmplz-links { display: none; }
