/*!
Theme Name: marcinpohl
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: marcinpohl
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

marcinpohl is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
span.count-up {
	font-size: 1.2em;
}

.footer-menu {
	display: flex;
	gap: 16px;
	/* Mniejsze odstępy między linkami */
	justify-content: start;
	padding: 16px 0;
	list-style: none;

	/* Cienka linia na górze */
	margin: 0;
}

@media (max-width: 992px) {

	/* ≥ lg */
	.footer-menu {
		flex-direction: column;
	}

}

.br-menu {
	border-top: 1px solid #ccc;
	padding-top: 15px;
}

.footer-menu li {
	position: relative;
	font-size: 1rem;
	/* Małe litery */

	color: #A2A6A8;
}

.footer-menu li+li::before {
	content: "";
	position: absolute;
	left: -8px;
	/* Odsunięcie separatora */
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 0.8em;
	/* Wysokość separatora względem tekstu */
	background-color: #ccc;
}

.footer-menu a {
	color: inherit;
	text-decoration: none;
	padding: 0 8px;
	/* Dodatkowy odstęp dla klikalności */
	transition: color 0.2s;
}

.partnerLogo {
	max-height: 35px;
	height: auto;
	width: auto;
}

@media (min-width: 992px) {

	/* ≥ lg */
	.partnerLogo {
		max-height: 50px;
		height: auto;
		width: auto;
	}

}

.wycena-modal {
	position: fixed;
	/* przyklej do widoku */
	inset: 0;
	/* rozciągnij na cały ekran */
	display: flex;
	/* wyśrodkuj .wycena-box */
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .6);
	/* pół-transparentne tło */
	z-index: 1050;
	/* ponad headerem i footerem */
}

/* ukrywanie – wystarcza atrybut hidden */
[hidden].wycena-modal {
	display: none
}

/* === Okienko === */
.wycena-box {
	background: #fff;
	padding: 2rem 3rem;
	border-radius: .5rem;
	max-width: 90%;
	text-align: center;
}

.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
	color: white;
	pointer-events: visiblepainted;
	background-color: var(--tg-theme-primary);
	opacity: 1;
}


.wycena-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .6);
	z-index: 9999;
}

