.cal {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0 4px 6px 2px rgba(0, 0, 0, 0.3);
    padding: 5px;
    font-size: 9px;
    margin: 7px;
    height: fit-content;
}

.cal-top {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: var(--blue);
    border-radius: 5px;
}

.cal-top svg {
    fill: var(--dark-grey);
    height: 30px;
    cursor: pointer;
}

.cal-day {
    width: 100%;
    padding: 0 15px;
    color: var(--dark-grey);
    font-size: 15px;
    font-weight: bold;
}

.cal-day hr {
    background-color: var(--light-pink);
    height: 1px;
    border: none;
    margin-bottom: 2px;
}

.event-lectures {
    font-size: 13px;
    color: var(--dark-grey);
    margin: 5px 0;
    background-color: var(--lighter-yellow);
    padding: 2px 5px;
    border-radius: 6px;
    width: fit-content;
}

.event-saint {
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-top: 4px;
}

.cal-controller {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3px;
    gap: 2px;
}

.cal-controller button,
.cal-controller input {
    background-color: var(--coral);
    color: var(--white);
    cursor: pointer;
    border-radius: 5px;
    height: 33px;
    padding: 0 5px;
}

.cal-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 3px;
    gap: 3px;
    font-size: 10px;
    text-align: center;
}

.cal-head div {
    padding: 3px;
    background-color: var(--light-pink);
    border-radius: 5px;
    font-weight: bold;
    color: var(--white);
}

.cal-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 3px;
    gap: 3px;
    font-size: 10px;
    text-align: center;
}

.cal-body div {
    background-color: var(--white);
    color: var(--dark-grey);
    border: 1px solid var(--blue);
    cursor: pointer;
    max-width: 14vw;
    overflow: hidden;
    padding: 3px;
    border-radius: 5px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-height: 15px;
}

.cal-body span {
    font-size: 13px;
    font-weight: 900;
    display: block;
}

.cal-body .selected {
    background-color: var(--coral);
    color: var(--white);
}

.cal-body .today {
    background-color: var(--red);
    color: var(--white);
}