/* New homepage PL */
.page-template-template-new-homepage-pl .hero video {
    max-height: 100%;
    object-fit: cover;
    height: 100%;
}

.page-template-template-new-homepage-pl .intro-image {
    display: flex;
}

.page-template-template-new-homepage-pl .section-main .section__intro:first-of-type .section__text p,
.page-template-template-solutions-pl .section-main .section__intro:first-of-type .section__text p,
.page-template-template-new-offer-pl .section-main .section__intro:first-of-type .section__text p {
    margin-bottom: 30px !important;
}

.page-template-template-solutions-pl .text__initial ul,
.page-template-template-new-homepage-pl .text__initial ul,
.page-template-template-new-offer-pl .text__initial ul {
    margin-block-end: 30px;
}

.page-template-template-solutions-pl .text__initial p + ul,
.page-template-template-new-offer-pl .text__initial p + ol,
.page-template-template-new-offer-pl .text__initial p + ul:not(.text__initial p:last-of-type + ul),
.page-template-template-new-offer-pl .text__initial p + ol:not(.text__initial p:last-of-type + ol) {
    margin-block-start: 0;
}

.page-template-template-new-offer-pl .section-main .offer__intro__col.section__text p:last-of-type:has(+ ul) + ul,
.page-template-template-new-offer-pl .section-main .offer__intro__col.section__text p:last-of-type:has(+ ol) + ol {
    margin-top: 30px;
}

.page-template-template-new-offer-pl .section-main .offer__intro__col {
    display: block;
}

.page-template-template-new-offer-pl .partners .section__title h2 {
    margin-bottom: 0;
}

.page-template-template-new-offer-pl .text__icons__list__item span:first-child {
    line-height: 90%;
}

