/* =========================================================================
   PDS Portfolio Showcase
   Palette: steel ink, concrete, signal amber (site-safety signage).
   Override any token on .pds-pf, or use the shortcode "accent" attribute.
   ========================================================================= */

.pds-pf,
.pds-pv,
.pds-lb {
	--pds-ink: #1c2730;
	--pds-steel: #3e4c57;
	--pds-concrete: #e4e7e5;
	--pds-paper: #ffffff;
	--pds-accent: #f2b705;
	--pds-on-accent: #1c2730;
	--pds-night: #141e25;
	--pds-ease: cubic-bezier(.2, .7, .2, 1);
	box-sizing: border-box;
}

.pds-pf *,
.pds-pf *::before,
.pds-pf *::after,
.pds-pv *,
.pds-pv *::before,
.pds-pv *::after,
.pds-lb *,
.pds-lb *::before,
.pds-lb *::after {
	box-sizing: inherit;
}

/* Neutralise theme / Elementor button styles inside our components. */
.pds-pf button,
.pds-pv button,
.pds-lb button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	min-height: 0;
	width: auto;
	cursor: pointer;
}
.pds-pf button:hover,
.pds-pf button:focus,
.pds-pv button:hover,
.pds-pv button:focus,
.pds-lb button:hover,
.pds-lb button:focus {
	background: transparent;
	color: inherit;
	box-shadow: none;
	border-color: transparent;
}
.pds-pf button:focus-visible,
.pds-pv button:focus-visible,
.pds-lb button:focus-visible {
	outline: 3px solid var(--pds-accent);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ Grid */

.pds-pf {
	--pds-gap: clamp(12px, 1.8vw, 22px);
	--pds-cols: 3;
	--pds-cols-t: 2;
	--pds-cols-m: 1;
	--pds-ratio: 4/3;
	color: var(--pds-ink);
}

.pds-pf .pds-pf__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0 0 clamp(20px, 3vw, 32px);
	padding: 0;
}

.pds-pf .pds-pf__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	border: 1px solid rgba(28, 39, 48, .16);
	border-radius: 4px;
	background: var(--pds-paper);
	color: var(--pds-steel);
	font-size: .9375rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pds-pf .pds-pf__filter:hover,
.pds-pf .pds-pf__filter:focus {
	background: var(--pds-concrete);
	color: var(--pds-ink);
	border-color: rgba(28, 39, 48, .24);
}
.pds-pf .pds-pf__filter.is-active,
.pds-pf .pds-pf__filter.is-active:hover,
.pds-pf .pds-pf__filter.is-active:focus {
	background: var(--pds-ink);
	border-color: var(--pds-ink);
	color: #fff;
}
.pds-pf .pds-pf__count {
	font-size: .8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	opacity: .6;
}
.pds-pf .pds-pf__filter.is-active .pds-pf__count {
	color: var(--pds-accent);
	opacity: 1;
}

.pds-pf .pds-pf__grid {
	display: grid;
	grid-template-columns: repeat(var(--pds-cols), minmax(0, 1fr));
	gap: var(--pds-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-pf .pds-pf__item {
	margin: 0;
	padding: 0;
	min-width: 0;
}
.pds-pf .pds-pf__item::before,
.pds-pf .pds-pf__item::marker {
	content: none;
}
.pds-pf .pds-pf__item[hidden],
.pds-pf:not(.is-ready) .pds-pf__item.is-paged {
	display: none !important;
}

.pds-pf .pds-pf__card {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 6px;
	background: var(--pds-steel);
	isolation: isolate;
}

.pds-pf .pds-pf__media {
	position: relative;
	aspect-ratio: var(--pds-ratio);
	overflow: hidden;
}
.pds-pf .pds-pf__media img,
.pds-pf .pds-pf__ph {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	transition: transform .9s var(--pds-ease);
}
.pds-pf .pds-pf__ph {
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px),
		var(--pds-steel);
}

.pds-pf .pds-pf__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(20, 30, 37, .92) 0%, rgba(20, 30, 37, .55) 34%, rgba(20, 30, 37, 0) 62%);
	pointer-events: none;
}

/* The signature element: an amber site tag with a cut corner. */
.pds-pf .pds-pf__badge {
	position: absolute;
	top: 16px;
	left: 0;
	z-index: 2;
	padding: 6px 14px 6px 12px;
	background: var(--pds-accent);
	color: var(--pds-on-accent);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.2;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
	pointer-events: none;
}

