/* Slider Wyjazdow */ 
.st-slider-wyjazdow-wrapper {
	margin: 70px 0 40px 0;
}

@media screen and (max-width: 1000px) {
	.st-slider-wyjazdow-wrapper {
		margin-top: 50px;
	}
}

.st-slider-wrapper { 
    position: relative; 
    width: 100%; 
    margin: 40px 0; 
} 

.st-slider-header {
	padding: 30px 32px 85px 32px;
	box-sizing: border-box;
	
	font-size: 20px;
	font-weight: 300;
} 

.st-slider-header svg {
	margin-left: 10px;
}

.st-slider-wyjazdow-wrapper .st-slider-container {
	position: relative;
    display: flex; 
	padding: 0 24px;
	box-sizing: border-box;
    gap: 20px; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
} 

@media (hover: hover) and (pointer: fine) {
	.st-slider-wyjazdow-wrapper .st-slider-container {
		cursor: grab;
	}

	.st-slider-wyjazdow-wrapper .st-slider-container.st-dragging {
		cursor: grabbing;
	}

	.st-slider-wyjazdow-wrapper .st-slider-container.st-dragging * {
		user-select: none;
	}
}

.st-slider-track-wrapper {
	position: relative;
}

.st-slider-wyjazdow-wrapper .st-slider-container { 
	margin-top: -70px;
}

.st-slider-wyjazdow-wrapper .st-slider-container::-webkit-scrollbar { 
    display: none; 
} 

.st-slider-wyjazdow-wrapper .st-card-item { 
    flex: 0 0 85%;
    min-width: 285px; 
	max-width: 285px;
    box-sizing: border-box; 
    position: relative; /* Context for overlay */
	
	display: flex;
	flex-direction: column;
} 

.st-slider-wyjazdow-wrapper .st-card-shell {
    position: relative;
	flex-grow: 1;
}

.st-slider-wyjazdow-wrapper .st-card-child-icon-box {
    margin: 25px auto 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-slider-wyjazdow-wrapper .st-card-child-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.st-slider-wyjazdow-wrapper a.st-card-child-icon {
    cursor: pointer;
}

.st-slider-wyjazdow-wrapper .st-card-child-icon svg,
.st-slider-wyjazdow-wrapper .st-card-child-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.st-card-inner { 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
    color: #fff; 
} 

/* Image */ 
.st-card-img { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    position: relative; 
    overflow: hidden; 
	padding-bottom: 2px;
} 

.st-card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
} 

