/**
 * Peak Track — the slider/carousel engine's own styles.
 *
 * CSS owns the SIZING (how many slides fit, how far apart) via custom properties
 * the widget sets per breakpoint; the JS engine reads `--peak-track-spv` back and
 * never computes layout itself. That keeps responsive behaviour in one place and
 * means a slider still lays out correctly with JavaScript disabled.
 *
 * @package Peak
 */

.peak-track {
	--peak-track-spv: 1;
	--peak-track-gap: 16px;
	position: relative;
}

.peak-track__viewport {
	overflow: visible;
	width: 100%;
}

.peak-track__list {
	display: flex;
	column-gap: var(--peak-track-gap);
	/* Slide Align (the Carousel's `track_align`); unset is flex's own stretch. */
	align-items: var(--peak-track-align, stretch);
	will-change: transform;
}
/* …and once it is SET, a slide's content fills the slide: with Stretch the
   slide is as tall as the tallest one and the card or component inside grows
   to match; with Top / Middle / Bottom the slide is its content's height, so
   the percentage resolves to nothing and changes nothing. Gated on the flag
   so a carousel nobody aligned draws exactly as before — except a carousel of
   COMPONENTS, whose slide is the component: it fills by default (flex's own
   stretch), and Top / Middle / Bottom still let it keep its own height. */
.peak-track.pkv-peak-track-align .peak-track__slide > *,
.peak-carousel--components .peak-track__slide > .peak-component {
	height: 100%;
	box-sizing: border-box;
}
/* A component slide passes that height on to its own root, the way a
   Component element does (builder.css): `.peak-component` › `.pkb-root--nested`
   › the root, which can then say `height: 100%` and mean the slide. Without
   it a card component kept its content height inside a stretched slide
   (Cargonic Homepage B's Clients, 2026-10-05). */
.peak-track__slide > .peak-component > .pkb-root--nested {
	height: 100%;
}

.peak-track__slide {
	flex: 0 0 auto;
	min-width: 0;
	/* Each slide takes an equal share of the viewport, minus its share of the gaps. */
	width: calc((100% - (var(--peak-track-spv) - 1) * var(--peak-track-gap)) / var(--peak-track-spv));
}

/* Auto width: each slide is as wide as it is told — or as its content — and
   however many fit are in view. The count variable is silenced with
   !important because the widget writes it INLINE on the root (its schema's
   style attribute), and the engine reads it back: a non-number there is what
   makes peak-track.js measure the first slide instead (`_readSpv`). Two
   classes, because the widget's tablet/mobile overrides are `!important`
   too, under a one-attribute scope ([data-peak-w="…"]) in a later sheet —
   equal weight would let a tablet count beat Auto. */
.peak-track.peak-track--auto {
	--peak-track-spv: auto !important;
}
.peak-track--auto .peak-track__slide {
	width: var(--peak-track-slide-w, auto);
}

/* Right to left: the flex main axis follows the writing direction, so the slides
   lay out from the right and the overflow sits on the left. The engine flips the
   sign of every stop to match. */
.peak-track--rtl .peak-track__list { direction: rtl; }
.peak-track--rtl .peak-track__slide { direction: ltr; } /* the CONTENT keeps the site's direction */

/* Drag affordance — only once the engine says the track can actually move. */
.peak-track[data-track-status="active"] .peak-track__list { cursor: grab; }
.peak-track[data-track-grab="grabbing"] .peak-track__list { cursor: grabbing; }

/* An idle track (one slide, or fewer than fit) is a plain row — and so is one
   whose drag is switched off. */
.peak-track[data-track-status="idle"] .peak-track__list,
.peak-track[data-track-drag="off"] .peak-track__list { cursor: auto; }

/* The stage swipes (see _bindSwipe): the page keeps vertical scrolling. A
   dragged track's pictures are never the browser's to drag. */
