/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 31 2026 | 11:12:02 */
/* =======================================================
   1. STRUTTURA PRINCIPALE E IMPAGINAZIONE (Ripristinata)
   ======================================================= */
.event-list-item-container {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	width: 100%;
}
.event-calendar-wrapper {
	flex-shrink: 0;
	text-align: center;
	width: 75px; /* FONDAMENTALE: Blocca il calendario a 75px */
}
.event-list-item-content {
	flex-grow: 1;
}
.event-list-item-content .entry-header {
	margin-top: -5px;
}

/* =======================================================
   2. IL CONTENITORE DEL CALENDARIO E LA MAPPA
   ======================================================= */
.event-calendar-icon {
	width: 100%;
	border: 2px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	font-family: Arial, sans-serif;
	box-shadow: 0 2px 4px rgba(0,0,0,0.08);
	background: #fff;
	margin-bottom: 5px;
	display: block;
	text-decoration: none;
}
.add-to-calendar-link {
	cursor: pointer;
}
.add-to-calendar-link:hover {
	box-shadow: 0 4px 8px rgba(0,0,0,0.12);
	transform: scale(1.03);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-google-maps-link {
	display: inline-block;
	line-height: 0;
}
.event-google-maps-icon {
	width: 75px;
	height: auto;
	box-shadow: 0 2px 4px rgba(0,0,0,0.08);
	border-radius: 8px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-google-maps-link:hover .event-google-maps-icon {
	box-shadow: 0 4px 8px rgba(0,0,0,0.12);
	transform: scale(1.05);
}

.past-event-item {
	opacity: 0.4;
	transition: opacity 0.3s ease;
}
.past-event-item:hover {
	opacity: 1;
}

/* =======================================================
   3. IL DESIGN INTERNO DEL CALENDARIETTO DA TAVOLO
   ======================================================= */

/* --- 1. Fascia alta scura (Giorno della settimana) --- */
.event-calendar-sub {
	background-color: #b71c1c; /* Rosso scuro */
	color: rgba(255, 255, 255, 0.95);
	padding: 4px 2px;
	font-size: 8px; /* Microscopico per farci stare "MERCOLEDÌ" in 75px */
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

/* --- 2. Numero del Giorno (Bianco, grande) --- */
.event-calendar-day {
	font-size: 34px; 
	font-weight: 700;
	color: #333;
	padding: 4px 0 2px 0; 
	line-height: 1;
	text-align: center;
	background-color: #fff;
}

/* --- 3. Fascia Rossa (Mese) --- */
.event-calendar-month {
	background-color: #d93025; /* Rosso acceso originale */
	color: white;
	padding: 4px 2px;
	font-size: 11px; 
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: -0.3px;
	white-space: nowrap;
	overflow: hidden;
}

/* --- 4. Fascia bassa scura (Anno) --- */
.event-calendar-year {	
	padding: 3px 2px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

/* --- 5. Orario (Grigio chiaro) --- */
.event-calendar-time {
	font-size: 13px; /* Leggermente ridotto per compensare la nuova struttura */
	font-weight: 700;
	color: #555;
	padding: 5px 0;
	background: #f5f5f5;
	border-top: 1px solid #ddd;
	text-align: center;
}