/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
	--accent: #7f53ac;
	--primary: #4c3960;
	--secondary: #806A8B;
} 

@media (min-width: 768px) { 
	.menu-item.btn {
		margin-left: 20px;
	}
	.menu-item.btn .elementor-item {
		background: var(--accent);
		color: #fff !important;
		border-radius: 7px;
	}
	.menu-item.btn .elementor-item:hover {
		background: var(--primary);
	}
	.menu-item.btn .elementor-item::after {
		transition: none;
	}
	.menu-item.btn .elementor-item:hover::after {
		height: 0 !important;
	}
}
.menu-item .menu-subtitle .elementor-sub-item {
	font-size: 12px !important;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding-top: 25px !important;
	padding-bottom: 8px !important;
	line-height: 1em;
}
.menu-item .menu-subtitle:hover .elementor-sub-item {
	cursor: default;
	background: #fff !important;
}

.elementor-sticky--effects {
	transition: .5s ease;
	padding-top: 10px;
	padding-bottom: 10px;
}
.elementor-sticky--effects .wp-image-20 {
	transition: .5s ease;
	width: 70px !important;
}

.elementor-widget-text-editor ul {
	padding-left: 15px;
	margin-bottom: 10px;
}

.badge a {
	background: #7F53AC;
	color: #fff !important;
	padding: 3px 10px;
	border-radius: 15px;
	display: inline-block;
	margin-bottom: 5px;
	font-size: 12px !important;
}
.badge a:hover, .badge a:focus {
	background: #4C3960;
}

.wp-block-list {
	padding-left: 20px;
}

/* Eventi */
/* Sopra i 768px: griglia a 4 colonne, poi a capo automaticamente */
@media (min-width: 769px) {
    .fdl-lista-eventi {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }

    .fdl-evento {
        margin-bottom: 0; /* il gap della grid sostituisce il margin */
    }
}
.fdl-lista-eventi {
	padding: 0;
	margin: 0;
	list-style: none;
}
.fdl-evento {
	margin-bottom: 24px;
}
.fdl-evento-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.fdl-evento-immagine img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border: 4px solid #7f53ac;
}
.fdl-evento-titolo {
	padding: 10px 20px 0;
	font-size: 23px;
	display: block;
}
.fdl-evento-data {
	padding: 0 20px 20px;
	display: block;
}