@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*
Theme Name: Branżoteka
Author: facecube.dev
Author URI: https://facecube.dev
Version: 1.0
*/
body, html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    position: relative;
    overflow-x: hidden !important;
    max-width: 100%;
}
:root{
    --color-1: #FCFCFC;
    --color-2: #0C0C0C;
    --color-3: #FE4E00;
    --color-4: #1446A0;
    --color-5: #E1E2DF;
    --color-6: #686B61;
}
body{
    background-color: var(--color-1);
}
a{
    color: var(--color-3 );
}
h1, h2, h3, h4, h5, h6{
    font-family: "Poppins", sans-serif;
}
h1{
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    color: var(--color-2);
}
h2{
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: var(--color-2);
}
h3{
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: var(--color-2);
}
h4{
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: var(--color-2);
}
h5{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-2);
}
h6{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    color: var(--color-2);
}
.orange__text{
    color: var(--color-3);
}
header{
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--color-1);
    z-index: 999;
}
.navbar-brand{
    font-size: 24px;
    font-family: "Poppins", sans-serif;
    color: #000;
    font-weight: 700;
    line-height: 150%;
}
.navbar-nav{
    margin-right: 70px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: var(--color-2);
}
.navbar-nav li{
    margin: 0 8px;
    position: relative;
    z-index: 99;
}
.navbar-nav li::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background-color: var(--color-3);
    z-index: -1;
    transition: ease-in-out 0.15s;
}
.navbar-nav li:hover::before{
    width: 100%;
}
.navbar-nav li:hover a, .navbar-nav li:hover a.active{
    color: var(--color-1);
}
.navbar-nav li a{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-2);
    border-right: solid 2px var(--color-3);
    padding: 0 10px;
}
.navbar-toggler{
    border: none;
    padding: 0;
    font-size: 42px;
    color: var(--color-3);
}
.navbar-toggler:focus{
    box-shadow: none !important;
}
.header__logo{
    background-color: white;
    border-radius: 6px;
    padding: 0.3125rem;
}
.header__logo img{
    height: 40px;
}
.hero{
    margin-bottom: 120px;
}
.hero__img{
    margin-top: 64px;
}
.hero__h1Breadcrumbs{
    font-size: 20px;
    color: var(--color-2);
}
.hero h1{
    margin-bottom: 24px;
    color: var(--color-2);
}
.hero p{
    color: var(--color-2);
}
.hero__CTA-wrapper{
    margin-top: 34px;
}
.hero__CTA-1{
    position: relative;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-1);
    text-decoration: none;
    border: solid 2px var(--color-3);
    padding: 10px 12px;
    margin-right: 24px;
    z-index: 99;
}
.hero__CTA-1::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-3);
    z-index: -1;
    transition: ease-in-out 0.15s;
}
.hero__CTA-1:hover{
    color: var(--color-3);
}
.hero__CTA-1:hover.hero__CTA-1::before{
    height: 0%;
}
.hero__CTA-2{
    position: relative;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-3);
    text-decoration: none;
    border: solid 2px var(--color-3);
    padding: 10px 12px;
    z-index: 99;
}
.hero__CTA-2::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    bottom: 0;
    left: 0;
    background-color: var(--color-3);
    z-index: -1;
    transition: ease-in-out 0.15s;
}
.hero__CTA-2:hover{
    color: var(--color-1);
}
.hero__CTA-2:hover.hero__CTA-2::before{
    height: 100%;
}
h2.heading__marker{
    margin-bottom: 64px;
    margin-left: 46px;
}
.frontPage__categoryWrapper{
    gap: 24px;
    justify-content: center;
    margin-bottom: 120px;
}
.frontPage__categoryItem{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #00000095;
    background-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(25% - 24px);
    transition: ease-in-out .4s;
    border-radius: 6px;
}
.frontPage__categoryItem a{
    transition: ease-in-out .4s;
}
.frontPage__categoryItem:hover a{
    scale: 1.2;
}
.frontPage__categoryItem h3{
    color: var(--color-5) !important;
}
.heading__marker{
    position: relative;
}
.heading__marker::before{
    content: "";
    position: absolute;
    top: 6px;
    left: -46px;
    width: 30px;
    height: 30px;
    background-color: var(--color-3);

}
.article{
    margin-bottom: 120px;
}
.article__wrapper{
    row-gap: 24px;
}
.article__img img{
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
}
.article__excerpt{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
            line-clamp: 3;
    -webkit-box-orient: vertical;
    color: var(--color-6);
    margin: 24px auto 34px auto;
    font-weight: 400;
    line-height: 150%;
}
.article__title{
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
            line-clamp: 3;
    -webkit-box-orient: vertical;
}
.article__category a{
    color: var(--color-3);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    text-decoration: none;
}
.article__read-more{
    color: var(--color-1);
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    background-color: var(--color-3);
    padding: 10px 12px;
    margin-top: 10px;
    text-decoration: none;
}
.why{
    margin-bottom: 120px;
}
.why__description{
    color: var(--color-6);
    margin-top: 24px;
}
.newsletter{
    height: 350px;
    background-image: url('assets/img/CTA.webp');
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    margin: 120px auto;
}
.newsletter__content{
    background-color: var(--color-1);
    border-radius: 6px;
    text-align: center;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
}
.newsletter__content h4{
    margin-bottom: 24px;
}
.facecube{
    width: 22px;
    height: 22px;
    margin-left: 12px;
}
footer{
    background-color: var(--color-3);
    color: var(--color-1);
    padding-top: 48px;
    padding-bottom: 48px;
}
footer a{
    color: var(--color-1);
}
.copy{
    font-size: 14px;
}
.single, .page{
    margin-top: 120px;
    margin-bottom: 120px;
}
.single p{
    line-height: 200%;
    color: var(--color-2);
}
.single ul, .single ol{
    color: var(--color-2);
}
.page p{
    line-height: 200%;
    color: var(--color-2);
}
.page ul, .page ol{
    color: var(--color-2);
}
.contact__wrapper{
    background-color: #ededed;
    margin-bottom: 64px;
    padding: 24px;
    position: relative;
}
.contact__wrapper::before{
    content: "";
    top: -4px;
    left: -4px;
    width: 100px;
    height: 100px;
    background-color: var(--color-3);
    position: absolute;
    z-index: -1;
}
.contact__wrapper::after{
    content: "";
    bottom: -4px;
    right: -4px;
    width: 100px;
    height: 100px;
    background-color: var(--color-3);
    position: absolute;
    z-index: -1;
}
.contact__CTA{
    font-size: 36px;
}
.contact__mail{
    background-color: #FCFCFC;
    border-radius: 6px;
    padding: 24px;
    margin-top: 48px;
}
.contact label{
    width: 100%;
}
.contact input{
    border: none;
    width: 100%;
    padding: 5px;
}
.contact textarea{
    border: none;
    width: 100%;
    padding: 5px;
}
.contact select{
    background-color: #FCFCFC;
    width: 100%;
    padding: 5px;
    border: none;
}
.wpcf7-form input[type="checkbox"]{
    width: auto;
    transform: scale(1.4);
    margin-right: 12px;
}
.wpcf7-form input[type="checkbox"] > label{
    margin: 0;
}
.wpcf7-list-item {
    margin: 0;
    margin-top: 12px;
}
.wpcf7-form input[type="submit"]{
    border: none;
    background-color: var(--color-3);
    color: var(--color-1);
    width: auto;
    padding: 8px 24px;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus{
    box-shadow: none;
    outline: none;
}
.heroSingle{
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: multiply;
}
.heroSingle p{
    color: var(--color-5);
    font-size: 36px;
}
.releted__article{
    width: calc(33.333333% - 24px);
    border: 1px solid rgba(164, 120, 101, 0.20);
}
.releted__article p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
            line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 0 12px;
    line-height: 150%;
    color: var(--color-6);
}
.releted__article h5{
    padding: 0 12px;

}
.releted__article a{
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 12px 12px 24px 12px;
    color: var(--color-2);
}
.releted__article img{
    width: 100%;
    max-height: 172px;
    aspect-ratio: 16/9;
    object-fit: cover;
}
#theme-toggle {
    color: var(--color-3);
    background-color: var(--color-1);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-toggle__wrapper{
    margin-right: 0;
    margin-top: 16px;
}
.category__description{
    color: var(--color-2);
}
.label-sponsorowane{
    position: absolute;
    left: 12px;
    bottom: 0;
    background-color: var(--color-3);
    color: var(--color-1);
    padding: 4px 8px;
    border-bottom-left-radius: 6px;
    font-size: 14px;
}
.sponsorowane{
    font-size: 14px;
    color: var(--color-3);
    margin-bottom: 16px;
}
/* Stylowanie kontenera */
.navigation.pagination {
    text-align: center;
    margin: 40px 0;
}

