:root {
	/* Light only: see kc_theme_color_scheme() in functions.php. */
	color-scheme: only light;
}

/*
 * Components and motion for koncerty.art.
 *
 * After vanmorrison.com: black and white, colour only from photographs.
 * The wine accent is kept for the brand's ".art" and for ticket actions
 * (buttons, "last tickets"), nothing else.
 */

:root {
	--kc-ink: var(--wp--preset--color--ink);
	--kc-paper: var(--wp--preset--color--paper);
	--kc-soft: var(--wp--preset--color--paper-soft);
	--kc-wine: var(--wp--preset--color--wine);
	--kc-wine-deep: var(--wp--preset--color--wine-deep);
	--kc-display: var(--wp--preset--font-family--display);
	--kc-ease: cubic-bezier(.22, 1, .36, 1);

	/* Context-dependent: flipped inside dark sections below */
	--kc-fg: var(--kc-ink);
	--kc-bg: var(--kc-paper);
	--kc-line: var(--wp--preset--color--rule);
	--kc-label: var(--wp--preset--color--mute);
}

.has-ink-background-color,
.has-ink-soft-background-color,
.kc-hero {
	--kc-fg: var(--kc-paper);
	--kc-bg: var(--kc-ink);
	--kc-line: var(--wp--preset--color--rule-on-dark);
	--kc-label: var(--wp--preset--color--mute-on-dark);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Type helpers
   ========================================================================== */

.kc-title-xl {
	margin: 0;
	font-size: clamp(3rem, 7.5vw, 7rem) !important;
	line-height: .9 !important;
	letter-spacing: -.02em;
}

.kc-title-giant {
	margin: 0 !important;
	font-size: max(4.5rem, 16vw) !important;
	line-height: .8 !important;
	letter-spacing: -.03em;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.kc-eyebrow,
.kc-eyebrow a {
	margin: 0;
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--kc-label);
}

.kc-link-arrow {
	position: relative;
	font-family: var(--kc-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: inherit;
}

.kc-link-arrow::after {
	content: "→";
	display: inline-block;
	margin-left: .35em;
	transition: transform .25s var(--kc-ease);
}

.kc-link-arrow:hover::after,
.kc-link-arrow:focus-visible::after {
	transform: translateX(.3em);
}

.kc-section__head {
	align-items: flex-end;
}

.kc-section__head > * {
	margin-block: 0;
}

/* Buttons
   ========================================================================== */

/* Dark sections: white button, inverted on hover */
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-element-button:not(.kc-cta),
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button__link {
	background: var(--kc-paper);
	border-color: var(--kc-paper);
	color: var(--kc-ink);
}

:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-element-button:not(.kc-cta):hover,
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button__link:hover {
	background: transparent;
	color: var(--kc-paper);
}

/* Outline: transparent with a 2px line in the text colour */
.wp-block-button.is-style-outline > .wp-block-button__link,
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--kc-fg);
	color: var(--kc-fg);
	padding: .85em 1.6em;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible,
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--kc-fg);
	color: var(--kc-bg);
}

/* Ticket actions: the one place wine is used for an action */
.wp-block-button.is-style-ticket > .wp-block-button__link,
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button.is-style-ticket > .wp-block-button__link,
.kc-cta,
.wp-element-button.kc-cta {
	background: var(--kc-wine);
	border: 2px solid var(--kc-wine);
	color: var(--kc-paper);
}

.wp-block-button.is-style-ticket > .wp-block-button__link:hover,
.wp-block-button.is-style-ticket > .wp-block-button__link:focus-visible,
:is(.has-ink-background-color, .has-ink-soft-background-color, .kc-hero) .wp-block-button.is-style-ticket > .wp-block-button__link:hover,
.kc-cta:hover,
.kc-cta:focus-visible {
	background: var(--kc-wine-deep);
	border-color: var(--kc-wine-deep);
	color: var(--kc-paper);
}

.kc-cta {
	font-size: .875rem;
	white-space: nowrap;
}

.kc-cta--large {
	font-size: 1.0625rem;
}

/* Header mini-cart: light icon on the dark bar */
.kc-header .wc-block-mini-cart__button {
	color: var(--kc-paper);
	padding: .5em;
}

.kc-header .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--wine-bright);
	color: var(--kc-paper);
	border: 0;
}

/* Ring arrow: the circle draws itself on hover */
.kc-ring {
	display: inline-grid;
	width: 3.25rem;
	height: 3.25rem;
}

.kc-ring svg {
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kc-ring circle {
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	transform: rotate(-90deg);
	transform-origin: center;
	transition: stroke-dashoffset .6s var(--kc-ease);
}

.kc-ring path {
	transition: transform .35s var(--kc-ease);
}

a:hover > .kc-ring circle,
a:focus-visible > .kc-ring circle {
	stroke-dashoffset: 0;
}

a:hover > .kc-ring path,
a:focus-visible > .kc-ring path {
	transform: translateX(2px);
}

/* Hero
   ========================================================================== */

.kc-hero.wp-block-cover {
	/* Fill the screen below the sticky header, not behind it */
	min-height: calc(100svh - var(--kc-header-h, 80px)) !important;
	overflow: hidden;
	align-items: flex-end;
}

.kc-hero .wp-block-cover__image-background {
	transform: scale(calc(1.04 + var(--kc-hero-p, 0) * .08));
	transform-origin: center 40%;
	filter: grayscale(1);
}

.kc-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

/* Two black curtains that open when the page loads */
.kc-hero::before,
.kc-hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: 50.5%;
	background: var(--kc-ink);
	transform: translateX(-101%);
	pointer-events: none;
}

.kc-hero::before {
	left: 0;
}

.kc-hero::after {
	right: 0;
	transform: translateX(101%);
}

html.kc-js .kc-hero::before {
	animation: kc-curtain-left 1.5s .15s var(--kc-ease) both;
}

html.kc-js .kc-hero::after {
	animation: kc-curtain-right 1.5s .15s var(--kc-ease) both;
}

@keyframes kc-curtain-left {
	from { transform: translateX(0); }
	to { transform: translateX(-101%); }
}

@keyframes kc-curtain-right {
	from { transform: translateX(0); }
	to { transform: translateX(101%); }
}

.kc-hero__title {
	position: relative;
	width: min(100% - 2 * var(--wp--style--root--padding-left, 16px), 1320px);
	margin-inline: auto;
	transform: translateY(calc(var(--kc-hero-p, 0) * -8vh));
}

.kc-hero__fill,
.kc-hero__outline {
	margin: 0 !important;
	font-family: var(--kc-display);
	/* Width of the content column at most (6.85em ≈ 1320px), and never
	   taller than a quarter of the screen, so lead and buttons stay in view */
	font-size: clamp(2.5rem, min(14.6vw, 28svh), 12rem) !important;
	font-weight: 700;
	line-height: .82 !important;
	letter-spacing: -.02em !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.kc-hero__fill {
	color: var(--kc-paper);
	opacity: calc(1 - var(--kc-hero-p, 0) * 1.7);
}

.kc-hero__outline {
	position: absolute;
	inset: 0;
	color: transparent;
	-webkit-text-stroke: 1px var(--kc-paper);
	pointer-events: none;
}

.kc-hero__outline .kc-brand__tld {
	color: transparent;
	-webkit-text-stroke: 1px var(--wp--preset--color--wine-bright);
}

/* The fill rises into the outline once the curtains have opened */
html.kc-js .kc-hero__fill {
	animation: kc-fill-rise 1.2s 1s var(--kc-ease) both;
}

/* Insets reach past the box: at line-height .82 the glyphs overflow it */
@keyframes kc-fill-rise {
	from { clip-path: inset(120% -.2em -.25em -.2em); transform: translateY(.12em); }
	to { clip-path: inset(-.25em -.2em -.25em -.2em); transform: none; }
}

.kc-hero__foot {
	opacity: calc(1 - var(--kc-hero-p, 0) * 2);
}

html.kc-js .kc-hero__foot {
	animation: kc-fade-up 1s 1.6s var(--kc-ease) both;
}

.kc-hero__foot .wp-block-group {
	align-items: flex-end;
	gap: var(--wp--preset--spacing--40);
}

.kc-hero__lead {
	max-width: 30rem;
	margin: 0;
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, .82);
}

