@charset "UTF-8";
/* =================================================
   SPIS TREŚCI – STYLE.CSS
   =================================================

   1. HERO – STRONA GŁÓWNA
      - Hero video (proporcje + fallback)
      - Zielony shape
      - Content (tytuł, button)
      - Badge
      - Responsywność (mobile / tablet)

   2. FEATURE TILES (KAFLE)
      - Grid kafli
      - Pojedynczy kafel
      - Hover / obrazy
      - Responsywność
      - Opakowanie sekcji (pio-tree)

   3. BLOG CAROUSEL / NEWS
      - Karty wpisów
      - Obraz + tagi
      - CTA
      - Swiper (nawigacja)
      - Mobile: lista statyczna

   4. HEADER (MOBILE / TABLET)
      - Sticky header
      - Zero layout shift

   5. FOOTER – GŁÓWNY
      - Grid desktop
      - Nawigacje
      - Social / legal
      - Partner
      - Responsive (tablet / mobile)

   6. FOOTER – MOBILE FULL WIDTH
      - Rozciągnięcie tła
      - Korekta paddingów

   7. HERO BLOG (WIADOMOŚCI)
      - Desktop / tablet
      - Mobile banner
      - Obraz + content

   8. WYRÓŻNIONE WPISY
      - Layout editorial 50/50
      - Duży wpis + lista
      - Responsive

   9. AKTUALNOŚCI (GRID + FILTRY)
      - Filtry kategorii
      - Grid postów
      - Paginacja

   10. SIDEBAR – POPRAWKI
       - Nagłówki
       - Odstępy
       - Responsive

   11. FAQ
       - Grid
       - Akordeon
       - Responsive

   12. KONTAKT
       - Dane kontaktowe
       - Formularz
       - Responsive
       - Safari font fix

   13. LOKALIZACJA
       - Tekst
       - Mapa
       - Media
       - Responsive

   14. MEDIA PAGE
       - Sekcje miesięczne
       - Grid medialny
       - Placeholder / upcoming

   15. TERMINAL PRZYSZŁOŚCI – CONTENT
       - Boxy
       - Grid
       - Typografia
       - Responsive

   16. TERMINAL – PRZEJDŹ DO
       - Kafelki nawigacyjne
       - Responsive

   17. MATERIAŁY DO POBRANIA
       - Grid
       - Lista plików
       - Responsive

   18. TERMINAL – WIDEO
       - Proporcje
       - Responsive

   19. GALERIA TERMINALOWA
       - Hover
       - Animacja wejścia

   20. TIMELINE – CLEAN PROJECT
       - Oś pozioma (desktop)
       - Punkty / markery
       - Typografia (rok + tytuł)
       - Mobile: pionowa oś

   21. SEO BONUS – HERO
       - Ukryty tekst SEO
       - Accessibility-safe (clip-path)
       - Zero wpływu na layout

   22. SEKCJA – PODCASTY (CAROUSEL)
       - Tło sekcji
       - Header (tytuł + zobacz wszystkie)
       - Slider (track + window)
       - Karta (miniatura + play overlay)
       - Strzałki nawigacyjne
       - Indikatory (kwadraty)
       - Mobile: lista statyczna

   ================================================= */



/* =====================================================================
   [ 01 ] HERO – STRONA GŁÓWNA
   ===================================================================== */


.hero-video {
	position: relative;
	width: 100%;
	aspect-ratio: 1200 / 578;
	overflow: hidden;
	background: #000;
}

/* fallback */
@supports not (aspect-ratio: 1 / 1) {
	.hero-video {
		height: 0;
		padding-top: 48.2%;
	}
}

/* ==============================
   VIDEO
   ============================== */

.hero-video-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==============================
   ZIELONY KSZTAŁT
   ============================== */

.hero-green-shape {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 42%;
	height: 50%;
	background: #15bc15;

	clip-path: polygon(0 0,
			84% 0,
			100% 28%,
			100% 100%,
			0 100%);

	z-index: 2;
}

/* ==============================
   CONTENT
   ============================== */

.hero-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 48%;
	height: 40%;
	z-index: 3;

	display: flex;
	flex-direction: column;
	justify-content: center;

	padding-left: clamp(2rem, 6vw, 5rem);
	padding-bottom: clamp(1.5rem, 3vw, 3rem);
	color: #fff;
}

/* =================================================
   HERO – TYTUŁ (DESKTOP + TABLET)
   ================================================= */

.hero-title {
	font-size: clamp(2rem,
			/* bezpieczne minimum */
			4.2vw,
			/* skalowanie */
			4.34rem
			/* desktop */
		);
	line-height: 1.0;
	font-weight: 900;
	margin: 0 0 1.5rem 0;
}

.hero-title .white {
	color: #ffffff;
}

.hero-title .black {
	color: #000000;
}

/* =================================================
   HERO – BUTTON (DESKTOP + TABLET)
   ================================================= */

.hero-btn,
.hero-btn:hover,
.hero-btn:focus,
.hero-btn:active,
.hero-btn:visited {
	color: #fff;
	text-decoration: none;
}

