/* ============= */
/*   Public CSS  */
/* ============= */

.ld-files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 480px) {
    .ld-files-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .ld-files-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .ld-files-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.ld-file-item {
    cursor: pointer;
}

/* PDF iframe modal */
.ld-pdf-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.ld-pdf-modal__overlay {
    display: none;
}

.ld-pdf-modal__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.ld-welcome {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.ld-pdf-modal__close {
    flex-shrink: 0;
    background-color: #232323;
    color: #eee;
    text-decoration: underline;
    cursor: pointer;
    text-align: end;
    padding: 3px 20px;
}

.ld-pdf-modal__frame {
    flex: 1;
    width: 100%;
    border: none;
}

.ld-file-title {
    font-size: 1.25rem;
    margin: 8px 0 0;

}