/*
 Theme Name:   Avantage Child
 Theme URI:    http://avantage.bold-themes.com
 Description:  Avantage child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     avantage
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  avantage-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */

.custom-blog-title-wrapper {
    margin-bottom: 30px;
}

body:not(.search) {
.custom-blog-archive .btContentWrap {
    max-width: 1600px;
    margin: auto;
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

.custom-blog-archive .btContentHolder {
    flex: 0 0 80%;
    max-width: 80%;
    padding: 4em 20px 4em;
    order: 1;
}

.custom-blog-archive .btContentHolder .btContent {
    width: 100%;
}

.custom-blog-archive .btSidebar {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 4em 0 4em;
    order: 2;
}

.custom-blog-archive .btPageHeadline {
    display: none;
}

.custom-blog-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
}

.custom-blog-list-wrapper .btPostSingleItemStandard {
    width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
}

.custom-blog-list-wrapper .btPostSingleItemStandard:first-of-type{
    margin-top: 0;
}

.custom-blog-list-wrapper .btPostSingleItemStandard .port {
    padding: 0 10px;
}

.custom-blog-list-wrapper .bt_bb_headline h2.bt_bb_headline_tag {
    font-size: 2.2rem;
}

.custom-blog-list-wrapper .btPostSingleItemStandard .btArticleShareEtc {
    display: block;
}

.custom-blog-list-wrapper .btPostSingleItemStandard .btArticleShareEtc > div {
    margin-top: 20px;
    max-width: fit-content;
}

.custom-blog-list-wrapper .btPostSingleItemStandard .btArticleShareEtc > div {
    text-align: left;
}

@media (max-width: 1200px) {
    .custom-blog-list-wrapper .btPostSingleItemStandard {
        width: calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .custom-blog-archive .btContentWrap {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }

    .custom-blog-archive .btContentHolder, .custom-blog-archive .btSidebar {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2em 0;
    }

    .custom-blog-archive .btContentHolder {
        order: 2;
    }

    .custom-blog-archive .btSidebar {
        order: 1;
        padding-left: 15px;
        padding-right: 15px;
    }

    .custom-blog-list-wrapper .btPostSingleItemStandard {
        width: 100%;
        flex: 0 0 100%;
    }
}

}