.hero-btn {
	position: relative;
	align-self: flex-start;
	background: #000;

	padding: clamp(9px, 1vw, 14px) clamp(16px, 2vw, 28px);

	font-size: clamp(0.85rem, 0.9vw, 1rem);
	font-weight: 600;

	min-height: 44px;
	display: inline-flex;
	align-items: center;

	overflow: hidden;
	cursor: pointer;

	transition: padding .3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* tekst */
.hero-btn span {
	display: inline-block;
	transition: transform .3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* strzałka */
.hero-btn::after {
	content: "";
	position: absolute;
	right: clamp(14px, 1.2vw, 22px);
	width: 18px;
	height: 18px;

	background: url("/wp-content/uploads/2026/01/strzalka-pio-biala.svg") no-repeat center;
	background-size: contain;

	transform: translateX(150%);
	opacity: 0;

	transition:
		transform .3s cubic-bezier(0.25, 0.8, 0.25, 1),
		opacity .2s ease;
}

/* HOVER */
.hero-btn:hover {
	padding-right: clamp(36px, 3vw, 52px);
}

.hero-btn:hover span {
	transform: translateX(-4px);
}

.hero-btn:hover::after {
	transform: translateX(0);
	opacity: 1;
}


/* =================================================
   MOBILE – TELEFON (≤420px)
   ================================================= */
@media (max-width: 660px) {

	/* CONTENT – OGRANICZENIE DO SHAPE */
	.hero-content {
		width: 100%;
		max-width: 90%;
		padding-left: 1.7rem;
		padding-bottom: 0.5rem;
		bottom: -4vw;
	}


	/* TYTUŁ – NIE UCIEKA, NIE ROZJEŻDŻA */
	.hero-title {
		font-size: 2.2em;
		line-height: 1;
		margin-bottom: 0rem;

		max-width: 100%;
		white-space: normal;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	/* BUTTON – LEKKI */
	.hero-btn {
		background: transparent;
		color: #000;

		font-size: 0.75rem;
		padding: 4px 0;

		min-height: 36px;
		display: inline-flex;
		align-items: center;
	}

	/* ❌ całkowicie usuwamy pseudo-element */
	.hero-btn::after {
		content: none;
	}

	/* ✅ prosta strzałka tekstowa */
	.hero-btn span::after {
		content: " →";
		font-weight: 600;
	}
}

/* =================================================
   MOBILE – HERO 1:1 (≤600px)
   ================================================= */

@media (max-width: 660px) {

	.hero-video {
		aspect-ratio: 4 / 5;
		/* KWADRAT */
	}

	.hero-video-bg {
		object-position: center;
		/* przycinanie z boków */
	}

}

/* =================================================
   MOBILE – KOREKTA ZIELONEGO SHAPE (≤600px)
   ================================================= */

@media (max-width: 660px) {

	.hero-green-shape {
		width: 80%;
		/* pełna szerokość */
		height: 38%;
		/* MNIEJ niż 50% */

		clip-path: polygon(0 0%,
				100% 10,
				90% 100%,
				0 100%);
	}

}

.pio-hero {
	margin-bottom: 0px;
}

/* BADGE */
/* =================================================
   HERO – BADGE (MARKA PORTU)
   ================================================= */

.hero-badge {
	position: absolute;
	top: 1.25rem;
	right: 0rem;

	background: #000;
	padding: 0.6rem 0.8rem;

	display: flex;
	align-items: center;
	justify-content: center;

	z-index: 4;
	/* nad shape i content */
}

.hero-badge img {
	display: block;
	height: 52px;
	/* dopasowane do wzoru */
	width: auto;
}

/* =================================================
   MOBILE – UKRYWAMY BADGE
   ================================================= */

@media (max-width: 660px) {
	.hero-badge {
		display: none;
	}
}

/* =================================================
   LINK calego HERO
   ================================================= */

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hero-video-bg {
  pointer-events: none;
}

.hero-btn {
  cursor: pointer;
}


/* =====================================================================
   [ 02 ] FEATURE TILES – KAFLE
   ===================================================================== */


.feature-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;

	padding: 3rem 0;

}

/* ==============================
   POJEDYNCZY KAFEL
   ============================== */

.feature-tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000;

	background: #15bc15;
	overflow: hidden;
}

/* ==============================
   GÓRNY ZIELONY PASEK
   ============================== */

.feature-tile .tile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;

	padding: 2rem;
	min-height: 120px;

	background: #15bc15;
}

