.site-title { font-size:32px; }
.site-description { font-size:16px; }
#mainnav ul li a { font-size:14px; }
h1 { font-size:52px; }
h2 { font-size:42px; }
h3 { font-size:32px; }
h4 { font-size:25px; }
h5 { font-size:20px; }
h6 { font-size:18px; }
body { font-size:16px; }
.single .hentry .title-post { font-size:36px; }
.header-image { background-size:cover;}
.header-image { height:300px; }
.site-header.float-header { background-color:rgba(0,0,0,0.9);}
@media only screen and (max-width: 1024px) { .site-header { background-color:#000000;}}
.site-title a, .site-title a:hover { color:#ffffff}
.site-description { color:#ffffff}
#mainnav ul li a, #mainnav ul li::before { color:#ffffff}
#mainnav .sub-menu li a { color:#ffffff}
#mainnav .sub-menu li a { background:#1c1c1c}
.text-slider .maintitle, .text-slider .subtitle { color:#ffffff}
body { color:#47425d}
#secondary { background-color:#ffffff}
#secondary, #secondary a, #secondary .widget-title { color:#767676}
.footer-widgets { background-color:#252525}
.btn-menu { color:#ffffff}
#mainnav ul li a:hover { color:#d65050}
.site-footer { background-color:#1c1c1c}
.site-footer,.site-footer a { color:#666666}
.overlay { background-color:#000000}
.page-wrap { padding-top:83px;}
.page-wrap { padding-bottom:100px;}
@media only screen and (max-width: 1025px) {		
			.mobile-slide {
				display: block;
			}
			.slide-item {
				background-image: none !important;
			}
			.header-slider {
			}
			.slide-item {
				height: auto !important;
			}
			.slide-inner {
				min-height: initial;
			} 
		}
@media only screen and (max-width: 780px) { 
    	h1 { font-size: 32px;}
		h2 { font-size: 28px;}
		h3 { font-size: 22px;}
		h4 { font-size: 18px;}
		h5 { font-size: 16px;}
		h6 { font-size: 14px;}
    }

/* Sekcje "Zaufali nam" / "Partnerzy" — logotypy o bardzo różnych proporcjach
   (pionowe herby vs. szerokie napisy) sprowadzone do wspólnej linii bazowej. */
.roll-client .client-item {
	height: 110px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}
.roll-client .client-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.roll-client .client-item img {
	max-width: 100%;
	max-height: 76px;
	width: auto;
	height: auto;
}

/* --- przewijany pasek logotypów ---
   Włączany skryptem w base.html.twig, gdy logotypów jest więcej niż mieści
   się w rzędzie. Ruch robi animacja CSS (nie JS), więc nie zależy od zdarzeń
   przeglądarki; track zawiera dwie kopie listy, dlatego przesunięcie o -50%
   zapętla się bezszwowo. */
.roll-client.client-strip {
	overflow: hidden;
	width: 100%;
	position: relative;
	padding: 6px 0;
}
.roll-client.client-strip .client-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: dp-client-marquee 45s linear infinite;
}
.roll-client.client-strip:hover .client-track {
	animation-play-state: paused;
}
.roll-client.client-strip .client-item {
	width: auto;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 35px;
	height: 100px;
}
.roll-client.client-strip .client-item img {
	max-width: 190px;
	max-height: 72px;
}
@keyframes dp-client-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}
/* wygaszenie krawędzi, żeby logotypy nie ucinały się ostro */
.roll-client.client-strip::before,
.roll-client.client-strip::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 60px;
	z-index: 2;
	pointer-events: none;
}
.roll-client.client-strip::before {
	left: 0;
	background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}
.roll-client.client-strip::after {
	right: 0;
	background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

@media (prefers-reduced-motion: reduce) {
	.roll-client.client-strip .client-track { animation: none; }
}
@media only screen and (max-width: 767px) {
	.roll-client .client-item { height: 92px; }
	.roll-client .client-item img { max-height: 62px; }
	.roll-client.client-strip .client-item { padding: 0 22px; height: 88px; }
	.roll-client.client-strip .client-item img { max-height: 60px; max-width: 150px; }
	.roll-client.client-strip::before,
	.roll-client.client-strip::after { width: 30px; }
}

/* Wiersze SiteOrigin oznaczone jako rozciągnięte na pełną szerokość okna.
   W WordPressie robił to skrypt siteorigin-panels (styling-*.js) — tu wystarczy
   full-bleed w CSS, bez JS-a. */
.siteorigin-panels-stretch[data-stretch-type="full"],
.siteorigin-panels-stretch[data-stretch-type="full-stretched"] {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.siteorigin-panels-stretch[data-stretch-type="full-stretched-padded"] {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 30px;
	padding-right: 30px;
}
/* 100vw nie uwzględnia paska przewijania — bez tego pojawia się poziomy scroll */
html, body { overflow-x: hidden; }