@keyframes kc-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

/* Marquee
   ========================================================================== */

.kc-marquee {
	overflow: hidden;
	padding: 1.1rem 0;
	background: var(--kc-ink);
	color: var(--kc-paper);
	border-block: 1px solid var(--wp--preset--color--rule-on-dark);
}

.kc-marquee__track {
	display: flex;
	width: max-content;
	animation: kc-marquee 45s linear infinite;
	will-change: transform;
}

.kc-marquee:hover .kc-marquee__track,
.kc-marquee:focus-within .kc-marquee__track {
	animation-play-state: paused;
}

.kc-marquee__run {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.kc-marquee__item {
	display: inline-flex;
	align-items: baseline;
	gap: .5em;
	padding-inline: 1.25rem;
	font-family: var(--kc-display);
	font-size: clamp(1.25rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: inherit;
	transition: opacity .2s;
}

a.kc-marquee__item:hover {
	opacity: .6;
}

.kc-marquee__date,
.kc-marquee__artist {
	color: var(--wp--preset--color--mute-on-dark);
	font-weight: 500;
}

.kc-marquee__sep {
	color: var(--wp--preset--color--rule-on-dark);
	font-size: 1rem;
}

@keyframes kc-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.kc-marquee {
		overflow-x: auto;
	}

	.kc-marquee__track {
		animation: none;
	}

	.kc-marquee__run[aria-hidden="true"] {
		display: none;
	}
}

/* Poster wall (#70 item 3)
   ========================================================================== */

.kc-posters {
	overflow: hidden;
	padding-block: 2.5rem 3rem;
}

.kc-posters__track {
	display: flex;
	width: max-content;
	animation: kc-marquee var(--kc-posters-time, 60s) linear infinite;
	will-change: transform;
}

.kc-posters:hover .kc-posters__track,
.kc-posters:focus-within .kc-posters__track {
	animation-play-state: paused;
}

.kc-posters__run {
	display: flex;
	align-items: flex-start;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding-inline-end: clamp(1.25rem, 3vw, 2.5rem);
	flex-shrink: 0;
}

.kc-posters.is-still .kc-posters__run {
	justify-content: center;
	width: 100%;
	padding-inline: 1rem;
}

.kc-wallposter {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: clamp(11rem, 22vw, 16.25rem);
	color: inherit;
	text-decoration: none;
	rotate: var(--kc-tilt, 0deg);
	transition: rotate .35s cubic-bezier(.2, .8, .2, 1.2), translate .35s cubic-bezier(.2, .8, .2, 1.2), scale .35s, box-shadow .35s;
	box-shadow: 0 10px 24px -12px rgb(0 0 0 / .45);
	animation: kc-wallposter-sway 6s ease-in-out infinite alternate;
	animation-delay: calc(var(--kc-i, 0) * -1.3s);
}

/* A strip of tape holding the poster up. */
.kc-wallposter::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: -.7rem;
	left: 50%;
	width: 4.5rem;
	height: 1.4rem;
	background: rgb(240 232 210 / .75);
	box-shadow: 0 1px 2px rgb(0 0 0 / .15);
	transform: translateX(-50%) rotate(calc(var(--kc-tilt, 0deg) * -2));
}

.kc-wallposter__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 7;
	object-fit: cover;
	background: var(--kc-ink);
}

.kc-wallposter__tag {
	position: absolute;
	right: -.5rem;
	bottom: 1rem;
	padding: .3rem .6rem;
	background: var(--kc-ink);
	color: var(--kc-paper);
	font-family: var(--kc-display);
	font-size: .95rem;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	transform: rotate(2deg);
}

.kc-wallposter__tag b {
	font-weight: 700;
}

.kc-wallposter:hover,
.kc-wallposter:focus-visible {
	z-index: 2;
	animation: none;
	rotate: 0deg;
	translate: 0 -.75rem;
	scale: 1.06;
	box-shadow: 0 24px 40px -16px rgb(0 0 0 / .55);
}

.kc-wallposter:focus-visible {
	outline: 3px solid var(--wp--preset--color--wine, currentColor);
	outline-offset: 4px;
}

@keyframes kc-wallposter-sway {
	from { rotate: var(--kc-tilt, 0deg); translate: 0 0; }
	to { rotate: calc(var(--kc-tilt, 0deg) * -.4); translate: 0 -.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.kc-posters {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.kc-posters__track,
	.kc-wallposter {
		animation: none;
	}

	.kc-wallposter {
		scroll-snap-align: center;
		transition: none;
	}

	.kc-posters__run[aria-hidden="true"] {
		display: none;
	}
}

/* Reveal on scroll (motion.js adds .kc-reveal and .is-in)
   ========================================================================== */

html.kc-js .kc-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity .8s var(--kc-ease),
		transform 1s var(--kc-ease);
	transition-delay: calc(var(--kc-stagger, 0) * 80ms);
}

html.kc-js .kc-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Large titles slide up from behind a mask instead of fading */
html.kc-js :is(h1, h2).kc-reveal {
	opacity: 1;
	clip-path: inset(0 0 100% 0);
	transform: translateY(.35em);
	transition:
		clip-path 1s var(--kc-ease),
		transform 1s var(--kc-ease);
}

html.kc-js :is(h1, h2).kc-reveal.is-in {
	clip-path: inset(-.2em -.2em -.2em -.2em);
	transform: none;
}

/* Status badges
   ========================================================================== */

.kc-badge {
	display: inline-block;
	padding: .4em .75em;
	border: 1px solid var(--kc-line);
	font-family: var(--kc-display);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--kc-label);
}

.kc-badge--free { color: var(--kc-fg); border-color: var(--kc-fg); }
.kc-badge--last-tickets { background: var(--kc-wine); border-color: var(--kc-wine); color: var(--kc-paper); }
.kc-badge--soon { border-style: dashed; }
.kc-badge--sold-out { background: var(--kc-fg); border-color: var(--kc-fg); color: var(--kc-bg); }
.kc-badge--cancelled { color: var(--kc-fg); border-color: var(--kc-fg); text-decoration: line-through; }

/* Concert list
   ========================================================================== */

.kc-concerts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--kc-line);
}

.kc-concerts__month h3 {
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--20);
	font-size: 1rem;
	letter-spacing: .14em;
	color: var(--kc-label);
}

.kc-concert {
	position: relative;
	display: grid;
	grid-template-columns: 6rem minmax(0, 1fr) auto;
	gap: var(--wp--preset--spacing--40);
	align-items: center;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	border-top: 1px solid var(--kc-line);
	isolation: isolate;
}

/* Hover: a band of tone sweeps in from the left */
.kc-concert::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--kc-soft);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .5s var(--kc-ease);
}

:is(.has-ink-background-color, .has-ink-soft-background-color) .kc-concert::before {
	background: rgba(255, 255, 255, .05);
}

.kc-concert:hover::before,
.kc-concert:focus-within::before {
	transform: scaleX(1);
}

.kc-concert__date {
	display: grid;
	justify-items: center;
	font-family: var(--kc-display);
	line-height: 1;
	text-transform: uppercase;
}

.kc-concert__day {
	font-size: 3.25rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.kc-concert__month {
	margin-top: .15em;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .12em;
}

.kc-concert__weekday {
	margin-top: .35em;
	font-size: .75rem;
	letter-spacing: .14em;
	color: var(--kc-label);
}

.kc-concert__main > * {
	margin: 0;
}

.kc-concert__artist {
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kc-label);
}

.kc-concert__artist a {
	color: inherit;
	text-decoration: none;
}

.kc-concert__artist a:hover {
	color: var(--kc-fg);
}

.kc-concert__title {
	margin-block: .15em .25em !important;
	font-size: clamp(1.4rem, 2.6vw, 2.125rem);
	line-height: 1;
	letter-spacing: -.01em;
	transition: transform .4s var(--kc-ease);
}

.kc-concert:hover .kc-concert__title {
	transform: translateX(.35rem);
}

.kc-concert__title a {
	color: inherit;
	text-decoration: none;
}

.kc-concert__title a::after {
	/* the whole row is the link target for pointer users */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.kc-concert__artist,
.kc-concert__side {
	position: relative;
	z-index: 1;
}

.kc-concert__meta {
	font-size: 1.125rem;
	color: var(--kc-label);
}

.kc-concert__side {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--wp--preset--spacing--30);
}

