/* ==========================================================================
   Accelpoint – uzupełnienia do odtworzonych stylów (WordPress, menu, slidery).
   ========================================================================== */

:root {
	--ap-font: "capitana", "Outfit", "Helvetica Neue", Arial, sans-serif;
	--ap-mono: "Space Mono", ui-monospace, monospace;
	--ap-navy: #091d5b;
	--ap-blue: #2a56df;
	--ap-violet: #7f54d6;
	--ap-yellow: #ff0;
	--ap-bg: #ecf0f7;
	--ap-line: #707070;
	--ap-nav-h: 83px;
}

body.body { color: #000; }
a { color: inherit; }
.ap-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #000; color: #fff; padding: 10px 16px; }
.ap-skip:focus { left: 10px; top: 10px; }
.ap-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ap-blue); outline-offset: 2px; }

/* ---------- Nagłówek ---------- */
.navbar { z-index: 1000; }
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .navbar { top: 46px; } }
.w-nav-brand { display: flex; align-items: center; min-height: 60px; }
.w-nav-brand img { max-height: 46px; width: auto; }
.ap-logo-text { font-family: var(--ap-font); font-size: 26px; font-weight: 700; color: #000; }
.nv-item { color: #000; text-decoration: none; }
.navbar .simple-button { white-space: nowrap; }

.dropdown-toggle {
	background: transparent;
	font: inherit;
	font-size: 12px;
	line-height: 16px;
	color: #000;
	padding: 33px;
	border-left: 1px solid var(--ap-line);
}
.w-dropdown.last { margin-right: 40px; }
.w-dropdown.last .dropdown-toggle { border-right: 1px solid var(--ap-line); }
.w-dropdown-list { top: 100%; left: 0; min-width: 220px; background: #000; }
.droplink { padding: 18px 22px; color: #fff; font-size: 12px; text-decoration: none; }

@media screen and (min-width: 992px) {
	.w-dropdown:hover .w-dropdown-list,
	.w-dropdown:focus-within .w-dropdown-list { display: block; }
	.w-dropdown:hover .dropdown-toggle { color: #fff; background: #000; }
}

/* Burger */
.menu-button { background: transparent; color: #000; }
.ap-burger { display: block; width: 26px; }
.ap-burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.menu-button.w--open .ap-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button.w--open .ap-burger span:nth-child(2) { opacity: 0; }
.menu-button.w--open .ap-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media screen and (max-width: 991px) {
	:root { --ap-nav-h: 70px; }
	.navflex { min-height: 70px; }
	.w-nav[data-collapse='medium'] .nav-menu.ap-open {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		border-bottom: 1px solid var(--ap-line);
	}
	.nav-menu .nv-item,
	.nav-menu .w-dropdown,
	.nav-menu .dropdown-toggle { display: block; width: 100%; }
	.w-dropdown.last { margin-right: 0; }
	.w-dropdown.last .dropdown-toggle { border-right: 0; }
	.nav-menu > .simple-button { display: table; margin: 20px auto; }
	.nav-menu > .fue { display: none; }
	.w-dropdown-list { position: static; min-width: 0; }
	.w-dropdown.ap-open .w-dropdown-list { display: block; }
	.w-dropdown.ap-open .dropdown-toggle { color: #fff; background: #000; }
}

/* ---------- Slidery ---------- */
[data-ap-slider] .w-slider-mask { white-space: nowrap; }
[data-ap-slider] .w-slide { transition: transform .5s ease, opacity .5s ease; }
[data-ap-slider="fade"] .w-slide { opacity: 0; visibility: hidden; }
[data-ap-slider="fade"] .w-slide.ap-active { opacity: 1; visibility: visible; }
.w-slider-arrow-left, .w-slider-arrow-right { font-size: 14px; }
.left-arrow, .right-arrow { position: absolute; }
.right-arrow { border-left: 0; }
.hero-slider .slider { min-height: 220px; }
.hero-slider .w-slider-arrow-left, .hero-slider .w-slider-arrow-right { border-left: 1px solid var(--ap-line); }
.left-arrow-2, .right-arrow-2 { color: #000; border: 1px solid var(--ap-line); border-radius: 50%; }
.left-arrow-2:hover, .right-arrow-2:hover { color: #fff; }
.sprojekt-img.ap-center { margin-left: auto; margin-right: auto; min-height: 90px; display: flex; align-items: center; justify-content: center; }
.ap-program-name { font-family: var(--ap-font); font-size: 30px; font-weight: 700; color: var(--ap-navy); line-height: 1.1; }
.slider-img .ap-program-name { font-size: 26px; align-self: center; }
.slider-img .simple-button { align-self: center; }
.about-cs-slider .w-slider { padding-bottom: 50px; }
.ab-slide-title { font-family: var(--ap-font); }

/* ---------- Logotypy w pętli (jak slick z autoplay w oryginale) ---------- */
.trusted-logotypy.ap-marquee {
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	margin-left: 0;
	margin-right: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ap-marquee-track { display: flex; flex: none; align-items: center; animation: ap-marquee 90s linear infinite; }
.ap-marquee:hover .ap-marquee-track { animation-play-state: paused; }
.ap-marquee .slogotyp { flex: none; margin: 12px 30px; height: 60px; }
.ap-marquee .logotyp-im { max-height: 56px; max-width: 150px; width: auto; height: auto; }
@keyframes ap-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Pasek tekstowy */
.acce-text-slider { flex: none; font-family: var(--ap-font); padding-right: 0.3em; }

/* ---------- Aktualności ---------- */
.sec-news-slider[data-ap-carousel] {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	gap: 6px;
}
.sec-news-slider[data-ap-carousel]::-webkit-scrollbar { display: none; }
.sec-news-slider[data-ap-carousel] .sec-news-slide {
	flex: 0 0 calc((100% - 12px) / 3);
	margin: 0;
	scroll-snap-align: start;
}
.sec-news-slider[data-ap-carousel] .sec-news-slide + .sec-news-slide .si-content { border-left: 1px solid #ffffff3d; }
@media screen and (max-width: 991px) { .sec-news-slider[data-ap-carousel] .sec-news-slide { flex-basis: calc((100% - 6px) / 2); } }
@media screen and (max-width: 600px) { .sec-news-slider[data-ap-carousel] .sec-news-slide { flex-basis: 100%; } }
.prev-news, .next-news { background: transparent; color: #fff; cursor: pointer; }
.si-news { width: 100%; }
.si-text-1 { height: auto; margin-bottom: 10px; }
.si-tag { color: #fff; text-decoration: none; }
.ap-noimg { background: linear-gradient(135deg, var(--ap-navy), var(--ap-blue)); }

/* Lista wpisów */
.ap-filter { justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.ap-grid { padding: 40px 0 20px; }
.ap-grid .sec-news-slide { width: 33.333%; margin: 0; }
.ap-grid .sec-news-slide:nth-child(3n+2) .si-content { border-left: 1px solid #000; border-right: 1px solid #000; }
@media screen and (max-width: 991px) {
	.ap-grid .sec-news-slide { width: 50%; }
	.ap-grid .sec-news-slide:nth-child(3n+2) .si-content { border: 0; }
}
@media screen and (max-width: 600px) { .ap-grid .sec-news-slide { width: 100%; } }
.ap-pagination { display: flex; justify-content: center; gap: 8px; padding: 20px 0 80px; font-family: var(--ap-font); }
.ap-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--ap-line); }
.ap-pagination .page-numbers.current { background: #000; color: #fff; }

/* ---------- O nas bez zdjęcia ---------- */
.ap-about-spacer { display: none; }
.sec-about-content.ap-no-banner { margin-top: 0; padding-top: 100px; }

/* ---------- Newsletter ---------- */
.ap-nl-form { flex: 2; }
.ap-nl-form .newsletter-flex { justify-content: flex-start; }
.ap-nl-form .newsletter-col { width: 50%; }
.checkbox-field { padding-left: 0; align-items: flex-start; gap: 10px; cursor: pointer; }
.ap-check {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid #fff;
	border-radius: 5px;
	background: transparent no-repeat center;
	cursor: pointer;
}
.ap-check:checked { background-image: url('../img/Rectangle-30.svg'); }
.newsletter-submit { border: 0; cursor: pointer; }
.ap-nl-shortcode, .ap-nl-shortcode * { color: #fff; }
@media screen and (max-width: 767px) {
	.ap-nl-form { flex: none; width: 100%; }
	.ap-nl-form .newsletter-col, .ap-nl-shortcode { width: 100% !important; }
	.ap-nl-deco { display: none; }
}

/* ---------- Stopka ---------- */
.footer .ap-marquee { margin-top: 30px; }
.social-items .sc-item { color: #000; display: inline-flex; }
.fc-big-bottom a { font-family: var(--ap-font); font-size: 12px; }
.footer-col-small .image-5 { max-width: 180px; height: auto; }

/* ---------- Podstrony i treść ---------- */
.ap-elementor-page { padding-top: var(--ap-nav-h); }
.ap-page .sec-hero.top, .ap-single .sec-hero.top, .sec-hero.top { padding-bottom: 40px; }
.ap-content {
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 100px;
	font-family: var(--ap-font);
	font-size: 18px;
	line-height: 1.7;
}
.ap-single .ap-content { max-width: none; padding-bottom: 0; }
.ap-content h2, .ap-content h3, .ap-content h4 { font-family: var(--ap-font); font-weight: 400; line-height: 1.25; margin: 1.6em 0 .6em; }
.ap-content h2 { font-size: 34px; }
.ap-content h3 { font-size: 26px; }
.ap-content p { margin-bottom: 1.1em; }
.ap-content a { color: var(--ap-blue); }
.ap-content img { height: auto; border-radius: 7px; }
.ap-content ul, .ap-content ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.ap-content blockquote { border-left-color: var(--ap-violet); font-size: 22px; line-height: 1.5; }
.blog-post-ttle .sp-subtitle { margin-bottom: 16px; }
.blog-post-ttle .si-tagi { margin-top: 20px; }
.blog-pot-nav a { text-decoration: none; color: #000; }
.single .bp-next { border-left: 0; }

/* Wtyczka cookies / formularze CF7 w kolorach marki */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; border: 0; border-bottom: 1px solid #7070708c; background: transparent; padding: 10px 0; font-family: var(--ap-font); font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.ap-marquee-track, .acce-text-slider { animation: none !important; }
	[data-ap-slider] .w-slide, .btn1 { transition: none !important; }
	.background-video video { display: none; }
}

/* Hero nie chowa się pod nagłówkiem na niskich ekranach */
.section-home-content > .sec-hero { padding-top: calc(var(--ap-nav-h) + 40px); }

/* Kompaktowa górna sekcja: bloki zaraz pod menu */
.section-home-content > .sec-hero.ap-hero-compact {
	min-height: 0;
	justify-content: flex-start;
	padding-top: calc(var(--ap-nav-h) + 60px);
	padding-bottom: 100px;
}
@media screen and (max-width: 991px) {
	.section-home-content > .sec-hero.ap-hero-compact { padding-top: calc(var(--ap-nav-h) + 30px); padding-bottom: 60px; }
}

/* ---------- Odtworzone podstrony ---------- */
.ap-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ap-check.dark { border-color: #000; }
.btn-rigt { flex: none; }
.otb-slider1 { display: flex; flex-wrap: wrap; }
.otb-slider1 > * { outline: none; }
.otb-slider1 > .slick-current .otb-item-slide { border-color: #915bff; }
.slidere .w-slide, .slidere .slide-2 { display: block; width: 100%; white-space: normal; }
.part-logotypy .slogotyp { cursor: pointer; transition: filter .3s; }
.part-logotypy .slogotyp:hover, .part-logotypy .slogotyp.slick-current { filter: none; }
.blog-pot-nav a, .blog-pot-nav .bp-numbes { text-decoration: none; color: #000; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form input.input-form, .wpcf7-form textarea.input-form { font-family: var(--ap-font); }
.wpcf7-form button.simple-button { cursor: pointer; margin-top: 10px; }
.wpcf7-form.invalid .wpcf7-response-output { display: block; border-color: #ce0202; background: #ce0202; color: #fff; padding: 10px; margin: 10px 0 20px; font-family: var(--ap-font); font-size: 12px; }
.wpcf7 form.sent .wpcf7-response-output { display: block; background: #46b450; color: #fff; padding: 14px; font-family: var(--ap-font); font-size: 14px; }
.csupload { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-family: var(--ap-font); font-size: 12px; }
.ap-form-anchor { position: relative; top: -120px; }
.rch-text img { height: auto; }
.ap-restored .section-home-content > .sec-hero.top,
.ap-restored .section-home-content > .sec-hero.top2 { padding-top: calc(var(--ap-nav-h) + 50px); }
.ap-restored img[src=""] { display: none; }
.ap-nl-msg { font-family: var(--ap-font); font-size: 14px; color: inherit; padding: 10px 0; }
.sec-newsletter:not(.white) .ap-nl-msg { color: #fff; }