.pds-pf .pds-pf__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: clamp(16px, 1.8vw, 22px);
	color: #fff;
	pointer-events: none;
}
.pds-pf .pds-pf__title {
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.pds-pf .pds-pf__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}
.pds-pf .pds-pf__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0;
	min-width: 0;
	color: rgba(255, 255, 255, .78);
	font-size: .875rem;
	line-height: 1.35;
}
.pds-pf .pds-pf__year {
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, .6);
}
.pds-pf .pds-pf__photos {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 3px;
	color: #fff;
	font-size: .8125rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* Whole card is the click target. */
.pds-pf .pds-pf__open,
.pds-pf .pds-pf__open:hover,
.pds-pf .pds-pf__open:focus {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	background: transparent;
	cursor: zoom-in;
}
.pds-pf .pds-pf__open:focus-visible {
	outline: 3px solid var(--pds-accent);
	outline-offset: -3px;
	border-radius: 6px;
}

@media (hover: hover) {
	.pds-pf .pds-pf__card:hover .pds-pf__media img {
		transform: scale(1.05);
	}
	.pds-pf .pds-pf__card:hover .pds-pf__photos {
		background: var(--pds-accent);
		border-color: var(--pds-accent);
		color: var(--pds-on-accent);
	}
}

/* Bento: fixed rows, every seventh visible card is large (desktop only). */
.pds-pf--bento .pds-pf__grid {
	grid-auto-flow: dense;
	grid-auto-rows: clamp(210px, 19vw, 290px);
}
.pds-pf--bento .pds-pf__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}
@media (min-width: 1025px) {
	.pds-pf--bento .pds-pf__item.is-feature {
		grid-column: span 2;
		grid-row: span 2;
	}
	.pds-pf--bento .pds-pf__item.is-feature .pds-pf__title {
		font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem);
	}
}

/* Filter feedback: answers the person's click, nothing on page load. */
@keyframes pds-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}
.pds-pf .pds-pf__item.is-in {
	animation: pds-rise .5s var(--pds-ease) both;
	animation-delay: calc(var(--i, 0) * 40ms);
}

.pds-pf .pds-pf__empty {
	margin: 24px 0 0;
	padding: 28px;
	border: 1px dashed rgba(28, 39, 48, .25);
	border-radius: 6px;
	color: var(--pds-steel);
	text-align: center;
}
.pds-pf .pds-pf__empty[hidden],
.pds-pf .pds-pf__more[hidden] {
	display: none;
}

.pds-pf .pds-pf__more {
	display: flex;
	justify-content: center;
	margin-top: clamp(24px, 3vw, 36px);
}
.pds-pf .pds-pf__more-btn {
	padding: 13px 26px;
	border: 2px solid var(--pds-ink);
	border-radius: 4px;
	color: var(--pds-ink);
	font-weight: 700;
	transition: background-color .2s ease, color .2s ease;
}
.pds-pf .pds-pf__more-btn:hover,
.pds-pf .pds-pf__more-btn:focus {
	background: var(--pds-ink);
	border-color: var(--pds-ink);
	color: #fff;
}

.pds-pf .pds-pf__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.pds-pf .pds-pf__grid {
		grid-template-columns: repeat(var(--pds-cols-t), minmax(0, 1fr));
	}
	.pds-pf--bento .pds-pf__grid {
		grid-auto-rows: auto;
	}
	.pds-pf--bento .pds-pf__media {
		position: relative;
		aspect-ratio: var(--pds-ratio);
	}
}

@media (max-width: 640px) {
	.pds-pf .pds-pf__grid {
		grid-template-columns: repeat(var(--pds-cols-m), minmax(0, 1fr));
	}
	/* Filters become a swipeable strip that bleeds to the screen edge. */
	.pds-pf .pds-pf__filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-right: calc(-1 * var(--pds-gap));
		margin-left: calc(-1 * var(--pds-gap));
		padding: 2px var(--pds-gap) 6px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-inline: var(--pds-gap);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.pds-pf .pds-pf__filters::-webkit-scrollbar {
		display: none;
	}
	.pds-pf .pds-pf__filter {
		scroll-snap-align: start;
		padding: 10px 14px;
	}
	.pds-pf .pds-pf__badge {
		top: 12px;
	}
}
@media (max-width: 640px) {
	/* Two-column phones get a tighter card. */
	.pds-pf[style*="--pds-cols-m:2"] .pds-pf__body {
		padding: 12px;
	}
	.pds-pf[style*="--pds-cols-m:2"] .pds-pf__title {
		font-size: .95rem;
		margin-bottom: 6px;
	}
	.pds-pf[style*="--pds-cols-m:2"] .pds-pf__meta {
		display: none;
	}
	.pds-pf[style*="--pds-cols-m:2"] .pds-pf__badge {
		padding: 4px 10px 4px 8px;
		font-size: .75rem;
	}
}