.feature-tile h3 {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.feature-tile .arrow {
	position: relative;
	display: inline-block;

	width: 36px;
	height: 24px;

	font-size: 0;
	/* ⬅️ ukrywa znak › */
	line-height: 0;
	color: transparent;
}

/* SHAPE */
.feature-tile .arrow::before {
	content: "";
	position: absolute;
	inset: 0;

	background: url("/wp-content/uploads/2026/01/strzalka-pio.svg") no-repeat center / contain;

	opacity: 0.9;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* HOVER */
.feature-tile:hover .arrow::before {
	transform: translateX(6px);
	opacity: 1;
}


/* ==============================
   OBRAZ
   ============================== */

.feature-tile img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;

	transition: transform .4s ease;
}

/* ==============================
   HOVER
   ============================== */

.feature-tile:hover img {
	transform: scale(1.04);
}

/* ==============================
   RESPONSYWNOŚĆ
   ============================== */

@media (max-width: 1024px) {
	.feature-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

@media (max-width: 660px) {
	.feature-tiles {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 4rem 0;
	}

	.feature-tile .tile-header {
		min-height: 100px;
		padding: 1.5rem;
	}

	.feature-tile h3 {
		font-size: 1.4rem;
	}
}

/* ==============================
   OPAKOWANIE SEKCJI KAFLI
   ============================== */

/* DESKTOP */
.pio-tree {
	background: #000;
	padding-inline: 2vw;
	margin-bottom: 0px;
}

/* TABLET */
@media (max-width: 1024px) {
	.pio-tree {
		padding-inline: 2vw;
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* TELEFON – BEZ CZARNEGO TŁA */
@media (max-width: 660px) {
	.pio-tree {
		background: transparent;
		/* KLUCZ */
		padding-inline: 0;
		margin-top: -2rem;
	}
}

/* ==============================
   TABLET – UKRYJ 3. KAFEL
   ============================== */

@media (max-width: 1024px) and (min-width: 661px) {
	.feature-tile:nth-child(3) {
		display: none;
	}
}


/* =====================================================================
   [ 03 ] BLOG CAROUSEL / NEWS
   ===================================================================== */


.blog-carousel {
	padding: 3rem 2vw;
	background: #fff;
}

.section-title {
	font-size: 2.4rem;
	font-weight: 800;
	margin-bottom: 3rem;
}

/* =================================================
   KARTA WPISU (CAŁA KLIKALNA)
   ================================================= */

.blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.blog-card:hover h3 {
	text-decoration: underline;
}

/* =================================================
   OBRAZ + TAGI
   ================================================= */

.blog-image {
	position: relative;
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.blog-card:hover img {
	transform: scale(1.04);
}

/* KATEGORIA + DATA */
.blog-tags {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	display: inline-flex;
	gap: 0.4rem;
	z-index: 2;
}

.blog-meta,
.blog-date {
	padding: 0.4rem 0.8rem;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.blog-meta {
	background: #b6e3b6;
}

.blog-date {
	background: #fff;
}

.blog-card,
.blog-card:hover,
.blog-card:focus {
	color: inherit !important;
	text-decoration: none;
}


/* =================================================
   TEKST
   ================================================= */

.blog-card h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 0.8rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-card p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #444;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/* ← możesz zmienić na 2–5 */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =================================================
   CTA (WIZUALNE) – GLOBALNY PRZYCISK
   ================================================= */

.cta-read-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: auto 0 0 auto;

	background: #15bc15;
	color: #fff;
	padding: 0.4rem 1rem;
	font-weight: 600;
	overflow: hidden;
	cursor: pointer;

	transition: padding 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* tekst */
.cta-read-more span {
	display: inline-block;
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* strzałka */
.cta-read-more::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	width: 18px;
	height: 18px;

	background: url("https://hosting2316534.online.pro/autoinstalator/wordpress7/wp-content/uploads/2026/01/strzalka-pio-biala.svg") no-repeat center / contain;

	transform: translateX(150%);
	opacity: 0;

	transition:
		transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
		opacity 0.2s ease;
}

/* HOVER */
.cta-read-more:hover {
	padding-right: 2.2rem;
}

.cta-read-more:hover span {
	transform: translateX(-4px);
}

.cta-read-more:hover::after {
	transform: translateX(0);
	opacity: 1;
}


/* =================================================
   SWIPER – NAWIGACJA NA DOLE (DESKTOP / TABLET)
   ================================================= */

/* wyłącz domyślne ikony Swipera */
.blog-swiper .swiper-button-prev::after,
.blog-swiper .swiper-button-next::after {
	display: none;
}

/* kontener */
.blog-swiper {
	position: relative;
	padding-bottom: 3rem;
	/* miejsce na nawigację */
}

/* wspólne */
.blog-swiper .swiper-button-prev,
.blog-swiper .swiper-button-next {
	position: absolute;
	bottom: 0;
	top: auto;

	width: auto;
	height: auto;
	padding: 0;

	background: none;
	color: #000;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

/* ==============================
   SWIPER NAV – TEKST + SVG
   ============================== */

/* LEWA: ← Poprzednie */
.blog-swiper .swiper-button-prev {
	left: 0;
}

.blog-swiper .swiper-button-prev::before {
	content: "Poprzednie";
	padding-left: 32px;

	background: url("/wp-content/uploads/2026/01/strzalka-pio-lewa.svg") no-repeat left center / 24px 16px;
}


/* PRAWA: Następne → */
.blog-swiper .swiper-button-next {
	right: 0;
}

.blog-swiper .swiper-button-next::before {
	content: "Następne";
	padding-right: 32px;

	background: url("/wp-content/uploads/2026/01/strzalka-pio.svg") no-repeat right center / 24px 16px;
}


/* wspólne */
.blog-swiper .swiper-button-prev::before,
.blog-swiper .swiper-button-next::before {
	transition: background-position 0.25s ease, opacity 0.25s ease;
	opacity: 0.85;
}

/* ◀ hover – lewa: w LEWO */
.blog-swiper .swiper-button-prev:hover::before {
	background-position: -4px center;
	opacity: 1;
}

/* ▶ hover – prawa: w PRAWO */
.blog-swiper .swiper-button-next:hover::before {
	background-position: calc(100% + 4px) center;
	opacity: 1;
}


/* =================================================
   MOBILE (≤660px) – 3 NEWSY POD SOBĄ, BEZ STRZAŁEK
   ================================================= */

@media (max-width: 660px) {

	.blog-carousel {
		padding: 2rem 1rem;
		padding-bottom: 0px;
	}

	.section-title {
		font-size: 2rem;
	}

	/* wizualnie WYŁĄCZ karuzelę */
	.blog-swiper .swiper-wrapper {
		display: block;
		transform: none !important;
	}

	.blog-swiper .swiper-slide {
		width: 100% !important;
		margin-bottom: 2.5rem;
	}

	/* ukryj strzałki */
	.blog-swiper .swiper-button-prev,
	.blog-swiper .swiper-button-next {
		display: none;
	}

	/* pokaż TYLKO 3 pierwsze newsy */
	.blog-swiper .swiper-slide:nth-child(n+4) {
		display: none;
	}
}

.pio-news {
	margin-bottom: 0;
}
/* Latest Posts Carousel – nagłówek link */
.blog-carousel h2.pio-lpc-heading .pio-lpc-heading__link {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-carousel h2.pio-lpc-heading .pio-lpc-heading__link:hover {
  color: #15bc15;
}



/* =====================================================================
   [ 04 ] HEADER – MOBILE / TABLET
   ===================================================================== */

@media (max-width: 999px) {

	header#header {
		position: sticky;
		top: 0;
		z-index: 9999;
		background-color: #15bc15;
	}

	/* TYLKO wrapper – full width */
	header#header .ct-header {
		max-width: none;
		background: transparent;
	}

}

/* =====================================================================
   [ 05 ] FOOTER – GŁÓWNY
   ===================================================================== */


.site-footer {
	background: #15bc15;
	color: #000;
}

/* =========================================
   FOOTER GRID – DESKTOP
   ========================================= */

.footer-grid {
	display: grid;
	grid-template-columns:
		2fr
		/* brand */
		1fr
		/* wydarzenia */
		1fr
		/* media */
		1fr
		/* faq */
		1fr
		/* lokalizacja */
		1fr;
	/* kontakt */

	grid-template-rows: auto auto;
	gap: 3rem;
	padding: 2rem 1vw 1rem;

	grid-template-areas:
		"brand events media faq location contact"
		"bottom bottom bottom bottom partner partner";
}

/* =========================================
   GRID AREAS – DOPASOWANE DO HTML
   ========================================= */

.footer-brand {
	grid-area: brand;
}

.nav-events {
	grid-area: events;
}

.nav-media {
	grid-area: media;
}

.nav-faq {
	grid-area: faq;
}

.nav-location {
	grid-area: location;
}

.nav-contact {
	grid-area: contact;
}

.footer-bottom-left {
	grid-area: bottom;
}

.footer-partner {
	grid-area: partner;
}

/* =========================================
   BRAND / LOGO
   ========================================= */

.footer-brand img.logo-stopka {
	max-width: 100;
	height: auto;
	max-height: 100px;
}

/* =========================================
   NAVIGATION
   ========================================= */

.footer-nav strong {
	display: block;
	margin-bottom: 0.8rem;
	font-weight: 700;
}

.footer-nav a {
	display: block;
	margin-bottom: 0.35rem;
	color: #000;
	text-decoration: none;
	line-height: 1.25;
}

.footer-nav a:hover {
	text-decoration: underline;
}

/* =========================================
   BOTTOM LEFT – SOCIAL + LEGAL
   ========================================= */

.footer-bottom-left {
	align-self: start;
	line-height: 1.2;
}

.footer-social {
	margin-bottom: 0.6rem;
}

.footer-social a {
	margin-right: 1rem;
	font-size: 1.2rem;
	color: #000;
	text-decoration: none;
}

.footer-social a:hover {
	opacity: 0.7;
}

.footer-legal {
	font-size: 0.9rem;
	margin-bottom: 0;
}

.footer-legal a {
	color: #000;
	text-decoration: underline;
}

/* =========================================
   PARTNER – PRAWA STRONA, 2 KOLUMNY
   ========================================= */

.footer-partner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* LOGO PARTNERA – DUŻE, STABILNE */
.footer-partner img.marka {
	max-height: 90px;
	/* możesz dać 100px */
	width: auto;
	height: auto;
	max-width: 100%;
	max-width: 280px;
	object-fit: contain;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"brand brand"
			"events media"
			"faq location"
			"contact contact"
			"bottom bottom"
			"partner partner";
		padding: 2rem 2vw 1.5rem;
	}

	.footer-partner {
		justify-content: flex-start;
		margin-top: 1.5rem;
	}

	.footer-partner img.marka {
		max-height: 80px;
	}
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 660px) {

	.footer-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"events"
			"media"
			"faq"
			"location"
			"contact"
			"bottom"
			"partner";

		gap: 2rem;
		padding: 2.5rem 1.5rem 1.5rem;
	}

	.footer-partner {
		justify-content: flex-start;
		margin-top: 1.5rem;
	}

	.footer-partner img.marka {
		max-height: 70px;
	}
	.footer-brand {
        margin-top: -1rem;   /* zmniejsza przestrzeń nad logo */
        margin-bottom: 1rem; /* dodaje trochę pod logo */
    }
}

/* =========================================
   FOOTER – HEADING AS LINK
========================================= */

.footer-heading {
	display: block;
	margin-bottom: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;

	color: #000;
	text-decoration: none;
}

.footer-heading:hover {
	text-decoration: underline;
}

/* =========================================
   FOOTER – SOCIAL ICONS (BLACK SVG)
========================================= */

.footer-social {
	display: flex;
	align-items: center;
}

.footer-social .social-icon {
	width: 22px;
	height: 22px;
	margin-right: 1rem;

	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;

	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.footer-social .social-icon:hover {
	opacity: 1;
}

/* IKONY – CZARNE */
.social-x {
	background-image: url("https://hosting2316534.online.pro/autoinstalator/wordpress7//wp-content/uploads/2026/01/x.svg");
}

.social-ig {
	background-image: url("https://hosting2316534.online.pro/autoinstalator/wordpress7//wp-content/uploads/2026/01/instagram.svg");
}

.social-yt {
	background-image: url("https://hosting2316534.online.pro/autoinstalator/wordpress7//wp-content/uploads/2026/01/youtube.svg");
}

.social-fb {
	background-image: url("https://hosting2316534.online.pro/autoinstalator/wordpress7//wp-content/uploads/2026/01/facebook.svg");
}

.social-tt {
	background-image: url("https://hosting2316534.online.pro/autoinstalator/wordpress7/wp-content/uploads/2026/01/tiktok.svg");
}


/* =====================================================================
   [ 06 ] FOOTER – MOBILE FULL WIDTH
   ===================================================================== */


@media (max-width: 999px) {

	/* rozciągnięcie tła */
	footer,
	.site-footer,
	#footer,
	.ct-footer,
	.footer-widgets,
	.footer-bottom {
		width: 100vw !important;
		margin-left: 50% !important;
		transform: translateX(-50%) !important;
		background-color: #15bc15;
		/* lub inny kolor */
	}

	/* zachowaj padding / szerokość treści */
	footer>*,
	.site-footer>*,
	#footer>*,
	.ct-footer>*,
	.footer-widgets>*,
	.footer-bottom>* {
		max-width: 90vw;
		margin: 0 auto;
	}

}


/* =========================================
   ZMNIEJSZENIE ODSTĘPÓW PIONOWYCH w stpce
   ========================================= */

.logo-stopka+* h2,
.logo-stopka+* a,
footer h2,
footer a,
footer li {
	line-height: 1.2;
}

/* dodaje przestrzen nad przewijakami */
.przewijanie-1 {
	margin-top: 30px;
}


/*=============*/
/*=============*/
/* WIADOMOSĆI */
/*=============*/
/*=============*/


/* =====================================================================
   [ 07 ] HERO BLOG – WIADOMOŚCI
   ===================================================================== */


/* ================= DESKTOP ================= */

.hero-blog {
	width: 100%;
	aspect-ratio: 1440 / 510;
	background-color: #15bc15;
	position: relative;
	overflow: hidden;
}

/* IMAGE */
.hero-blog__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
}

.hero-blog__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;

	clip-path: polygon(0 0,
			88% 0,
			100% 20%,
			100% 100%,
			0 100%);
}

/* WRAPPER */
.hero-blog__inner {
	max-width: 1440px;
	height: 100%;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
	z-index: 2;
}

/* CONTENT */
.hero-blog__content {
	width: 45%;
	padding-left: 32px;
}

/* TITLE */
.hero-blog__title {
	font-size: clamp(42px, 5vw, 60px);
	line-height: 1.05;
	margin: 0 0 20px;
	font-weight: 700;
	color: #ffffff;
}

/* LEAD */
.hero-blog__lead {
	font-size: 16px;
	line-height: 1.6;
	max-width: 420px;
	margin: 0;
	color: #000000;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {
	.hero-blog__inner {
		padding: 0 24px;
	}

	/* tylko stabilizacja geometrii */
	.hero-blog__image img {
		clip-path: polygon(0 0,
				90% 0,
				100% 18%,
				100% 100%,
				0 100%);
	}
}

/* =====================================================
   HERO BLOG – MOBILE ONLY (LOW BANNER)
   ===================================================== */

@media (max-width: 767px) {

	/* KONTENER */
	.hero-blog {
		background-color: #15bc15;
		aspect-ratio: auto;
		padding-bottom: 24px;
	}

	/* OBRAZ – NIŻSZY, RÓWNY BANNER */
	.hero-blog__image {
		position: relative;
		width: 100%;
		height: 150px;
		/* ← NIŻSZY */
	}

	.hero-blog__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;

		/* równe, delikatne docięcie */
		clip-path: polygon(0 0,
				100% 0,
				100% 100%,
				0 100%);
	}

	/* WRAPPER – NORMALNY FLOW */
	.hero-blog__inner {
		position: static;
		display: block;
		padding: 16px;
	}

	/* CONTENT POD OBRAZEM */
	.hero-blog__content {
		width: 100%;
		padding: 0;
		margin-top: 12px;
	}

	/* TYTUŁ – BIAŁY */
	.hero-blog__title {
		font-size: 30px;
		line-height: 1.15;
		margin: 0 0 8px;
		color: #ffffff;
	}

	/* LEAD – CZARNY */
	.hero-blog__lead {
		font-size: 15px;
		line-height: 1.6;
		color: #000000;
		max-width: none;
	}
}

.pio-wiadomosci {
	margin-bottom: 0;
}


/* =====================================================================
   [ 08 ] WYRÓŻNIONE WPISY
   ===================================================================== */


.featured-news {
	padding: 3rem 2vw;
	background: #fff;
	overflow: hidden;
}

.featured-title {
	font-size: 2.4rem;
	font-weight: 800;
	margin-bottom: 2.5rem;
}

/* GRID 50 / 50 */
.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
}

/* =================================================
   LEWY – DUŻY WPIS
   ================================================= */

.featured-main a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.featured-main-image {
	position: relative;
	margin-bottom: 1.2rem;
	overflow: hidden;
}

.featured-main-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.featured-main:hover img {
	transform: scale(1.04);
}

.featured-main .featured-meta {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	display: inline-flex;
	gap: 0.5rem;
	z-index: 2;
}

.featured-main h3 {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 1rem 0 0.8rem;
	line-height: 1.25;
}

.featured-main p {
	font-size: 1rem;
	line-height: 1.6;
	color: #444;
	margin-bottom: 1.2rem;
}

/* CTA – używa GLOBALNEGO blog-btn */
.featured-main .blog-btn {
	margin-top: 0.5rem;
}

/* =================================================
   META
   ================================================= */

.featured-meta .tag,
.featured-meta .date {
	padding: 0.3rem 0.6rem;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.featured-meta .tag {
	background: #b6e3b6;
}

.featured-meta .date {
	background: #fff;
}

/* =================================================
   PRAWA LISTA
   ================================================= */

.featured-list {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
}

.featured-item a {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.4rem;
	text-decoration: none;
	color: inherit;
}

.featured-thumb {
	width: 220px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.featured-item:hover img {
	transform: scale(1.04);
}

.featured-item-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.featured-item .featured-meta {
	margin-bottom: 0.4rem;
}

.featured-item h4 {
	margin-top: auto;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =================================================
   MOBILE
   ================================================= */

@media (max-width: 900px) {

	.featured-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.featured-item a {
		grid-template-columns: 160px 1fr;
	}

	.featured-thumb {
		width: 160px;
	}

	.wiadomosci {
		margin-bottom: 0;
	}

	.featured-main h3 {
		font-size: 1.6rem;
	}
}

.feature-pio {
	margin-bottom: -2rem;
}

@media (max-width: 600px) {

	/* prawa lista – przechodzimy na pion */
	.featured-item a {
		display: block;
	}

	/* obrazek full width */
	.featured-thumb {
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.featured-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* treść pod zdjęciem */
	.featured-item-content {
		margin-top: 0.6rem;
	}

	.featured-item h4 {
		margin-top: 0.2rem;
		font-size: 1rem;
		line-height: 1.35;
	}

}


/* =====================================================================
   [ 09 ] AKTUALNOŚCI – GRID + FILTRY
   ===================================================================== */


.posts-grid-section {
	padding: 3rem 2vw 4rem;
	background: #fff;
}

/* =================================================
   FILTRY
   ================================================= */

.blog-filters {
	display: flex;
	gap: 0.6rem;
	margin: 1.5rem 0 2.5rem;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 0.4rem 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
}

.filter-btn.is-active {
	background: #15bc15;
	color: #fff;
	border-color: #15bc15;
}

/* =================================================
   GRID
   ================================================= */

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 1024px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 660px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

/* =================================================
   PAGINACJA – STRZAŁKI + LICZNIK
   ================================================= */

.posts-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 3rem;
}

.page-counter {
	font-weight: 600;
	font-size: 0.9rem;
	opacity: 0.7;
}

.page-btn {
	background: none;
	border: none;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.85;
	transition: background-position 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* LEWA */
.page-btn.prev {
	padding-left: 32px;
	background: url("https://hosting2316534.online.pro/autoinstalator/wordpress7/wp-content/uploads/2026/01/strzalka-pio-lewa.svg") no-repeat left center / 24px 16px;
}

.page-btn.prev:hover {
	background-position: -4px center;
}

/* PRAWA */
.page-btn.next {
	padding-right: 32px;
	background: url("https://hosting2316534.online.pro/autoinstalator/wordpress7/wp-content/uploads/2026/01/strzalka-pio.svg") no-repeat right center / 24px 16px;
}

.page-btn.next:hover {
	background-position: calc(100% + 4px) center;
}

.page-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.blog-card {
	display: flex;
	flex-direction: column;
}

.aktualnosci-pio {
	margin-bottom: 0;
	margin-top: 0;
}

/* stan normalny linka */
.filter-btn,
.filter-btn:link,
.filter-btn:visited {
	color: #000;
	text-decoration: none;
}

/* tap / klik */
.filter-btn:active {
	color: #fff;
}

/* stan aktywny (wybrana kategoria) */
.filter-btn.is-active,
.filter-btn.is-active:link,
.filter-btn.is-active:visited,
.filter-btn.is-active:hover,
.filter-btn.is-active:active,
.filter-btn.is-active:focus {
	background: #15bc15;
	color: #fff;
	border-color: #15bc15;
}


/* =====================================================================
   [ 10 ] SIDEBAR – POPRAWKI
   ===================================================================== */


h2.pio-tytul-1 {
	font-size: 1em !important;
	line-height: 1.1 !important;
	margin-top: 0.2em;
	margin-bottom: 0.4em;
}

.pio-blok1 {
	padding-top: 0px;
}

#block-13 {
	margin-bottom: 20px;
}

/* Poprawka odstepu zdjecia na telefonie i tablecie */
/* Telefon */
@media (max-width: 767px) {
	.ct-container {
		padding-top: 20px;
		padding-bottom: 40px;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
	.ct-container {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}


/* =====================================================================
   [ 11 ] FAQ
   ===================================================================== */


.faq {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
}

/* ==================================================
   GRID – 2 KOLUMNY
================================================== */

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.faq-grid {
		grid-template-columns: 1fr;
	}
}

/* ==================================================
   KAFEL – STRUKTURA
================================================== */

.faq-card {
	background: #ffffff;
	border: 1px solid #dcdcdc;
	display: flex;
	flex-direction: column;
}

/* ==================================================
   ZIELONY HEADER
================================================== */

.faq-card-header {
	background: #15bc15;
	padding: 1.25rem 1.5rem;
}

.faq-card-header h3 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #ffffff;
}

/* ==================================================
   BODY – FAQ
================================================== */

.faq-card-body {
	padding: 1.25rem;
}

/* ==================================================
   AKORDEON
================================================== */

.faq-item {
	border: 1px solid #e0e0e0;
	margin-bottom: 0.6rem;
}

.faq-item:last-child {
	margin-bottom: 0;
}

.faq-item summary {
	cursor: pointer;
	padding: 0.75rem 2.5rem 0.75rem 0.9rem;
	font-weight: 600;
	list-style: none;
	position: relative;
	background: #ffffff;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

/* plus / minus */

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.1rem;
}

.faq-item[open] summary::after {
	content: "–";
}

/* hover */

.faq-item summary:hover {
	background: #f5f5f5;
}

/* ==================================================
   TREŚĆ
================================================== */

.faq-content {
	padding: 0.8rem 0.9rem 1rem;
	line-height: 1.6;
	color: #222;
}

/* ==================================================
   RESPONSIVE – TABLET
================================================== */

@media (max-width: 900px) {
	.faq {
		padding: 2rem 1rem;
	}

	.faq-card-header {
		padding: 1.1rem 1.25rem;
	}

	.faq-card-body {
		padding: 1.1rem;
	}
}

/* ==================================================
   RESPONSIVE – TELEFON
================================================== */

@media (max-width: 480px) {
	.faq {
		padding: 1.5rem 0;
	}

	.faq-card-header {
		padding: 1rem 1rem;
	}

	.faq-card-header h3 {
		font-size: 1.15rem;
	}

	.faq-card-body {
		padding: 1rem;
	}

	.faq-item summary {
		padding: 0.65rem 2.2rem 0.65rem 0.75rem;
	}

	.faq-content {
		padding: 0.7rem 0.75rem 0.9rem;
	}
}


/* =====================================================================
   [ 12 ] KONTAKT
   ===================================================================== */


.contact-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	box-sizing: border-box;
}

/* ==================================================
   GRID – 2 KOLUMNY
================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

/* ==================================================
   KAFEL – STRUKTURA
================================================== */

.contact-box {
	background: #ffffff;
	border: 1px solid #dcdcdc;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* ==================================================
   ZIELONY HEADER – IDENTYCZNY JAK FAQ
================================================== */

.contact-box h3 {
	background: #15bc15;
	padding: 1.25rem 1.5rem;
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #ffffff;
}

/* ==================================================
   BODY – KONTAKT (JEDEN PADDING, KONIEC CHAOSU)
================================================== */

.contact-box-body {
	padding: 1.25rem;
}

/* ==================================================
   DANE KONTAKTOWE
================================================== */

.contact-item {
	margin-bottom: 0.75rem;
	line-height: 1.6;
	color: #222;
}

.contact-item:last-child {
	margin-bottom: 0;
}

.contact-item strong {
	font-weight: 600;
}

/* ==================================================
   FORMULARZ (CF7 / INNE)
================================================== */

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #e0e0e0;
	font-size: 0.95rem;
	font-family: inherit;
	box-sizing: border-box;
	background: #ffffff;
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #15bc15;
}

/* ==================================================
   PRZYCISK
================================================== */

.contact-form input[type="submit"],
.contact-form button {
	margin-top: 0.6rem;
	background: #15bc15;
	color: #ffffff;
	border: none;
	padding: 0.75rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
	background: #109b10;
}

/* ==================================================
   RESPONSIVE – TABLET (JAK FAQ)
================================================== */

@media (max-width: 900px) {
	.contact-section {
		padding: 2rem 0rem;
	}


	.contact-box h3 {
		padding: 1.1rem 1.25rem;
	}

	.contact-box-body {
		padding: 1.1rem;
	}
}

/* ==================================================
   RESPONSIVE – TELEFON (JAK FAQ)
================================================== */

@media (max-width: 480px) {
	.contact-section {
		padding: 1.5rem 0;
	}

	.contact-box h3 {
		padding: 1rem 1rem;
		font-size: 1.15rem;
	}

	.contact-box-body {
		padding: 1rem;
	}
}

/* ==================================================
   SAFARI – FONT FIX (PL ZNAKI)
================================================== */

@supports (-webkit-touch-callout: none) {

	.contact-box h3,
	.contact-item strong {
		font-weight: 500;
	}
}

.contact-form input[type="submit"] {
	border-radius: 0 !important;
	box-shadow: none;
}


/* =====================================================================
   [ 13 ] LOKALIZACJA
   ===================================================================== */

.location-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	box-sizing: border-box;
}

/* ==================================================
   LEAD
================================================== */

.location-lead {
	margin-bottom: 2rem;
	font-size: 1.05rem;
	line-height: 1.6;
}

/* ==================================================
   GRID – 50 / 50
================================================== */

.location-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.location-grid {
		grid-template-columns: 1fr;
	}
}

/* ==================================================
   BLOKI
================================================== */

.location-block,
.location-media-block {
	margin-bottom: 2rem;
}

/* ==================================================
   NAGŁÓWKI – ZIELONE (JAK FAQ)
================================================== */

.location-block h3,
.location-media-block h3 {
	background: #15bc15;
	color: #ffffff;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.25rem;
	font-size: 1.3rem;
	font-weight: 600;
}

/* ==================================================
   TEKST
================================================== */

.location-block p {
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #222;
}

.location-block p:last-child {
	margin-bottom: 0;
}

/* ==================================================
   MAPA
================================================== */

.location-map {
	width: 100%;
	height: 360px;
	border: 1px solid #dcdcdc;
}

.location-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* ==================================================
   ZDJĘCIA
================================================== */

.location-media img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #dcdcdc;
}