.offer-repeater {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.offer-repeater .offer-element a {
    padding: 15px;
    min-width: 300px;
    width: 100%;
    min-height: 180px;
    margin: 0;
    max-width: 300px;
    max-height: 200px;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Work Sans;
    font-weight: 400;
    width: 100%;
    line-height: 2rem;
    text-decoration: none;
}

.offer-repeater .offer-element a img {
    width: 55px !important;
    transition: all .5s cubic-bezier(.87,-.41,.19,1);
    max-height: fit-content;
}

.offer-repeater .offer-element a:hover img {
    transform: scale(1.1);
}

.offer-repeater .offer-element a p {
    margin-top: 10px;
    padding-left: 0;
    color: #313d4d;
    font-size: 1rem;
    letter-spacing: normal;
    margin-bottom: 0 !important;
    border: none;
    font-weight: bold;
    line-height: 1.6rem;
}

.section-blue.cities {
    background-color: #2ca8df;
}

.section-blue.cities .cities__title {
    border-left: 7px solid #fbe108;
    color: #fff;
}

.section-blue.cities .cities__list__item {
    color: #fff;
    border: .063rem solid #fff;
}

.page-template-template-new-homepage-pl .section-main .portfolio__items {
    margin-bottom: 40px;
}

.page-template-template-new-homepage-pl .section__title--blue h2,
.page-template-template-new-homepage-pl .section-blue.section-main h2 {
    margin-bottom: 0;
    padding-top: 0;
}


/* Usługi / Solutions PL */
.page-template-template-solutions-pl .hero.hero--small {
    background-position: center;
}

.page-template-template-solutions-pl .hero--small::before {
    background-color: rgb(31 61 75 / 66%);
}

.page-template-template-solutions-pl .cta__button {
    max-width: fit-content;
    margin: 30px auto 0;
}

.page-template-template-solutions-pl .cities__text h4 {
    border: none;
    padding: 0;
    font-size: 1.5rem;
}

.page-template-template-solutions-pl .cities__text p {
    padding-bottom: 0;
}

.page-template-template-solutions-pl .section-blue.section-main h3, 
.page-template-template-solutions-pl .section-blue.section-main h3 {
    border-left: 7px solid #fbe109;
    padding-left: 30px;
    line-height: 150%;
}

.page-template-template-solutions-pl .ads-offer-col h4 {
    border: none;
    padding: 0;
    font-size: 1.5rem !important;
    color: #fff;
    margin-bottom: 30px !important
}

.page-template-template-solutions-pl .solutions .ads-col-container ul li {
    max-width: 245px;
    max-height: 200px;
    min-height: 140px;
    justify-content: center;
    border-radius: 10px;
    line-height: normal;
    padding: 0;
}

.page-template-template-solutions-pl .solutions .ads-col-container ul li a {
    padding: 15px;
    min-width: 245px;
    width: 100%;
    min-height: 140px;
    margin: 0;
    max-width: 200px;
    max-height: 200px;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-template-template-solutions-pl .solutions .ads-col-container:not(.ads-col-container .radio-ads) ul {
    margin-bottom: 2em;
}

.page-template-template-solutions-pl .radio-ads {
    margin-top: 90px;
}

.page-template-template-solutions-pl .radio-ads h3 {
    text-align: left;
}

.page-template-template-solutions-pl .radio-ads ul {
    display: block;
    margin-top: 0;
}

.page-template-template-solutions-pl .solutions .ads-col-container .radio-ads ul li {
    max-width: unset;
    max-height: unset;
    min-height: unset;
    background-color: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.page-template-template-solutions-pl .solutions .ads-col-container .radio-ads ul li::before {
    content: url('https://be-media.com.pl/wp-content/uploads/2025/07/arrow-right-yellow.svg');
    display: inline-block;
    margin-right: 15px;
}

.page-template-template-solutions-pl .solutions .ads-col-container .radio-ads ul li span {
    text-align: left;
}

.page-template-template-solutions-pl .section-blue .cta__button {
    background-color: #fbe108;
    color: black;
    margin: 0 auto;
    display: block;
}

.page-template-template-solutions-pl .section-blue.section-main.partners h2 {
    border-left: 7px solid #fbe108;
    color: #fff;
    margin-bottom: 0;
    padding-top: 0;
}

.page-template-template-solutions-pl .section__title h2:not(.page-template-template-solutions-pl .section__title.cta__title h2) {
    margin-bottom: 0;
}

.page-template-template-solutions-pl .section__list.section__text.text__initial p {
    margin: 0 !important;
}

.page-template-template-solutions-pl .solutions-section .offer__intro__row {
    margin-bottom: 0;
}

.page-template-template-new-homepage-pl h2 strong, .page-template-template-solutions-pl h2 strong {
    line-height: normal;
}

.page-template-template-solutions-pl .section-main .offer__intro__img,
.page-template-template-new-homepage-pl .section-main .offer__intro__img,
.page-template-template-new-offer-pl .section-main .offer__intro__img {
    object-fit: contain;
}

/* New Offer PL */
.page-template-template-new-offer-pl .wp-video-shortcode {
    height: auto;
}

.page-template-template-new-offer-pl .solutions-section ul li a + span {
    width: 100%;
}
.page-template-template-new-offer-pl .hero.hero--small {
    background-position: center;
}

.page-template-template-new-offer-pl .hero--small::before {
    background-color: rgb(31 61 75 / 66%);
}

.page-template-template-new-offer-pl .section-blue.section-main h2 {
    border-left: 7px solid #fbe108;
    line-height: 110%;
    padding-top: 0;
}

.page-template-template-new-offer-pl .section__title h2 {
    font-size: 1.8rem !important;
    text-transform: uppercase;
}

.page-template-template-new-offer-pl .proudest-section .section__title h2 {
    margin-bottom: 0;
}

.page-template-template-new-offer-pl .cities__text {
    margin-top: 0;
}

.page-template-template-blog h2,
.page-template-template-bazawiedzy h2,
.page-template-template-clients h2,
.page-template-template-portfolio-new h2 {
    font-size: 1.8rem;
}

.page-template-template-portfolio-new .portfolio__items {
    margin-top: 20px;
}

.page-template-template-portfolio-new .portfolio {
    padding: 100px 0 0 0;
}

.page-template-template-blog .keypoints .section__intro.offer__intro__col .section__text h2,
.page-template-template-bazawiedzy .keypoints .section__intro.offer__intro__col .section__text h2,
.page-template-template-clients .keypoints .section__intro.offer__intro__col .section__text h2,
.page-template-template-faq .keypoints .section__intro.offer__intro__col .section__text h2 {
    margin-bottom: 1em; 
}

.page-template-template-new-offer-pl .solutions-section ul,
.page-template-template-new-offer-pl ol {
    margin: 30px 0;
}

.page-template-template-new-offer-pl .cooperacion ol,
.page-template-template-blog ol {
    list-style: num;
    padding-left: 3em;
    margin-bottom: 0;
}

.page-template-template-new-offer-pl .section-main.cooperacion .offer__intro__row {
    margin-bottom: 0;
}

.page-template-template-blog ol li {
    list-style: initial;
}

.page-template-template-new-offer-pl .solutions-section ul li {
    max-width: unset;
    max-height: unset;
    min-height: unset;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    vertical-align: middle;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.page-template-template-new-offer-pl .section-blue.solutions-section ul li,
.page-template-template-new-offer-pl .section-blue ol li,
.page-template-template-new-offer-pl .solutions-section.section-main .section__text.section__text-m0 ol h3 {
    color: #fff;
}

.page-template-template-new-offer-pl .solutions-section ul li b,
.page-template-template-new-offer-pl .solutions-section ul li strong {
    line-height: 55px;
    display: block;
    text-transform: uppercase;
    font-size: 120%;
    color: #313d4d;
}

.page-template-template-new-offer-pl .section-blue.solutions-section ul li b,
.page-template-template-new-offer-pl .section-blue.solutions-section ul li strong {
    color: #fff;
}

.page-template-template-new-offer-pl .solutions-section.section-main .section__text.section__text-m0 h3::before {
    content: none;
}

.page-template-template-new-offer-pl .solutions-section ul li::before {
    content: url('https://be-media.com.pl/wp-content/uploads/2025/04/arrow-right.svg');
    display: inline-block;
    margin-right: 15px;
    height: 45px;
}

.page-template-template-new-offer-pl .section-blue.solutions-section ul li::before {
    content: url('https://be-media.com.pl/wp-content/uploads/2025/07/arrow-right-yellow.svg');
    display: inline-block;
    margin-right: 15px;
    height: 45px;
}

.page-template-template-new-offer-pl .solutions-section ul li span {
    text-align: left;
}

.page-template-template-new-offer-pl .section-blue .cta__button a,
.page-template-template-new-offer-pl .cta__button a {
    padding: 15px;
    border-radius: 10px;
    display: block;
}

.page-template-template-new-offer-pl .offer h2 {
    display: flex;
    width: 100%;
}

.page-template-template-new-offer-pl .cta__button {
    display: block;
    max-width: fit-content;
    margin: 40px auto 0;
    padding: 0;
}

.page-template-template-new-offer-pl .section-blue .cta__button a {
    background-color: #fbe108;
    color: black;
}

.page-template-template-new-offer-pl .section-blue .cta__button {
    padding: 0;
}

.page-template-template-new-offer-pl .solutions-section.section-main .section__text.section__text-m0 h3 {
    display: block;
}

.page-template-template-new-offer-pl .section-main.partners {
    margin-top: 0;
}

.page-template-template-new-offer-pl .section-blue .text__initial ul {
    list-style: initial;
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    display: inline-block;
}

.page-template-template-new-offer-pl .section-blue .text__initial ul li {
    display: list-item;
    color: #fff;
}

/* Single Posts */
.single.single-post .post.post--single .post__content h2,
.single.single-knowledge_base .post.post--single .post__content h2 {
    position: relative;
    z-index: 2;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .087rem;
    border-left: 7px solid #2ca8df;
    padding-left: 30px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.884rem;
    text-transform: unset;
    margin-bottom: 30px !important;
}

.single.single-post .post.post--single .post__content h3,
.single.single-knowledge_base .post.post--single .post__content h3 {
    position: relative;
    z-index: 2;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .087rem;
    border-left: 7px solid #2ca8df;
    padding-left: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.584rem;
    text-transform: unset;
    margin-bottom: 30px !important;
}

.single.single-post .post.post--single .post__content ul li h3,
.single.single-post .post.post--single .post__content ol li h3,
.single.single-knowledge_base .post.post--single .post__content ul li h3,
.single.single-knowledge_base .post.post--single .post__content ol li h3 {
    border-left: none;
    padding-left: 10px;
}

.single.single-post .post.post--single .post__content h4,
.single.single-knowledge_base .post.post--single .post__content h4 {
    position: relative;
    z-index: 2;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .087rem;
    border-left: 7px solid #2ca8df;
    padding-left: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.284rem;
    text-transform: unset;
    margin-bottom: 30px !important;
}

.single.single-post .post.post--single .post__content h2 span,
.single.single-post .post.post--single .post__content h3 span,
.single.single-post .post.post--single .post__content h4 span,
.single.single-knowledge_base .post.post--single .post__content h2 span,
.single.single-knowledge_base .post.post--single .post__content h3 span,
.single.single-knowledge_base .post.post--single .post__content h4 span {
    font-weight: 700 !important;
}

.single.single-post .post.post--single .post__content .cta__button,
.single.single-knowledge_base .post.post--single .post__content .cta__button {
    max-width: max-content;
}

.single.single-post .post.post--single .post__content .cta__button a,
.single.single-knowledge_base .post.post--single .post__content .cta__button a {
    color: #fff !important;
}

.single.single-post .post.post--single .post__content .cta .cta-col,
.single.single-knowledge_base .post.post--single .post__content .cta .cta-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.single.single-post .post.post--single .post__content .cta .cta-col-images,
.single.single-knowledge_base .post.post--single .post__content .cta .cta-col-images {
    min-width: 230px;
}

.single.single-post .post.post--single .post__content .cta .cta-col-images img,
.single.single-knowledge_base .post.post--single .post__content .cta .cta-col-images img {
    width: 200px;
    height: 200px;
}

@media (max-width: 768px) {
    .single.single-post .post.post--single .post__content .cta .cta-col-images {
        display: none;
    }

    .single.single-post .post.post--single .post__content .cta h2 {
        font-size: 1.5rem;
    }

    .single.single-post .post.post--single .post__content .cta__button {
        margin: 0 auto;
    }
}

.single.single-post .post.post--single .post__content b {
    font-weight: 600;
}

.single.single-post .post.post--single .post__content i {
    font-style: italic;
}

.post--single .post__content ol, .post--single .post__content ul {
    padding-left: 1em;
}

.post--single .post__content li {
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    .page-template-template-new-homepage-pl .section-main.offer .offers__home__title h2,
    .page-template-template-new-homepage-pl .section-blue.cities .cities__title,
    .page-template-template-solutions-pl .offer h2,
    .page-template-template-new-offer-pl .section-blue.cities .cities__title,
    .page-template-template-new-offer-pl .offer h2 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
    }

    .page-template-template-new-homepage-pl .section-main.partners,
    .page-template-template-new-homepage-pl .cities,
    .page-template-template-solutions-pl .section-main.partners.ads-col-container,
    .page-template-template-solutions-pl .cities,
    .page-template-template-new-offer-pl .section-main.partners,
    .page-template-template--newoffer-pl .cities  {
        padding: 50px 0;
    }

    .page-template-template-new-homepage-pl .section-blue.section-main h3, .section-blue.section-main h3,
    .page-template-template-new-homepage-pl .section__text h4, 
    .page-template-template-new-homepage-pl .offer__content.section__text h4,
    .page-template-template-solutions-pl .section__text h4, .offer__content.section__text h4,
    .page-template-template-solutions-pl .cities__text h4 {
        font-size: 1.3rem !important;
    }
	
	.section-main .offer__intro__img {
		min-height: unset;
	}
	
	.page-template-template-new-offer-pl .section-main .offer__intro__col {
		margin-top: 0;
	}
	
	.hero.hero--small .hero__content h1 {
        font-size: 1.5rem !important;
    }
}

.page-template-template-new-offer-pl .section-blue.section-main h3 {
    border-color: #fbe108;
}

.cities__list__col{
    gap:4px;
}

.post__meta__icon.updated-date:before {
    background-image: url(https://be-media.com.pl/wp-content/uploads/2025/12/updated-date.svg);
}

.single-knowledge_base .post__content table td,
.single-post .post__content table td {
    white-space: normal;
}

.single-knowledge_base .post__content b,
.single-knowledge_base .post__content strong {
    font-weight: bold !important;
}

.page-id-25929 .section-blue .offer__intro__row {
    margin-bottom: 0;
}

.page-id-25929 .section-blue p:last-of-type {
    margin-bottom: 0;
}

.poly_lang_switcher{
    list-style: none;
    text-transform: uppercase;
    color: #fff;
}

.section__cta {
	justify-content: space-between;
}

@media screen and (max-width: 991px) {
	#menu-glowne.menu {
		justify-content: unset;
		overflow-y: scroll;
		display: block;
		padding-left: 40px;
		padding-right: 40px;
	}
	
	#menu-glowne ul.sub-menu > li {
		max-height: unset !important;
	}
	
	.header--toggled #menu-glowne.menu li {
		width: 100%;
	}

	ul.sub-menu li:has(.sub-menu) .plus {
		display: block;
		position: absolute !important;
        right: 0;
        top: -6px;
	}
	
	
	ul.sub-menu li:has(.sub-menu) a {
		max-width: max-content;
	}
	
	.intro-section .offer__intro__row {
		flex-direction: column-reverse;
	}
	
	.breadcrumbs ul#breadcrumbs {
		margin-bottom: 20px;
	}
	
	.breadcrumbs ul#breadcrumbs a {
		font-size: 14px;
		line-height: normal;
	}
	
	.intro-section .cta__button {
		background-color: #fbe10b;
		color: #000;
	}

	.header .grid {
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	.header__nav {
		min-width: unset !important;
	}

}


