/* ===========
GUTENBERG BLOCK - POST CATEGORIES LIST 
============== */

.wp-block-lazyblock-posts-categories {
    max-width: 1400px;
    margin: 0 auto;
}

.support-categories {
    row-gap: 30px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    margin: 0 auto;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.support-category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* font-size: 1.7rem; */
    max-width: 100%;
    width: calc(33.3333% - 20px);
    height: auto;
    text-align: center;
    padding: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: -webkit-box-shadow 0.4s, -webkit-transform 0.4s;
    transition: -webkit-box-shadow 0.4s, -webkit-transform 0.4s;
    -o-transition: box-shadow 0.4s, transform 0.4s;
    transition: box-shadow 0.4s, transform 0.4s;
    transition: box-shadow 0.4s, transform 0.4s, -webkit-box-shadow 0.4s, -webkit-transform 0.4s;

    font-weight: 600;
}

.support-category:hover {
    background-color: var(--color-1);
    color: white;
    -webkit-box-shadow: 2px 2px 4px 0px #00000047;
    box-shadow: 2px 2px 4px 0px #00000047;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* inside sidebar */

.sidebar .support-categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
}

.sidebar .support-category {
    width: auto;
    height: auto;
    background-color: transparent !important;
    color: inherit !important;
    padding: 0;
    text-align: left;
    font-size: 1em;
    padding-left: 25px;
    position: relative;
    list-style: none;
    -webkit-box-shadow: unset !important;
    box-shadow: unset !important;
}

.sidebar .support-category:hover {
    text-decoration: underline;
}

.sidebar .support-category::before {
    content: "\f138";
    font-family: bootstrap-icons !important;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0px;
}

.wp-block-lazyblock-posts-categories .search-form {
    /* display: flex;
  flex-direction: column; */
    max-width: 768px;
    margin: 0 auto !important;
    margin-bottom: 60px !important;
    width: 100%;
    max-width: 550px;
}

.wp-block-lazyblock-posts-categories .search-form input[type="submit"] {
    width: auto;
}

.sidebar .search-form .button.button--effect {
    width: 100%;
    max-width: calc(100% - 30px);
    margin-top: 10px;
}

/* search form sidebar */

.sidebar .search-form {
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 0 !important;
}

.sidebar .search-form input {
    width: 100% !important;
}

.sidebar .search-form input[type="submit"] {
    margin-left: 0 !important;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .support-category {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .wp-block-lazyblock-posts-categories .search-form input {
        width: 100% !important;
        text-align: center;
        margin-left: 0 !important;
    }
    .wp-block-lazyblock-posts-categories .search-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .sidebar .search-form input[type="submit"] {
        margin-top: 0px;
    }

    .wp-block-lazyblock-posts-categories .search-form .button--effect {
        margin-top: 10px !important;
    }

    .support-category {
        width: 100%;
        height: auto;
        font-size: 1rem;
        padding: 10px 20px;
    }

    .support-categories {
        row-gap: 20px;
        -webkit-column-gap: 20px;
        -moz-column-gap: 20px;
        column-gap: 20px;
    }

    .wp-block-lazyblock-posts-categories .search-form {
        margin-bottom: 30px !important;
    }
}