/* ==================================================
   NOTKI
================================================== */

.location-note {
	font-size: 0.9rem;
	color: #555;
	margin-top: 0.6rem;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 480px) {
	.location-section {
		padding: 1.5rem 0;
	}

	.location-block h3,
	.location-media-block h3 {
		font-size: 1.15rem;
		padding: 1rem;
	}

	.location-map {
		height: 280px;
	}
}


/* =====================================================================
   [ 14 ] MEDIA PAGE (UPGRADE)
   ===================================================================== */

.media-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
}

/* =================================
   SEKCJA MIESIĄCA
================================= */

.media-month {
	margin-bottom: 4rem;
}

/* =================================
   NAGŁÓWEK MIESIĄCA
================================= */

.media-month-header {
	background: #15bc15;
	padding: 1.4rem 1.5rem;
	margin: 0 0 2rem 0;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	cursor: pointer;
	user-select: none;
}

.media-month-header h2 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.3;
}

/* =================================
   STRZAŁKA (NOWE)
================================= */

.media-arrow {
	width: 18px;
	height: 18px;
	flex-shrink: 0;

	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* stan zamknięty */
.media-month.collapsed .media-arrow {
	transform: rotate(-90deg);
}

/* =================================
   GRID (UPGRADE – ANIMACJA)
================================= */

.media-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;

	overflow: hidden;
	max-height: 2000px;

	transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
	            opacity 0.3s ease;
}

