/* =========================================================
   PIXELCODE DJ-Karten – Grundstil (dunkel)
   Alle Werte lassen sich im Elementor-Stil-Tab überschreiben.
   ========================================================= */

.pxc-dj__grid {
	--pxc-dj-card: #16151c;
	--pxc-dj-media: #1f1d26;
	--pxc-dj-border: #2a2833;
	--pxc-dj-accent: #ec4f93;
	--pxc-dj-ink: #fff;
	--pxc-dj-muted: #a3a1ad;
	--pxc-dj-label: #b3b1bd;

	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pxc-dj__grid *,
.pxc-dj__grid *::before,
.pxc-dj__grid *::after { box-sizing: border-box; }

.pxc-dj__item {
	margin: 0;
	padding: 0;
	min-width: 0;
}
.pxc-dj__item::before,
.pxc-dj__item::marker { content: none; }

.pxc-dj__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--pxc-dj-card);
	border: 1px solid var(--pxc-dj-border);
	border-radius: 28px;
	color: inherit;
	text-decoration: none;
	transition-property: transform, background-color, border-color, box-shadow;
	transition-duration: .25s;
	transition-timing-function: ease;
}
a.pxc-dj__card,
a.pxc-dj__card:hover,
a.pxc-dj__card:focus { color: inherit; text-decoration: none; }
a.pxc-dj__card:focus-visible { outline: 2px solid var(--pxc-dj-accent); outline-offset: 3px; }
.pxc-dj__card { height: 100%; }
.pxc-dj__card:hover { border-color: #3b3846; transform: translateY(-4px); }
.pxc-dj__card:hover .pxc-dj__media img { transform: scale(1.04); }

/* Foto */
.pxc-dj__media {
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--pxc-dj-media);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pxc-dj__media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	display: block;
	border: 0;
	border-radius: 0;
	transition-property: transform, filter, opacity;
	transition-duration: .25s;
	transition-timing-function: ease;
}
.pxc-dj__placeholder {
	padding: 0 16px;
	font-size: 14px;
	letter-spacing: .12em;
	text-align: center;
	color: #6c6a76;
}

/* Text */
.pxc-dj__body {
	flex: 1 1 auto;
	padding: 28px 28px 32px;
}

.pxc-dj__body > :last-child { margin-bottom: 0; }

.pxc-dj__room {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pxc-dj-label);
}

.pxc-dj__genre {
	margin: 0 0 12px;
	padding: 0;
	font-family: "Big Shoulders Display", "Oswald", Impact, sans-serif;
	font-weight: 900;
	font-size: clamp(34px, 3.2vw, 48px);
	line-height: .95;
	letter-spacing: -.005em;
	text-transform: uppercase;
	color: var(--pxc-dj-accent);
	overflow-wrap: break-word;
	transition: color .25s ease;
}

.pxc-dj__name {
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pxc-dj-ink);
}

.pxc-dj__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pxc-dj-muted);
}

/* Grundwerte für kleinere Geräte (Elementor-Einstellungen haben Vorrang) */
@media (max-width: 1024px) {
	.pxc-dj__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pxc-dj__genre { font-size: clamp(36px, 5.5vw, 52px); }
}
@media (max-width: 767px) {
	.pxc-dj__grid { grid-template-columns: 1fr; gap: 16px; }
	.pxc-dj__card { border-radius: 22px; }
	.pxc-dj__body { padding: 22px 22px 26px; }
	.pxc-dj__genre { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.pxc-dj__card,
	.pxc-dj__media img { transition: none; }
	.pxc-dj__card:hover { transform: none !important; }
	.pxc-dj__card:hover .pxc-dj__media img { transform: none !important; }
}