.kc-concert__price {
	font-family: var(--kc-display);
	font-size: 1.375rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--wp--preset--color--wine);
}

.kc-concert.is-past,
.kc-concert--cancelled {
	opacity: .6;
}

.kc-concert--cancelled .kc-concert__title {
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.kc-concerts__empty {
	padding: var(--wp--preset--spacing--40) 0;
	color: var(--kc-label);
}

.kc-concerts__more {
	margin-top: var(--wp--preset--spacing--40);
	text-align: center;
}

@media (max-width: 699px) {
	.kc-concert {
		grid-template-columns: 4.25rem minmax(0, 1fr);
		padding-inline: 0;
	}

	.kc-concert__side {
		grid-column: 1 / -1;
		justify-content: space-between;
	}

	.kc-concert__day {
		font-size: 2.5rem;
	}
}

/* Concert list with posters, and the poster grid (blocks/concert-list, ?widok=plakaty)
   ========================================================================== */

.kc-poster-frame {
	display: block;
	aspect-ratio: 5 / 7;
	overflow: hidden;
	background: var(--kc-soft);
}

.kc-poster-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kc-poster-frame--empty {
	border: 1px solid var(--kc-line);
}

.kc-concerts--posters .kc-concert {
	grid-template-columns: 5.5rem 6rem minmax(0, 1fr) auto;
}

.kc-concert__poster {
	position: relative;
	z-index: 0;
	box-shadow: 0 6px 16px -10px rgb(0 0 0 / .5);
}

.kc-filters.kc-filters--switch {
	justify-content: center;
}

.kc-concerts--posters {
	scroll-margin-top: 11rem;
}

.kc-view-switch {
	display: inline-flex;
	border: 2px solid var(--kc-line);
}

.kc-view-switch a {
	padding: .55em 1em;
	font-family: var(--kc-display);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--kc-label);
}

.kc-view-switch a[aria-current="page"] {
	background: var(--kc-fg);
	color: var(--kc-bg);
}

.kc-view-switch a:hover:not([aria-current]) {
	color: var(--kc-fg);
}

.kc-concerts__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.kc-card {
	position: relative;
}

.kc-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.kc-card .kc-poster-frame {
	box-shadow: 0 10px 24px -14px rgb(0 0 0 / .5);
	transition: transform .4s var(--kc-ease), box-shadow .4s var(--kc-ease);
}

.kc-card__link:hover .kc-poster-frame,
.kc-card__link:focus-visible .kc-poster-frame {
	transform: translateY(-4px);
	box-shadow: 0 18px 30px -16px rgb(0 0 0 / .55);
}

.kc-card__caption {
	display: grid;
	gap: .2rem;
	margin-top: .8rem;
}

.kc-card__caption time {
	font-family: var(--kc-display);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wine);
}

.kc-card__title {
	font-family: var(--kc-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.1;
}

.kc-card__link:hover .kc-card__title {
	text-decoration: underline;
	text-underline-offset: .15em;
}

.kc-card__meta {
	font-size: .95rem;
	color: var(--kc-label);
}

.kc-card__badge {
	position: absolute;
	top: .6rem;
	left: .6rem;
	pointer-events: none;
}

.kc-card__badge .kc-badge {
	background: var(--kc-bg);
}

.kc-card__badge .kc-badge--last-tickets {
	background: var(--kc-wine);
}

.kc-card__badge .kc-badge--sold-out {
	background: var(--kc-fg);
}

.kc-card--cancelled .kc-card__title {
	text-decoration: line-through;
}

@media (max-width: 699px) {
	.kc-concerts--posters .kc-concert {
		grid-template-columns: 4rem 3.5rem minmax(0, 1fr);
	}

	.kc-concerts--posters .kc-concert__day {
		font-size: 2rem;
	}

	.kc-concerts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	}

	.kc-card__title {
		font-size: 1.05rem;
	}
}

/* Filters
   ========================================================================== */

.kc-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--40);
}

.kc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.kc-chip {
	display: inline-block;
	padding: .6em 1.05em;
	border: 2px solid var(--kc-line);
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s, background-color .2s, color .2s;
}

.kc-chip:hover {
	border-color: var(--kc-fg);
	color: inherit;
}

.kc-chip.is-active {
	background: var(--kc-fg);
	border-color: var(--kc-fg);
	color: var(--kc-bg);
}

.kc-city-filter select,
.wc-block-catalog-sorting select,
.woocommerce-ordering select {
	padding: .65em 2.2em .65em .9em;
	border: 2px solid var(--kc-line);
	border-radius: 0;
	background: var(--kc-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f0f0f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .8em center;
	appearance: none;
	font: inherit;
	font-size: 1rem;
	color: var(--kc-ink);
}

/* Ticket card (concert page)
   ========================================================================== */

.kc-ticket {
	--stub: 11rem;
	--notch: 14px;
	display: grid;
	grid-template-columns: var(--stub) minmax(0, 1fr);
	margin-bottom: var(--wp--preset--spacing--50);
	background: var(--kc-soft);
	-webkit-mask:
		radial-gradient(circle at var(--stub) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
		radial-gradient(circle at var(--stub) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle at var(--stub) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
		radial-gradient(circle at var(--stub) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
}

.kc-ticket__stub {
	display: grid;
	place-items: center;
	padding: var(--wp--preset--spacing--40);
	background: var(--kc-ink);
	color: var(--kc-paper);
	border-right: 2px dashed var(--kc-soft);
	text-align: center;
}

.kc-ticket__stub time {
	display: grid;
	font-family: var(--kc-display);
	line-height: 1;
	text-transform: uppercase;
}

.kc-ticket__weekday {
	font-size: .8125rem;
	letter-spacing: .16em;
	color: var(--wp--preset--color--mute-on-dark);
}

.kc-ticket__day {
	margin: .1em 0;
	font-size: 5.5rem;
	font-weight: 700;
	letter-spacing: -.03em;
}

.kc-ticket__month {
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .1em;
}

.kc-ticket__time {
	margin-top: .8em;
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--wp--preset--color--mute-on-dark);
}

.kc-ticket__body {
	padding: var(--wp--preset--spacing--50);
}

.kc-ticket__artist {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: var(--kc-display);
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

.kc-ticket__artist a {
	color: inherit;
	text-decoration: none;
}

.kc-ticket__artist a:hover {
	opacity: .6;
}

.kc-ticket__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	margin: 0 0 var(--wp--preset--spacing--40);
}

.kc-ticket__facts dt {
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mute);
}

.kc-ticket__facts dd {
	margin: .15em 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Key details for Marcin: the ticket price, as big as the date. */
.kc-ticket__price {
	flex-basis: 100%;
	display: flex;
	align-items: baseline;
	gap: .6rem;
	margin: 0 0 .25rem;
	font-family: var(--kc-display);
	line-height: 1;
}

.kc-ticket__price-label {
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mute);
}

.kc-ticket__price strong {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--wp--preset--color--wine);
}

.kc-ticket__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px dashed var(--wp--preset--color--rule);
}

.kc-ticket__note {
	flex-basis: 100%;
	margin: 0;
	font-size: .9375rem;
	color: var(--wp--preset--color--mute);
}

.kc-ticket--cancelled .kc-ticket__day {
	text-decoration: line-through;
	text-decoration-thickness: 4px;
}

@media (max-width: 699px) {
	.kc-ticket {
		grid-template-columns: 1fr;
		-webkit-mask: none;
		mask: none;
	}

	.kc-ticket__stub {
		border-right: 0;
		border-bottom: 2px dashed var(--kc-soft);
	}

	.kc-ticket__stub time {
		grid-template-columns: auto auto;
		align-items: baseline;
		gap: 0 .6em;
	}

	.kc-ticket__day {
		font-size: 3.5rem;
		grid-row: span 3;
	}
}

/* No poster: the details take the full width */
.kc-concert-layout:not(:has(.kc-poster)) > .wp-block-column:last-child {
	display: none;
}

.kc-concert-layout:not(:has(.kc-poster)) > .wp-block-column:first-child {
	flex-basis: 100% !important;
}

