.sme-calendar {
    width: 100%;
}

.sme-jump {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.sme-jump select,
.sme-jump button {
    padding: 4px 6px;
    font-size: 14px;
}

.sme-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.sme-day {
    border: 1px solid #ddd;
    padding: 8px;
    min-height: 120px;
}

.sme-day.today {
    background: #fff4cc;
    border-color: #f5c542;
}

.sme-day .date {
    font-weight: bold;
}

.sme-weekday {
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
}
/* optional weekday styles
.sme-weekday {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}
*/
.event {
    font-size: 13px;
    margin-top: 6px;
}

.event-image img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    border-radius: 4px;
}

.list-event-image img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    margin-top:20px;
    border-radius: 4px;
}

.event-image a {
    display: block;
    transition: transform 0.2s ease;
}

.event-image a:hover {
    transform: scale(1.05);
}

.sme-list {
    display: none;
}

.sme-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.sme-nav a {
    text-decoration: none;
}

.event-description p {
    margin: 0 0 6px;
}

.event-description a {
    color: #0073aa;
    text-decoration: underline;
}

/* Truncates calendar description only */
.sme-grid .event-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Styles for list view (removed the mobile media querie) */
    .sme-grid {
        display: none;
    }

    .sme-list {
        display: block;
        max-width:400px;
    }
    
    .sme-list-title {
        font-size: 1.5em;
        font-weight: 600;
        line-height: 1em;
    }
    
    .sme-list-date-time {
        font-size: 1.2em;
        font-weight: 600;
    }

    .list-event {
        border-bottom: 4px solid #ddd;
        padding: 10px 0;
    }
    
    .sme-jump, .sme-nav {
    display: none !important;
    }
    
@media (max-width: 768px) {
    .sme-style-toggle {
        display: none;
    }
}