.peak-track[data-track-swipe] .peak-track__viewport { touch-action: pan-y; }
.peak-track[data-track-status="active"]:not([data-track-drag="off"]) .peak-track__list img { -webkit-user-drag: none; user-select: none; }

/* Parallax layer: it is translated by the engine, so give it room to move
   without revealing an edge. */
.peak-track__parallax {
	width: 120%;
	height: 100%;
	margin-left: -10%;
	will-change: transform;
}
.peak-track__parallax img,
.peak-track__parallax video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Stage mode: slides are stacked, the engine cross-fades between them. */
.peak-track--stage .peak-track__list {
	display: grid;
	column-gap: 0;
}
.peak-track--stage .peak-track__slide {
	grid-area: 1 / 1;
	width: 100%;
}

/* Centred mode gives the track breathing room either side so the active slide
   can actually sit in the middle. */
.peak-track--center .peak-track__viewport {
	overflow: visible;
}
.peak-track--center {
	overflow: hidden;
}
/* A CAROUSEL runs past its box — usually off the side of the page, which is
   the look (2026-10-08): centred or not, its slides stay visible beyond the
   track. The page never scrolls sideways for it: built pages clip their root
   on x (Peak_Builder, `overflow-x: clip`). A Slider, one slide at a time,
   keeps its edge. */
.peak-carousel.peak-track,
.peak-carousel.peak-track--center {
	overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
	.peak-track__parallax { transform: none !important; }
}

/* =========================================================================
 * Controls — arrows, pagination, progress, scrollbar.
 * Every knob is a custom property set on the track root, so the panel patches
 * them live. Defaults are deliberately quiet: a control the user has not styled
 * should look like it belongs to the theme, not to us.
 * ========================================================================= */

.peak-track,
.peak-slide-nav {
	--pkt-arrow-size: 44px;
	--pkt-arrow-icon: 18px;
	--pkt-arrow-gap: 8px;
	--pkt-arrow-offset: 16px;
	--pkt-arrow-dim: 0.35;
	--pkt-page-size: 8px;
	--pkt-page-gap: 8px;
	--pkt-page-offset: 16px;
	--pkt-page-align: center;
	--pkt-prog-h: 3px;
}

/* ---- arrows ---- */
.peak-track__arrows {
	display: flex;
	align-items: center;
	gap: var(--pkt-arrow-gap);
	pointer-events: none; /* the buttons take pointer events back */
}
.peak-track__arrows > * { pointer-events: auto; }

.peak-track__arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--pkt-arrow-size);
	height: var(--pkt-arrow-size);
	padding: 0;
	border: 0;
	background: none;
	color: var(--pkt-arrow-color, inherit);
	font: inherit;
	line-height: 1;
	cursor: pointer;
	transition: color .25s ease, opacity .25s ease, background-color .25s ease, border-color .25s ease;
}
.peak-track__arrow:disabled { opacity: var(--pkt-arrow-dim); cursor: default; }
.peak-track__arrow-icon { --peak-icon-size: var(--pkt-arrow-icon); display: inline-flex; }
/* Hover colour. A box whose Typography sets the colour (`pob-tc`) falls back
   to that, not to the plain Color, or hovering would lose it. */
.peak-track__arrow:not(:disabled):not(.pob-tc):hover { color: var(--pkt-arrow-hover, var(--pkt-arrow-color, inherit)); }
.peak-track__arrow.pob-tc:not(:disabled):hover { color: var(--pkt-arrow-hover, var(--pob-tc)); }
/* Words beside the icon: the button hugs them instead of being a square. */
.peak-track__arrow.has-text {
	width: auto;
	min-width: var(--pkt-arrow-size);
	padding-inline: .75em;
	gap: .5em;
	white-space: nowrap;
}
.peak-track__arrow-text { line-height: 1; }