/* Stylowanie linków */
.nav-links .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: var(--color-3);
    border-radius: 4px;
}

/* Bieżąca strona */
.nav-links .current {
    background-color: var(--color-3);
    color: #fff;
    border-color: var(--color-3);
}

/* Hover */
.nav-links .page-numbers:hover {
    background-color: #f0f0f0;
    color: var(--color-3);
}
.branzoteka-author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: 40px;
	padding: 24px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fafafa;
}

.branzoteka-author-box__avatar img {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 50%;
}

.branzoteka-author-box__label {
	margin: 0 0 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .7;
}

.branzoteka-author-box__name {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
}

.branzoteka-author-box__bio p {
	margin: 0 0 12px;
}

.branzoteka-author-box__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.branzoteka-author-box__links a {
	text-decoration: none;
}

@media (max-width: 767px) {
	.branzoteka-author-box {
		flex-direction: column;
	}
}
@media screen and (max-width: 440px){
    h1{
        font-size: 32px;
    }
    h2{
        font-size: 26px;
    }
    h3{
        font-size: 20px;
    }
    h4{
        font-size: 18px;
    }
    h5{
        font-size: 15px;
    }
    h6{
        font-size: 13px;
    }
    .navbar-nav li a {
        border: none;
        padding: 20px 0;
    }
   .frontPage__categoryItem{
    width: calc( 100% - 24px);
   } 
   .article__img img{
    margin-top: 34px;
   }
   .single, .page{
    margin-top: 64px;
    margin-bottom: 64px;
    }
    .heroSingle{
        height: 200px;
    }
    .heroSingle p{
        font-size: 24px;
    }
    .releted__article{
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }
    .releted__article img{
        width: 100%;
        max-height: 220px;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    .theme-toggle__wrapper{
        margin-right: 55px;
        margin-top: 12px;
    }
}