.article-calendar {
    width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 0.5em;
    border-top: 1px solid black;
    border-left: 1px solid black;
    background: linear-gradient(315deg, white 0%, white 50%, #e7e7e7 100%);
    color: black;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow: visible;
}

.article-calendar .article-calendar__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25em;
    margin-bottom: 0.5em;
}

.article-calendar .article-calendar__month {
    flex: 1;
    text-align: center;
    font-size: inherit;
    font-weight: normal;
}

.article-calendar .article-calendar__navigation button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: black;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}

.article-calendar .article-calendar__navigation button:hover:not(:disabled) {
    background: #e7e7e7;
}

.article-calendar .article-calendar__navigation button:focus-visible {
    outline: 1px solid black;
    outline-offset: 2px;
}

.article-calendar .article-calendar__table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.article-calendar .article-calendar__table th,
.article-calendar .article-calendar__table td {
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    vertical-align: top;
    font-style: normal;
    font-weight: normal;
}

.article-calendar .article-calendar__table th {
    padding: 0.25em 0 0.5em;
    border-bottom: 1px solid black;
    font-size: 0.85em;
}

.article-calendar .article-calendar__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-height: 38px;
    margin: 0;
    padding: 6px 0;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    line-height: 1;
}

.article-calendar .article-calendar__outside .article-calendar__number {
    opacity: 0.3;
}

.article-calendar .article-calendar__outside .article-calendar__dot {
    background: #aaa;
}

.article-calendar .article-calendar__today .article-calendar__number {
    color: black;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Het bolletje en zijn eigen tekstvak */
.article-calendar .article-calendar__event {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
}

.article-calendar .article-calendar__dot {
    display: block;
    width: 8px;
    height: 8px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    background: black;
    color: black;
    cursor: help;
    touch-action: manipulation;
}

.article-calendar .article-calendar__dot:hover,
.article-calendar .article-calendar__dot:focus-visible {
    background: black;
    outline: 1px solid black;
    outline-offset: 3px;
}

.article-calendar .article-calendar__tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 20ch;
    box-sizing: border-box;
    padding: 0.2rem 0.3rem;
    border: 1px solid black;
    background: #e7e7e7;
    color: black;
    font-family: inherit;
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: wrap;
    z-index: 20;
}

.article-calendar .article-calendar__tooltip-title {
    display: block;
}

.article-calendar .article-calendar__tooltip-title + .article-calendar__tooltip-title {
    margin-top: 0.3em;
}

.article-calendar .article-calendar__event:hover .article-calendar__tooltip,
.article-calendar .article-calendar__event:focus-within .article-calendar__tooltip {
    display: block;
}

.article-calendar .article-calendar__event.is-dismissed .article-calendar__tooltip {
    display: none;
}

.article-calendar .article-calendar__status {
    display: none;
}

.article-calendar .article-calendar__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}