.filtertheposts-frontend-filters {
    margin-bottom: 1.5rem;
}

.az-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    gap: 6px;
    width: 100%;
}

.square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--theme-button-min-height);
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    text-decoration: none;
    line-height: 1;
}

.square:hover {
    border-color:  var(--theme-button-background-initial-color);
    color:  var(--theme-button-background-initial-color);
}

.square.active {
    color: var(--theme-button-text-initial-color);
    border: var(--theme-button-border);
    background-color: var(--theme-button-background-initial-color);
}

.square.disabled {
    opacity: .25;
    pointer-events: none;
    cursor: default;
}

.filtertheposts-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.filtertheposts-row > div {
    margin: 0;
    flex: 1 1 0;
}

.filtertheposts-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.filtertheposts-reset {
    cursor: pointer;
}

@media (max-width: 782px) {
    .filtertheposts-row {
        flex-direction: column;
    }

    .filtertheposts-row > label {
        width: 100%;
    }
}