.wycena-box {
	background: #fff;
	padding: 2rem 3rem;
	border-radius: 12px;
	text-align: center;
	max-width: 90%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.honeypot {
	position: absolute !important;
	left: -9999px;
}

.offCanvas__info {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.offCanvas__close-icon {
	top: 2%;
	right: 7%;
	position: absolute;
}

.multi-step-form {
	position: relative;
	height: 90vh;
	width: 90%;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.multi-step-form::-webkit-scrollbar {
	display: none;
}

.title h4 {
	position: relative;
	z-index: 1;
	text-align: center;
	width: 100%;
}

.form-slides-vertical {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.form-slide {
	scroll-snap-align: start;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	z-index: 10;
}

.form-buttons {
	position: fixed;
	top: 50%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 2%;
	z-index: 0;
}

.form-progress-indicator {
	position: fixed;
	top: 2%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 20;
}

.form-progress-indicator i {
	color: #ccc;
	font-size: 12px;
	transition: color 0.3s ease;
}

.form-progress-indicator i.active {
	color: #f58220;
}

/* === CHOICE GROUP === */
.choice-group {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 40px auto;
}

.choice-group input[type="radio"],
.choice-group input[type="checkbox"] {
	display: none;
}

.choice-btn::before {
	content: none !important;
}

.choice-btn {
	padding: 0px;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 180px;
	border: 1px solid #E1863B;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	background-color: white;
}

.choice-btn i {
	font-size: 50px;
	/* przywrócona większa ikona */
	color: #E1863B;
	margin-bottom: 12px;
	/* odstęp ikony od labela */
	transition: color 0.3s;
}

.choice-btn span {
	font-size: 15px;
	color: #2C3651;
	font-weight: 700;
	transition: color 0.3s;
	padding: 10px 20px;
	text-align: center;
	height: auto;
}

img.region {
	width: 70px;
}



input:checked+.choice-btn {
	background-color: #E1863B;
}

input:checked+.choice-btn i,
input:checked+.choice-btn span {
	color: white;
}

/* === RANGE === */
.range-value {
	font-weight: 500;
	color: #2C3651;
	margin-bottom: 10px;
}

.range-value span {
	font-size: 18px;
}

.range-input {
	width: 100%;
	-webkit-appearance: none;
	background: transparent;
	cursor: pointer;
	position: relative;
	margin-bottom: 20px;
}

.range-input::-webkit-slider-runnable-track {
	height: 2px;
	background: #2C3651;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #E1863B;
	margin-top: -7px;
	position: relative;
	z-index: 2;
}

.range-input::-moz-range-thumb {
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #E1863B;
	cursor: pointer;
}

/* === RÓŻNE === */
.form-bg {
	background: #162947;
}

.map-icon {
	font-size: 48px;
	color: #2C3651;
	margin-bottom: 10px;
}

.form-slide.bg-light {
	background-color: #f9f9f9;
}

.form-slide .form-control {
	border-radius: 0;
}

.form-slide .btn-warning {
	background-color: #f58220;
	border: none;
}

.form-slide .btn-warning:hover {
	background-color: #d86d11;
}

.form-slide .form-floating>label {
	color: #2C3651;
}

.form-check-input:checked {
	background-color: #f58220;
	border-color: #f58220;
}

.title::before {
	content: attr(data-step);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 12rem;
	font-weight: bold;
	color: #f58220;
	opacity: 0.1;
	z-index: 0;
	pointer-events: none;
	white-space: nowrap;
}

.choice-btn {
	padding-left: 0px !important;
}

@media (max-width: 768px) {
	.choice-group {
		display: flex;
		gap: 10px;
		justify-content: center;
		flex-wrap: wrap;
		margin: auto;
	}

	.choice-btn {
		width: 100%;
		flex-direction: row;
		justify-content: flex-start;
		padding: 12px !important;
		height: auto;
	}

	.choice-btn i {
		margin-bottom: 0;
		margin-right: 12px;
	}

	.choice-btn span {
		text-align: left;
	}

	img.region {
		width: 40px;
	}

	.form-slide {
		padding: 0px;
		min-height: 82vh;
	}

	.multi-step-form {
		width: 100%;
	}

	.appointment-wrap2 {
		padding: 10px;
	}

	.form-buttons {

		bottom: 10%;
		top: unset;


		padding: 0 1%;
		z-index: 11;
	}

	.prev-step,
	.next-step {
		min-width: unset;
		height: 20px;
	}

	select,
	.single-select,
	.form-control,
	.form-select,
	textarea,
	input {
		height: 50px;
		padding: 0 20px;

	}

	.nopadding {
		padding: 0px;
	}




}

.form-group label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
}

.form-group input[type="checkbox"] {
	visibility: visible !important;
	opacity: 1 !important;
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
	margin-right: 8px;
}

/* Styl 1: niestandardowa strzałka jako punktor */
#tresc ul {
	list-style: none;
	padding-left: 0;
}

#tresc ul li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 0.75em;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
}

#tresc ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 20px;
	height: 20px;
	background-image: url('https://marcinpohl.cfolks.pl/trivium/wp-content/uploads/2025/03/Strzalka-w-gore-1.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

img.arrow-icon {
	width: 25px;

}

.concest {
	font-weight: 100;
	font-size: 12px;
	line-height: normal;
	padding: 0;
	margin: 0px;
	word-wrap: normal;
}

#tresc h2 {

	display: inline-block;
	position: relative;
	font-size: 20px;
	padding-bottom: 8px;
	margin: 12px 0;
	color: var(--tg-body-color);
}


#tresc h2>b {

	font-weight: normal;
}

/* dodajemy dekorację tylko jeśli to NIE pierwszy h2 */
#tresc h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 45%;
	background-color: #ccc;
	/* cienka linia */
}