.st-no-img { 
    width: 100%; 
    height: 100%; 
    background-color: #231916; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 
.st-no-img:after { 
    content: "No Image"; 
    color: #555; 
    font-size: 12px; 
} 

.st-card-turnus-status {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	width: 100%;
	padding: 2px 8px;
	text-align: center;
	box-sizing: border-box;
	text-transform: lowercase;
}

.st-card-img-price {
	position: absolute;
	left: 0;
	bottom: 20px;
	z-index: 4;
	min-width: 115px;
	padding: 5px 10px;
	box-sizing: border-box;
	text-align: right;
	font-family: "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

/* Row 1: Title + Arrow */ 
.st-row-1 { 
	display: flex; 
	align-items: stretch;
    gap: 0 10px;
	box-sizing: border-box;
	background: #fff;
} 

	.st-row-1 .st-col-left { 
		flex: 1 1 auto;
		min-width: 0;
		display: flex; 
		flex-direction: column; 
		justify-content: center; 
		padding: 7px 0 7px 15px;
		box-sizing: border-box;
	} 

		.st-row-1 .st-col-left .st-card-title { 
			font-family: "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
			font-size: 14px; 
			line-height: 1.2; 
			font-weight: 500; 
			margin: 0; 
			color: #fff; 
			overflow: hidden;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			text-transform: lowercase;
		} 

	.st-col-right {
		flex-basis: 50px;
		flex-shrink: 0;
		align-self: stretch;
		display: flex; 
		justify-content: flex-end;
		align-items: center; 
		box-sizing: border-box;
		padding: 2px 2px 2px 0;
	} 

		.st-col-right .st-card-btn { 
			display: flex;
			align-items: center;
			justify-content: center;
			height: 100%;
			width: 100%;
			flex-grow: 1;
			color: #fff;
			line-height: 1;
			box-sizing: border-box;
			aspect-ratio: 1 / 1;
			transition: background 0.3s, color 0.3s;
		} 
		
		.st-col-right .st-card-btn span {
			display: inline-block;
			padding-left: 3px;
		}

			.st-card-btn svg { 
				display: block;
				height: 16px; 
				width: auto; 
				transition: transform 0.3s; 
			} 

/* Row 2: Transport & Duration */ 
.st-row-2 { 
    display: grid;
	grid-template-columns: 1fr 1fr;
    align-items: center; 
    justify-content: center; 
    font-size: 11px; 
	gap: 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 15px; 
	box-sizing: border-box;
	width: 100%;
	max-width: 235px;
	margin: 0 auto;
} 

.st-row-2 .st-col-left {
    display: flex; 
	justify-content: center;
}

.st-transport-item { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
} 

	.st-transport-item figure { 
		width: 20px;
		height: 20px;
	}

	.st-transport-item figure svg { 
		width: 100%; 
		height: 100%; 
		object-fit: contain;
	} 


.st-duration-box { 
    display: flex; 
    align-items: center; 
	justify-content: center;
    gap: 8px; 
	padding: 0 0;
}


	.st-duration-box figure { 
		width: 20px;
		height: 20px;
	}

	.st-duration-box figure svg { 
		width: 100%; 
		height: 100%; 
		object-fit: contain;
	} 



/* The user provided SVG has fill="#231916". On dark background this is invisible. 
   We need to change fill to #fff via CSS */ 
.st-icon-calendar svg path { 
    fill: #fff; 
} 

/* Dots Rows — shared 2-column grid so labels/values align across rows */
.st-row-dots-group {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    justify-items: start;
    column-gap: 15px;
    row-gap: 10px;
    padding: 0 15px 15px 15px;
    box-sizing: border-box;
	width: 100%;
	max-width: 235px;
    margin: 0 auto;
}

.st-row-dots-group > .st-dots-wrapper {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    align-items: center;
    justify-items: start;
    width: auto;
    min-width: 0;
}

.st-dots-label {
    min-width: 0;
    font-size: 11px; 
	text-align: left;
	text-transform: lowercase;
}

.st-nearest-term-label {
	font-weight: 500;
	text-transform: none;
	white-space: nowrap;
}

.st-nearest-term-date {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	text-align: left;
	white-space: nowrap;
} 

.st-dots-container { 
    display: flex; 
    gap: 8px; 
} 

.st-dot { 
    width: 6px; 
    height: 6px; 
    border: 1px solid #fff; 
    border-radius: 50%; 
    box-sizing: border-box; 
} 

.st-dot.filled { 
    background-color: #fff; 
}



/* Arrows */
.st-slider-arrow {
    position: absolute;
    top: 0 !important;
	height: 100%;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 15px 20px;
	transform: unset !important;
    transition: opacity 0.3s, transform 0.3s;
	background: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
}

.st-slider-wyjazdow-wrapper.has-child-icons .st-slider-arrow {
	height: calc(100% - 95px);
}

.st-slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.st-slider-arrow.st-hidden {
    opacity: 0;
    pointer-events: none;
}

.st-slider-arrow.st-prev {
    left: 0 !important;
	right: unset !important;
	transform: scaleX(-1) !important;
	
}

.st-slider-arrow.st-next {
    right: 0 !important;
	left: unset !important;
}

.st-slider-arrow.st-prev svg path,
.st-slider-arrow.st-next svg path {
	fill: #231916;
}

@media screen and (max-width: 1000px) {
	.st-slider-arrow {
		filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
	}

	.st-slider-arrow.st-prev {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
		background-blend-mode: multiply;
		
	}

	.st-slider-arrow.st-next {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
		background-blend-mode: multiply;
	}
	
	.st-slider-arrow.st-prev svg path,
	.st-slider-arrow.st-next svg path {
		fill: #fff;
	}
}


/* OVERLAY STYLES */
.st-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    opacity: 0;
	background: #fff;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}

/* Top Section (Dark with Image) */
.st-card-overlay .st-overlay-top {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
	flex-grow: 1;
}

.st-card-overlay .st-overlay-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.st-card-overlay .st-overlay-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #231916B2;
    z-index: 2;
}

.st-card-overlay .st-overlay-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 15px 22px;
    box-sizing: border-box;
	font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
}

.st-card-overlay .st-overlay-miasta {
	flex: 0 0 auto;
    text-align: center;
    font-weight: 400;
    font-size: 11px;
    color: #fff;
    line-height: 1.2;
}

.st-card-overlay .st-overlay-price-bar {
	flex: 0 0 auto;
	width: calc(100% + 44px);
	margin-left: -22px;
	margin-right: -22px;
	padding: 8px 22px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	line-height: 1.2;
}