/* ------------------------------------------------------- Scroll locking */

html.pds-lock {
	overflow: hidden !important;
}
html.pds-lock body {
	overflow: hidden !important;
	padding-right: var(--pds-sbw, 0px);
}

/* ------------------------------------------------- Project panel (pv) */

.pds-pv {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	background: var(--pds-night);
	color: #e3e8eb;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .3s ease, transform .4s var(--pds-ease);
}
.pds-pv.is-open {
	opacity: 1;
	transform: none;
}
.pds-pv[hidden] {
	display: none;
}

.pds-pv .pds-pv__bar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 3vw, 32px) 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pds-pv .pds-pv__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px 9px 10px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 4px;
	color: #fff;
	font-size: .9375rem;
	font-weight: 600;
	transition: background-color .2s ease, border-color .2s ease;
}
.pds-pv .pds-pv__back:hover,
.pds-pv .pds-pv__back:focus {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}

.pds-pv .pds-iconbtn,
.pds-lb .pds-iconbtn {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	background: rgba(255, 255, 255, .04);
	color: #fff;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pds-pv .pds-iconbtn:focus,
.pds-lb .pds-iconbtn:focus {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(255, 255, 255, .16);
	color: #fff;
}
.pds-pv .pds-iconbtn:hover,
.pds-lb .pds-iconbtn:hover {
	background: var(--pds-accent);
	border-color: var(--pds-accent);
	color: var(--pds-on-accent);
}
.pds-pv svg,
.pds-lb svg {
	display: block;
	pointer-events: none;
}

.pds-pv .pds-pv__scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.pds-pv .pds-pv__inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: clamp(22px, 4vw, 52px) clamp(12px, 3vw, 32px) calc(56px + env(safe-area-inset-bottom, 0px));
}
.pds-pv .pds-pv__head {
	max-width: 880px;
	margin: 0 0 clamp(22px, 3vw, 40px);
}
.pds-pv .pds-pv__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}
.pds-pv .pds-pv__chip {
	padding: 5px 12px 5px 10px;
	background: var(--pds-accent);
	color: var(--pds-on-accent);
	font-size: .8125rem;
	font-weight: 700;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.pds-pv .pds-pv__title {
	margin: 0 0 18px;
	padding: 0;
	color: #fff;
	font-size: clamp(1.65rem, 1.1rem + 2.3vw, 2.9rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.pds-pv .pds-pv__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp(20px, 3vw, 40px);
	margin: 0 0 18px;
	padding: 0;
}
.pds-pv .pds-pv__facts[hidden],
.pds-pv .pds-pv__desc[hidden],
.pds-pv .pds-pv__chips[hidden] {
	display: none;
}
.pds-pv .pds-pv__fact {
	margin: 0;
	padding-left: 12px;
	border-left: 2px solid var(--pds-accent);
}
.pds-pv .pds-pv__fact dt {
	margin: 0 0 2px;
	color: rgba(227, 232, 235, .6);
	font-size: .8125rem;
	font-weight: 500;
}
.pds-pv .pds-pv__fact dd {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
}
.pds-pv .pds-pv__desc {
	max-width: 68ch;
	color: rgba(227, 232, 235, .82);
	font-size: 1rem;
	line-height: 1.7;
}
.pds-pv .pds-pv__desc > :first-child { margin-top: 0; }
.pds-pv .pds-pv__desc > :last-child { margin-bottom: 0; }
.pds-pv .pds-pv__desc a { color: var(--pds-accent); }

/* Justified rows, contact-sheet style: preserves order and every photo's shape. */
.pds-pv .pds-pv__gallery {
	--row: 240px;
	--g: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--g);
}
.pds-pv .pds-pv__gallery::after {
	content: "";
	flex-grow: 1000000;
}
.pds-pv .pds-pv__tile,
.pds-pv .pds-pv__tile:hover,
.pds-pv .pds-pv__tile:focus {
	position: relative;
	display: block;
	flex: calc(var(--r, 1.5) * 1000) 1 calc(var(--r, 1.5) * var(--row));
	aspect-ratio: var(--r, 1.5);
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, .05);
	cursor: zoom-in;
}
.pds-pv .pds-pv__tile img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	opacity: 0;
	transition: opacity .5s ease, transform .7s var(--pds-ease);
}
.pds-pv .pds-pv__tile.is-loaded img {
	opacity: 1;
}
.pds-pv .pds-pv__tile:focus-visible {
	outline: 3px solid var(--pds-accent);
	outline-offset: 2px;
}
@media (hover: hover) {
	.pds-pv .pds-pv__tile:hover img {
		transform: scale(1.04);
	}
}