/* zamknięty */
.media-month.collapsed .media-grid {
	max-height: 0;
	opacity: 0;
}

/* =================================
   KAFEL MEDIALNY
================================= */

.media-tile {
	display: block;
	padding: 2rem;
	border: 1px solid #e5e5e5;
	background: #ffffff;
	text-decoration: none;
	color: #111;

	border-radius: 0px;

	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* =================================
   META
================================= */

.media-source {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8a8a8a;
}

.media-tile h3 {
	font-size: 1.25rem;
	font-weight: 500;
	margin: 0.75rem 0 1.25rem;
	line-height: 1.45;
}

.media-date {
	font-size: 0.875rem;
	color: #9a9a9a;
}

/* =================================
   PLACEHOLDER
================================= */

.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	border-style: dashed;
	background: #fafafa;
	cursor: default;
}

.media-placeholder-text {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #b5b5b5;
}

/* =================================
   UPCOMING
================================= */

.upcoming {
	opacity: 0.7;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 900px) {
	.media-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.media-page {
		padding: 2rem 1rem;
	}

	.media-month {
		margin-bottom: 3rem;
	}

	.media-month-header {
		padding: 1rem 1.25rem;
		margin-bottom: 1.5rem;
	}

	.media-month-header h2 {
		font-size: 1.15rem;
	}
}