@media (max-width: 490px) {
    .page-template-template-new-homepage-pl .main .offer .grid,
    .page-template-template-new-offer-pl .main .offer .grid,
    .page-template-template-new-solutions-pl .main .offer .grid {
        padding: 5px 0;
    }

    .page-template-template-new-homepage-pl .section-main.offer .offers__home__title h2,
    .page-template-template-new-homepage-pl .section-blue.cities .cities__title,
    .page-template-template-new-homepage-pl .section__title h2, 
    .page-template-template-new-homepage-pl .ads-offer-col h2,
    .page-template-template-solutions-pl .offer h2,
    .page-template-template-new-offer-pl .section-main.offer .offers__home__title h2,
    .page-template-template-new-offer-pl .section-blue.cities .cities__title,
    .page-template-template-new-offer-pl .section__title h2,
    .page-template-template-new-offer-pl .offer h2 {
        font-size: 1.5rem !important;
        line-height: normal;
    }

    .page-template-template-new-offer-pl .cta__button a,
    .page-template-template-new-homepage-pl .cta__button a,
    .page-template-template-solutions-page-pl .cta__button a {
        font-size: 16px;
        padding: 15px;
        line-height: normal;
    }

    .page-template-template-solutions-pl .solutions .ads-col-container ul li {
        width: 200px;
    }

    .page-template-template-new-offer-pl .solutions-section ul li b, 
    .page-template-template-new-offer-pl .solutions-section ul li strong,
    .page-template-template-new-homepage-pl .solutions-section ul li b, 
    .page-template-template-new-homepage-pl .solutions-section ul li strong,
    .page-template-template-solutions-pl .solutions-section ul li b, 
    .page-template-template-solutions-pl .solutions-section ul li strong {
        max-width: 260px;
        line-height: normal;
    }
}
/* Case Study */
.post-type-archive-case_study .main,
.single-case_study .main {
    background: #f4f6f8;
}

