/*
Theme Name:   Neve Child
Theme URI:    https://kansasbg.com
Description:  Neve Child Theme for Kansas BG
Author:       BG Products, Inc.
Author URI:   https://kansasbg.com
Template:     neve
Version:      1.0.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.en.html
Text Domain:  neve-child
*/


h1{ font-size: 70px; }
h2{ font-size: 46px; }
h3{ font-size: 32px; }

/* Override Neve parent theme for h4 (Products/Service icon text) */
h4{
    font-size: 20px !important;
}

.d-flex{
    display: flex;
}
.flex-space-between{
    justify-content: space-between;
}


.header-main-inner{
    background-image: url('https://cdn.brandfolder.io/AB44IBCB/at/6rwmgc9xkg8h528wkc64xxr/BlackMetalTexture.jpg') !important;
    color: #fff;
}

.header-main-inner a{
    color: #fff !important;
}

.service_icons .elementor-image-box-content{
    margin-top: -1em !important;
}

/* Move up slider navigation */
.swiper-pagination{
    margin-bottom: 12px;
}

.swiper-pagination-bullet{
    border: 1px solid white;
}


/* Hide the Footer text: Neve | Powered by WordPress */
footer .hfg-slot.left .builder-item:last-of-type {
    display: none;
}

footer .footer-bottom-inner{
    background-color: #000;
}

footer .builder-item * {
    font-family: 'Source Sans Pro' !important;
}

footer .widget{
    margin-bottom: 0;
}

footer .company_info, footer figure{
    margin-bottom: 16px;
}

footer .footer-bottom-inner .row{
    align-items: flex-end;
}

footer .widget-area p{
    display: none;
}

footer .hfg-grid-bottom{
    padding: 50px 0;
}

.subtext{
    font-size: 12px;
}

input[type='password']{
    width: 100%;
    max-width: 320px;
}

#home_slider{
    position: relative;
}

/* Fix gap below Home page slider */
#home_slider figure.swiper-slide-inner{
    line-height: 0;
}

.bg_slider_overlay{
    position: absolute;
    background-color: rgba(1,1,1,.8);
    padding: 1.25em;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

#products figure, #services figure{
    width: 60% !important;
}

.navbar-toggle:focus{
    outline: none !important;
}


/* Align non-Elementor header with Elementor content */
.container .row{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.container .row .builder-item{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media screen and (max-width: 959px){
    footer .container{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .bg_header_title img{
        max-width: 75% !important;
    }
}


@media screen and (min-width: 960px){
    .container{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


@media screen and (max-width: 767px){

    /* Make Child theme align with Elementor settings */
    .hide-on-mobile {
        display: none;
    }

    .bg_header_title img{
        max-width: 75% !important;
    }

    .bg_slider_overlay{
        display: none;
    }

    #products h4, #services h4{
        font-size: 19px !important;
    }

}
/* Ograniczenie wysokości w pojedynczym wpisie */
.single-post img.wp-post-image {
    width: 100%;
    max-height: 200px; /* zmianę można dostosować */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* kontener obrazka */
article .overflow-hidden {
    aspect-ratio: 16 / 9;
}

article .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