#tresc h2::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0px;
	height: 4px;
	width: 94px;
	background-color: #f58220;
}

@font-face {
	font-family: 'icomoon';
	src: url('fonts/icomoon.eot?vmnn5e');
	src: url('fonts/icomoon.eot?vmnn5e#iefix') format('embedded-opentype'),
		url('fonts/icomoon.ttf?vmnn5e') format('truetype'),
		url('fonts/icomoon.woff?vmnn5e') format('woff'),
		url('fonts/icomoon.svg?vmnn5e#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'icomoon' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-Arrow-Left:before {
	content: "\e94a";
}

.icon-Arrow-Right:before {
	content: "\e94b";
}

.icon-Ikona-Email-2:before {
	content: "\e946";
}

.icon-Ikona-Email-1:before {
	content: "\e947";
}

.icon-Ikona-Email:before {
	content: "\e948";
}

.icon-Ikona-Email-21:before {
	content: "\e949";
}

.icon-Mapa-swiata-2 .path1:before {
	content: "\e906";
	color: rgb(255, 105, 0);
}

.icon-Mapa-swiata-2 .path2:before {
	content: "\e907";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-swiata-2 .path3:before {
	content: "\e908";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-swiata-2 .path4:before {
	content: "\e90a";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-swiata-2 .path5:before {
	content: "\e90b";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-swiata-2 .path6:before {
	content: "\e90f";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-swiata-2 .path7:before {
	content: "\e910";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-swiata-2 .path8:before {
	content: "\e91f";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-swiata-2 .path9:before {
	content: "\e923";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-swiata-2 .path10:before {
	content: "\e92c";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-Polska-3 .path1:before {
	content: "\e92e";
	color: rgb(255, 105, 0);
}

.icon-Mapa-Polska-3 .path2:before {
	content: "\e938";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-Polska-3 .path3:before {
	content: "\e939";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-Polska-3 .path4:before {
	content: "\e93a";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Mapa-Polska-3 .path5:before {
	content: "\e93b";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Mapa-Polska-3 .path6:before {
	content: "\e93c";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Ikony-uzytkownikow-1:before {
	content: "\e93d";
}

.icon-Ikony-uzytkownikow:before {
	content: "\e93e";
}

.icon-Europe-location-icon-1 .path1:before {
	content: "\e93f";
	color: rgb(0, 0, 0);
}

.icon-Europe-location-icon-1 .path2:before {
	content: "\e940";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Europe-location-icon-1 .path3:before {
	content: "\e941";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Europe-location-icon-1 .path4:before {
	content: "\e942";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Europe-location-icon-1 .path5:before {
	content: "\e943";
	margin-left: -1em;
	color: rgb(0, 0, 0);
}

.icon-Europe-location-icon-1 .path6:before {
	content: "\e944";
	margin-left: -1em;
	color: rgb(255, 105, 0);
}

.icon-Polska-1:before {
	content: "\e945";
}

.icon-Ikony-porownawcze-1:before {
	content: "\e931";
}

.icon-Ikony-porownawcze:before {
	content: "\e932";
}

.icon-Deposit-icon-2:before {
	content: "\e933";
}

.icon-Deposit-Icon-1:before {
	content: "\e934";
}

.icon-Hotel-icon-5:before {
	content: "\e935";
}

.icon-Hotel-icon-4:before {
	content: "\e936";
}

.icon-Hotel-icon-3:before {
	content: "\e937";
}

.icon-Proposal-Icon-1:before {
	content: "\e92f";
}

.icon-Ikona-propozycji-biznesowej:before {
	content: "\e930";
}

.icon-Mapa-Swiata-1:before {
	content: "\e900";
}

.icon-Europe-location-icon:before {
	content: "\e901";
	color: #579bd3;
}

.icon-Europe-Icon:before {
	content: "\e902";
}

.icon-Polska:before {
	content: "\e903";
}

.icon-Mapa-Polska-1:before {
	content: "\e904";
}

.icon-Mapa-Swiata:before {
	content: "\e905";
}

.icon-Ikona-znizki:before {
	content: "\e909";
}

.icon-Oferta-ikona:before {
	content: "\e90c";
}

.icon-Patnosc-karta-1:before {
	content: "\e90d";
}

.icon-Patnosc-karta:before {
	content: "\e90e";
}

.icon-Czas-to-pieniadz-ikona:before {
	content: "\e911";
}

.icon-Pay-Time-Icon:before {
	content: "\e912";
}

.icon-Pay-Later-Icon:before {
	content: "\e913";
}

.icon-Globe-icon:before {
	content: "\e914";
}

.icon-Ikona-telefonu-1:before {
	content: "\e915";
}

.icon-Mapa-Polski:before {
	content: "\e916";
}

.icon-Mapa-Europy:before {
	content: "\e917";
}

.icon-Mapa-Polska:before {
	content: "\e918";
}

.icon-Ikony-konfiguracji:before {
	content: "\e919";
}

.icon-Ikona-konferencji:before {
	content: "\e91a";
}

.icon-Car-icon:before {
	content: "\e91b";
}

.icon-Car-Insurance-Icon:before {
	content: "\e91c";
}

.icon-Ikona-Pociagu-1:before {
	content: "\e91d";
}

.icon-Ikona-trybu-samolotowego:before {
	content: "\e91e";
}

.icon-Company-Icon:before {
	content: "\e920";
}

.icon-Company-User-Icon:before {
	content: "\e921";
}

.icon-Ikona-osoby:before {
	content: "\e922";
}

.icon-Ikona-rezerwacji-1:before {
	content: "\e924";
}

.icon-Ikona-rezerwacji:before {
	content: "\e925";
}

.icon-Hotel-icon-1:before {
	content: "\e926";
}

.icon-Hotel-review:before {
	content: "\e927";
}

.icon-Hotel-icon:before {
	content: "\e928";
}

.icon-Feature-Icon-1:before {
	content: "\e929";
}

.icon-Feature-Icon:before {
	content: "\e92a";
}

.icon-Oferta-Trivium-Travel-1:before {
	content: "\e92b";
	color: #f58220;
}

.icon-Oferta-Trivium-Travel:before {
	content: "\e92d";
	color: #f58220;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/* ========= kontener osi ========= */
.timeline-row {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 120px 0;
}

.slice-extension {
	flex: 1;
	height: 20px;
	color: #ccc;
	position: relative;
	display: block;
}

.slice-extension::before,
.slice-extension::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	background: currentColor;
	border-radius: 2px;
}

.slice-extension::before {
	top: 0;
	transform: skew(45deg);
}

.slice-extension::after {
	bottom: 0;
	transform: skew(-45deg);
}

.slice-tl {
	max-width: 1300px;
	width: 100%;
	padding: 0 15px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0;
}

/* ========= pojedynczy „kawałek” ========= */
.slice {
	flex: 1 1 20%;
	/* pięć punktów ⇒ 20 % */
	min-width: 140px;
	/* by się nie zapadło przy małych ekranach */
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

/* ========= opis ========= */
.slice__box {
	width: 220px;
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.slice__box .txt .strong {
	font-weight: 800;
	margin: 0px;
}

.slice__box.top {
	bottom: calc(100% + 80px);
	/* było 30px */
}


@media (max-width: 1199px) {
	.slice-extension {
		display: none;
	}
}

/* 30 px nad odcinkiem */
.slice__box.bottom {
	top: calc(100% + 80px);
}

/* 30 px pod odcinkiem */

.year {
	margin: 0px;
	color: #f58220;
	font-size: 22px;
	font-weight: 800;
}

.txt {

	color: var(--tg-body-font-family);
	margin: 0;
}


/* ========= kolorowa belka + strzałka ========= */
/* ========== kolorowa belka + strzałka ========== */
/* ========== kolorowa belka + strzałka ========== */
/* ========= kolorowa belka + strzałka ========= */
/* ========= kolorowa belka + strzałka ========= */
.slice__bar {
	position: relative;
	display: inline-block;
	width: 95%;
	/* długość całej strzałki */
	height: 20px;
	/* dwukrotność grubości pasków */
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	color: #596477;
	/* tu możesz podmienić na dowolny kolor */
}

/* górny i dolny pasek (połówki strzałki) */
.slice__bar::before,
.slice__bar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	/* grubość każdej połówki */
	background: currentColor;
	/* bierze kolor z .slice__bar */
	border-radius: 2px;
	/* zaokrąglone krawędzie */
	transition: background .3s;
}

/* górna połowa – pochylona w prawo */
.slice__bar::before {
	top: 0;
	transform: skew(45deg);
}

/* dolna połowa – pochylona w lewo */
.slice__bar::after {
	bottom: 0;
	transform: skew(-45deg);
}

/* opcjonalnie efekt hover */
.slice:nth-child(odd) .slice__bar {
	color: #f9a64d;
}

/* PARZYSTE: 2, 4, 6, ... */
.slice:nth-child(even) .slice__bar {
	color: #f58220;
}

/* białe kółko na środku odcinka */

/* pionowe kropki łączące .dot z opisem – stały kolor #596477 */
.slice__bar .dot {
	position: relative;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.slice__bar .dot::before {
	content: "";
	position: absolute;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #596477;
	/* tu stały kolor */
	transform: translateX(-50%);
}

.slice:nth-child(odd) .slice__bar .dot::before {
	top: -16px;
	box-shadow:
		0 -12px 0 #596477,
		0 -24px 0 #596477,
		0 -36px 0 #596477,
		0 -48px 0 #596477;
}

/* dla parzystych – kropki idą w dół */
.slice:nth-child(even) .slice__bar .dot::before {
	top: calc(100% + 16px);
	box-shadow:
		0 12px 0 #596477,
		0 24px 0 #596477,
		0 36px 0 #596477,
		0 48px 0 #596477;
}

.slice-extension {
	position: relative;
	height: 20px;
	background: none;
	border: none;
	color: #f0f3f8;
	/* szary kolor */
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Użyj tego samego stylu co .slice__bar */
.slice-extension::before,
.slice-extension::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	background: currentColor;
	border-radius: 2px;
}

/* Górna połowa */
.slice-extension::before {
	top: 0;
	transform: skew(45deg);
}

/* Dolna połowa */
.slice-extension::after {
	bottom: 0;
	transform: skew(-45deg);
}

/* Ukrywamy na mobilkach */
@media (max-width: 1199px) {
	.slice-extension {
		display: none;
	}
}


@media (min-width: 767px) {
	.timeline-row {

		height: 38vh;

	}
}


/* ========= kolory poszczególnych odcinków ========= */

/* ========= RESPONSYWNOŚĆ (linia pionowa) ========= */
@media (max-width: 767px) {
	.slice-tl {
		display: flex;
		flex-direction: column;
		gap: 60px;
		margin: 60px 0;
	}

	.slice {
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.slice__bar {
		order: 0;
		/* Timeline zawsze u góry */
		width: 90%;
		margin: 0 auto;
	}

	.slice__box,
	.slice__box.top,
	.slice__box.bottom {
		order: 1;
		/* Opis zawsze pod spodem */
		position: static;
		transform: none;
		margin-top: 16px;
		text-align: center;
		width: 100%;
	}

	.dot::before {
		display: block !important;
		position: absolute;
		left: 50%;
		top: calc(100% + 8px) !important;
		transform: translateX(-50%);
		width: 6px;
		height: 6px;
		background: #596477;
		border-radius: 50%;
		box-shadow:
			0 12px 0 #596477,
			0 24px 0 #596477,
			0 36px 0 #596477;
	}

	.slice:nth-child(odd) .dot::before,
	.slice:nth-child(even) .dot::before {
		top: calc(100% + 8px) !important;
		box-shadow:
			0 12px 0 #596477,
			0 24px 0 #596477,
			0 36px 0 #596477 !important;
	}

	.slice__box .year {
		margin-top: 60px;
		/* odstęp od zakończenia kropek */
	}

}