.kc-poster img {
	box-shadow: 0 4px 34px rgba(0, 0, 0, .35);
}

/* Product cards
   ========================================================================== */

.kc-products__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.kc-product {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.kc-product__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--kc-soft);
}

.kc-product__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(0, 0, 0, .06);
	pointer-events: none;
}

:is(.has-ink-background-color, .has-ink-soft-background-color) .kc-product__media::after {
	border-color: rgba(255, 255, 255, .08);
}

.kc-product__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .6s var(--kc-ease);
}

.kc-product:hover .kc-product__media img,
.kc-product:focus-within .kc-product__media img {
	transform: scale(1.06);
}

.kc-product__flag {
	position: absolute;
	top: .75rem;
	left: .75rem;
	z-index: 1;
	padding: .4em .7em;
	background: var(--kc-ink);
	color: var(--kc-paper);
	font-family: var(--kc-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.kc-product__body > * {
	margin: 0;
}

.kc-product__artist {
	font-family: var(--kc-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kc-label);
}

.kc-product__title {
	margin-block: .25em .35em !important;
	font-size: 1.375rem;
	line-height: 1;
	letter-spacing: -.01em;
}

.kc-product__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
	transition: background-size .35s var(--kc-ease);
}

.kc-product__title a:hover,
.kc-product__title a:focus-visible {
	background-size: 100% 2px;
}

.kc-product__price {
	font-size: 1.25rem;
	font-weight: 600;
}

.kc-product__price del {
	color: var(--kc-label);
}

.kc-product__price ins {
	text-decoration: none;
}

.kc-product__action {
	margin-top: auto;
}

.kc-product__btn {
	display: block;
	text-align: center;
	font-size: .875rem;
}

.kc-product__btn--ghost,
:is(.has-ink-background-color, .has-ink-soft-background-color) .kc-product__btn--ghost {
	background: transparent;
	border-color: var(--kc-fg);
	color: var(--kc-fg);
}

.kc-product__btn--ghost:hover,
.kc-product__btn--ghost:focus-visible,
:is(.has-ink-background-color, .has-ink-soft-background-color) .kc-product__btn--ghost:hover {
	background: var(--kc-fg);
	color: var(--kc-bg);
}

.kc-product__soldout {
	display: block;
	padding: .85em 1em;
	border: 2px dashed var(--kc-line);
	font-family: var(--kc-display);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
	color: var(--kc-label);
}

.kc-product.is-sold-out .kc-product__media img {
	opacity: .5;
	filter: grayscale(1);
}

.kc-products__empty {
	color: var(--kc-label);
}

/* Pagination */
.kc-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin: var(--wp--preset--spacing--50) 0 0;
	padding: 0;
	list-style: none;
}

.kc-pagination .page-numbers {
	display: inline-block;
	min-width: 2.75rem;
	padding: .6em .9em;
	border: 2px solid var(--kc-line);
	font-family: var(--kc-display);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.kc-pagination .page-numbers.current {
	background: var(--kc-fg);
	border-color: var(--kc-fg);
	color: var(--kc-bg);
}

/* Shop hub
   ========================================================================== */

.kc-hub {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
}

.kc-hub__tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--kc-ink);
	color: var(--kc-paper);
	text-decoration: none;
}

.kc-hub__tile:hover,
.kc-hub__tile:focus-visible {
	color: var(--kc-paper);
}

.kc-hub__media,
.kc-hub__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kc-hub__media img {
	filter: grayscale(1);
	transition: transform .8s var(--kc-ease), filter .6s var(--kc-ease);
}

.kc-hub__tile:hover .kc-hub__media img,
.kc-hub__tile:focus-visible .kc-hub__media img {
	transform: scale(1.06);
	filter: none;
}

.kc-hub__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 15, 15, .9) 0%, rgba(15, 15, 15, .3) 45%, rgba(15, 15, 15, 0) 70%);
}

.kc-hub__media--type {
	display: grid;
	place-items: center;
	font-family: var(--kc-display);
	font-size: clamp(3rem, 8vw, 7rem);
	font-weight: 700;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .35);
	transition: -webkit-text-stroke-color .4s;
}

.kc-hub__tile:hover .kc-hub__media--type {
	-webkit-text-stroke-color: rgba(255, 255, 255, .8);
}

.kc-hub__label {
	position: absolute;
	left: var(--wp--preset--spacing--40);
	right: 4.5rem;
	bottom: var(--wp--preset--spacing--40);
	display: grid;
	gap: .35em;
}

.kc-hub__title {
	font-family: var(--kc-display);
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

.kc-hub__text {
	font-size: .9375rem;
	color: rgba(255, 255, 255, .78);
}

.kc-hub__arrow {
	position: absolute;
	right: var(--wp--preset--spacing--40);
	bottom: var(--wp--preset--spacing--40);
}

@media (max-width: 781px) {
	.kc-hub {
		grid-template-columns: 1fr;
	}

	.kc-hub__tile {
		aspect-ratio: 16 / 8;
	}
}

/* Artists: giant title with a fan of photographs over it
   ========================================================================== */

.kc-section--artists {
	overflow: hidden;
}

.kc-section--artists .kc-title-giant {
	color: var(--kc-paper);
}

.kc-artists {
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.kc-artists--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: var(--wp--preset--spacing--40);
}

/* Four artists: two by two, or one row on wide screens, never three and one */
@media (min-width: 600px) {
	.kc-artists--grid:has(> .kc-artist:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
	.kc-artists--grid:has(> .kc-artist:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}

/* Five artists: three and two, each row full, or one row on wide screens */
@media (min-width: 600px) and (max-width: 1199px) {
	.kc-artists--grid:has(> .kc-artist:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
	.kc-artists--grid:has(> .kc-artist:nth-child(5):last-child) > .kc-artist { grid-column: span 2; }
	.kc-artists--grid:has(> .kc-artist:nth-child(5):last-child) > .kc-artist:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 1200px) {
	.kc-artists--grid:has(> .kc-artist:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
}

.kc-artists--fan {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	margin-top: calc(-1 * clamp(2.5rem, 7vw, 8rem));
	padding-bottom: var(--wp--preset--spacing--50);
}

.kc-artist {
	flex: 0 1 clamp(15rem, 25vw, 22rem);
	transition:
		transform 1.1s var(--kc-ease),
		opacity .8s var(--kc-ease);
}

.kc-artists--fan .kc-artist {
	margin-inline: -1.75rem;
	transform-origin: 50% 130%;
}

/* Spread: this is also the final state of the opening animation */
.kc-artists--fan .kc-artist:nth-child(3n + 1) { transform: rotate(-7deg) translateY(2rem); }
.kc-artists--fan .kc-artist:nth-child(3n + 2) { transform: translateY(-.5rem); z-index: 2; }
.kc-artists--fan .kc-artist:nth-child(3n + 3) { transform: rotate(7deg) translateY(2rem); }


/* Before it scrolls in, the fan is a closed stack */
html.kc-js .kc-artists--fan:not(.is-in) .kc-artist {
	opacity: 0;
	transform: translateY(5rem) rotate(0);
}

.kc-artists--fan.is-in .kc-artist:nth-child(2) { transition-delay: .08s; }
.kc-artists--fan.is-in .kc-artist:nth-child(3) { transition-delay: .16s; }

.kc-artists--fan .kc-artist:hover,
.kc-artists--fan .kc-artist:focus-within {
	z-index: 3;
	transform: rotate(0) translateY(-1.5rem) scale(1.03);
	transition-delay: 0s;
}

.kc-artist__link {
	display: block;
	overflow: hidden;
	background: var(--wp--preset--color--ink-soft);
	color: var(--kc-paper);
	text-decoration: none;
	border-radius: 3px;
	box-shadow: 0 4px 34px rgba(0, 0, 0, .65);
}

.kc-artist__link:hover,
.kc-artist__link:focus-visible {
	color: var(--kc-paper);
}

.kc-artist__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--kc-ink);
}

.kc-artist__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .08);
	pointer-events: none;
}

.kc-artist__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	filter: grayscale(1) contrast(1.05);
	transition: filter .6s var(--kc-ease), transform .8s var(--kc-ease);
}