/* Over the slides, vertically centred, one at each edge. */
.peak-track__arrows--inside,
.peak-track__arrows--outside {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	justify-content: space-between;
	z-index: 3;
}
.peak-track__arrows--inside { padding-inline: var(--pkt-arrow-offset); }
.peak-track__arrows--outside {
	left: calc(-1 * var(--pkt-arrow-offset) - var(--pkt-arrow-size));
	right: calc(-1 * var(--pkt-arrow-offset) - var(--pkt-arrow-size));
}

/* Grouped corners — the pair sits together. */
.peak-track__arrows--top-right,
.peak-track__arrows--bottom-left,
.peak-track__arrows--bottom-center,
.peak-track__arrows--bottom-right {
	position: relative;
	justify-content: center;
	margin-top: var(--pkt-arrow-offset);
}
.peak-track__arrows--top-right {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	transform: translateY(calc(-100% - var(--pkt-arrow-offset)));
	z-index: 3;
}
.peak-track__arrows--bottom-left { justify-content: flex-start; }
.peak-track__arrows--bottom-right { justify-content: flex-end; }

/* Autoplay countdown ring around the next arrow. */
.peak-track__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}
.peak-track__ring circle {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
}
.peak-track__ring-track { stroke: var(--pkt-prog-track, rgba(0, 0, 0, .12)); }
.peak-track__ring-bar { stroke: var(--pkt-prog-color, currentColor); }

/* ---- pagination ---- */
.peak-track__pagination {
	display: flex;
	align-items: center;
	justify-content: var(--pkt-page-align);
	gap: var(--pkt-page-gap);
	flex-wrap: wrap;
}
.peak-track__pagination--bottom { margin-top: var(--pkt-page-offset); }
.peak-track__pagination--top { margin-bottom: var(--pkt-page-offset); order: -1; }
.peak-track__pagination--over {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--pkt-page-offset);
	z-index: 3;
}

.peak-track__dot {
	width: var(--pkt-page-size);
	height: var(--pkt-page-size);
	padding: 0;
	border: 0;
	border-radius: var(--pkt-dot-radius, 999px);
	background: var(--pkt-page-color, rgba(0, 0, 0, .2));
	/* An Outline (Peak_Controls::dot_fields) — transparent until one is set. */
	box-shadow: inset 0 0 0 var(--pkt-dot-bw, 1px) var(--pkt-dot-border, transparent);
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: background-color .25s ease, width .25s ease, color .25s ease, transform .25s ease;
}
.peak-track__dot:not(.is-active):hover { background: var(--pkt-page-hover, var(--pkt-page-color, rgba(0, 0, 0, .2))); }
.peak-track__dot.is-active { background: var(--pkt-page-active, currentColor); }
.peak-track__pagination--dots .peak-track__dot.is-active { transform: scale(var(--pkt-dot-active-scale, 1)); }

/* Bars: the active one stretches. */
.peak-track__pagination--bars .peak-track__dot {
	width: var(--pkt-bar-w, calc(var(--pkt-page-size) * 3));
	height: var(--pkt-page-size);
	border-radius: var(--pkt-dot-radius, 999px);
}
.peak-track__pagination--bars .peak-track__dot.is-active { width: var(--pkt-page-active-w, calc(var(--pkt-page-size) * 6)); }

/* Numbers: a text button, not a shape. */
.peak-track__pagination--numbers .peak-track__dot {
	width: auto;
	height: auto;
	min-width: calc(var(--pkt-page-size) * 3);
	padding: .25em .5em;
	color: var(--pkt-page-color, inherit);
	font-family: var(--pkt-page-ff, inherit);
	font-size: var(--pkt-page-fs, inherit);
	font-weight: var(--pkt-page-fw, inherit);
	letter-spacing: var(--pkt-page-ls, inherit);
	text-transform: var(--pkt-page-tt, none);
	border-radius: var(--pkt-num-radius, 4px);
	background: var(--pkt-num-bg, none);
	font-variant-numeric: tabular-nums;
}
.peak-track__pagination--numbers .peak-track__dot:not(.is-active):hover {
	background: var(--pkt-num-bg, none);
	color: var(--pkt-page-hover, var(--pkt-page-color, inherit));
}
.peak-track__pagination--numbers .peak-track__dot.is-active {
	background: var(--pkt-num-active-bg, none);
	color: var(--pkt-page-active, currentColor);
}

