/* CSS for Nasio Template Library */

.nasio-pattern-item {
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.nasio-pattern-item h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
}

.nasio-pattern-item-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #eee;
    background: #f9f9f9;
    position: relative;
    height: 200px;
    overflow: scroll;
    padding: .75rem;
    cursor: pointer;
}

.nasio-pattern-item-preview .block-editor-block-preview__container {
    overflow-y: scroll;
}

.nasio-patterns-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media(min-width:40rem){
    .nasio-pattern-item-wrapper {
        width: calc(33% - 1rem);
        box-sizing: border-box;
    }
}