/* Photos stay black and white on hover too: a colour photo would stand out from the rest */
.kc-artist__link:hover .kc-artist__media img,
.kc-artist__link:focus-visible .kc-artist__media img {
	transform: scale(1.05);
}

.kc-artist__media--type {
	display: grid;
	place-items: center;
	padding: var(--wp--preset--spacing--40);
	font-family: var(--kc-display);
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: .95;
	text-align: center;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .7);
}

.kc-artist__body {
	display: grid;
	gap: .3em;
	padding: var(--wp--preset--spacing--40);
}

.kc-artist__kind {
	font-family: var(--kc-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mute-on-dark);
}

.kc-artist__name {
	font-family: var(--kc-display);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

.kc-artist__next {
	font-size: .9375rem;
	color: var(--wp--preset--color--mute-on-dark);
}

/* Light sections (artist pages): the grid sits on white */
:not(.has-ink-background-color) > .kc-artists--grid .kc-artist__link {
	box-shadow: none;
}

@media (max-width: 781px) {
	.kc-artists--fan {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		gap: var(--wp--preset--spacing--30);
		margin-top: calc(-1 * clamp(1.5rem, 6vw, 3rem));
		padding: 0 0 var(--wp--preset--spacing--30);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.kc-artists--fan .kc-artist,
	.kc-artists--fan .kc-artist:hover,
	.kc-artists--fan .kc-artist:nth-child(n) {
		margin: 0;
		transform: none;
		scroll-snap-align: center;
	}
}

/* Artist page hero
   ========================================================================== */

.kc-artist-hero .wp-block-columns {
	align-items: flex-end;
}

.kc-artist-hero h1 {
	margin: 0;
	font-size: clamp(3.5rem, 10vw, 10rem) !important;
	/* Room for Polish accents on a second line (the dot of "Ż") */
	line-height: 1.1;
	letter-spacing: -.02em;
}

.kc-artist-hero__photo {
	margin: 0;
	overflow: hidden;
	border-radius: 3px;
	box-shadow: 0 4px 34px rgba(0, 0, 0, .65);
}

.kc-artist-hero__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 25%;
	filter: grayscale(1) contrast(1.05);
	transition: filter .8s var(--kc-ease), transform 1s var(--kc-ease);
}

.kc-artist-hero__photo:hover img {
	filter: none;
	transform: scale(1.03);
}

.kc-facts h3 {
	margin-top: 0;
}

/* Special event, ticket-shaped
   ========================================================================== */

.kc-special__ticket {
	--notch: 18px;
	position: relative;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) calc(var(--wp--preset--spacing--50) + 2rem);
	background: var(--kc-paper);
	-webkit-mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
	mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}

.kc-special__ticket::before {
	content: "";
	position: absolute;
	top: var(--wp--preset--spacing--40);
	bottom: var(--wp--preset--spacing--40);
	left: 1.75rem;
	border-left: 2px dashed var(--wp--preset--color--rule);
}

/* Footer watermark: the brand, huge and barely there
   ========================================================================== */

.kc-footer {
	position: relative;
	overflow: hidden;
}

.kc-footer__watermark {
	margin: var(--wp--preset--spacing--60) 0 -.14em !important;
	font-family: var(--kc-display);
	font-size: 14vw !important;
	font-weight: 700;
	line-height: .8 !important;
	letter-spacing: -.02em !important;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px var(--wp--preset--color--rule-on-dark);
	user-select: none;
	pointer-events: none;
}

.kc-footer__watermark .kc-brand__tld {
	color: transparent;
	-webkit-text-stroke: 1px var(--wp--preset--color--wine-deep);
}

/* Product page
   ========================================================================== */

.kc-product-single__summary .wp-block-post-title {
	margin-top: 0;
	letter-spacing: -.01em;
}

.kc-product-single__summary .wc-block-components-product-price,
.kc-product-single__summary .wp-block-woocommerce-product-price {
	font-family: var(--kc-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--wp--preset--color--wine);
}

.kc-product-single__info {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--kc-soft);
	font-size: .9375rem;
}

.kc-product-single__info p {
	margin: .4em 0;
}

.wp-block-add-to-cart-form .single_add_to_cart_button {
	padding: .9em 1.8em;
	border: 2px solid var(--kc-ink);
	border-radius: 0;
	background: var(--kc-ink);
	color: var(--kc-paper);
	font-family: var(--kc-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.wp-block-add-to-cart-form .single_add_to_cart_button:hover {
	background: transparent;
	color: var(--kc-ink);
}

.wp-block-add-to-cart-form .variations select,
.wp-block-add-to-cart-form .quantity .qty {
	padding: .6em .8em;
	border: 2px solid var(--wp--preset--color--rule);
	border-radius: 0;
	font: inherit;
}

/* The inherited line height is taller than the box left inside a fixed height,
   which clipped „Wybierz opcję” */
.wp-block-add-to-cart-form .variations select {
	height: auto;
	min-height: 2.75rem;
	padding-block: .4em;
	line-height: 1.3;
}

.wp-block-add-to-cart-form .variations :is(th, td) {
	vertical-align: middle;
}

/* Card button while adding, then a link to the cart beside it */
.kc-product__btn.loading {
	opacity: .6;
	pointer-events: none;
}

.kc-product__action .added_to_cart {
	display: inline-block;
	margin-top: .5rem;
	font-size: .9375rem;
}

.wp-block-add-to-cart-form .variations th.label {
	font-family: var(--kc-display);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: left;
	padding-right: 1em;
}

.kc-related {
	padding-top: var(--wp--preset--spacing--50);
	border-top: 2px solid currentColor;
}

.kc-related:not(:has(.kc-concerts, .kc-products, .kc-artists)) {
	display: none;
}

/* Prefooter */
.kc-prefooter h2 {
	margin: 0;
}

/* Artist gallery: black and white until you look closer */
.kc-gallery.wp-block-gallery img {
	filter: grayscale(1);
	transition: filter .6s var(--kc-ease), transform .8s var(--kc-ease);
}

.kc-gallery.wp-block-gallery .wp-block-image {
	overflow: hidden;
}

.kc-gallery.wp-block-gallery .wp-block-image:hover img {
	filter: none;
	transform: scale(1.04);
}

/* The photos fill the row as one strip of equal height: two share the row,
   three or more go three to a row. Core stretched a lone portrait taller
   than the screen, and a fixed third left empty space beside two photos. A
   lone photo takes half the row, since a full-width strip cut faces off. */
@media (min-width: 782px) {
	.kc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
		flex: 1 1 calc((100% - 2 * var(--wp--style--unstable-gallery-gap, 16px)) / 3);
		width: auto !important;
	}

	.kc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:only-child {
		flex: 0 1 calc((100% - var(--wp--style--unstable-gallery-gap, 16px)) / 2);
	}

	.kc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
		/* core sizes cropped gallery images with flex: 1 0 0%, which overrides a height */
		flex: none !important;
		height: clamp(16rem, 24vw, 22rem) !important;
		object-fit: cover;
		object-position: center 15%;
	}
}

/* Phones: show photographs whole
   ==========================================================================
   On a portrait screen, cover-cropping cuts people out of the artist cards,
   so below 782px those photos keep their own proportions. The hero is the
   exception: the stage photo has its subject, the microphone, in the
   middle, so it still fills the screen, cropped around the mic. */

@media (max-width: 781px) {
	.kc-hero .wp-block-cover__image-background {
		object-position: 50% 60%;
	}

	/* Artist cards keep one frame size so the row stays even; the whole
	   photo is fitted inside it on black */
	.kc-artist__media img {
		object-fit: contain;
	}

	.kc-artists--fan {
		scroll-padding-inline: var(--wp--style--root--padding-left, 16px);
	}

	.kc-artists--fan .kc-artist,
	.kc-artists--fan .kc-artist:nth-child(n) {
		scroll-snap-align: start;
	}

	/* Artist page photo and gallery: natural proportions */
	.kc-artist-hero__photo img {
		aspect-ratio: auto;
		height: auto;
		object-fit: contain;
	}

	.kc-gallery.wp-block-gallery.is-cropped .wp-block-image img {
		height: auto;
		object-fit: contain;
	}

	.kc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
		width: 100% !important;
	}

	/* Shop tiles: the whole product, label underneath */
	.kc-hub__tile {
		aspect-ratio: 4 / 3;
	}

	.kc-hub__media img {
		object-fit: contain;
		box-sizing: border-box;
		padding-bottom: 5.5rem;
	}
}