/* Fraction. */
.peak-track__pagination--fraction {
	gap: var(--pkt-frac-gap, .4em);
	color: var(--pkt-page-color, inherit);
	font-family: var(--pkt-page-ff, inherit);
	font-size: var(--pkt-page-fs, inherit);
	font-weight: var(--pkt-page-fw, inherit);
	line-height: var(--pkt-page-lh, inherit);
	letter-spacing: var(--pkt-page-ls, inherit);
	text-transform: var(--pkt-page-tt, none);
	font-variant-numeric: tabular-nums;
}
/* A part with its own box colour (`pob-tc`, its Typography) keeps it. */
.peak-track__fraction-current:not(.pob-tc) { color: var(--pkt-page-active, inherit); }
.peak-track__fraction-sep:not(.pob-tc) { color: var(--pkt-frac-sep-color, inherit); }
/* Stacked: the total under the current number (a separator between them
   reads as a rule — a "—" or a "/" turned on its side, or none at all).
   A grid, because the Alignment it follows stores left / center / right,
   which `justify-items` reads and `align-items` does not. */
.peak-track__fraction--stacked,
.peak-track__pagination--fraction.peak-track__fraction--stacked {
	display: grid;
	justify-items: var(--pkt-page-align, center);
	justify-content: var(--pkt-page-align, center);
	line-height: 1.1;
}

/* Scrollbar. */
.peak-track__pagination--scrollbar {
	display: block;
	position: relative;
	height: var(--pkt-prog-h);
	border-radius: var(--pkt-sb-radius, 999px);
	background: var(--pkt-page-color, rgba(0, 0, 0, .12));
	cursor: pointer;
	overflow: hidden;
}
.peak-track__scrollbar-thumb {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--pkt-page-active, currentColor);
	will-change: transform;
}
.peak-track__pagination--scrollbar.is-dragging { cursor: grabbing; }

/* ---- progress bar ---- */
.peak-track__progress {
	position: absolute;
	left: 0;
	right: 0;
	height: var(--pkt-prog-h);
	border-radius: var(--pkt-prog-radius, 0);
	background: var(--pkt-prog-track, rgba(0, 0, 0, .12));
	overflow: hidden;
	z-index: 3;
}
.peak-track__progress--top { top: 0; }
.peak-track__progress--bottom { bottom: 0; }
.peak-track__progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--pkt-prog-color, currentColor);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.peak-track__dot,
	.peak-track__arrow { transition: none; }
}

/* =========================================================================
 * Slide — what one item looks like inside a track. Shared by the Carousel and
 * the Slider (Peak_Slide). Every knob is a `--pks-*` custom property on the
 * track root, so the panel patches them live.
 * ========================================================================= */

.peak-track {
	--pks-gap: 10px;
	--pks-align: left;
}

.peak-slide {
	display: flex;
	flex-direction: column;
	gap: var(--pks-gap);
	height: 100%;
	box-sizing: border-box;
	text-align: var(--pks-align);
	color: inherit;
}
a.peak-slide { text-decoration: none; }
/* A picture-only slide is a <figure> (Peak_Slide::card), which browsers give
   a 1em side margin. */
figure.peak-slide { margin: 0; }

.peak-slide__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--pks-radius, 0);
	/* No tint by default. The grey was there to show where a picture would go
	   and it showed through every transparent PNG and every `contain` fit as a
	   grey card nobody asked for. Image Backdrop paints it for anyone who
	   wants one. */
	background-color: var(--pks-media-bg, transparent);
	background-image: var(--pks-media-bg-i, none);
	/* The Image Inset. Padding on the BOX rather than on the picture, so the
	   backdrop and the rounded corner stay where they were and only the
	   picture moves in — which is what a logo on a card wants. */
	padding: var(--pks-img-pad, 0);
	box-sizing: border-box;
}
/* Cover and centred unless the slide says otherwise (Image Fit / Position).
   `object-position` only does anything when the picture and its box are
   different shapes, which is exactly when it is being asked about. */