/* =================================
   MOBILE EDGE TO EDGE
================================= */

@media (max-width: 900px) {
	.media-page {
		padding-left: 0;
		padding-right: 0;
	}
}


/* =====================================================================
   [ 15 ] TERMINAL PRZYSZŁOŚCI – CONTENT
   ===================================================================== */

.terminal-content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 1.25rem;
	/* ⬅️ mniejszy dół */
}


/* ================================
   BIAŁY BOX
================================ */

.terminal-box {
	background: #ffffff;
	padding: 3rem;
	margin-bottom: 3.5rem;
}

/* ================================
   ZIELONA BELKA (AKCENT)
================================ */

.terminal-header-bar {
	background: #15bc15;
	padding: 1.25rem 1.5rem;
	margin: -3rem -3rem 2.5rem -3rem;
}

.terminal-header-bar h2,
.terminal-header-bar h3 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #ffffff;
}

/* ================================
   TYPOGRAFIA
================================ */

.terminal-box h3 {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 0;
}

.terminal-box p {
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

/* ================================
   GRID DWUKOLUMNOWY
================================ */

.terminal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}

.terminal-col p:last-child {
	margin-bottom: 0;
}

/* ================================
   LISTA
================================ */

.terminal-list {
	padding-left: 1.2rem;
	margin: 1.5rem 0;
}