@media (max-width: 1024px) {
	.pds-pv .pds-pv__gallery { --row: 190px; }
}
@media (max-width: 640px) {
	.pds-pv .pds-pv__gallery { --row: 82px; --g: 4px; }
	.pds-pv .pds-pv__tile { border-radius: 2px; }
	.pds-pv .pds-pv__back span { display: none; }
	.pds-pv .pds-pv__back { padding: 9px; border-radius: 50%; }
}

/* ------------------------------------------------------------- Lightbox */

.pds-lb {
	--fade: 1;
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr);
	color: #fff;
	opacity: 0;
	transition: opacity .25s ease;
}
.pds-lb.is-open { opacity: 1; }
.pds-lb[hidden] { display: none; }

.pds-lb .pds-lb__backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(11, 17, 21);
	opacity: var(--fade);
}

.pds-lb .pds-lb__top,
.pds-lb .pds-lb__bottom,
.pds-lb .pds-lb__nav {
	transition: opacity .25s ease;
}
.pds-lb.is-chrome-hidden .pds-lb__top,
.pds-lb.is-chrome-hidden .pds-lb__bottom,
.pds-lb.is-chrome-hidden .pds-lb__nav,
.pds-lb.is-zoomed .pds-lb__nav {
	opacity: 0;
	pointer-events: none;
}

.pds-lb .pds-lb__top {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 2vw, 24px) 10px;
}
.pds-lb .pds-lb__counter {
	flex: none;
	padding: 6px 12px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .08);
	font-size: .875rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pds-lb .pds-lb__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, .78);
	font-size: .9375rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pds-lb .pds-lb__stage {
	position: relative;
	overflow: hidden;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}
.pds-lb .pds-lb__track {
	display: flex;
	height: 100%;
	transform: translate3d(-100%, 0, 0);
	will-change: transform;
}
.pds-lb .pds-lb__slide {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 0 clamp(8px, 7vw, 100px);
}
.pds-lb .pds-lb__slide::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 3px solid rgba(255, 255, 255, .15);
	border-top-color: var(--pds-accent);
	border-radius: 50%;
	animation: pds-spin .8s linear infinite;
}
.pds-lb .pds-lb__slide.is-loaded::before,
.pds-lb .pds-lb__slide.is-empty::before {
	content: none;
}
@keyframes pds-spin { to { transform: rotate(360deg); } }

.pds-lb .pds-lb__slide img {
	position: relative;
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	border-radius: 2px;
	object-fit: contain;
	opacity: 0;
	transition: opacity .35s ease, transform .3s var(--pds-ease);
	-webkit-user-drag: none;
	user-select: none;
	cursor: zoom-in;
}
.pds-lb .pds-lb__slide.is-loaded img { opacity: 1; }
.pds-lb.is-zoomed .pds-lb__slide img { cursor: grab; }
.pds-lb.is-dragging .pds-lb__slide img { transition: opacity .35s ease; }

.pds-lb .pds-lb__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	margin-top: -26px;
}
.pds-lb .pds-lb__nav.pds-iconbtn {
	width: 52px;
	height: 52px;
}
.pds-lb .pds-lb__nav--prev { left: clamp(10px, 2vw, 28px); }
.pds-lb .pds-lb__nav--next { right: clamp(10px, 2vw, 28px); }
.pds-lb .pds-lb__nav[hidden] { display: none; }

.pds-lb .pds-lb__bottom {
	padding: 8px clamp(12px, 2vw, 24px) calc(14px + env(safe-area-inset-bottom, 0px));
}
.pds-lb .pds-lb__caption {
	max-width: 70ch;
	min-height: 1.4em;
	margin: 0 auto 10px;
	color: rgba(255, 255, 255, .82);
	font-size: .9375rem;
	line-height: 1.4;
	text-align: center;
}
.pds-lb .pds-lb__thumbs {
	display: flex;
	gap: 6px;
	padding: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
}
.pds-lb .pds-lb__thumbs::-webkit-scrollbar { display: none; }
.pds-lb .pds-lb__thumbs > :first-child { margin-left: auto; }
.pds-lb .pds-lb__thumbs > :last-child { margin-right: auto; }
.pds-lb .pds-lb__thumbs[hidden] { display: none; }

.pds-lb .pds-lb__thumb,
.pds-lb .pds-lb__thumb:hover,
.pds-lb .pds-lb__thumb:focus {
	flex: none;
	width: 64px;
	height: 46px;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 3px;
	opacity: .45;
	transition: opacity .2s ease, border-color .2s ease;
}
.pds-lb .pds-lb__thumb:hover { opacity: .8; }
.pds-lb .pds-lb__thumb.is-active {
	border-color: var(--pds-accent);
	opacity: 1;
}
.pds-lb .pds-lb__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