.peak-slide__media img,
.peak-slide__img {
	display: block;
	width: var(--pks-img-w, 100%);
	height: var(--pks-img-h, 100%);
	margin-inline: auto;
	object-fit: var(--pks-img-fit, cover);
	object-position: var(--pks-img-pos, center);
	/* The radius is on the PICTURE as well as on the box around it. The box
	   clipping was enough while the picture filled it edge to edge; it stopped
	   being enough the moment Image Inset could hold it away from the corners,
	   and a `contain` fit never reached them in the first place. */
	border-radius: var(--pks-radius, 0);
	transition: transform .6s cubic-bezier(.625, .05, 0, 1);
}

/* A video slide (Peak_Slide::media, the Carousel's Videos and Mixed): the
   player fills the media box the way a picture does — the box's ratio, or
   the slide height, decides; the engine's own 16:9 stage gives way. */
.peak-slide__media > .peak-slide__video {
	position: absolute;
	inset: var(--pks-img-pad, 0);
	width: auto;
	height: auto;
	border-radius: var(--pks-radius, 0);
}
.peak-slide__video > .peak-video__stage {
	height: 100%;
	aspect-ratio: auto !important;
}
.peak-slide--video.peak-slide--below .peak-slide__media:not([style*="aspect-ratio"]) { aspect-ratio: 16 / 9; }

.peak-slide__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--pks-overlay, transparent);
}

.peak-slide__body {
	display: flex;
	flex-direction: column;
	gap: calc(var(--pks-gap) * .5);
	padding: var(--pks-pad, 0);
	min-width: 0;
}

/* Content over the image: the media fills the slide and the body floats on top. */
.peak-slide--overlay { position: relative; }
.peak-slide--overlay .peak-slide__media {
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.peak-slide--overlay {
	border-radius: var(--pks-radius, 0);
	overflow: hidden;
	min-height: var(--pks-h, 420px);
	justify-content: flex-end;
}
.peak-slide--overlay .peak-slide__body {
	position: relative;
	z-index: 1;
	padding: var(--pks-pad, 24px);
	color: #fff;
}
.peak-slide--overlay .peak-slide__overlay {
	background: var(--pks-overlay, linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0) 60%));
}

/* A fixed slide height crops the image rather than stretching the card. */
.peak-track.pkv-pks-h .peak-slide--below .peak-slide__media { height: var(--pks-h); }

.peak-slide__badge {
	align-self: var(--pks-align);
	font-size: .75em;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pks-meta-color, inherit);
}
.peak-slide__title {
	margin: 0;
	color: var(--pks-title-color, inherit);
	font-family: var(--pks-title-ff, inherit);
	font-size: var(--pks-title-fs, inherit);
	font-weight: var(--pks-title-fw, inherit);
	line-height: var(--pks-title-lh, inherit);
	letter-spacing: var(--pks-title-ls, inherit);
	text-transform: var(--pks-title-tt, none);
}
.peak-slide__link { color: inherit; text-decoration: none; }
.peak-slide__text {
	margin: 0;
	color: var(--pks-text-color, inherit);
	font-family: var(--pks-text-ff, inherit);
	font-size: var(--pks-text-fs, inherit);
	font-weight: var(--pks-text-fw, inherit);
	line-height: var(--pks-text-lh, inherit);
	letter-spacing: var(--pks-text-ls, inherit);
	text-transform: var(--pks-text-tt, none);
}
.peak-slide__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	color: var(--pks-meta-color, inherit);
	font-size: .85em;
}
.peak-slide__meta-item + .peak-slide__meta-item::before {
	content: var(--pks-sep, "\00b7") " ";
	margin-right: .35em;
}
.peak-slide__cta { margin-top: calc(var(--pks-gap) * .5); }