.case-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2ca8df;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.case-label:before {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    background: #fbe108;
}

.case-archive {
    padding: 110px 0 130px;
}

.case-archive__intro {
    max-width: 850px;
    margin-bottom: 44px;
}

.case-archive__intro h2 {
    margin: 18px 0 18px;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.12;
}

.case-archive__intro p {
    max-width: 760px;
    color: #5f6b78;
    font-size: 1.05rem;
    line-height: 1.75;
}

.case-archive__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 42px;
}

.case-archive__filter-group {
    min-height: 116px;
    padding: 20px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

.case-archive__filter-group > span {
    display: block;
    margin-bottom: 12px;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
}

.case-archive__filter-group a,
.case-tags span,
.case-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 6px 8px 0;
    padding: 5px 10px;
    border: 1px solid #d8e0e8;
    border-radius: 4px;
    background: #f7f9fb;
    color: #4d5b68;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.case-card {
    display: grid;
    grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

.case-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background-color: #24313f;
    background-position: center;
    background-size: cover;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}

.case-card__body {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.case-card__top {
    min-height: 42px;
    margin-bottom: 18px;
}

.case-card__top img {
    max-width: 150px;
    max-height: 42px;
    object-fit: contain;
}

.case-card__top span {
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}

.case-card h2 {
    margin: 8px 0 14px;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.case-card p {
    color: #657381;
    font-size: 0.95rem;
    line-height: 1.65;
}

.case-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 20px;
    color: #2ca8df;
    font-family: Montserrat, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.case-card__link:after {
    content: ">";
    margin-left: 8px;
}

.case-pagination {
    margin-top: 60px;
}

.case-empty {
    padding: 28px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

/* Przypis do anonimowych case study - gwiazdka w tytule (2026-10-15) */
.case-anon-note {
    margin: 8px 0 0;
    color: #5f6b78;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}

.case-anon-note--archive {
    max-width: 850px;
    margin-top: 28px;
}

.case-single {
    color: #24313f;
}

.case-single__overview {
    padding: 105px 0 62px;
}

.case-single__overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 42px;
    align-items: stretch;
}

.case-single__intro,
.case-single__visual,
.case-side-box,
.case-fact {
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

.case-single__intro {
    padding: 38px;
}

.case-single__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0 24px;
}

.case-single__brand img {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
}

.case-single__brand span {
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.case-single__lead {
    color: #526171;
    font-size: 1.15rem;
    line-height: 1.75;
}

.case-tags--large {
    margin-top: 26px;
}

.case-single__visual {
    min-height: 480px;
    background-color: #24313f;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.case-single__facts {
    padding: 0 0 60px;
}

.case-single__facts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.case-fact {
    min-height: 118px;
    padding: 20px;
}

.case-fact span {
    display: block;
    margin-bottom: 12px;
    color: #74808d;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.case-fact strong {
    display: block;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.case-single__content {
    padding: 0 0 90px;
}

.case-single__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.case-section {
    margin-bottom: 24px;
    padding: 36px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

.case-section > span,
.case-section-heading span {
    display: block;
    margin-bottom: 12px;
    color: #2ca8df;
    font-family: Montserrat, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06rem;
}

.case-section h2,
.case-section-heading h2,
.case-side-box h2 {
    margin: 0 0 20px;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.18;
}

.case-richtext p,
.case-richtext li {
    color: #4e5d6b;
    font-size: 1rem;
    line-height: 1.8;
}

.case-richtext p {
    margin-bottom: 18px;
}

.case-richtext ul,
.case-richtext ol {
    margin: 18px 0 18px 22px;
}

.case-richtext ul {
    list-style: disc;
}

.case-richtext ol {
    list-style: decimal;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.case-metric {
    min-height: 130px;
    padding: 22px;
    border-radius: 8px;
    background: #24313f;
    color: #fff;
}

.case-metric strong {
    display: block;
    margin-bottom: 8px;
    color: #fbe108;
    font-family: Montserrat, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
}

.case-metric span {
    display: block;
    color: #e7edf3;
    font-size: 0.92rem;
    line-height: 1.45;
}

.case-result {
    padding: 22px 0;
    border-top: 1px solid #dce3eb;
}

.case-result h3 {
    margin: 0 0 8px;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.case-result p {
    color: #526171;
    font-size: 0.98rem;
    line-height: 1.7;
}

.case-single__side {
    position: sticky;
    top: 110px;
}

.case-side-box {
    margin-bottom: 20px;
    padding: 26px;
}

.case-side-box a {
    display: block;
    margin-top: 12px;
    padding: 12px 0;
    border-top: 1px solid #dce3eb;
    color: #2ca8df;
    font-weight: 700;
    line-height: 1.35;
}

.case-side-box p {
    color: #526171;
    font-size: 0.96rem;
    line-height: 1.65;
}

.case-side-box--contact {
    background: #24313f;
}

.case-side-box--contact h2,
.case-side-box--contact p {
    color: #fff;
}

.case-side-box--contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 13px 18px;
    border: 0;
    border-radius: 4px;
    background: #fbe108;
    color: #24313f;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}

.case-gallery-section {
    padding: 0 0 120px;
}

.case-section-heading {
    margin-bottom: 24px;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-gallery figure {
    overflow: hidden;
    border-radius: 8px;
    background: #dce3eb;
    aspect-ratio: 4 / 3;
}

.case-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 1200px) {
    .case-grid,
    .case-single__overview-grid,
    .case-single__content-grid {
        grid-template-columns: 1fr;
    }

    .case-single__side {
        position: static;
    }

    .case-single__facts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .case-archive__filters,
    .case-single__facts-grid,
    .case-metrics,
    .case-gallery {
        grid-template-columns: 1fr;
    }

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-card__media {
        min-height: 260px;
    }

    .case-single__visual {
        min-height: 340px;
    }
}

@media screen and (max-width: 600px) {
    .case-archive,
    .case-single__overview {
        padding-top: 70px;
    }

    .case-archive__intro h2 {
        font-size: 1.72rem;
    }

    .case-card__body,
    .case-single__intro,
    .case-section,
    .case-side-box {
        padding: 22px;
    }

    .case-section h2,
    .case-section-heading h2,
    .case-side-box h2 {
        font-size: 1.35rem;
    }
}

/* Simplified editorial case study layout */
.case-single--editorial .case-single__overview {
    padding-bottom: 46px;
}

.case-story {
    padding: 0 0 110px;
}

.case-story__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.case-story__main {
    min-width: 0;
}

.case-story__side {
    min-width: 0;
    align-self: start;
}

.case-story__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    height: fit-content;
}

.case-section--opening {
    display: block;
    padding: 34px 36px 38px;
}

.case-section--opening > span {
    margin-bottom: 8px;
    padding-top: 0;
}

.case-section--opening h2 {
    margin: 0 0 18px;
    text-align: left;
}

.case-section--opening .case-richtext {
    max-width: 820px;
}

.case-strategy {
    margin-bottom: 24px;
}

.case-strategy .case-section-heading {
    margin-bottom: 18px;
    padding: 0;
    text-align: left;
}

.case-strategy .case-section-heading span {
    margin-bottom: 8px;
}

.case-strategy .case-section-heading h2 {
    margin-bottom: 0;
    text-align: left;
}

.case-strategy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.case-strategy-row--reverse {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
}

.case-strategy-row--reverse .case-strategy-row__text {
    grid-column: 2;
}

.case-strategy-row--reverse .case-strategy-row__image {
    grid-column: 1;
    grid-row: 1;
}

.case-strategy-row > :only-child {
    grid-column: 1 / -1 !important;
}

.case-strategy-row__text,
.case-strategy-row__image {
    min-height: 390px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
}

.case-strategy-row__text {
    padding: 36px;
}

.case-strategy-row__text .case-richtext {
    max-width: 760px;
}

.case-strategy-row__image {
    overflow: hidden;
    background: #dce3eb;
}

.case-strategy-row__image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    display: block;
}

.case-results-intro {
    max-width: 760px;
}

.case-highlight {
    display: grid;
    grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 28px 0 24px;
    padding: 26px 30px;
    border-radius: 8px;
    background: #24313f;
    color: #fff;
}

.case-highlight strong {
    color: #fbe108;
    font-family: Montserrat, sans-serif;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.05;
}

.case-highlight span {
    color: #e7edf3;
    font-size: 1rem;
    line-height: 1.6;
}

.case-section--results .case-result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.case-section--results .case-result {
    padding: 22px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #f7f9fb;
}

.case-section--results .case-result h3 {
    position: relative;
    padding-left: 22px;
}

.case-section--results .case-result h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ca8df;
}

.case-story__side .case-side-box {
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(36, 49, 63, 0.08);
}

.case-story__side .case-side-box--contact {
    border-color: #24313f;
    background: #24313f;
}

@media screen and (max-width: 980px) {
    .case-story__grid {
        grid-template-columns: 1fr;
    }

    .case-story__side {
        position: static;
    }

    .case-story__sticky {
        position: static;
        top: auto;
    }
}

@media screen and (max-width: 900px) {
    .case-strategy-row,
    .case-strategy-row--reverse,
    .case-highlight,
    .case-section--results .case-result-list {
        grid-template-columns: 1fr;
    }

    .case-section--opening h2,
    .case-section--opening .case-richtext,
    .case-strategy-row--reverse .case-strategy-row__text,
    .case-strategy-row--reverse .case-strategy-row__image {
        grid-column: auto;
        grid-row: auto;
    }

    .case-strategy-row__text,
    .case-strategy-row__image,
    .case-strategy-row__image img {
        min-height: 280px;
    }
}

@media screen and (max-width: 600px) {
    .case-strategy-row__text {
        padding: 22px;
    }

    .case-highlight {
        padding: 22px;
    }

    .case-highlight strong {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Strona główna (template-homepage.php) - bloki statystyk E-E-A-T (2026-09-18)
   ========================================================================== */
.icons-stats .cls-2 {
    fill: #2ca8df;
}

.icons-stats:not(.icons-stats--reviews) .icons__item__precent {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(0.8rem + 8px + 1.884rem);
}

.icons-stats .icons__item__prefix {
    display: block;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #686b6f;
    margin-bottom: 8px;
}

/* blok z 3 elementami */
.icons.icons--3 {
    justify-content: center;
}

.icons.icons--3 .icons__item {
    width: calc(100% / 3 - 40px * 2);
}

/* blok 1 - pod opiniami Google */
.icons-stats--reviews .icons {
    margin-bottom: 100px;
}

/* blok 2 - wewnątrz niebieskiej sekcji "O nas" */
.icons-stats--on-blue {
    position: relative;
    z-index: 1;
}

.icons-stats--on-blue .icons {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.icons-stats--on-blue .cls-2 {
    fill: #fbe108;
}

.icons-stats--on-blue .svgPAth .cls-3 {
    stroke: rgba(255, 255, 255, 0.25);
}

.icons-stats--on-blue .svgPAth svg {
    max-width: 90px;
}

.icons-stats--on-blue .icons__item__precent {
    color: #fff;
}

.icons-stats--on-blue .icons__item__prefix,
.icons-stats--on-blue .icons__item__text {
    color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 991px) {
    .icons.icons--3 .icons__item {
        width: calc(100% / 2 - 40px * 2);
    }

    .icons-stats--reviews .icons {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 500px) {
    .icons.icons--3 .icons__item {
        width: 100%;
    }

    .icons-stats--on-blue .icons {
        padding: 30px 0 0;
    }
}

/* ==========================================================================
   Podstrona "Opinie i referencje" (template-opinie.php) (2026-09-18)
   ========================================================================== */
.opinie {
    color: #313d4d;
}

.opinie .grid {
    display: block;
}

.opinie__intro {
    padding: 80px 0 60px;
}

.opinie .opinie__title,
.opinie .opinie__title h2,
.opinie .opinie__title p {
    color: #313d4d !important;
}

.opinie .opinie__title {
    margin-bottom: 30px;
}

.opinie__intro__text {
    font-size: 1.125rem;
    line-height: 1.8rem;
}

.opinie__intro__text p {
    margin-bottom: 20px;
}

.opinie__sources {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.opinie__sources__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border-top: 5px solid #2ca8df;
    box-shadow: 0 5px 15px rgba(49, 61, 77, 0.06);
    color: #313d4d;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.opinie__sources__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(49, 61, 77, 0.12);
}

.opinie__sources__item--google { border-top-color: #4285f4; }
.opinie__sources__item--trustindex { border-top-color: #1ab394; }
.opinie__sources__item--provenexpert { border-top-color: #e2a400; }
.opinie__sources__item--facebook { border-top-color: #1877f2; }

.opinie__sources__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #686b6f;
}

.opinie__sources__rating {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.opinie__sources__stars,
.opinie-quote__stars {
    color: #fbbc04;
    font-size: 1rem;
    letter-spacing: 2px;
}

.opinie__sources__count {
    font-size: 0.9rem;
    color: #686b6f;
}

.opinie__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    padding-left: 30px;
    border-left: 7px solid #fbe108;
}

.opinie__heading--light {
    color: #fff;
}

/* wersja EN - informacja o tłumaczeniu opinii, pod nagłówkiem sekcji (2026-10-15) */
.opinie__note {
    position: relative;
    z-index: 1;
    margin: -25px 0 30px;
    padding-left: 37px;
    font-size: 0.9rem;
    font-style: italic;
    color: #686b6f;
}

.opinie__note--light {
    color: rgba(255, 255, 255, 0.85);
}

@media screen and (max-width: 500px) {
    .opinie__note {
        padding-left: 27px;
    }
}

/* cytaty */
.opinie__quotes {
    position: relative;
    background: #2ca8df;
    padding: 80px 0;
}

.opinie__quotes__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.opinie-quote {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.opinie__quotes__list--light .opinie-quote {
    box-shadow: 0 5px 15px rgba(49, 61, 77, 0.06);
}

.opinie-quote__text {
    flex: 1;
    margin: 15px 0 25px;
    font-size: 1.05rem;
    line-height: 1.7rem;
    font-style: italic;
}

.opinie-quote__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.9rem;
    color: #686b6f;
}

.opinie-quote__meta strong {
    color: #313d4d;
}

.opinie-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: #fff;
    background: #2ca8df;
}

.opinie-quote__meta .opinie-badge {
    margin-left: auto;
}

.opinie-badge--google { background: #4285f4; }
.opinie-badge--trustindex { background: #1ab394; }
.opinie-badge--provenexpert { background: #e2a400; }
.opinie-badge--facebook { background: #1877f2; }
.opinie-badge--gowork { background: #313d4d; }

/* widgety */
.opinie__widget,
.opinie__team {
    padding: 80px 0 20px;
}

.opinie__widget__embed {
    min-height: 120px;
}

.opinie__placeholder {
    padding: 40px;
    border: 2px dashed #c9d2da;
    border-radius: 20px;
    text-align: center;
    color: #686b6f;
}

/* CTA */
.opinie__cta {
    padding: 80px 0 120px;
}

.opinie__cta__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px;
    border-radius: 20px;
    background: #313d4d;
    color: #fff;
}

.opinie__cta__box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.opinie__cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.opinie__btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 30px;
    background: #fbe108;
    color: #313d4d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.opinie__btn:hover {
    opacity: 0.85;
}

.opinie__btn--ghost {
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
}

@media screen and (max-width: 991px) {
    .opinie__sources {
        grid-template-columns: repeat(2, 1fr);
    }

    .opinie__quotes__list {
        grid-template-columns: 1fr;
    }

    .opinie__intro,
    .opinie__quotes {
        padding: 50px 0;
    }

    .opinie__cta__box {
        padding: 30px;
    }
}

@media screen and (max-width: 500px) {
    .opinie__sources {
        grid-template-columns: 1fr;
    }

    .opinie__cta__box {
        padding: 25px 20px;
    }

    .opinie__cta__box > div {
        min-width: 0;
        max-width: 100%;
    }

    .opinie__cta__box h2 {
        font-size: 1.35rem;
        overflow-wrap: anywhere;
    }

    .opinie .opinie__title h2 {
        font-size: 2rem;
        overflow-wrap: anywhere;
    }

    .opinie__heading {
        font-size: 1.4rem;
        padding-left: 20px;
    }
}

.opinie-quote__role {
    flex-basis: 100%;
    order: 3;
    font-size: 0.85rem;
}

/* Rekomendacje z Facebooka (statyczne) */
.opinie-fb__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 25px;
    font-size: 1rem;
}

.opinie-fb__summary a {
    color: #1877f2;
    font-weight: 600;
}

.opinie-fb__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.opinie-fb__item {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(49, 61, 77, 0.06);
}

.opinie-fb__head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.opinie-fb__avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1877f2;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.opinie-fb__rec {
    /* odstęp z CSS - minifikacja HTML potrafi usunąć spację między znacznikami */
    margin-left: 4px;
    color: #686b6f;
}

.opinie-fb__date {
    display: block;
    font-size: 0.8rem;
    color: #686b6f;
}

.opinie-fb__text {
    margin: 14px 0 0;
    font-style: italic;
}

@media screen and (max-width: 991px) {
    .opinie-fb__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .opinie-fb__list {
        grid-template-columns: 1fr;
    }
}
