.native-calendar {
    overflow: hidden;
    border: 1px solid #e1e1e1;
    border-radius: .65rem;
    background: #fafafa;
}

.native-calendar-header {
    display: flex;
    padding: .65rem .75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    background: #b31319;
}

.native-calendar-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.native-calendar-actions .button {
    min-width: 2.5rem;
    margin: 0;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: .35rem;
    color: #fff;
    background: transparent;
    font-size: .9rem;
}

.native-calendar-actions .button:hover,
.native-calendar-actions .button:focus-visible {
    color: #7e0c10;
    background: #fff;
}

.native-calendar-month {
    margin: 0;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1.2;
}

.native-calendar-weekdays,
.native-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.native-calendar-weekdays {
    border-bottom: 1px solid #e5e5e5;
    color: #666;
    background: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}

.native-calendar-weekdays span {
    padding: .45rem .2rem;
    border-left: 1px solid #ededed;
}

.native-calendar-weekdays span:first-child {
    border-left: 0;
}

.native-calendar-day {
    box-sizing: border-box;
    min-width: 0;
    min-height: 7.2rem;
    padding: .35rem;
    border-left: 1px solid #ededed;
    border-top: 1px solid #ededed;
    background: #fafafa;
}

.native-calendar-day:nth-child(7n + 1) {
    border-left: 0;
}

.native-calendar-day:nth-child(-n + 7) {
    border-top: 0;
}

.native-calendar-day.outside-month {
    background: #f1f1f1;
}

.native-calendar-day.current-date {
    background: #fff2f2;
    box-shadow: inset 0 0 0 1px rgba(179, 19, 25, .35);
}

.native-calendar-date {
    display: block;
    margin-bottom: .3rem;
    color: #666;
    font-size: .75rem;
    text-align: right;
}

.outside-month .native-calendar-date {
    color: #aaa;
}

.current-date .native-calendar-date {
    color: #a20f15;
    font-weight: 800;
}

.native-calendar-events {
    display: grid;
    gap: .3rem;
}

.native-calendar-event {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    padding: .35rem;
    overflow: hidden;
    border-left: 3px solid #b31319;
    border-radius: .25rem;
    color: #555;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    font-size: .7rem;
    line-height: 1.25;
    text-decoration: none;
}

.native-calendar-event:hover,
.native-calendar-event:focus-visible {
    color: #111;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.native-calendar-event .ev-kopf,
.native-calendar-event .event-title {
    display: block;
    margin-bottom: .2rem;
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.native-calendar-event .begegnung-wappen {
    gap: .25rem;
}

.native-calendar-event .begegnung-wappen .wappen img {
    width: 1.5rem;
    height: 1.5rem;
}

.native-calendar-event .wappen-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media all and (max-width: 700px) {
    .native-calendar {
        display: none;
    }
}
