.ohe-calendar {
    width: 100%;
    margin: 0 auto;
    color: inherit;
}

.ohe-calendar-heading {
    font-size: 1.6rem;
    margin: 0 0 20px;
}

.ohe-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.ohe-calendar-weekday {
    padding: 12px 5px;
    text-align: center;
    font-weight: 700;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.ohe-calendar-day {
    min-height: 110px;
    padding: 8px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    min-width: 0;
}

.ohe-calendar-empty {
    background: transparent;
}

.ohe-calendar-date {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.ohe-calendar-event {
    display: block;
    background: rgba(100, 140, 125, 0.12);
    border-left: 3px solid #648c7d;
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 5px;
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.ohe-calendar-event-time {
    display: block;
    font-size: .7rem;
    opacity: .8;
}

.ohe-calendar-event-title {
    display: block;
    font-weight: 600;
}

.ohe-upcoming {
    margin-top: 40px;
}

.ohe-upcoming h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.ohe-event {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

.ohe-event-time {
    font-weight: 600;
    font-size: .95rem;
}

.ohe-event-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.ohe-event-content p {
    margin: 5px 0;
}

.ohe-event-warning {
    font-size: .85rem;
    color: #9a5a20;
}

.ohe-calendar-note {
    margin-top: 24px;
    font-size: .8rem;
    opacity: .65;
}

@media (max-width: 650px) {
    .ohe-calendar-day {
        min-height: 70px;
        padding: 4px;
    }

    .ohe-calendar-event {
        padding: 3px;
        font-size: .68rem;
    }

    .ohe-calendar-event-time {
        font-size: .62rem;
    }

    .ohe-calendar-weekday {
        font-size: .7rem;
        padding: 8px 2px;
    }

    .ohe-event {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 10px;
    }
}
