.custom-event-widget { 
max-width: 100%; 
margin: 0 auto; 
padding: 0; 
background-color: #f3f3f3; 
border-radius: 10px;
}
.custom-header { 
text-align: left; 
margin: 0; 
margin-top: -30px !important; 
letter-spacing: 0.01em; 
font-size: 2em; 
text-transform: uppercase;
margin-bottom: 25px;
}
.custom-event-list {
display: flex;
flex-wrap: wrap;
justify-content: flex-start; gap: 20px; }
.custom-event {
flex: 1 1 22%; min-width: 220px; 
min-height: 160px; 
margin-bottom: 20px; 
padding: 10px; 
border-radius: 5px; 
background-color: #f3f3f3;
transition: background-color 0.3s;
display: flex;
flex-direction: column;
justify-content: space-between;
} .custom-event-list::after {
content: none;
}
.custom-event:hover { 
background-color: #e0e0e0; 
}
.custom-event a { 
text-decoration: none; 
color: inherit; 
display: block; 
height: 100%; 
width: 100%; 
}
.custom-event-date { 
display: flex; 
align-items: baseline; 
justify-content: space-between; 
margin-bottom: 10px; 
}
.custom-date-info { 
display: flex; 
align-items: baseline; 
}
.custom-event-day { 
font-size: 2.5em; 
font-weight: bold; 
margin-right: 5px; 
color: #777777;
}
.custom-event-month { 
font-size: 1.2em; 
text-transform: uppercase; 
}
.custom-event-sector { 
font-size: 1em; 
text-transform: uppercase; 
margin-left: auto; 
font-weight: bold; 
}
.custom-event-details { 
border-top: 1px solid #ccc; 
padding-top: 10px; 
margin-top: 10px; 
}
.custom-event-title { 
font-size: 0.9em; 
font-weight: bold; 
color: #333; 
}
.custom-event-location { 
font-size: 0.8em; 
color: #666; 
text-transform: uppercase;
}
.custom-pagination { 
text-align: center; 
margin-top: 20px; 
}
.custom-pagination button { 
width: 40px; 
height: 20px; 
margin: 0 5px; 
padding: 5px; 
color: #007bff; 
border: 1px solid #ccc; 
border-radius: 10px; 
background-color: #fff; 
cursor: pointer; 
text-indent: -9999px; 
}
.custom-pagination button.active { 
font-weight: bold; 
color: #fff; 
background-color: #007bff; 
}
.custom-header a {
color: inherit; 
text-decoration: none; 
display: inline-block; 
position: relative;
width: 100%;
height: 100%;
}
.custom-header .default-text,
.custom-header .hover-text {
display: block;
transition: opacity 0.3s ease;
position: absolute;
top: 0;
left: 0;
white-space: nowrap;
}
.custom-header .hover-text {
opacity: 0;
visibility: hidden;
transition-delay: 0.5s; }
.custom-header a:hover .default-text {
opacity: 0;
visibility: hidden;
transition-delay: 0.5s; }
.custom-header a:hover .hover-text {
opacity: 1;
visibility: visible;
transition-delay: 0s; }
.custom-event-list {
margin-top: 10px; }.cache-last-update { right: 10px; font-size: 0.75rem; color: #555;        
margin-bottom: -20px;  
margin-top: -20px;  
padding: 0; background: transparent; text-align: right; }
.custom-widget-container {
width: 100%;
margin: 40px auto;
padding: 20px;
background-color: #ffffff;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
min-height: 40px; 
}
.custom-widget-title {
grid-column: span 4;
text-align: center;
font-size: 2em;
color: #777777;
font-weight: 700;
margin-bottom: 20px;
}
.custom-widget-section, .custom-medagliere {
background-color: #f3f3f3;
border-radius: 12px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.custom-widget-section-title, 
.custom-graph-title, 
.custom-attivita-title,
.custom-counter-wrapper span {
font-size: 1.5em;
color: #777777;
font-weight: 700;
margin-bottom: 5px;
}
.custom-counter-wrapper {
padding: 0;
}
.custom-counter {
font-size: 2em;
font-weight: bold;
color: #2980b9;
margin: 0;
}
.custom-counter-wrapper span {
font-size: 1.2em;
color: #777777;
font-weight: 700;
margin-top: 5px;
}
.custom-medagliere {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.custom-medagliere-title {
margin-bottom: 10px;
}
.custom-medaglie {
display: flex;
flex-direction: row;
gap: 30px;
}
.custom-medaglia {
text-align: center;
flex: 1;
}
.custom-medaglia i {
font-size: 2.2em;
margin-bottom: 5px;
}
.custom-graph-attivita-wrapper {
grid-column: span 4;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.custom-graph-section {
background-color: #f3f3f3;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.custom-graph-canvas {
height: 320px;
max-width: 100%;
margin: 0 auto;
}
@media (max-width: 1024px) {
.custom-widget-container {
grid-template-columns: 1fr 1fr;
}
.custom-graph-attivita-wrapper {
grid-column: span 2;
}
}
@media (max-width: 768px) {
.custom-widget-container {
display: flex;
flex-direction: column;
gap: 20px;
}
.custom-widget-section, .custom-medagliere {
width: 100%;
}
.custom-medagliere {
flex-direction: column;
}
.custom-graph-attivita-wrapper {
display: flex;
flex-direction: column;
gap: 20px;
grid-column: span 1;
}
.custom-graph-section {
width: 100%;
}
} .custom-widget-link {
text-decoration: none; color: inherit; display: flex; flex-direction: column; justify-content: center; background-color: #f3f3f3; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: background-color 0.3s, transform 0.3s; }
.custom-widget-link:hover {
background-color: #e0e0e0; transform: translateY(-5px); cursor: pointer; }
.custom-widget-section, 
.custom-medagliere {
display: flex; 
flex-direction: column;
justify-content: center;
align-items: center;
flex: 1; width: 100%;
height: 100%;
}