.library-page .card-item {
    flex: 0 0 320px;
    background-color: #fff;
    padding: 60px 22px 24px;
    box-shadow: 0 0px 50px rgba(39, 92, 141, 0.145);
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    max-width: 200px;
}

.library-page .card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

.library-modal.modalAcademia {
    box-shadow: none;
}

@media (max-width: 500px) {
    .library-modal .modal-livros-biblioteca .img_2-3-wraper {
        width: 90%;
        height: auto;
    }
}
.library-cover {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.library-page .library-heading {
    margin-bottom: 0;
}
.library-book:focus-visible {
    outline: 3px solid var(--destaque_color);
    outline-offset: 8px;
}
.strategic-carousel .cards-track,
.library-carousel .cards-track {
    align-items: center;
}
.strategic-carousel .strategic-document,
.library-carousel .library-book {
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
    transition: transform 0.3s ease;
}
.strategic-carousel .strategic-document:hover,
.library-carousel .library-book:hover {
    transform: translateY(-4px);
}
.strategic-carousel .cards-track-wrapper,
.library-carousel .cards-track-wrapper {
    touch-action: pan-y pinch-zoom;
}
.library-filter-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.library-filter-group legend {
    float: none;
    width: auto;
    margin: 0 0 12px;
}
.library-filter-option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    max-width: 100%;
}
.library-filter-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
}
.library-filter-option .pill {
    display: block;
    margin: 0;
}
.library-filter-option input:checked + .pill {
    background: var(--destaque_color);
    color: white;
}
.library-filter-option input:focus-visible + .pill {
    outline: 2px solid var(--text_color);
    outline-offset: 3px;
}
.library-page .active-tags a {
    color: inherit;
    line-height: 1;
    font-size: 13px;
    opacity: 0.6;
}
.library-page .active-tags a:hover {
    opacity: 1;
}
.library-page .clear-filters {
    font-family: 'Poppins', sans-serif;
}
.library-modal.modalAcademia {
    position: fixed;
    inset: 0;
    transform: none;
    margin: auto;
    width: 80%;
    height: 80%;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--text_color);
    background: transparent;
    box-shadow: none;
    overflow-y: auto;
}
.library-modal.modalAcademia[open] {
    display: block;
}
.library-modal::backdrop {
    background: #ffffffeb;
    backdrop-filter: blur(5px);
    cursor:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 384 512'%3E%3Cpath fill='%2363C100' d='M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z'/%3E%3C/svg%3E")
            16 16,
        auto;
}
.library-modal .info-livro {
    min-width: 0;
    overflow-y: auto;
}
.library-modal h3[tabindex='-1'] {
    outline: none;
}
.library-modal-close {
    z-index: 3;
    right: 0;
    top: 0;
    border: 0;
    background: transparent;
    color: var(--destaque_color);
}
.library-page [hidden] {
    display: none !important;
}
@media (max-width: 575px) {
    .strategic-carousel .strategic-document,
    .library-carousel .library-book {
        flex-basis: 210px;
        width: 210px;
    }
    .library-page .card-item {
        flex-basis: 100%;
        max-width: 200px;
    }
    .library-modal.modalAcademia {
        width: 90%;
        padding: 2.5rem 1rem 1rem;
    }
    .library-page .active-tags,
    .library-page .tag {
        max-width: 100%;
    }
    .library-page .tag span {
        overflow-wrap: anywhere;
    }
}