.terminal-list li {
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
	.terminal-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.terminal-box {
		padding: 2.5rem 2rem;
	}

	.terminal-header-bar {
		margin: -2.5rem -2rem 2rem -2rem;
	}
}

@media (max-width: 600px) {
	.terminal-content {
		padding: 3rem 1rem;
	}

	.terminal-box {
		padding: 2rem 1.5rem;
	}

	.terminal-header-bar {
		margin: -2rem -1.5rem 1.75rem -1.5rem;
	}
}

/* =================================
   MOBILE & TABLET – EDGE TO EDGE
================================= */

@media (max-width: 900px) {
	.terminal-content {
		padding-left: 0;
		padding-right: 0;
	}

	.terminal-box {
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}
}


/* =====================================================================
   [ 16 ] TERMINAL – PRZEJDŹ DO
   ===================================================================== */

.terminal-next {
	max-width: 1280px;

	/* ⬆️ NA STYK Z CONTENTEM */
	margin: 0.25rem auto 0;

	/* ⬇️ PRAWDZIWY ODDECH DO FOOTERA */
	padding: 0 1.5rem 5rem;
}

/* TYTUŁ */
.terminal-next-title {
	margin: 0 0 0.75rem 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
}

/* GRID */
.terminal-next-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

/* KAFEL */
.terminal-next-item {
	position: relative;
	display: flex;
	align-items: center;

	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid #e5e5e5;

	text-decoration: none;
	color: #111;
	font-weight: 500;

	transition:
		border-color 0.2s ease,
		padding-right 0.25s ease;
}

/* STRZAŁKA */
.terminal-next-item::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	width: 14px;
	height: 14px;

	background: url("https://hosting2316534.online.pro/autoinstalator/wordpress7/wp-content/uploads/2026/01/strzalka-pio-biala.svg") no-repeat center / contain;
	filter: invert(1);

	opacity: 0;
	transform: translateX(8px);
	transition: opacity 0.2s ease, transform 0.25s ease;
}

/* HOVER */
.terminal-next-item:hover {
	padding-right: 2.25rem;
	border-color: #111;
}

.terminal-next-item:hover::after {
	opacity: 1;
	transform: translateX(0);
}

/* =================================================
   MOBILE
================================================= */

@media (max-width: 900px) {
	.terminal-next {
		margin-top: 0.25rem;
		/* ⬅️ nadal NA STYK */
		padding: 0 0rem 4rem;
		/* ⬇️ oddech do footera */
	}

	.terminal-next-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}


/* =====================================================================
   [ 17 ] MATERIAŁY DO POBRANIA
   ===================================================================== */

.downloads-content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 1.25rem;
}

/* ================================
   BIAŁY BOX
================================ */

.downloads-box {
	background: #ffffff;
	padding: 3rem;
	margin-bottom: 3.5rem;
}

/* ================================
   ZIELONA BELKA
================================ */

.downloads-header-bar {
	background: #15bc15;
	padding: 1.25rem 1.5rem;
	margin: -3rem -3rem 2.5rem -3rem;
}

.downloads-header-bar h2 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #ffffff;
}

/* ================================
   GRID KAFELI
================================ */

.downloads-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

/* ================================
   KAFEL DO POBRANIA
================================ */