/* Shop on light grey (client: the black shop sections were too harsh)
   ========================================================================== */

.kc-section--shop {
	background: linear-gradient(180deg, #f7f7f7 0%, #e8e8e8 100%);
}

.kc-section--shop .kc-product__media {
	background: var(--kc-paper);
}

/* Add to cart is a purchase action, like tickets: wine */
.wp-element-button.kc-product__btn:not(.kc-product__btn--ghost) {
	background: var(--kc-wine);
	border-color: var(--kc-wine);
	color: var(--kc-paper);
}

.wp-element-button.kc-product__btn:not(.kc-product__btn--ghost):hover,
.wp-element-button.kc-product__btn:not(.kc-product__btn--ghost):focus-visible {
	background: var(--kc-wine-deep);
	border-color: var(--kc-wine-deep);
	color: var(--kc-paper);
}

.wp-block-add-to-cart-form .single_add_to_cart_button {
	background: var(--kc-wine);
	border-color: var(--kc-wine);
}

.wp-block-add-to-cart-form .single_add_to_cart_button:hover {
	background: var(--kc-wine-deep);
	border-color: var(--kc-wine-deep);
	color: var(--kc-paper);
}

/* Showcase: tabs + artist filter */
.kc-showcase__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--50);
	border-bottom: 2px solid var(--kc-ink);
}

.kc-showcase__tabs {
	display: flex;
	gap: var(--wp--preset--spacing--40);
}

.kc-showcase__tab {
	position: relative;
	padding: .4em 0 .55em;
	border: 0;
	background: none;
	font-family: var(--kc-display);
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mute);
	cursor: pointer;
}

.kc-showcase__tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 4px;
	background: var(--kc-wine);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s var(--kc-ease);
}

.kc-showcase__tab[aria-selected="true"] {
	color: var(--kc-ink);
}

.kc-showcase__tab[aria-selected="true"]::after {
	transform: scaleX(1);
}

.kc-showcase__chips {
	padding-bottom: .5rem;
}

.kc-showcase .kc-chip {
	background: transparent;
	cursor: pointer;
	font-family: var(--kc-display);
}

.kc-showcase .kc-chip.is-active {
	background: var(--kc-ink);
	color: var(--kc-paper);
}

.kc-showcase__heading {
	margin: 0 0 var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--x-large);
}

.kc-showcase.is-enhanced .kc-showcase__heading {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.kc-showcase__panel + .kc-showcase__panel {
	margin-top: var(--wp--preset--spacing--60);
}

.kc-showcase.is-enhanced .kc-showcase__panel + .kc-showcase__panel {
	margin-top: 0;
}

.kc-showcase__panel[hidden],
.kc-showcase__item[hidden] {
	display: none;
}

.kc-showcase__panel:not([hidden]) {
	animation: kc-fade-up .6s var(--kc-ease) both;
}

.kc-showcase__item {
	display: flex;
}

.kc-showcase__item > .kc-product {
	width: 100%;
}

.kc-showcase__empty {
	color: var(--wp--preset--color--mute);
}

.kc-showcase__more {
	margin: var(--wp--preset--spacing--50) 0 0;
	text-align: center;
}

/* Shop hub tiles on light grey, products shown whole; a tile with its own
   photo (category thumbnail) keeps the dark photographic treatment */
.kc-hub__tile--product,
.kc-hub__tile--tickets:not(.kc-hub__tile--photo) {
	background: var(--kc-soft);
	color: var(--kc-ink);
}

.kc-hub__tile--product:hover,
.kc-hub__tile--product:focus-visible,
.kc-hub__tile--tickets:not(.kc-hub__tile--photo):hover,
.kc-hub__tile--tickets:not(.kc-hub__tile--photo):focus-visible {
	color: var(--kc-ink);
}

.kc-hub__tile--product .kc-hub__media::after,
.kc-hub__tile--tickets:not(.kc-hub__tile--photo) .kc-hub__media::after {
	display: none;
}

.kc-hub__tile--product .kc-hub__media img {
	object-fit: contain;
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) 6.5rem;
	filter: none;
}

.kc-hub__tile--duo .kc-hub__media {
	display: flex;
	justify-content: center;
	gap: 0;
}

.kc-hub__tile--duo .kc-hub__media img {
	position: relative;
	width: 50%;
}

.kc-hub__tile--duo .kc-hub__media img + img {
	margin-left: -8%;
}

.kc-hub__tile--tickets:not(.kc-hub__tile--photo) .kc-hub__media--type {
	-webkit-text-stroke-color: rgba(15, 15, 15, .25);
}

.kc-hub__tile--tickets:not(.kc-hub__tile--photo):hover .kc-hub__media--type {
	-webkit-text-stroke-color: rgba(15, 15, 15, .7);
}

.kc-hub__tile--product .kc-hub__text,
.kc-hub__tile--tickets:not(.kc-hub__tile--photo) .kc-hub__text {
	color: var(--wp--preset--color--mute);
}

/* Mobile buy bar (product page): visible without scrolling
   ========================================================================== */

.kc-buy-bar {
	display: none;
}

@media (max-width: 781px) {
	.kc-buy-bar:not([hidden]) {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		gap: var(--wp--preset--spacing--30);
		padding: .75rem var(--wp--style--root--padding-left, 16px) calc(.75rem + env(safe-area-inset-bottom));
		background: var(--kc-ink);
		color: var(--kc-paper);
		box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);
		transform: translateY(110%);
		transition: transform .35s var(--kc-ease);
	}

	.kc-buy-bar.is-shown {
		transform: none;
	}

	.kc-buy-bar__info {
		display: grid;
		min-width: 0;
		flex: 1;
		line-height: 1.2;
	}

	.kc-buy-bar__name {
		overflow: hidden;
		font-family: var(--kc-display);
		font-size: .875rem;
		font-weight: 700;
		text-overflow: ellipsis;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.kc-buy-bar__price {
		font-size: 1rem;
	}

	.kc-buy-bar__btn {
		flex-shrink: 0;
		background: var(--kc-wine);
		border-color: var(--kc-wine);
		color: var(--kc-paper);
		font-size: .875rem;
	}

	.kc-buy-bar__soldout {
		font-family: var(--kc-display);
		font-weight: 700;
		text-transform: uppercase;
		color: var(--wp--preset--color--mute-on-dark);
	}

	/* keep the footer reachable above the bar */
	body:has(.kc-buy-bar.is-shown) .kc-footer {
		padding-bottom: 6rem !important;
	}
}

/* Concert page on phones: short header, the essentials in one block
   ========================================================================== */

@media (max-width: 781px) {
	.kc-concert-hero {
		padding-top: var(--wp--preset--spacing--40) !important;
		padding-bottom: var(--wp--preset--spacing--40) !important;
	}

	.kc-concert-hero .wp-block-post-title {
		font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
	}

	.kc-concert-hero + .wp-block-group {
		padding-top: var(--wp--preset--spacing--30) !important;
	}

	.kc-ticket {
		margin-bottom: var(--wp--preset--spacing--40);
	}

	/* Date strip: weekday, day, month and time on one line */
	.kc-ticket__stub {
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
		justify-items: start;
		text-align: left;
	}

	.kc-ticket__stub time {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: .2em .6em;
	}

	.kc-ticket__day {
		margin: 0;
		font-size: 2.5rem;
	}

	.kc-ticket__time {
		margin: 0 0 0 auto;
		font-size: 1.25rem;
	}

	.kc-ticket__body {
		padding: var(--wp--preset--spacing--40);
	}

	.kc-ticket__artist {
		font-size: 1.5rem;
		margin-bottom: var(--wp--preset--spacing--20);
	}

	/* One column: where, then who organises; date and time are in the strip above,
	   the city is dropped when the venue or address already names it */
	.kc-ticket__facts .kc-fact--date,
	.kc-ticket__facts .kc-fact--time,
	.kc-ticket__facts .kc-fact--repeat {
		display: none;
	}

	.kc-ticket__facts {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--20);
		margin-bottom: var(--wp--preset--spacing--30);
	}

	.kc-ticket__facts dd {
		font-size: 1.0625rem;
	}

	.kc-ticket__facts .kc-link-arrow {
		display: inline-block;
		margin-top: .3em;
	}

	.kc-ticket__facts .kc-fact--organizer dd {
		font-size: .9375rem;
		font-weight: 400;
		color: var(--wp--preset--color--mute);
	}

	/* „W sprzedaży” says nothing the price and the button do not */
	.kc-ticket__action .kc-badge--on-sale {
		display: none;
	}

	.kc-presale__list {
		gap: .3rem .75rem;
	}

	.kc-ticket__action {
		padding-top: var(--wp--preset--spacing--30);
	}

	.kc-ticket__action .kc-cta {
		flex: 1 1 100%;
		text-align: center;
	}
}

