/* Spirax Records – kompaktes Custom-CSS (ergänzt lokales Bootstrap). */

:root {
	--spirax-accent: #1a1a1a;
}

body {
	background: #fafafa;
}

.spirax-header .navbar-brand {
	letter-spacing: .02em;
}

/* Cards */
.spirax-card {
	transition: transform .12s ease, box-shadow .12s ease;
}
.spirax-card:hover {
	transform: translateY(-2px);
}
.spirax-card .card-img-top {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #ececec;
}
.spirax-noimg {
	aspect-ratio: 1 / 1;
	font-size: 2rem;
	background: #ececec;
}

/* Artist-/Label-Archive: runde Avatar-Kacheln (andere Darstellung als Platten). */
.spirax-entity-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 160px;
	margin: 0 auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: #ececec;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	transition: transform .12s ease, box-shadow .12s ease;
}
.spirax-entity-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.spirax-entity-noimg {
	font-size: 2.75rem;
	font-weight: 700;
	color: #9a9a9a;
	text-transform: uppercase;
	user-select: none;
}
.spirax-entity:hover .spirax-entity-img,
.spirax-entity:focus-visible .spirax-entity-img {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.spirax-entity-name {
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.25;
}

.spirax-cover {
	width: 100%;
	max-width: 480px;
}

/* Galerie: Bootstrap-Carousel (großes Bild) + Thumbnail-Slider darunter. */
.spirax-gallery .carousel-inner {
	background: #ececec;
}
.spirax-gallery .carousel-item img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}
.spirax-gallery .carousel-control-prev,
.spirax-gallery .carousel-control-next {
	width: 12%;
}
.spirax-gallery .carousel-control-prev-icon,
.spirax-gallery .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, .45);
	border-radius: 50%;
	padding: 12px;
	background-size: 50%;
}

/* carousel-indicators als Thumbnail-Leiste: statisch unter das Bild, scrollbar. */
.spirax-gallery-thumbs.carousel-indicators {
	position: static;
	margin: 10px 0 0;
	padding: 2px;
	justify-content: flex-start;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 8px;
	scrollbar-width: thin;
}
.spirax-gallery-thumbs.carousel-indicators [data-bs-slide-to] {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	padding: 0;
	margin: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: #fff;
	opacity: .55;
	text-indent: 0;
	transition: opacity .12s ease, border-color .12s ease;
}
.spirax-gallery-thumbs.carousel-indicators .active {
	opacity: 1;
	border-color: var(--spirax-accent);
}
.spirax-gallery-thumbs.carousel-indicators img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2px;
}

.spirax-facts th {
	width: 9rem;
	color: #6c757d;
	font-weight: 600;
}

/* YouTube-Lazy-Facade */
.spirax-video {
	background-size: cover;
	background-position: center;
	cursor: pointer;
	border-radius: .375rem;
	overflow: hidden;
	position: relative;
}
.spirax-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .25);
	transition: background .15s ease;
}
.spirax-video:hover::after,
.spirax-video:focus::after {
	background: rgba(0, 0, 0, .1);
}
.spirax-video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .9);
	color: #1a1a1a;
	font-size: 1.5rem;
	line-height: 1;
	z-index: 2;
	cursor: pointer;
}
.spirax-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	z-index: 3;
}

.spirax-profile {
	white-space: normal;
}

.spirax-footer {
	background: #fff;
}
.spirax-attribution {
	font-style: italic;
}
