/*
 * File: vara-projekt-single.css
 * Version: 1.5
 * Description: Custom styles for vara projekt single page.
 * Author: [Cajka]
 * Date: [Creation Date]
 */

/* General container styles */
.ast-container,
.sbs-prsingle-hero .ib1 .uagb-ifb-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

.ast-container {
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    margin-bottom: 80px;
}

/* Hero section styles */
.sbs-prsingle-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.sbs-prsingle-hero .uagb-container-inner-blocks-wrap:first-child {
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.sbs-three-ch .uagb-container-inner-blocks-wrap {
    padding-left: 0 !important;
}

/* Infobox styles */
.sbs-prsingle-hero .ib1 {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
}

.sbs-prsingle-hero .ib1 .uagb-ifb-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

.sbs-prsingle-hero .ib1 .uagb-ifb-title-wrap {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.sbs-prsingle-hero .ib1 .uagb-ifb-desc {
    margin-top: 1px !important;
    font-size: 16px;
    font-weight: 700;
}

.sbs-prsingle-hero .ib1 .uagb-ifb-desc,
.sbs-prsingle-hero .ib1 .uagb-ifb-title {
    white-space: nowrap;
}

/* Widget styles */
.sbs-prsingle-hero .ti-widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
}

/* Separator styles */
.sbs-proj-sep {
    background-color: #50575e;
    border-top: none;
    max-width: 50%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
}

.sbs-proj-p1 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 24px;
}

/* Gallery and Image styles */
.wp-block-gallery .wp-element-caption,
.wp-block-image::before {
    display: none;
}

.wp-block-gallery .wp-block-image img {
    border-radius: 15px;
}

/* Responsive media queries */
@media (min-width: 768px) {.site-primary-header-wrap{margin-bottom:0!important;}}

@media (max-width: 1640px) {
.sbs-prsingle-hero .uagb-container-inner-blocks-wrap:first-child .inner-row{padding: 0 2%!important;}
}
@media (max-width: 1450px) {
    .sbs-prsingle-hero .uagb-container-inner-blocks-wrap:first-child .inner-row{padding: 0 30px!important;}
    }

@media (max-width: 976px) {
    .sbs-three-checks .uagb-infobox-margin-wrapper,
    .sbs-three-checks .wp-block-uagb-info-box {
        width: -webkit-fit-content !important;
        width: -moz-fit-content !important;
        width: fit-content !important;
    }

    .sbs-proj-sep {
        max-width: 60%;
    }
}

@media (max-width: 767px) {
    .sbs-three-checks,
    .sbs-three-checks .uagb-ifb-content {
        width: -webkit-fit-content !important;
        width: -moz-fit-content !important;
    }

    .ast-container {
        margin-bottom: 60px;
    }

    .sbs-prsingle-hero .uagb-container-inner-blocks-wrap:first-child .inner-row {
        padding: 0!important;
    }

    .sbs-three-checks {
        display: block !important;
        width: -webkit-fit-content !important;
        width: -moz-fit-content !important;
        width: fit-content !important;
    }

    .sbs-three-checks .uagb-ifb-content {
        text-align: left;
        width: -webkit-fit-content !important;
        width: -moz-fit-content !important;
        width: fit-content !important;
    }

    .sbs-prsingle-hero .ti-widget {
        padding: 24px 24px 0 !important;
        border-radius: 0 !important;
    }

    .sbs-three-ch .uagb-container-inner-blocks-wrap {
        width: -webkit-fit-content !important;
        width: -moz-fit-content !important;
        width: fit-content !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sbs-prsingle-hero .ib1 {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    .sbs-prsingle-hero .ib1 .uagb-ifb-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: flext-start;
        -ms-flex-align: flext-start;
        align-items: flext-start;
    }

    .ti-inner,
    .ti-read-more,
    .ti-review-text,
    .ti-stars {
        text-align: center !important;
    }

    .sbs-prsingle-hero .ib1 .uagb-ifb-desc {
        font-size: 15px;
    }
	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {width:100%!important}
}