.calendar {
    width: fit-content;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 4px;
}

.calendar-nav a {
    padding: 0 8px;
    text-decoration: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 35px);
    gap: 1px;
    width: fit-content;
    background: var(--bs-border-color, #dee2e6);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 4px;
    overflow: hidden;
}

.calendar-head,
.calendar-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-body-bg, #fff);
}

.calendar-head {
    height: 28px;
    font-weight: 600;
    font-size: 0.85em;
}

.calendar-cell {
    height: 35px;
    font-size: 0.9em;
}

.calendar-today {
    color: #fff;
    font-weight: 700;
    background: var(--bs-danger, #dc3545);
}

.calendar-news {
    font-weight: 700;
    background: var(--bs-success, #198754);
}

.calendar-news a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