.download-tile {
	display: block;
	padding: 1.75rem;
	border: 1px solid #e5e5e5;
	background: #ffffff;

	text-decoration: none;
	color: #111;

	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* ================================
   LISTA (PRESS PACK)
================================ */

.downloads-list {
	display: flex;
	flex-direction: column;
}

.download-row {
	padding: 1.5rem 0;
	border-bottom: 1px solid #e5e5e5;
	text-decoration: none;
	color: #111;
}

.download-row:last-child {
	border-bottom: none;
}

/* ================================
   TYPOGRAFIA
================================ */

.download-title {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.download-meta {
	font-size: 0.85rem;
	color: #888;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
	.downloads-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.downloads-box {
		padding: 2.5rem 2rem;
	}

	.downloads-header-bar {
		margin: -2.5rem -2rem 2rem -2rem;
	}
}

/* EDGE TO EDGE */
@media (max-width: 900px) {
	.downloads-content {
		padding-left: 0;
		padding-right: 0;
	}

	.downloads-box {
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}
}


/* =====================================================================
   [ 18 ] TERMINAL – WIDEO
   ===================================================================== */

.terminal-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-top: 2rem;
	/* oddech od tekstu */
	background: #000;
	overflow: hidden;
}

.terminal-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* MOBILE – trochę mniejszy oddech */
@media (max-width: 600px) {
	.terminal-video {
		margin-top: 1.5rem;
	}
}


/* =====================================================================
   [ 19 ] GALERIA TERMINALOWA
   ===================================================================== */

.wrzutnia {
	display: block;
	width: 100%;
}

.galeria-pio figure {
	overflow: hidden;
}

.galeria-pio img {
	transition: transform .35s ease;
	will-change: transform;
}

.galeria-pio figure:hover img {
	transform: scale(1.06);
}

.galeria-pio {
	animation: galeriaEnter .45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes galeriaEnter {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.galeria-pio {
	margin-top: 32px;
}

/* usuwam zaokrąglenia paginacji */
.page-numbers {
	border-radius: 0 !important;
}


/* =====================================================================
   [ 20 ] TIMELINE – CLEAN PROJECT
   ===================================================================== */


.pp-timeline-clean {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 4rem 0;
    padding: 0 3rem;
}

/* Zielona oś */
.pp-timeline-clean::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 3rem;
    right: 3rem;
    height: 3px;
    background: #15bc15;
}

/* Element */
.pp-item {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Czarne kwadraty NA osi */
.pp-marker {
    width: 14px;
    height: 14px;
    background: #15bc15;
    margin: 7px auto 0;
    position: relative;
    z-index: 2;
}

/* Tekst */
.pp-text {
    margin-top: 1.5rem;
}

/* Rok */
.pp-year {
    font-weight: 700;
    color: #15bc15;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

/* Tytuł */
.pp-title {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}



/* ===========================
   MOBILE – PION OD NOWA
   =========================== */

@media (max-width: 900px) {

    .pp-timeline-clean {
        flex-direction: column;
        padding: 0 1.5rem;
        margin: 3rem 0;
    }

    /* wyłącz poziomą linię */
    .pp-timeline-clean::before {
        display: none;
    }

    /* pionowa linia */
    .pp-timeline-clean::after {
        content: "";
        position: absolute;
        left: 16px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #15bc15;
    }

    .pp-item {
        text-align: left;
        padding-left: 3rem;
        margin-bottom: 2.5rem;
    }

    .pp-marker {
        position: absolute;
        left: 16px;
        top: 4px;
        margin: 0;
        width: 12px;
        height: 12px;
    }

    .pp-text {
        margin-top: 0;
    }

    .pp-year,
    .pp-title {
        text-align: left;
    }
}


/* =====================================================================
   [ 21 ] SEO BONUS - HERO
   ===================================================================== */

.hero-seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}



/* =====================================================================
   [ 22 ] SEKCJA - PODCASTY
   ===================================================================== */

/* ===========================
   SEKCJA – tło
   =========================== */

.pp-carousel {
    padding: 3rem 2vw;
    background: #f3f4f6;
    position: relative;
}

/* ===========================
   HEADER
   =========================== */
.pp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.pp-header h2 {
    margin: 0;
    line-height: 1.1;
}

/* ===========================
   Tytuł link
   =========================== */

.pp-title-link {
    color: #000;
    text-decoration: none;
    transition: color 0.25s ease;
}

.pp-title-link:hover {
    color: #15bc15;
}

/* ===========================
   Zobacz wszystkie
   =========================== */

.pp-see-all {
    font-size: 0.95rem;
    font-weight: 600;
    padding-right: 32px;
    background: url("/wp-content/uploads/2026/01/strzalka-pio.svg") no-repeat right center / 24px 16px;
    text-decoration: none;
    color: #000;
    transition: background-position 0.25s ease;
    line-height: 1.1;

    position: relative;
    top: -6px;
}

.pp-see-all:hover {
    background-position: calc(100% + 4px) center;
}

/* ===========================
   SLIDER – stabilna siatka
   =========================== */

.pp-slider-window {
    position: relative;
    overflow: hidden;
}

.pp-slider-track {
    display: flex;
    gap: 32px;
    transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1);
}

.pp-card {
    flex: 0 0 calc((100% - 64px) / 3);
    box-sizing: border-box;
}

/* ===========================
   MINIATURA
   =========================== */

.pp-thumb {
    position: relative;
    overflow: hidden;
}

.pp-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.pp-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1rem 0 0.6rem;
    line-height: 1.3;
}

/* ===========================
   PLAY OVERLAY
   =========================== */

.pp-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.65);
    border-radius: 50%;
    transition: transform 0.25s ease, background 0.25s ease;
}

.pp-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.pp-card:hover .pp-play-icon {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0,0,0,0.8);
}

/* ===========================
   STRZAŁKI – adaptacyjne
   =========================== */

.pp-arrow {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: transform .2s ease, width .2s ease, height .2s ease;
}

.pp-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.pp-left {
    left: 10px;
    background-image: url("/wp-content/uploads/2026/01/strzalka-pio-lewa.svg");
}

.pp-right {
    right: 10px;
    background-image: url("/wp-content/uploads/2026/01/strzalka-pio.svg");
}

/* 🔥 NOWE – stan nieaktywny */

.pp-arrow.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 2200px) {
    .pp-arrow { width: 26px; height: 26px; }
}

@media (max-width: 1900px) {
    .pp-arrow { width: 22px; height: 22px; }
}

@media (max-width: 1600px) {
    .pp-arrow { width: 18px; height: 18px; }
}

@media (max-width: 1300px) {
    .pp-arrow { width: 16px; height: 16px; }
}

@media (max-width: 1800px) {
    .pp-left  { left: 4px; }
    .pp-right { right: 4px; }
}

@media (max-width: 1400px) {
    .pp-left  { left: 2px; }
    .pp-right { right: 2px; }
}

@media (max-width: 1000px) {
    .pp-arrow { display: none; }
}

/* ===========================
   KWADRATY
   =========================== */

.pp-indicators {
    text-align: center;
    margin-top: 2rem;
}

.pp-square {
    width: 14px;
    height: 14px;
    background: #d0d0d0;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.pp-square.active {
    background: #000;
}

/* ===========================
   MOBILE
   =========================== */

@media (max-width: 767px) {

    .pp-carousel {
        padding: 2rem 1rem;
    }

    .pp-slider-track {
        transform: none !important;
        display: block;
    }

    .pp-card {
        flex: none;
        width: 100%;
        margin-bottom: 2rem;
    }

    .pp-card:nth-child(n+4) {
        display: none;
    }

    .pp-arrow,
    .pp-indicators {
        display: none;
    }

}