@media (max-width: 640px) {
	.pds-lb .pds-lb__nav { display: none; }
	.pds-lb .pds-lb__slide { padding: 0; }
	.pds-lb .pds-lb__slide img { border-radius: 0; }
	.pds-lb .pds-lb__thumb { width: 52px; height: 38px; }
	.pds-lb .pds-lb__caption { font-size: .875rem; }
}

/* ------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
	.pds-pf *,
	.pds-pv,
	.pds-pv *,
	.pds-lb,
	.pds-lb * {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.pds-lb .pds-lb__slide::before {
		animation: none !important;
	}
}

/* ---------------------------------------------------------------- Slider
   Native scroll-snap track: swipe on touch, drag with a mouse, arrows and
   position bars below. Slides per view follow the columns settings. */

.pds-pf--slider {
	--pds-spv: var(--pds-cols);
}
@media (max-width: 1024px) {
	.pds-pf--slider { --pds-spv: calc(var(--pds-cols-t) + var(--pds-peek, 0)); }
}
@media (max-width: 640px) {
	.pds-pf--slider { --pds-spv: calc(var(--pds-cols-m) + var(--pds-peek, 0)); }
}

.pds-pf--slider .pds-pf__slider {
	position: relative;
}

.pds-pf--slider .pds-pf__track {
	display: flex;
	gap: var(--pds-gap);
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}
.pds-pf--slider .pds-pf__track::-webkit-scrollbar {
	display: none;
}
.pds-pf--slider.is-static .pds-pf__track {
	cursor: auto;
}
.pds-pf--slider.is-dragging .pds-pf__track {
	scroll-snap-type: none;
	scroll-behavior: auto;
	cursor: grabbing;
	user-select: none;
}
.pds-pf--slider.is-dragging .pds-pf__open {
	pointer-events: none;
}

.pds-pf--slider .pds-pf__item {
	flex: 0 0 calc((100% - (var(--pds-spv) - 1) * var(--pds-gap)) / var(--pds-spv));
	scroll-snap-align: start;
}
.pds-pf--slider .pds-pf__card img {
	-webkit-user-drag: none;
	user-select: none;
}

.pds-pf--slider .pds-pf__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: clamp(16px, 2vw, 24px);
}
.pds-pf--slider .pds-pf__controls.is-hidden,
.pds-pf--slider.is-static .pds-pf__controls {
	display: none;
}

/* Position bars: one per stop, the current one longer and amber. */
.pds-pf--slider .pds-pf__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	min-width: 0;
}
.pds-pf .pds-pf__dot,
.pds-pf .pds-pf__dot:hover,
.pds-pf .pds-pf__dot:focus {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 3px;
	background: transparent;
}
.pds-pf .pds-pf__dot::before {
	content: "";
	display: block;
	width: 16px;
	height: 4px;
	border-radius: 2px;
	background: rgba(28, 39, 48, .2);
	transition: width .3s var(--pds-ease), background-color .3s ease;
}
.pds-pf .pds-pf__dot:hover::before {
	background: rgba(28, 39, 48, .45);
}
.pds-pf .pds-pf__dot.is-active::before {
	width: 34px;
	background: var(--pds-accent);
}

.pds-pf--slider .pds-pf__arrows {
	display: flex;
	flex: none;
	gap: 8px;
	margin-left: auto;
}
.pds-pf .pds-pf__arrow,
.pds-pf .pds-pf__arrow:focus {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(28, 39, 48, .25);
	border-radius: 4px;
	background: var(--pds-paper);
	color: var(--pds-ink);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.pds-pf .pds-pf__arrow:hover {
	background: var(--pds-ink);
	border-color: var(--pds-ink);
	color: #fff;
}
.pds-pf .pds-pf__arrow[disabled],
.pds-pf .pds-pf__arrow[disabled]:hover {
	background: var(--pds-paper);
	border-color: rgba(28, 39, 48, .15);
	color: var(--pds-ink);
	opacity: .35;
	cursor: default;
}
.pds-pf .pds-pf__arrow svg {
	display: block;
	pointer-events: none;
}

@media (max-width: 640px) {
	.pds-pf .pds-pf__arrow { width: 44px; height: 44px; }
	.pds-pf .pds-pf__dot::before { width: 10px; }
	.pds-pf .pds-pf__dot.is-active::before { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.pds-pf--slider .pds-pf__track { scroll-behavior: auto; }
}
