#calendar {
    display: flex;
    flex-direction: column;
}

.book {
    border-radius: 1em;
}

.book .item {
    display: flex;
    padding: 0.5em 0;
}

.book .item .image {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 0.5em;
}

.book .item .image img {
    object-fit: contain;
    aspect-ratio: 1 / 1.4142;
}

.book .item .info {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.book .item .info .title {
    margin-bottom: 0.5em;
    font-weight: 700;
}

.book .item .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    margin: -4px -4px 0.5em -4px;
}

.book .links {
    margin-top: auto;
}

.book .links a {
    text-decoration: none;
}

.book .links a:hover {
    opacity: 0.8;
}

.book .links button {
    border-radius: 4px;
    padding: 0.4em 0.8em;
    font-size: 0.9em;
    color: var(--color-white);
    background-color: var(--color-theme);
}

.book button.publisher::before {
    margin-right: 4px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f02d";
}

.book button.label::before {
    margin-right: 4px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f02b";
}

.book .month-view .event-popper {
    margin: 1px;
    padding: 1px;
    border-radius: 4px;
    line-height: 1.6;
    height: 4.8em;
    font-size: 3.2vw;
    font-weight: 700;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    color: var(--color-white);
    background-color: var(--color-theme);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.book .month-view .event-popper:hover {
    opacity: 0.7;
}

.book .modal-content .item .info {
    flex: 2;
}

.book .modal-content .item .image {
    margin-left: 0.5em;
}

.book .event.filtered {
    display: none !important;
}

.book .filter-list .separator {
    margin: 8px 4px;
    font-weight: 600;
}

.book .filter-list .list:not(.hidden) ~ .separator {
    border-top: 1px solid var(--color-white);
}

.book .filter-list .show-more {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    padding: 0;
    color: var(--color-theme);
    background-color: var(--color-theme-gray);
    font-size: 0.8em;
}

.book .filter-list .show-more::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
}

.book button[name="show-filter-list"].no-filters {
    color: var(--color-theme);
}

@media (min-width:660px) {
    .book .item .info {
        flex: 4;
    }

    .book .month-view .event-popper {
        font-size: 0.79em;
    }
}

@supports (-webkit-backdrop-filter: blur(10px)) {
    .navigation-bar,
    .month-view .month-header {
        -webkit-backdrop-filter: blur(10px);
        background-color: var(--color-white-transparent);
    }
}