/* ---- The card look (`look: card`) ----
   Peak Starter's post card (base.css `.entry-summary-card`), so a Posts, Grid
   or Carousel dropped on a page looks like the blog beside it before anybody
   styles it: an elevated surface, a hairline border, the picture flush on top,
   the words padded under it, a quiet meta line and a muted excerpt. Every value
   reads the theme's own token first and a literal after it — the card stands up
   on a theme that has never heard of Peak — and every Card Style control still
   wins, because the control's variable is always the one read first. */
.peak-slide--card {
	gap: 0;
	overflow: hidden;
	background: var(--peak-surface, #fcfbfa);
	border: 1px solid var(--peak-border, rgba(25, 25, 25, .1));
	border-radius: var(--peak-radius-card, 14px);
	box-shadow: var(--peak-shadow-card, 0 1px 2px rgba(25, 25, 25, .05));
	transition: border-color .2s var(--peak-ease, ease), box-shadow .2s var(--peak-ease, ease);
}
.peak-slide--card:hover {
	border-color: var(--peak-border-strong, rgba(25, 25, 25, .2));
	/* Cast in the page's darkest colour, never in the ink — as the theme does. */
	box-shadow: 0 10px 30px rgba(0, 0, 0, var(--peak-shadow-a, .07)), var(--peak-shadow-card, 0 1px 2px rgba(25, 25, 25, .05));
}
/* The card look used to paint its media box too, on top of the base rule —
   two defaults for one surface, and this one was a `background` shorthand, so
   it also wiped the Image Backdrop's gradient. A card's picture is bare like
   every other; Image Backdrop paints it for anyone who wants it painted. */
.peak-slide--card:hover .peak-slide__img { transform: scale(1.035); }
.peak-slide--card .peak-slide__body {
	flex: 1 1 auto;
	gap: var(--pks-gap, .6rem);
	padding: var(--pks-pad, clamp(1.25rem, 2.5vw, 1.75rem));
}
.peak-slide--card .peak-slide__title {
	font-size: var(--pks-title-fs, var(--peak-fs-h5, 1.25rem));
	line-height: var(--pks-title-lh, 1.25);
	letter-spacing: var(--pks-title-ls, -.02em);
	overflow-wrap: anywhere;
}
.peak-slide--card .peak-slide__meta {
	gap: .35rem .6rem;
	color: var(--pks-meta-color, var(--peak-faint, #868583));
	font-size: var(--peak-fs-caption, .75rem);
	line-height: 1.4;
}
.peak-slide--card .peak-slide__text {
	color: var(--pks-text-color, var(--peak-muted, #5f5d5a));
	font-size: var(--pks-text-fs, var(--peak-fs-small, .875rem));
	line-height: var(--pks-text-lh, 1.6);
}
.peak-slide--card .peak-slide__cta {
	margin-top: auto;
	padding-top: 1.25rem;
}

/* Editor-only empty state. */
.peak-carousel--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 24px;
	text-align: center;
	background: rgba(0, 0, 0, .04);
	border: 1px dashed rgba(0, 0, 0, .18);
	border-radius: 8px;
	font-size: 13px;
	opacity: .8;
}

/* =========================================================================
 * Slider — the stage-mode framing the Carousel does not need: a real height,
 * where the content sits inside the frame, and the Ken Burns drift.
 * ========================================================================= */

.peak-slider .peak-track__viewport {
	border-radius: var(--pkl-radius, 0);
}
.peak-slider .peak-slide--overlay {
	min-height: var(--pks-h, 70vh);
	align-items: var(--pks-content-x, flex-start);
	justify-content: var(--pks-content-y, flex-end);
	border-radius: 0; /* the viewport already clips */
}
.peak-slider .peak-slide__body {
	max-width: var(--pks-content-max, none);
	align-items: var(--pks-content-x, flex-start);
}

/* Ken Burns: the active slide's image drifts while it is on screen. The engine
   flips data-track-slide, so the animation restarts with every slide change. */
.peak-slider--kenburns [data-track-slide="active"] .peak-slide__img {
	animation: peak-kenburns var(--pks-kb-time, 8s) linear forwards;
}
@keyframes peak-kenburns {
	from { transform: scale(1); }
	to { transform: scale(var(--pks-kb, 1.12)); }
}
@media (prefers-reduced-motion: reduce) {
	.peak-slider--kenburns [data-track-slide="active"] .peak-slide__img { animation: none; }
}

/* ---- fraction as its own control (Peak_Controls::nav_fields) ---- */
.peak-track__fraction {
	display: flex;
	align-items: baseline;
	justify-content: var(--pkt-frac-align, center);
	gap: var(--pkt-frac-gap, .25em);
	color: var(--pkt-frac-color, var(--pkt-page-color, inherit));
	font-family: var(--pkt-frac-ff, inherit);
	font-size: var(--pkt-frac-fs, inherit);
	font-weight: var(--pkt-frac-fw, inherit);
	line-height: var(--pkt-frac-lh, inherit);
	letter-spacing: var(--pkt-frac-ls, inherit);
	text-transform: var(--pkt-frac-tt, none);
	font-variant-numeric: tabular-nums;
}
.peak-track__fraction .peak-track__fraction-current:not(.pob-tc) { color: var(--pkt-frac-active, var(--pkt-page-active, inherit)); }
.peak-track__fraction.peak-track__fraction--stacked {
	display: grid;
	justify-items: var(--pkt-frac-align, center);
	justify-content: var(--pkt-frac-align, center);
}
.peak-track__fraction--bottom { margin-top: var(--pkt-frac-offset, 16px); }
.peak-track__fraction--top { margin-bottom: var(--pkt-frac-offset, 16px); order: -1; }
.peak-track__fraction--over {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--pkt-frac-offset, 16px);
	z-index: 3;
}

/* =========================================================================
 * Slide Navigation — a track's controls, apart from it (Peak_Slide_Nav).
 * A LIST the author builds (Peak_Controls::render_items): every control is a
 * sibling, in row order, and none is placed. The layout is the element's own
 * Display: in Peak Builder the widget root steps out of the way
 * (`display: contents`) so the controls are the wrapper's direct children and
 * every Display setting reaches them. Elsewhere (the Elementor host) the root
 * is a plain wrapping row. Each row's settings are a rule on its own class.
 * ========================================================================= */

.peak-slide-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
.pkb-el--slide-nav > .peak-slide-nav { display: contents; }

/* The arrow pair: its two buttons side by side, its row's Gap between them. */
.peak-slide-nav .peak-track__arrows--static {
	position: static;
	margin: 0;
	transform: none;
}
.peak-slide-nav .peak-track__pagination--static,
.peak-slide-nav .peak-track__fraction--static {
	position: static;
	margin: 0;
}
/* A bar has no width of its own in a row: it takes its row's Width. */
.peak-slide-nav .peak-track__progress--static,
.peak-slide-nav .peak-track__pagination--scrollbar {
	position: relative;
	flex: 0 1 var(--pksn-w, 120px);
	width: var(--pksn-w, 120px);
	max-width: 100%;
}

/* Pointing at nothing (no track with this Navigation ID on the page yet):
   shown, but plainly not alive. The root may be `display: contents`, which
   paints nothing of its own, so the controls fade one by one. */
.peak-slide-nav[data-track-status="idle"] > * { opacity: .45; }
.peak-slide-nav[data-track-status="idle"] button { pointer-events: none; }
.peak-slide-nav--empty,
.pkb-el--slide-nav > .peak-slide-nav--empty {
	display: block;
	padding: 12px 14px;
	border: 1px dashed currentColor;
	border-radius: 6px;
	font-size: 13px;
	opacity: .6;
}