.st-card-overlay .st-overlay-price-deposit {
	font-size: 11px;
	font-weight: 300;
	white-space: nowrap;
}

.st-card-overlay .st-overlay-price-from {
	font-family: "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.st-card-overlay .st-overlay-mid {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 8px 12px;
	width: 100%;
	margin: 0 auto;
	max-width: 200px;
	min-height: 0;
}

.st-card-overlay .st-overlay-details {
    display: grid;
    /* mobile default (≤1000): 2 cols — desktop override in style.css */
    grid-template-columns: 1fr 1fr;
    gap: 5px 12px;
    width: 100%;
    max-width: none;
    margin: 0;
	padding: 0;
	box-sizing: border-box;
	flex: 0 0 auto;
}

.st-card-overlay .st-overlay-mid .st-overlay-dots-group {
	grid-template-columns: 1fr;
	row-gap: 2px;
	width: auto;
	padding: 0px 8px;
	border: 1px solid var(--st-overlay-accent, #fff);
	margin: 4px -8px;
	outline: 0;
}
	
.st-card-overlay .st-overlay-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #fff;
	font-weight: 300;
	min-width: 0;
}

.st-card-overlay .st-overlay-icon {
    width: 20px;
	min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-card-overlay .st-overlay-icon svg, 
.st-card-overlay .st-overlay-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.st-card-overlay .st-overlay-value {
	line-height: 1.2;
    font-size: 11px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.st-card-overlay .st-overlay-dots-group {
    width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    display: grid;
    /* mobile default — desktop override in style.css */
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
    column-gap: 12px;
    row-gap: 5px;
	flex: 0 0 auto;
}

.st-card-overlay .st-overlay-dots-dedicated {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 12px;
	row-gap: 5px;
	width: 100%;
	box-sizing: border-box;
	margin-top: 2px;
	padding: 0;
	outline: 2px solid var(--st-overlay-dedicated-accent, #fff);
	outline-offset: 4px;
}

.st-card-overlay .st-overlay-dots-group .st-dots-wrapper {
	display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: flex-start;
	gap: 8px;
	width: auto;
    min-width: 0;
    text-align: left;
}

.st-card-overlay .st-overlay-dots-group .st-dots-label {
	flex-grow: 1;
    font-size: 11px;
    min-width: 0;
	font-weight: 300;
    color: #fff;
    text-align: left;
}

.st-card-overlay .st-dots-container {
    display: flex;
    justify-content: flex-start;
	flex-shrink: 0;
}

.st-card-overlay .st-overlay-dots-group .st-dot {
    width: 6px;
    height: 6px;
    border-color: #fff;
}

.st-card-overlay .st-overlay-dots-group .st-dot.filled {
    background-color: #fff;
}

.st-card-overlay .st-overlay-tag-wrapper {
	flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.st-card-overlay .st-overlay-tag {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    display: inline-block;
}

.st-card-overlay .st-overlay-bottom {
    display: flex;
    flex-direction: column;
    background: transparent;
	min-height: 0;
}

.st-card-overlay .st-overlay-white-section {
    background: #fff;
    padding: 12px 22px;
	color: #231916;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 2px;
	flex: 1 1 auto;
	box-sizing: border-box;
	min-height: 0;
}

.st-card-overlay .st-card-title {
	font-weight: 500;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.st-card-overlay .st-card-date {
	font-size: 12px;
	line-height: 1.4;
}

.st-card-overlay .st-overlay-cta {
	font-family: "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
    padding: 0 2px 2px 2px;
	flex-grow: 0;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    display: grid;
	grid-template-columns: 1fr 50px;
    align-items: center;
	line-height: 1;
	box-sizing: border-box;
}

	.st-card-overlay .st-overlay-cta span.txt {
		font-weight: 500;
		text-align: center;
		grid-column: 1;
	}

	.st-card-overlay .st-overlay-cta span.arrow {
		grid-column: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 50px;
		border: 2px solid currentColor; /* = kolor tekstu CTA: biały, a na jasnym akcencie (żółtym) ciemny */
		box-sizing: border-box;
		justify-self: end;
	}

	.st-card-overlay .st-overlay-cta span.arrow svg {
		display: block;
		width: 10px;
		height: auto;
	}


@media screen and (min-width: 1001px) {
	.st-card-img-price {
		min-width: 155px;
		font-size: 20px;
	}

	.st-card-overlay .st-overlay-price-deposit {
		font-size: 15px;
	}

	.st-card-overlay .st-overlay-price-from {
		font-size: 19px;
	}

	.st-card-overlay .st-overlay-cta {
		font-size: 20px;
	}

	.st-card-overlay .st-overlay-details {
		max-width: none;
		width: 100%;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 12px 16px;
	}
	
	@media screen and (max-width: 1600px) {
		.st-card-overlay .st-overlay-details {
			max-width: none;
			width: 100%;
			grid-template-columns: 1fr 1fr;
			gap: 12px 16px;
		}
	}

	.st-card-overlay .st-overlay-detail-item {
		font-size: 16px;
	}

	.st-card-overlay .st-overlay-miasta {
		font-size: 15px;
	}

	.st-card-overlay .st-overlay-dots-group {
		max-width: none;
		width: 100%;
		grid-template-columns: 1fr 1fr;
	}


	.st-card-overlay .st-overlay-dots-dedicated {
		grid-template-columns: 1fr 1fr;
	}

	.st-card-overlay .st-overlay-dots-group .st-dots-label {
		font-size: 14px;
	}
	
	.st-card-overlay .st-overlay-dots-group .st-dots-wrapper {
		display: flex;
		grid-column: auto;
		width: auto;
	}
	
	.st-card-overlay .st-overlay-dots-group .st-dot {
		width: 8px;
		height: 8px;
	}

	.st-card-overlay .st-overlay-white-section {
		padding: 12px 22px;
		justify-content: flex-start;
	}
	
	.st-row-1 .st-col-left .st-card-title,
	.st-card-overlay .st-card-title {
		font-weight: 300;
		font-family: "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
		font-size: 18px;
		line-height: 1.3;
		text-transform: unset;
	}
	
	.st-card-overlay .st-card-date {
		font-size: 14px;
	}
	
	.st-card-overlay .st-overlay-cta span.arrow {
		width: 65px;
		height: 65px;
	}
	
	.st-card-overlay .st-overlay-mid {
		max-width: 100%;
	}
	
	.st-row-2 {
		font-size: 14px;
	}	
	
	.st-dots-label {
		font-size: 14px;
	}
	
	.st-nearest-term-date {
		font-size: 11px;
	}

	.st-col-right {
		flex-basis: 55px;
		
	}
	
	.st-card-overlay .st-overlay-value {
		font-size: 14px;
	}
}


/* Hover kafelka — desktop: szczegóły po 2 w rzędzie, większe ikony, oceny jedna pod drugą w ramce akcentu. */
@media screen and (min-width: 1001px) {
	.st-card-overlay .st-overlay-content-wrapper .st-overlay-mid {
		width: 90%;
		max-width: 280px;
		margin: 0 auto;
	}

	.st-card-overlay .st-overlay-mid .st-overlay-details {
		grid-template-columns: 1fr 1fr;
		gap: 14px 16px;
	}

	.st-card-overlay .st-overlay-mid .st-overlay-icon {
		width: 32px;
		min-width: 32px;
		height: 32px;
	}

	.st-card-overlay .st-overlay-mid .st-overlay-detail-item,
	.st-card-overlay .st-overlay-mid .st-overlay-value {
		font-size: 15px;
		font-weight: 300;
	}

	/* Ramka na zewnątrz: ujemny margines boczny = padding (10px) + border (2px),
	   więc kolumny ocen pokrywają się z kolumnami .st-overlay-details. Mniejszy odstęp w pionie (5px). */
	.st-card-overlay .st-overlay-mid .st-overlay-dots-group {
        grid-template-columns: 1fr;
        row-gap: 2px;
        width: auto;
        padding: 0px 8px;
        border: 2px solid var(--st-overlay-accent, #fff);
        margin: 4px -8px;
        outline: 0;
	}

	.st-card-overlay .st-overlay-mid .st-overlay-dots-dedicated {
		grid-template-columns: 1fr;
	}

	/* Te same kolumny co .st-overlay-details: etykieta | kropki (od lewej). */
	.st-card-overlay .st-overlay-mid .st-overlay-dots-group .st-dots-wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
		align-items: center;
		justify-items: start;
	}

	.st-card-overlay .st-overlay-mid .st-overlay-dots-group .st-dots-label {
		min-width: 0;
		font-size: 15px;
		font-weight: 300;
	}

	.st-card-overlay .st-overlay-mid .st-dots-container {
		justify-content: flex-start;
		gap: 8px;
	}
	
	.st-row-2,
	.st-row-dots-group {
		max-width: 280px;
	}

	.st-row-dots-group {
		column-gap: 20px;
	}
	
}