/* Artist page from the template: lead and photo
   ========================================================================== */

.kc-artist-hero .wp-block-post-title {
	margin: 0;
	font-size: clamp(3.5rem, 10vw, 10rem) !important;
	/* Room for Polish accents on a second line (the dot of "Ż") */
	line-height: 1.1;
	letter-spacing: -.02em;
}

.kc-artist-hero__lead p {
	margin: 0;
}

.kc-artist-hero .kc-eyebrow:empty {
	display: none;
}

.kc-artist-hero__photo.wp-block-post-featured-image {
	margin: 0;
}

/* Carousel: four or more artists
   ========================================================================== */

.kc-carousel {
	position: relative;
	z-index: 1;
	margin-top: calc(-1 * clamp(2.5rem, 7vw, 8rem));
}

.kc-artists--carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(15rem, 24vw, 20rem);
	gap: 1.5rem;
	margin: 0;
	padding: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--40);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0;
	scrollbar-width: none;
}

.kc-artists--carousel::-webkit-scrollbar {
	display: none;
}

.kc-artists--carousel .kc-artist {
	scroll-snap-align: start;
}

.kc-artists--carousel .kc-artist:hover,
.kc-artists--carousel .kc-artist:focus-within {
	transform: translateY(-.75rem);
}

.kc-carousel__nav {
	display: flex;
	justify-content: flex-end;
	gap: .75rem;
}

.kc-carousel__btn {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.25rem;
	cursor: pointer;
	transition: background-color .2s, color .2s, opacity .2s;
}

.kc-carousel__btn:hover:not(:disabled),
.kc-carousel__btn:focus-visible {
	background: var(--kc-fg);
	color: var(--kc-bg);
}

.kc-carousel__btn:disabled {
	opacity: .3;
	cursor: default;
}

/* Up to five artists fit one row on a wide screen: show them all, no arrows */
@media (min-width: 1100px) {
	.kc-artists--carousel:not(:has(> .kc-artist:nth-child(6))) {
		grid-auto-columns: calc((100% - 4 * 1.5rem) / 5);
		overflow-x: visible;
	}

	.kc-carousel:not(:has(.kc-artist:nth-child(6))) .kc-carousel__nav {
		display: none;
	}
}

@media (max-width: 781px) {
	.kc-artists--carousel {
		grid-auto-columns: 78%;
	}

	.kc-carousel__nav {
		display: none;
	}
}

/* Press materials: the section on an artist page, and the organizers' page
   ========================================================================== */

.kc-press-section {
	padding-top: var(--wp--preset--spacing--50);
	border-top: 2px solid currentColor;
}

/* Heading and lead on the left, the downloads on the right */
@media (min-width: 782px) {
	.wp-block-group.kc-press-section {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: auto 1fr;
		column-gap: var(--wp--preset--spacing--60);
		align-items: start;
	}

	body .wp-block-group.kc-press-section > * {
		grid-column: 1;
		max-width: none;
		margin: 0 !important;
	}

	body .wp-block-group.kc-press-section > h2 {
		margin-bottom: var(--wp--preset--spacing--30) !important;
	}

	body .wp-block-group.kc-press-section > .kc-press-panel {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

.kc-press-panel .kc-press__actions {
	margin-top: var(--wp--preset--spacing--40);
}

.kc-press .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--kc-line);
}

.kc-press .wp-block-file a:not(.wp-block-file__button) {
	font-family: var(--kc-display);
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}

.kc-press .wp-block-file__button {
	margin-left: auto;
	padding: .6em 1.2em;
	border: 2px solid var(--kc-ink);
	border-radius: 0;
	background: transparent;
	color: var(--kc-ink);
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

.kc-press .wp-block-file__button:hover {
	background: var(--kc-ink);
	color: var(--kc-paper);
}

.kc-press-kits__filter {
	margin-bottom: var(--wp--preset--spacing--50);
}

.kc-press-kits__list {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

.kc-press-card {
	display: grid;
	grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50);
	align-items: start;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 2px solid var(--kc-ink);
}

.kc-press__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 25%;
	filter: grayscale(1);
}

.kc-press__name {
	margin: .2em 0 var(--wp--preset--spacing--30) !important;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: .9;
}

.kc-press__files {
	margin: 0 0 var(--wp--preset--spacing--30);
	padding: 0;
	list-style: none;
}

.kc-press__file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .85rem 0;
	border-bottom: 1px solid var(--kc-line);
	font-family: var(--kc-display);
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}

.kc-press__file::after {
	content: "↓";
	transition: transform .25s var(--kc-ease);
}

.kc-press__file:hover::after {
	transform: translateY(3px);
}

/* Not uploaded yet: the same row, muted, with a tag instead of the arrow */
.kc-press__file.is-soon {
	color: var(--kc-label);
}

.kc-press__file.is-soon::after {
	content: none;
}

.kc-press__tag {
	padding: .25em .7em;
	border: 1px dashed currentColor;
	font-size: .75rem;
	letter-spacing: .12em;
}

.kc-press__label {
	margin: var(--wp--preset--spacing--30) 0 .5rem;
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--kc-label);
}

.kc-press__photos {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kc-press__photos img {
	display: block;
	width: 6rem;
	height: 6rem;
	object-fit: cover;
	transition: opacity .2s;
}

.kc-press__photos a:hover img {
	opacity: .7;
}

.kc-press__soon {
	color: var(--kc-label);
}

.kc-press__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--40);
}

@media (max-width: 781px) {
	.kc-press-card {
		grid-template-columns: 1fr;
	}

	.kc-press__media img {
		aspect-ratio: 16 / 10;
	}
}

/* Galleries: cover cards, then a masonry of photos with a lightbox
   ========================================================================== */

.kc-galleries {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: var(--wp--preset--spacing--40);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kc-gallery-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.kc-gallery-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--kc-soft);
}

.kc-gallery-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter .6s var(--kc-ease), transform .8s var(--kc-ease);
}

.kc-gallery-card a:hover img,
.kc-gallery-card a:focus-visible img {
	filter: none;
	transform: scale(1.05);
}

/* Title and photo count sit on the cover, over a dark fade */
.kc-gallery-card a {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
	background: var(--kc-ink);
}

.kc-gallery-card__body {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	gap: .35rem;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
	color: var(--kc-paper);
}

.kc-gallery-card__meta {
	font-family: var(--kc-display);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
}

.kc-gallery-card__title::after {
	content: "→";
	display: inline-block;
	margin-left: .3em;
	transition: transform .4s var(--kc-ease);
}

.kc-gallery-card a:hover .kc-gallery-card__title::after,
.kc-gallery-card a:focus-visible .kc-gallery-card__title::after {
	transform: translateX(.3em);
}

