@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 .orange__text{ margin-left: -14px; }
.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;
	}
}
/* =========================================================
   LIFTING 2026 – odświeżenie wyglądu (bez zmian w działaniu)
   ========================================================= */
:root{
    --color-3: #ff5000;
    --color-3-dark: #e84a00;
    --color-3-hover: #e04600;
    --line: color-mix(in srgb, var(--color-2) 10%, transparent);
    --surface: color-mix(in srgb, var(--color-2) 4%, var(--color-1));
    --radius: 10px;
}
body, html{ color: var(--color-2); }
a{ color: var(--color-3-dark); text-decoration: none; }
a:hover{ color: var(--color-2); }
h1{ font-size: 48px; line-height: 1.15; }
h2{ font-size: 30px; line-height: 1.3; }
h3{ font-size: 22px; line-height: 1.35; }
h4{ font-weight: 500; }

/* ---------- Nagłówek ---------- */
header{ min-height: 76px; }
header::before, header::after{
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
}
header::before{ top: 0; bottom: 0; background: var(--color-1); z-index: -1; }
header::after{ bottom: 0; height: 1px; background: var(--line); }
header .navbar{ padding: 0; min-height: 76px; }
.header__logo{ background: none; border-radius: 0; padding: 0; margin: 0; }
.header__logo img{ height: 34px; }
.header__logo .logo--dark{ display: none; }
[data-theme="dark"] .header__logo.has-dark-logo .logo--light{ display: none; }
[data-theme="dark"] .header__logo.has-dark-logo .logo--dark{ display: inline; }
.navbar-nav{ margin-right: 56px; align-items: center; }
.navbar-nav li{ margin: 0 0 0 28px; }
.navbar-nav li::before{ display: none; }
.navbar-nav li a{
    font-size: 15px;
    padding: 26px 0;
    border-right: none;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease-in-out;
}
.navbar-nav li a:hover, .navbar-nav li a.active, .navbar-nav li.current-menu-item > a{
    border-bottom-color: var(--color-3);
}
.navbar-nav li:hover a, .navbar-nav li:hover a.active{ color: var(--color-2); }
#theme-toggle{
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 16px;
}
#theme-toggle:hover{ border-color: var(--color-3); }

/* ---------- Przyciski ---------- */
.hero__CTA-1, .hero__CTA-2{
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.2;
    margin-right: 12px;
    transition: background-color .15s ease-in-out, color .15s ease-in-out, border-color .15s ease-in-out;
}
.hero__CTA-1::before, .hero__CTA-2::before{ display: none; }
.hero__CTA-1{ background: var(--color-3); border: 1.5px solid var(--color-3); color: #fff; }
.hero__CTA-1:hover{ background: var(--color-3-hover); border-color: var(--color-3-hover); color: #fff; }
.hero__CTA-2{ background: transparent; border: 1.5px solid var(--color-3); color: var(--color-3-dark); }
.hero__CTA-2:hover{ background: color-mix(in srgb, var(--color-3) 10%, transparent); color: var(--color-3-dark); }

/* ---------- Hero ---------- */
.hero{ margin-top: 72px; margin-bottom: 88px; }
.hero__h1Breadcrumbs{
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-6);
    margin-bottom: 20px !important;
}
.hero h1{ margin-bottom: 20px; text-wrap: balance; }
.hero p:not(.hero__h1Breadcrumbs){ font-size: 18px; line-height: 1.6; color: var(--color-6); max-width: 480px; }
.hero__CTA-wrapper, .hero__CTA-Wrapper{ margin-top: 28px; }
.hero__img{ margin-top: 0; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Nagłówki sekcji ---------- */
h2.heading__marker{
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
}
.heading__marker::before{
    position: static;
    flex: none;
    width: 16px;
    height: 16px;
}

/* ---------- Kategorie ---------- */
.frontPage__categoryWrapper{ gap: 16px; margin: 0 0 88px; justify-content: flex-start; }
.frontPage__categoryItem{
    position: relative;
    overflow: hidden;
    width: calc(25% - 12px);
    padding: 0;
    aspect-ratio: 4/3 !important;
    border-radius: var(--radius);
    background-color: #3a3633;
    background-blend-mode: normal;
    justify-content: flex-start;
    align-items: flex-end;
}
.frontPage__categoryItem::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 100%);
    pointer-events: none;
}
.frontPage__categoryItem a{
    position: relative;
    z-index: 1;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 18px 20px;
}
.frontPage__categoryItem:hover a{ scale: 1; }
.frontPage__categoryItem h3,
.frontPage__categoryItem h3.text-center{
    font-size: 19px;
    font-weight: 500;
    text-align: left !important;
    color: #fff !important;
    margin: 0;
}

