/*
 * Szablony bloga (TREJKA Bricks Toolkit).
 * Cały wygląd jest tutaj, w szablonach Bricks są tylko klasy. Rozmiary w px (Bricks ma html { font-size: 62.5% }).
 * Zmienne (ustawiane w module Blog): --tbt-akcent, --tbt-akcent-hover, --tbt-blog-pasek, --tbt-blog-kolumny, --tbt-blog-odstep.
 */

/* Układ. Uwaga: Bricks dodaje elementowi „Pasek boczny” klasę = ID paska (tbt-blog), stąd :not(.brxe-sidebar). */
.tbt-blog:not(.brxe-sidebar) { padding: 40px 24px 60px; }
.tbt-blog__uklad {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--tbt-blog-pasek, 348px);
	gap: 50px;
	align-items: stretch;
}
.tbt-blog__tresc { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.tbt-blog__pasek { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.tbt-blog__pasek > .brxe-sidebar { flex: 1 1 auto; display: flex; flex-direction: column; gap: 40px; }
.tbt-blog__pasek .tbt-widget { margin: 0; }
.tbt-blog__pasek .tbt-widget__tytul { margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.tbt-blog__podobne { grid-column: 1 / -1; margin-top: 30px; }
@media (max-width: 991px) {
	.tbt-blog__uklad { grid-template-columns: minmax(0, 1fr); }
}

/* Pasek boczny na telefonie: wysuwany panel (klasy dodaje blog-pasek.js; bez JS pasek zostaje pod wpisami). */
.tbt-pasek__glowa,
.tbt-pasek-przycisk,
.tbt-pasek-tlo { display: none; }
@media (max-width: 991px) {
	.tbt-pasek-js .tbt-blog__pasek {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 100000;
		display: flex;
		box-sizing: border-box;
		width: min(380px, 88vw);
		height: 100%;
		height: 100dvh;
		padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}
	.tbt-pasek-js.tbt-pasek-lewo .tbt-blog__pasek { right: auto; left: 0; box-shadow: 12px 0 40px rgba(0, 0, 0, .18); transform: translateX(-100%); }
	.tbt-pasek-js .tbt-blog__pasek.is-otwarty { transform: none; visibility: visible; transition: transform .3s ease; }
	.tbt-pasek-js .tbt-blog__pasek > .brxe-sidebar { flex: 0 0 auto; gap: 32px; }

	.tbt-pasek-js .tbt-pasek__glowa {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0 -20px 20px;
		padding: 12px 12px 12px 20px;
		border-bottom: 1px solid #ececec;
		background: #fff;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.3;
	}
	.tbt-pasek__zamknij {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: inherit;
		cursor: pointer;
	}
	.tbt-pasek__zamknij:hover,
	.tbt-pasek__zamknij:focus-visible { background: #f3f3f3; }

	.tbt-pasek-js .tbt-pasek-przycisk {
		position: fixed;
		bottom: calc(20px + env(safe-area-inset-bottom, 0px));
		left: 50%;
		z-index: 9989;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		max-width: calc(100vw - 150px);
		padding: 12px 20px;
		border: 0;
		border-radius: 999px;
		background: var(--tbt-kolor-ciemny, #1a1a18);
		box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
		color: #fff;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.2;
		white-space: nowrap;
		cursor: pointer;
		transform: translateX(-50%);
	}
	.tbt-pasek-przycisk span { overflow: hidden; text-overflow: ellipsis; }
	.tbt-pasek-przycisk:hover,
	.tbt-pasek-przycisk:focus-visible { background: var(--tbt-akcent, #bc0000); }
	html.tbt-pasek-otwarty .tbt-pasek-przycisk { visibility: hidden; }

	.tbt-pasek-js .tbt-pasek-tlo {
		position: fixed;
		inset: 0;
		z-index: 99999;
		display: block;
		background: rgba(0, 0, 0, .45);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility 0s linear .3s;
	}
	html.tbt-pasek-otwarty .tbt-pasek-tlo { opacity: 1; visibility: visible; transition: opacity .3s ease; }
	html.tbt-pasek-otwarty,
	html.tbt-pasek-otwarty body { overflow: hidden; }

	/* Tryb „ukryty”: bez paska na telefonie. */
	.tbt-pasek-ukryty .tbt-blog__pasek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tbt-pasek-js .tbt-blog__pasek,
	.tbt-pasek-js .tbt-pasek-tlo { transition: none; }
}

/* Okruszki i nagłówki */
.tbt-blog__tresc .tbt-okruszki { font-size: 13px; line-height: 22px; }
.tbt-blog__tresc .tbt-okruszki a { color: var(--tbt-akcent, #bc0000); }
.tbt-blog__tytul { margin: 10px 0 30px; font-size: 30px; font-weight: 600; line-height: 1.25; }
.tbt-blog__opis { max-width: 720px; margin: -14px 0 36px; color: #6b6564; font-size: 15px; line-height: 1.65; }
.tbt-blog__opis:empty { display: none; }
.tbt-blog__opis p { margin: 0; }

/* Siatka i karty */
.tbt-blog__siatka {
	display: grid;
	grid-template-columns: repeat(var(--tbt-blog-kolumny, 3), minmax(0, 1fr));
	align-items: stretch; /* Bricks daje blokom align-items: flex-start – karty w rzędzie mają mieć równą wysokość */
	gap: 30px;
	width: 100%;
}
@media (max-width: 767px) { .tbt-blog__siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 478px) { .tbt-blog__siatka { grid-template-columns: minmax(0, 1fr); } }

.tbt-blog-karta {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #ececec;
	border-radius: 8px;
	background: #fff;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tbt-blog-karta:hover,
.tbt-blog-karta:focus-within { transform: translateY(-4px); border-color: #f1d6d3; box-shadow: 0 16px 34px rgba(26, 26, 24, .08); }
.tbt-blog-karta__obraz { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #f3f3f3; }
.tbt-blog-karta__obraz img,
img.tbt-blog-karta__obraz { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .4s ease; }
.tbt-blog-karta:hover .tbt-blog-karta__obraz img,
.tbt-blog-karta:hover img.tbt-blog-karta__obraz { transform: scale(1.04); }
.tbt-blog-karta__tresc { display: flex; flex: 1 1 auto; flex-direction: column; padding: 28px; }
@media (max-width: 767px) { .tbt-blog-karta__tresc { padding: 20px; } }
.tbt-blog-karta__meta { margin-bottom: 10px; color: #8a8382; font-size: 12px; line-height: 20px; }
.tbt-blog-karta__tytul { margin: 0 0 20px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.tbt-blog-karta__tytul a { color: inherit; text-decoration: none; transition: color .15s; }
.tbt-blog-karta__tytul a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tbt-blog-karta:hover .tbt-blog-karta__tytul a { color: var(--tbt-akcent, #bc0000); }
.tbt-blog-karta__wiecej { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--tbt-akcent, #bc0000); font-size: 14px; font-weight: 600; }
.tbt-blog-karta__strzalka { display: inline-block; transition: transform .2s ease; }
.tbt-blog-karta:hover .tbt-blog-karta__strzalka { transform: translateX(4px); }

/* Paginacja */
.tbt-blog__paginacja { margin-top: 40px; }
.tbt-blog__paginacja .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tbt-blog__paginacja .page-numbers li { margin: 0; }
.tbt-blog__paginacja a.page-numbers,
.tbt-blog__paginacja span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px;
	border: 1px solid #e3e3e3; border-radius: 6px; color: inherit; font-size: 14px; text-decoration: none;
}
.tbt-blog__paginacja a.page-numbers:hover { border-color: var(--tbt-akcent, #bc0000); color: var(--tbt-akcent, #bc0000); }
.tbt-blog__paginacja .page-numbers.current { border-color: var(--tbt-akcent, #bc0000); background: var(--tbt-akcent, #bc0000); color: #fff; }

/* Pojedynczy wpis */
.tbt-wpis__tytul { margin: 20px 0 0; font-size: 30px; font-weight: 600; line-height: 1.4; }
@media (max-width: 767px) { .tbt-wpis__tytul { font-size: 24px; line-height: 1.35; } }
.tbt-wpis__meta { margin-top: 16px; color: #8a8382; font-size: 13px; line-height: 1.5; }
.tbt-wpis__meta a { color: inherit; text-decoration: none; }
.tbt-wpis__meta a:hover { color: var(--tbt-akcent, #bc0000); }
.tbt-wpis__obraz { display: block; width: 100%; margin-top: 36px; overflow: hidden; border: 1px solid #ececec; border-radius: 8px; }
.tbt-wpis__obraz img,
img.tbt-wpis__obraz { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tbt-wpis__tresc { margin-top: 40px; font-size: 17px; line-height: 1.75; }
.tbt-wpis__tresc a { color: var(--tbt-akcent, #bc0000); }
.tbt-wpis__tresc a:hover { color: var(--tbt-akcent-hover, #1a1a18); }
.tbt-wpis__tresc img { height: auto; border-radius: 6px; }
.tbt-wpis__tresc h2 { margin: 1.6em 0 .6em; font-size: 24px; line-height: 1.35; }
.tbt-wpis__tresc h3 { margin: 1.4em 0 .5em; font-size: 20px; line-height: 1.4; }
.tbt-wpis__udostepnij { margin-top: 40px; padding-top: 24px; border-top: 1px solid #ececec; }
.tbt-wpis__udostepnij-etykieta { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.tbt-wpis__udostepnij .brxe-post-sharing { gap: 10px; }
.tbt-wpis__udostepnij .brxe-post-sharing li { margin: 0; }
.tbt-wpis__udostepnij .brxe-post-sharing a {
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border: 1px solid #e8dedb; border-radius: 50%; background: #fff; color: #1a1a1a; transition: all .15s;
}
.tbt-wpis__udostepnij .brxe-post-sharing a:hover { border-color: var(--tbt-akcent, #bc0000); background: var(--tbt-akcent, #bc0000); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.tbt-blog-karta, .tbt-blog-karta img, .tbt-blog-karta__strzalka { transition: none; }
	.tbt-blog-karta:hover, .tbt-blog-karta:focus-within, .tbt-blog-karta:hover img { transform: none; }
}

/* ------------------------------------------------------------------
 * Nagłówek (szablon „Nagłówek”)
 * ------------------------------------------------------------------ */
/* Stopka przy dolnej krawędzi ekranu, gdy treści jest mało (body w Bricks to flex column, a <main> ma flex-grow: 1). */
body:has(#brx-footer .tbt-stopka) {
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
body:has(#brx-footer .tbt-stopka) > #brx-content { flex-grow: 1; }
/* Bricks przykleja nagłówek przez position: fixed, więc treść wchodzi pod niego.
   Sticky zostaje w układzie strony i dalej się przykleja. Dotyczy tylko nagłówka z instalatora. */
#brx-header.brx-sticky:has(.tbt-naglowek) { position: sticky !important; top: var(--wp-admin--admin-bar--height, 0px) !important; }
/* Kotwice (#id, zakładki z adresem) nie chowają się pod przyklejonym nagłówkiem. */
html { scroll-padding-top: calc(var(--tbt-naglowek-h, 0px) + 20px); }
.tbt-gora { padding: 6px 24px; background: var(--tbt-kolor-ciemny, #1a1a18); color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.5; }
.tbt-gora__uklad { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.tbt-gora__kontakt { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tbt-gora a { color: #fff; text-decoration: none; }
.tbt-gora a:hover { text-decoration: underline; }
.tbt-gora__kontakt a[href=""] { display: none; }
@media (max-width: 767px) { .tbt-gora__godziny { display: none; } }

.tbt-naglowek { padding: 0 24px; background: var(--tbt-kolor-bialy, #fff); border-bottom: 1px solid var(--tbt-kolor-ramka, #eaeaea); }
.tbt-naglowek__uklad { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.tbt-naglowek__logo { flex-shrink: 0; font-size: 20px; font-weight: 700; color: var(--tbt-kolor-naglowki, #1a1a18); text-decoration: none; }
.tbt-naglowek__logo img { width: auto; max-height: 44px; }
.tbt-naglowek__menu { margin-left: auto; }
.tbt-naglowek__menu .bricks-nav-menu { gap: 28px; }
.tbt-naglowek__menu .bricks-nav-menu > li { margin-left: 0; } /* Bricks dodaje 30px; odstęp daje gap. */
.tbt-naglowek__menu .bricks-nav-menu > li > a,
.tbt-naglowek__menu .bricks-nav-menu > li > .brx-submenu-toggle > a { color: var(--tbt-kolor-naglowki, #1a1a18); font-size: 15px; font-weight: 500; }
.tbt-naglowek__menu .bricks-nav-menu > li > a:hover,
.tbt-naglowek__menu .bricks-nav-menu > .current-menu-item > a,
.tbt-naglowek__menu .bricks-nav-menu > .current-menu-ancestor > a,
.tbt-naglowek__menu .bricks-nav-menu > .current-menu-ancestor > .brx-submenu-toggle > a { color: var(--tbt-akcent, #bc0000); }
.tbt-naglowek__menu .bricks-nav-menu .sub-menu { min-width: 220px; padding: 8px 0; background: #fff; border: 1px solid var(--tbt-kolor-ramka, #eaeaea); border-radius: 6px; box-shadow: 0 12px 30px rgba(26, 26, 24, .08); }
.tbt-naglowek__menu .bricks-nav-menu .sub-menu a { padding: 8px 16px; color: inherit; font-size: 14px; }
.tbt-naglowek__menu .bricks-nav-menu .sub-menu a:hover { color: var(--tbt-akcent, #bc0000); }
.tbt-naglowek__przycisk.bricks-button { flex-shrink: 0; padding: 10px 20px; border-radius: var(--tbt-promien, 6px); background: var(--tbt-akcent, #bc0000); color: #fff; font-size: 14px; font-weight: 600; }
.tbt-naglowek__przycisk.bricks-button:hover { background: var(--tbt-akcent-hover, #1a1a18); color: #fff; }
@media (max-width: 991px) {
	.tbt-naglowek__uklad { min-height: 64px; gap: 16px; }
	.tbt-naglowek__przycisk.bricks-button { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 478px) { .tbt-naglowek__przycisk { display: none !important; } }

/* ------------------------------------------------------------------
 * Stopka (szablon „Stopka”)
 * ------------------------------------------------------------------ */
.tbt-stopka { padding: 60px 24px 0; font-size: 14px; line-height: 1.7; }
.tbt-stopka--ciemna { background: var(--tbt-kolor-ciemny, #1a1a18); color: rgba(255, 255, 255, .72); }
.tbt-stopka--jasna { background: var(--tbt-kolor-tlo, #fefaf7); color: var(--tbt-kolor-tekst, #404040); border-top: 1px solid var(--tbt-kolor-ramka, #eaeaea); }
.tbt-stopka__kolumny { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; align-items: start; }
.tbt-stopka__kolumna { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tbt-stopka__nazwa { margin: 0; font-size: 18px; font-weight: 700; }
.tbt-stopka__opis { margin: 0; max-width: 320px; }
.tbt-stopka__tytul { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tbt-stopka--ciemna .tbt-stopka__nazwa, .tbt-stopka--ciemna .tbt-stopka__tytul { color: #fff; }
.tbt-stopka--jasna .tbt-stopka__nazwa, .tbt-stopka--jasna .tbt-stopka__tytul { color: var(--tbt-kolor-naglowki, #1a1a18); }
.tbt-stopka a { color: inherit; text-decoration: none; }
.tbt-stopka a:hover { color: var(--tbt-akcent, #bc0000); }
.tbt-stopka--ciemna a:hover { color: #fff; text-decoration: underline; }
.tbt-stopka .tbt-karta { gap: 8px; color: inherit; font-size: 14px; }
.tbt-stopka__menu .bricks-nav-menu { flex-direction: column; align-items: flex-start; gap: 8px; }
.tbt-stopka__menu .bricks-nav-menu > li { margin: 0; }
.tbt-stopka__menu .brx-submenu-toggle button { display: none; }
.tbt-stopka__menu .bricks-nav-menu a { padding: 0; color: inherit; font-size: 14px; }
.tbt-stopka__menu .sub-menu { display: none; }
.tbt-stopka__dol { margin-top: 50px; padding: 20px 0; border-top: 1px solid rgba(127, 127, 127, .25); font-size: 13px; }
.tbt-stopka__dol p { margin: 0; }

/* Stopka z kolumnami widgetów (element „Stopka – kolumny widgetów”, shortcode [tbt_stopka]) */
.tbt-stopka .brxe-tbt-stopka { width: 100%; }
.tbt-stopka .tbt-stopka__siatka { display: grid; gap: 40px; width: 100%; align-items: start; }
.tbt-stopka__siatka--2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tbt-stopka__siatka--3 { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
.tbt-stopka__siatka--4 { grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); }
.tbt-stopka__siatka--5 { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.tbt-stopka__kol { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.tbt-stopka__widget { min-width: 0; }
.tbt-stopka .tbt-stopka__widget .tbt-stopka__tytul,
.tbt-stopka .tbt-stopka__widget .tbt-karta__tytul,
.tbt-stopka .tbt-stopka__widget .tbt-kat__tytul { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.tbt-stopka--ciemna .tbt-stopka__widget .tbt-karta__tytul,
.tbt-stopka--ciemna .tbt-stopka__widget .tbt-kat__tytul { color: #fff; }
.tbt-stopka__widget ul { margin: 0; padding: 0; list-style: none; }
.tbt-stopka__widget li { margin: 0 0 8px; }
.tbt-stopka__widget .sub-menu { display: none; }
.tbt-stopka__widget p { margin: 0 0 10px; }
.tbt-stopka__widget .post-date { display: block; font-size: 12px; opacity: .7; }
.tbt-stopka__pusta { padding: 16px; border: 1px dashed rgba(127, 127, 127, .5); border-radius: 6px; font-size: 13px; opacity: .8; }

/* Wezwanie do działania nad stopką: jasny pas na całą szerokość okna (tło przez box-shadow, bez przewijania w poziomie). */
.tbt-stopka-cta {
	--_tlo: var(--tbt-kolor-tlo, #f8f5f1);
	margin: -60px 0 60px;
	padding: clamp(48px, 7vw, 80px) 0;
	background: var(--_tlo);
	box-shadow: 0 0 0 100vmax var(--_tlo);
	clip-path: inset(0 -100vmax);
	color: var(--tbt-kolor-tekst-2, #5f5a58);
	text-align: center;
}
.tbt-stopka-cta__w { max-width: 760px; margin: 0 auto; }
/* Strona ma już własną sekcję CTA (Biblioteka sekcji) – nie dublujemy. */
body:has(.tbt-s--cta) .tbt-stopka-cta { display: none; }
.tbt-stopka .tbt-stopka-cta__tytul { margin: 0 0 16px; color: var(--tbt-kolor-naglowki, #1a1a18); font-size: clamp(24px, 3.2vw, 32px); line-height: 1.25; }
.tbt-stopka-cta__tekst { margin: 0 0 28px; font-size: 16px; line-height: 1.7; }
.tbt-stopka-cta__przyciski { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tbt-stopka .tbt-stopka-cta__przycisk { padding: 14px 28px; border: 2px solid var(--tbt-akcent, #bc0000); border-radius: var(--tbt-promien, 6px); background: var(--tbt-akcent, #bc0000); color: #fff; font-weight: 600; text-decoration: none; }
.tbt-stopka .tbt-stopka-cta__przycisk--drugi { border: 2px solid var(--tbt-akcent, #bc0000); background: transparent; color: var(--tbt-akcent, #bc0000); }
.tbt-stopka .tbt-stopka-cta__przycisk--drugi:hover { background: var(--tbt-akcent, #bc0000); color: #fff; text-decoration: none; }
.tbt-stopka .tbt-stopka-cta__przycisk:not(.tbt-stopka-cta__przycisk--drugi):hover { color: #fff; text-decoration: none; filter: brightness(.92); }

/* Widget „Firma (TREJKA)” */
.tbt-firma__nazwa { margin: 0 0 14px !important; font-size: 18px; font-weight: 700; }
.tbt-stopka--ciemna .tbt-firma__nazwa { color: #fff; }
.tbt-firma__opis { max-width: 420px; }
.tbt-stopka__widget .tbt-firma__profile { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.tbt-stopka__widget .tbt-firma__profile li { margin: 0; }
.tbt-firma__profile a { display: inline-flex; color: inherit; }
.tbt-stopka--ciemna .tbt-firma__profile a { color: #fff; }
.tbt-stopka .tbt-firma__profile a:hover { color: var(--tbt-akcent, #bc0000); text-decoration: none; }
.tbt-firma__podpis { font-size: 13px; opacity: .65; }

/* Przycisk akordeonu: na komputerze wygląda jak zwykły tytuł. */
.tbt-stopka__tytul--akordeon { margin: 0 0 16px; }
.tbt-stopka__przelacz { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }

.tbt-stopka .tbt-stopka__dol { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; }

@media (max-width: 991px) {
	.tbt-stopka .tbt-stopka__siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbt-stopka__kol--1 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.tbt-stopka .tbt-stopka__siatka { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.tbt-stopka__kol--1 { margin-bottom: 24px; }
	.tbt-stopka__kol { gap: 0; }
	.tbt-stopka--js .tbt-stopka__kol:not(.tbt-stopka__kol--1) .tbt-stopka__widget { border-bottom: 1px solid rgba(127, 127, 127, .3); }
	.tbt-stopka--js .tbt-stopka__tytul--akordeon { margin: 0; }
	.tbt-stopka--js .tbt-stopka__przelacz { padding: 18px 0; font-size: 16px; cursor: pointer; }
	.tbt-stopka--js .tbt-stopka__przelacz::after {
		content: "";
		flex: 0 0 auto;
		width: 12px;
		height: 12px;
		margin-left: 16px;
		background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
		color: var(--tbt-akcent, #bc0000);
		transition: transform .2s ease;
	}
	.tbt-stopka--js .tbt-stopka__widget.is-otwarty .tbt-stopka__przelacz::after { transform: rotate(45deg); }
	.tbt-stopka--js .tbt-stopka__widget:not(.is-otwarty) .tbt-stopka__tresc { display: none; }
	.tbt-stopka--js .tbt-stopka__tresc { padding-bottom: 18px; }
	.tbt-stopka .tbt-stopka__dol { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.tbt-stopka--js .tbt-stopka__przelacz::after { transition: none; }
}