.kc-gallery-card__title {
	font-family: var(--kc-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

/* Inside a gallery post: justified rows. Every photo keeps its proportions
   (--kc-r, its width over its height, set in inc/templates.php) and grows
   in proportion to it, so each row fills the width at one height with
   nothing cropped and no gaps. The filler stops a short last row from
   stretching its photos. */
.kc-gallery-post .wp-block-gallery.has-nested-images.kc-rows {
	--kc-row: clamp(7rem, 22vw, 19rem);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(.5rem, 1vw, .875rem);
}

.kc-gallery-post .wp-block-gallery.kc-rows::after {
	content: "";
	flex-grow: 999;
}

/* gallery-rows.js has balanced the rows so each one fills the width */
.kc-gallery-post .wp-block-gallery.kc-rows.is-balanced::after {
	display: none;
}

.kc-gallery-post .wp-block-gallery.has-nested-images.kc-rows figure.wp-block-image {
	position: relative;
	flex: var(--kc-r, 1.5) 1 calc(var(--kc-r, 1.5) * var(--kc-row));
	width: auto !important;
	margin: 0 !important;
	aspect-ratio: var(--kc-r, 1.5);
	overflow: hidden;
	border-radius: 3px;
	background: var(--kc-soft);
	cursor: zoom-in;
}

.kc-gallery-post .wp-block-gallery.has-nested-images.kc-rows figure.wp-block-image img {
	flex: none !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform .9s var(--kc-ease), filter .6s var(--kc-ease);
}

.kc-gallery-post .wp-block-gallery.kc-rows figure.wp-block-image:hover img {
	transform: scale(1.05);
	filter: brightness(.88);
}

/* Photos rise and settle into place as they scroll in */
html.kc-js .kc-gallery-post figure.wp-block-image.kc-reveal {
	transform: translateY(32px) scale(.94);
}

html.kc-js .kc-gallery-post figure.wp-block-image.kc-reveal.is-in {
	transform: none;
}

/* Back to all galleries: rides along the bottom of the screen while the
   photos scroll by, and settles under them at the end */
.kc-gallery-back {
	position: sticky;
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 5;
	display: flex;
	justify-content: center;
	margin-block: var(--wp--preset--spacing--50) 0 !important;
	pointer-events: none;
}

.kc-gallery-back a {
	pointer-events: auto;
	padding: .85em 1.5em;
	border-radius: 999px;
	background: var(--kc-ink);
	color: var(--kc-paper);
	font-family: var(--kc-display);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
	transition: background-color .3s, transform .3s var(--kc-ease);
}

.kc-gallery-back a:hover,
.kc-gallery-back a:focus-visible {
	background: var(--kc-wine);
	transform: translateY(-2px);
}

/* "O mnie": a short intro row, then the timeline. On a phone the timeline
   runs down a line on the left; from 900px it runs across, three entries
   to a row, so the page has no empty column. */
.kc-bio__intro > * {
	margin: 0;
}

.kc-bio__intro > h2 {
	margin-bottom: var(--wp--preset--spacing--30);
}

body .kc-bio > .kc-bio__intro + .kc-timeline {
	margin-top: var(--wp--preset--spacing--50);
}

.kc-timeline {
	border-left: 2px solid var(--kc-ink);
}

.kc-timeline__item {
	position: relative;
	padding: 0 0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
}

.kc-timeline__item:last-child {
	padding-bottom: 0;
}

.kc-timeline__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: .25em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--kc-wine);
}

.kc-timeline__item > * {
	margin: 0;
}

.kc-timeline__item .kc-eyebrow {
	color: var(--kc-wine);
}

.kc-timeline__item h3 {
	margin: .35rem 0 .6rem;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1;
}

@media (min-width: 900px) {
	.kc-bio__intro {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		column-gap: var(--wp--preset--spacing--60);
		align-items: start;
	}

	body .kc-bio > .kc-bio__intro + .kc-timeline {
		margin-top: var(--wp--preset--spacing--60);
	}

	.kc-timeline {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--50);
		border-left: 0;
	}

	.kc-timeline__item,
	.kc-timeline__item:last-child {
		padding: var(--wp--preset--spacing--40) 0 0;
		border-top: 2px solid var(--kc-ink);
	}

	.kc-timeline__item::before {
		left: 0;
		top: -7px;
	}
}

/* Lightbox: photos on black, like the rest of the site's photography */
.wp-lightbox-overlay .scrim {
	background-color: var(--kc-ink) !important;
}

.wp-lightbox-overlay button {
	color: var(--kc-paper) !important;
	fill: var(--kc-paper) !important;
}

/* Artist grid: three equal columns, cards of equal height
   (the card text wraps differently per artist) */
.kc-artists--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.kc-artists--grid .kc-artist {
	display: flex;
}

.kc-artists--grid .kc-artist__link {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.kc-artists--grid .kc-artist__body {
	flex: 1;
	align-content: start;
}

/* One square frame per card, filled by the photo and anchored near the top
   so faces stay in. The cards are short enough for the names to show on
   the first screen, and no photo sits on black bars. */
/* White behind the photo: the band and the duo are shot on a white studio
   wall and Marcin's photo is a cut-out on transparency, so all three cards
   share one background */
.kc-artists--grid .kc-artist__media {
	aspect-ratio: 1;
	background: #fff;
}

.kc-artists--grid .kc-artist__media img {
	object-fit: cover;
	object-position: center 15%;
}

/* Three across down to a tablet: with two columns the third artist sat
   alone on a second row */
@media (max-width: 1023px) {
	.kc-artists--grid {
		gap: var(--wp--preset--spacing--30);
	}

	.kc-artists--grid .kc-artist__name {
		font-size: 1.5rem;
	}
}

/* One card per row on a phone: a wider frame, so a card fits on screen */
@media (max-width: 599px) {
	.kc-artists--grid {
		grid-template-columns: 1fr;
	}

	.kc-artists--grid .kc-artist__media {
		aspect-ratio: 4 / 3;
	}
}

/* Intro line under a page title: wide like the title, so both share a left edge */
p.kc-lead {
	margin-block: 0 var(--wp--preset--spacing--50) !important;
	color: var(--wp--preset--color--mute);
}

/* Gallery grid: same three-column rhythm as the artist grid */
.kc-galleries {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.kc-gallery-card,
.kc-gallery-card a {
	display: flex;
	flex-direction: column;
}

.kc-gallery-card a {
	width: 100%;
	height: 100%;
}

@media (max-width: 1023px) {
	.kc-galleries {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.kc-galleries {
		grid-template-columns: 1fr;
	}
}

/* Showcase controls stay hidden until view.js decides to show them
   (the artist filter needs at least two artists with products) */
.kc-showcase__tabs[hidden],
.kc-showcase__chips[hidden] {
	display: none;
}

/* Galleries on a dark background: photos read better on black.
   ========================================================================== */

.kc-dark .kc-gallery-card__media { background: var(--wp--preset--color--ink-soft); }
.kc-dark .kc-gallery-back a,
.kc-dark .kc-eyebrow a { color: var(--wp--preset--color--mute-on-dark); }
.kc-dark .kc-gallery-back a:hover,
.kc-dark .kc-eyebrow a:hover { color: var(--wp--preset--color--paper); }
.kc-dark p, .kc-dark .wp-block-post-content { color: var(--wp--preset--color--paper); }

/* „Może Cię zainteresować” on the thank-you page
   ========================================================================== */

.kc-recommend { margin-block: var(--wp--preset--spacing--60); }
.kc-recommend__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: var(--wp--preset--spacing--40); list-style: none; padding: 0; }
.kc-recommend__list a { display: grid; gap: .4rem; color: inherit; text-decoration: none; }
.kc-recommend__list img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.kc-recommend__name { font-weight: 600; }

/* Presale prices between the ticket price and the button: one row per category */
.kc-presale { flex-basis: 100%; padding: .75rem 1rem; background: var(--kc-paper); border-left: 3px solid var(--wp--preset--color--wine); }
.kc-presale__title { margin: 0 0 .4rem; font-family: var(--kc-display); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--wine); }
.kc-presale__list { display: grid; grid-template-columns: auto auto 1fr; gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; align-items: baseline; }
.kc-presale__list li { display: contents; }
.kc-presale__tier { font-weight: 600; }
.kc-presale__now { font-family: var(--kc-display); font-size: 1.125rem; text-align: right; white-space: nowrap; }
.kc-presale__later { font-size: .9375rem; color: var(--wp--preset--color--mute); white-space: nowrap; }

/* Concert page: long description folded to three lines (assets/js/description-toggle.js). */
.kc-concert-description.is-folded {
	max-height: var(--kc-folded);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.kc-description-toggle {
	margin-top: .75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--kc-wine);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: .2em;
	cursor: pointer;
}

.kc-description-toggle::after {
	content: " ›";
}

.kc-description-toggle[aria-expanded="true"]::after {
	content: " ‹";
}

.kc-description-toggle:focus-visible {
	outline: 2px solid var(--kc-wine);
	outline-offset: 3px;
}
