/*
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;
    }

}

.container.mx-auto.px-4 h1{
	color: #FFDC00 !important;
	font-size: 40px;
	font-weight: 800;
	text-transform: uppercase;
	font-family: var(--e-global-typography-primary-font-family);
}

/* =========================
   BLOG / AKTUALNOŚCI – miniaturki
========================= */
.blog article .overflow-hidden,
.archive article .overflow-hidden {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog article .overflow-hidden img,
.archive article .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   PRODUKTY – brak sztywnego ratio
========================= */
.single-katalog article .overflow-hidden {
    aspect-ratio: auto;
}

/* =========================
   POJEDYNCZY WPIS – ukryj zdjęcie
========================= */
.single-post img.wp-post-image {
    display: none !important;
}

/* =========================
   NAGŁÓWEK – styl H1
========================= */
.container.mx-auto.px-4 h1 {
    color: #FFDC00 !important;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--e-global-typography-primary-font-family);
}

/* =========================
   LOGO + TEKST
========================= */
.site-branding {
    display: flex !important;
    align-items: center;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    display: block !important;
    margin-left: 12px;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 800;
    font-size: 26px;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* =========================
   PRODUKTY – pełne zdjęcia (bez ucinania)
========================= */
/* kontener obrazka */
.post-type-archive-katalog article .overflow-hidden,
.tax-katalog_kategoria article .overflow-hidden {
    height: 220px;
    display: flex;
    align-items: center;      /* pion */
    justify-content: center;  /* poziom */
    background: #fff;
    text-align: center;
}

/* obraz */
.post-type-archive-katalog article img,
.tax-katalog_kategoria article img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;

    /* KLUCZOWE */
    margin-left: auto;
    margin-right: auto;
}
/*
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;
    }

}

.container.mx-auto.px-4 h1{
	color: #FFDC00 !important;
	font-size: 40px;
	font-weight: 800;
	text-transform: uppercase;
	font-family: var(--e-global-typography-primary-font-family);
}

/* =========================
   BLOG / AKTUALNOŚCI – miniaturki
========================= */
.blog article .overflow-hidden,
.archive article .overflow-hidden {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog article .overflow-hidden img,
.archive article .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   PRODUKTY – brak sztywnego ratio
========================= */
.single-katalog article .overflow-hidden {
    aspect-ratio: auto;
}

/* =========================
   POJEDYNCZY WPIS – ukryj zdjęcie
========================= */
.single-post img.wp-post-image {
    display: none !important;
}

/* =========================
   NAGŁÓWEK – styl H1
========================= */
.container.mx-auto.px-4 h1 {
    color: #FFDC00 !important;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--e-global-typography-primary-font-family);
}

/* =========================
   LOGO + TEKST
========================= */
.site-branding {
    display: flex !important;
    align-items: center;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    display: block !important;
    margin-left: 12px;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 800;
    font-size: 26px;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* =========================
   PRODUKTY – pełne zdjęcia (bez ucinania)
========================= */
/* kontener obrazka */
.post-type-archive-katalog article .overflow-hidden,
.tax-katalog_kategoria article .overflow-hidden {
    height: 220px;
    display: flex;
    align-items: center;      /* pion */
    justify-content: center;  /* poziom */
    background: #fff;
    text-align: center;
}

/* obraz */
.post-type-archive-katalog article img,
.tax-katalog_kategoria article img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;

    /* KLUCZOWE */
    margin-left: auto;
    margin-right: auto;
}
/* RESET BAD STYLING */
.container.mx-auto.px-4 h1 {
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
/* cały nagłówek */
section.py-2 h1 {
    color: #FFDC00;
    font-size: 40px;
    font-weight: 400; /* normalny */
}

/* część normalna */
.normal-title {
    font-weight: 400;
}

/* pogrubiona część */
.bold-title {
    font-weight: 700;
}