/* Sezione Eventi — 48b7d29b — v1.4.0 ALL GREEN */

.se-48b7d29b-wrapper {
    width: 100%;
    margin: 0;
    padding: 60px 0;
}

.se-48b7d29b-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.se-48b7d29b-heading {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.se-48b7d29b-subtitle {
    font-size: 17px;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grid */
.se-48b7d29b-grid {
    display: grid;
    gap: 28px;
    padding: 0 20px;
}

.se-48b7d29b-cols-1 { grid-template-columns: 1fr; }
.se-48b7d29b-cols-2 { grid-template-columns: repeat(2, 1fr); }
.se-48b7d29b-cols-3 { grid-template-columns: repeat(3, 1fr); }
.se-48b7d29b-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .se-48b7d29b-cols-3,
    .se-48b7d29b-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .se-48b7d29b-cols-2,
    .se-48b7d29b-cols-3,
    .se-48b7d29b-cols-4 {
        grid-template-columns: 1fr;
    }
    .se-48b7d29b-heading {
        font-size: 28px;
    }
}

/* Card */
.se-48b7d29b-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.se-48b7d29b-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(45, 106, 79, 0.2) !important;
}

/* Card Image Link */
.se-48b7d29b-card-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* Card Image */
.se-48b7d29b-card-image {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.se-48b7d29b-placeholder-img {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
}

.se-48b7d29b-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay — GREEN */
.se-48b7d29b-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(45, 106, 79, 0) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
    z-index: 2;
}

.se-48b7d29b-card-image-link:hover .se-48b7d29b-overlay,
.se-48b7d29b-card:hover .se-48b7d29b-overlay {
    background-color: rgba(45, 106, 79, 0.6) !important;
}

.se-48b7d29b-overlay-icon {
    font-size: 40px;
    color: #ffffff !important;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.se-48b7d29b-card-image-link:hover .se-48b7d29b-overlay-icon,
.se-48b7d29b-card:hover .se-48b7d29b-overlay-icon {
    opacity: 1;
    transform: scale(1);
}

/* Date Badge — GREEN */
.se-48b7d29b-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1;
    background-color: #2d6a4f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.4) !important;
}

.se-48b7d29b-date-day {
    font-size: 20px;
    display: block;
    color: #ffffff !important;
}

.se-48b7d29b-date-month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
    color: #ffffff !important;
}

/* Card Body */
.se-48b7d29b-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.se-48b7d29b-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.se-48b7d29b-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
}

/* Button — GREEN */
.se-48b7d29b-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 50px;
    background-color: #2d6a4f !important;
    color: #ffffff !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
    letter-spacing: 0.3px;
    border: none !important;
}

.se-48b7d29b-btn:hover,
.se-48b7d29b-btn:focus,
.se-48b7d29b-btn:active,
.se-48b7d29b-btn:visited {
    background-color: #1b4332 !important;
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.35) !important;
    text-decoration: none !important;
}

.se-48b7d29b-btn-arrow {
    transition: transform 0.3s ease;
    font-size: 16px;
    color: #ffffff !important;
}

.se-48b7d29b-btn:hover .se-48b7d29b-btn-arrow {
    transform: translateX(4px);
    color: #ffffff !important;
}

/* No Events */
.se-48b7d29b-no-events {
    text-align: center;
    font-size: 16px;
    color: #9ca3af;
    padding: 40px 20px;
}