/* ---------- Najnowsze artykuły ---------- */
.article{
    position: relative;
    isolation: isolate;
    padding: 80px 12px;
    margin-bottom: 0;
}
.article::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--surface);
    z-index: -1;
}
.article__wrapper{ row-gap: 20px; }
.article__wrapper > article > .row,
.blogCategory article > .row{
    height: 100%;
    margin: 0;
    padding: 16px 4px;
    background: var(--color-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.article__wrapper > article > .row:hover,
.blogCategory article > .row:hover{
    border-color: #ffb58f;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.article__img{ display: block; }
.article__img img{ aspect-ratio: 4/3; border-radius: 6px; margin: 0; display: block; }
.article__category a{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-3-dark);
}
.article__title{
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    margin: 10px 0 0;
    text-wrap: pretty;
}
.article__excerpt{
    -webkit-line-clamp: 2;
            line-clamp: 2;
    font-size: 15px;
    line-height: 1.55;
    margin: 10px 0 14px;
}
.article__read-more{
    display: inline-block;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--color-3-dark);
    font-size: 15px;
}
.article__read-more::after{ content: " →"; }
.article__read-more:hover{ background: none; color: var(--color-2); }
.label-sponsorowane{
    top: 10px;
    bottom: auto;
    left: calc(var(--bs-gutter-x, 1.5rem) * .5 + 10px);
    background: rgba(255,255,255,.94);
    color: #5a5754;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}
.sponsorowane{
    display: inline-block;
    background: #fff1e9;
    color: #c23e00;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* ---------- Dlaczego Branżoteka ---------- */
.why{ margin-top: 64px; margin-bottom: 64px; }
.why__description{ font-size: 17px; line-height: 1.7; margin-top: 18px; }
.why__description a{ text-decoration: underline; }

/* ---------- CTA (dawny newsletter) ---------- */
.newsletter{
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 64px !important;
    padding: 0;
    background: none;
    background-attachment: scroll;
}
.newsletter > .container{ padding: 0 12px; height: auto; }
.newsletter .row{ height: auto !important; margin: 0 !important; }
.newsletter__content{
    flex: 0 0 100%;
    max-width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    min-height: 0;
    padding: 44px 56px;
    text-align: left;
    background: #1c1b1a;
    border-radius: 12px;
}
.newsletter__content h4{ margin: 0; font-size: 24px; line-height: 1.35; color: #fff; }
.newsletter__content .w-100{ width: auto !important; flex: none; }
.newsletter__content .hero__CTA-1{ margin-right: 0; white-space: nowrap; }

/* ---------- Kontakt ---------- */
.contact{ margin-top: 0; margin-bottom: 80px; }
.contact__wrapper{
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 12px;
    background: none;
}
.contact__wrapper::before, .contact__wrapper::after{ display: none; }
.contact__wrapper > .row{ column-gap: 0; }
.contact__wrapper .col-lg-6:last-child > div{
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
}
.contact__CTA{ font-size: 28px; line-height: 1.35; font-family: "Poppins", sans-serif; }
.contact__mail{ background: none; padding: 0; margin-top: 20px; }
.contact input, .contact textarea, .contact select{
    font-family: "Lato", sans-serif;
    font-size: 16px;
    padding: 14px 16px;
    margin-top: 6px;
    background: var(--color-1);
    color: var(--color-2);
    border: 1px solid color-mix(in srgb, var(--color-2) 18%, transparent);
    border-radius: 6px;
}
.contact input:focus, .contact textarea:focus, .contact select:focus{ border-color: var(--color-3); }
.wpcf7-form input[type="checkbox"]{ accent-color: var(--color-3); padding: 0; margin-top: 0; }
.wpcf7-form input[type="submit"]{
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}
.wpcf7-form input[type="submit"]:hover{ background: var(--color-3-hover); }

.contact textarea{ height: 140px; resize: vertical; }
.contact .wpcf7-spinner{ position: absolute; margin: 0; visibility: hidden; }
.contact .wpcf7-form p{ margin-bottom: 14px; }
.contact .wpcf7-form-control-wrap{ display: block; }

/* ---------- Stopka ---------- */
footer{ padding-top: 48px; padding-bottom: 28px; }
footer a{ transition: color .15s ease-in-out; }
footer a:hover{ color: #1c1b1a; }
.copy{ align-items: center; row-gap: 8px; }

/* ---------- Wpis / strona ---------- */
.single, .page{ margin-top: 56px; margin-bottom: 96px; }
.heroSingle{ height: 220px; margin-bottom: 0; }
.heroSingle p{ font-family: "Poppins", sans-serif; font-size: 32px; }
.single h1, .page h1{ font-size: 42px; line-height: 1.2; text-wrap: balance; margin-bottom: 24px; }
.single p, .page p{ font-size: 18px; line-height: 1.75; }
.single p:first-of-type{ font-size: 20px; line-height: 1.65; }
.single h2, .page h2{ font-size: 28px; font-weight: 500; margin-top: 32px; }
.single h3, .page h3{ font-weight: 500; margin-top: 24px; }
.single li, .page li{ font-size: 18px; line-height: 1.75; margin-bottom: 6px; }
.single img, .page img{ max-width: 100%; height: auto; border-radius: var(--radius); }
.single hr{ border-color: var(--line); opacity: 1; margin: 4px 0; }
.single h4{ font-size: 17px; margin-bottom: 8px; }
.single h5{ font-size: 15px; line-height: 1.4; }
.single h5 a{ color: var(--color-2); }
.single h5 a:hover{ color: var(--color-3-dark); }
.single .col-4 > .row:last-child ul.list-unstyled{ display: flex; flex-wrap: wrap; gap: 8px; }
.single .col-4 > .row:last-child ul.list-unstyled li{ margin: 0 !important; }
.single .col-4 > .row:last-child ul.list-unstyled h5{ margin: 0; font-size: 14px; }
.single .col-4 > .row:last-child ul.list-unstyled a{
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
}
.single .col-4 > .row:last-child ul.list-unstyled a:hover{ border-color: var(--color-3); }
.single ul.fs-1{ font-size: 15px !important; gap: 8px; }
.single ul.fs-1 li{ margin: 0 !important; }
.single ul.fs-1 a{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--color-2);
    transition: border-color .15s ease-in-out, color .15s ease-in-out;
}
.single ul.fs-1 a:hover{ border-color: var(--color-3); color: var(--color-3-dark); }
.releted__article{ border: none; border-radius: 8px; overflow: visible; }
.releted__article img{ border-radius: 8px; aspect-ratio: 16/10; max-height: none; margin-bottom: 10px; }
.releted__article h5{ font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.35; padding: 0 0 6px; }
.releted__article p{ padding: 0; font-size: 14px; }
.releted__article a{ font-size: 14px; font-weight: 700; padding: 8px 0 0; color: var(--color-3-dark); }
.branzoteka-author-box{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

/* ---------- Kategoria / paginacja ---------- */
.blogCategory{ margin-top: 56px; }
.blogCategory h1{ margin-bottom: 32px; }
.nav-links .page-numbers{ border: 1px solid var(--line); border-radius: 6px; color: var(--color-2); }
.nav-links .page-numbers:hover{ background: var(--surface); color: var(--color-3-dark); }
.nav-links .current, .nav-links .current:hover{ background: var(--color-3); border-color: var(--color-3); color: #fff; }

/* ---------- Nawigacja: sticky, akcje, dropdown ---------- */
html{ overflow-x: visible !important; scroll-padding-top: 90px; color-scheme: light; }
html[data-theme="dark"]{ color-scheme: dark; }
body{ overflow-x: clip !important; }
header{ position: sticky; top: 0; z-index: 1030; }
.header__actions{ gap: 10px; margin-left: 16px; min-height: 76px; }
.header__logo{ display: flex; align-items: center; min-height: 76px; }
.navbar-nav li a{ white-space: nowrap; }
.navbar-nav li{ margin-left: 22px; }
@media (min-width: 992px) and (max-width: 1199px){
    .navbar-nav li{ margin-left: 14px; }
    .navbar-nav li a{ font-size: 14px; }
}
.navbar-nav{ margin-right: 0; }
.navbar-toggler{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    border-radius: 8px;
}
.navbar-toggler:focus-visible, #theme-toggle:focus-visible{ outline: 2px solid var(--color-3); outline-offset: 2px; }
.dropdown-menu{
    background: var(--color-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    padding: 8px;
    margin-top: 0;
    min-width: 220px;
}
.dropdown-menu li{ margin: 0; }
.dropdown-menu li a, .dropdown-menu .dropdown-item{
    display: block;
    padding: 9px 12px !important;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    color: var(--color-2);
    white-space: normal;
}
.dropdown-menu li a:hover, .dropdown-menu .dropdown-item:hover{
    background: var(--surface);
    color: var(--color-3-dark);
    border: none;
}
.navbar-nav .dropdown-toggle::after{ margin-left: 6px; vertical-align: 2px; }
@media (min-width: 992px){
    .navbar-nav .dropdown:hover > .dropdown-menu{ display: block; }
}
@media (max-width: 991px){
    header .navbar{ flex-wrap: wrap; }
    .navbar-collapse{
        flex-basis: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding-bottom: 12px;
        border-top: 1px solid var(--line);
    }
    .navbar-nav{ margin: 0; align-items: stretch; width: 100%; }
    .navbar-nav li{ margin: 0; border-bottom: 1px solid var(--line); }
    .navbar-nav li:last-child{ border-bottom: none; }
    .navbar-nav li a{ display: block; padding: 14px 0; border-bottom: none; font-size: 16px; }
    .navbar-nav li a:hover, .navbar-nav li a.active, .navbar-nav li.current-menu-item > a{ border-bottom: none; }
    .navbar-nav li a.nav-link.active{ color: var(--color-3-dark); font-weight: 700; }
    .navbar-nav li:hover a, .navbar-nav li:hover a.active{ color: var(--color-2); }
    .navbar-nav li:hover a.nav-link.active{ color: var(--color-3-dark); }
    .navbar-nav .dropdown-menu{
        position: static;
        border: none;
        box-shadow: none;
        background: none;
        padding: 0 0 8px 16px;
    }
    .navbar-nav .dropdown-menu li{ border-bottom: none; }
    .dropdown-menu li a, .dropdown-menu .dropdown-item{ padding: 10px 0 !important; }
}

/* ---------- Elementy dodane w liftingu ---------- */
.frontPage__categoryCount{
    display: block;
    color: #fff;
    font-size: 14px;
    opacity: .85;
    text-align: left;
    margin-top: 2px;
}
.frontPage__categoryItem a{ flex-direction: column; justify-content: flex-end !important; align-items: flex-start !important; }
.frontPage__categoryItem a h3{ width: 100%; }
.article__title a{ color: var(--color-2); }
.article__title a:hover{ color: var(--color-3-dark); }
.article__meta{ display: flex; gap: 8px; font-size: 13px; color: var(--color-6); }
.single__breadcrumbs{ display: flex; gap: 8px; font-size: 14px; color: var(--color-6); margin-bottom: 20px; }
.single__meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: var(--color-6); margin-bottom: 24px; }
.single__meta strong{ color: var(--color-2); }
.single__avatar{ width: 36px; height: 36px; border-radius: 50%; }
.single img.single__thumb{ width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 24px; }
.single__latest{ display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--color-2); }
.single__latest img{ width: 64px; height: 48px; object-fit: cover; border-radius: 4px; }
.single__latest:hover{ color: var(--color-3-dark); }
.footer__top{ padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.35); row-gap: 24px; }
.footer__about{ font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer__heading{ display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.footer__list{ margin: 0; font-size: 15px; }
.footer__list li{ margin-bottom: 8px; }

.article__head{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; }
.article__head h2.heading__marker{ margin-bottom: 0; }
.article__all{ font-weight: 700; font-size: 15px; }
.allArticles{ margin-bottom: 80px; }

/* ---------- Wpis: autor + udostępnianie, podobne ---------- */
.single__authorbar{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.single__authorbar .branzoteka-author-box{
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
    flex: 1 1 280px;
    align-items: center;
}
.single__authorbar .branzoteka-author-box__avatar img{ width: 56px; height: 56px; }
.single__authorbar .branzoteka-author-box__bio{ display: none; }
.single__authorbar .branzoteka-author-box__name{ font-size: 18px; margin: 0 0 2px; font-weight: 500; }
.single__authorbar .branzoteka-author-box__label{ font-size: 13px; letter-spacing: .06em; margin-bottom: 2px; }
.share{ display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--color-6); }
.share ul{ gap: 8px; }
.share li{ margin: 0 !important; }
.share a{
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--color-2);
    font-size: 15px;
    transition: border-color .15s ease-in-out, color .15s ease-in-out;
}
.share a:hover{ border-color: var(--color-3); color: var(--color-3-dark); }
.related{ margin-top: 72px; }
.related__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related .releted__article{ width: auto; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.related__img{ display: block; }
.related .releted__article img{ margin: 0; aspect-ratio: 16/10; width: 100%; object-fit: cover; border-radius: 8px; max-height: none; }
.related .releted__article h5{ margin: 0; padding: 0; }
.related .releted__article h5 a{ color: var(--color-2); font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.35; padding: 0; }
.related .releted__article h5 a:hover{ color: var(--color-3-dark); }
.footer__legal{ display: none; gap: 20px; }
.footer--slim .footer__top{ display: none; }
.footer--slim .footer__legal{ display: flex; flex-wrap: wrap; }
.footer--slim{ padding-top: 28px; }

/* ---------- RWD ---------- */
@media screen and (max-width: 991px){
    .related__grid{ grid-template-columns: 1fr; }
    h1{ font-size: 38px; }
    .hero{ margin-top: 40px; margin-bottom: 64px; }
    .hero__img{ margin-top: 32px; }
    .frontPage__categoryItem{ width: calc(50% - 8px); }
    .article{ padding: 56px 12px; }
    .newsletter__content{ flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .contact__wrapper .col-lg-6:last-child > div{ margin-top: 32px; padding: 28px; }
}
@media screen and (min-width: 576px) and (max-width: 991px){
    .article__wrapper > article > .row > .col-12:first-child,
    .blogCategory article > .row > .col-12:first-child{ flex: 0 0 42%; max-width: 42%; }
    .article__wrapper > article > .row > .col-12:last-child,
    .blogCategory article > .row > .col-12:last-child{ flex: 0 0 58%; max-width: 58%; }
}
@media screen and (max-width: 767px){
    .single h1, .page h1{ font-size: 28px; }
    .single h2, .page h2{ font-size: 23px; }
    .single p:first-of-type{ font-size: 18px; }
    .single p, .page p, .single li, .page li{ font-size: 17px; }
    .single__authorbar .branzoteka-author-box{ flex: 0 0 auto; flex-direction: row; gap: 14px; }
    .single__authorbar{ flex-direction: column; align-items: flex-start; }
    .single, .page{ margin-top: 32px; }
    .hero__CTA-1, .hero__CTA-2{ margin: 0 8px 12px 0; }
    .article__img img{ margin-top: 0 !important; }
    .article__wrapper > article > .row{ row-gap: 12px; }
    .article__wrapper > article > .row > .col-12{ padding-left: 12px; padding-right: 12px; }
    .frontPage__categoryItem a{ padding: 12px 14px; }
    .frontPage__categoryItem h3,
    .frontPage__categoryItem h3.text-center{ font-size: 16px; overflow-wrap: anywhere; hyphens: auto; }
    .frontPage__categoryCount{ font-size: 12px; }
}
@media screen and (max-width: 440px){
    .frontPage__categoryWrapper{ gap: 12px; }
    .frontPage__categoryItem{ width: calc(50% - 6px); }
}
@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;
    }
   .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;
    }
}