﻿/* Kategorie page - auction cards styling */

/* Tighter spacing between cards while keeping Bootstrap grid (3 per row on xl via col-xl-4) */
.kategorie-page .auction-card-area .row {
	/* Bootstrap gutter overrides */
	--bs-gutter-x: 1rem;   /* horizontal gap ~16px */
	--bs-gutter-y: 1.25rem; /* vertical gap ~20px */
}

.kategorie-page .auction-card {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Make image wrapper square with fixed aspect ratio */
.kategorie-page .auction-card-img-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 100%; /* Creates 1:1 aspect ratio (square) */
	overflow: hidden;
	background-color: #f5f5f5;
}

.kategorie-page .auction-card-img-wrap .card-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* Make images square and crop to fill container */
.kategorie-page .auction-card-img-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Crops image to fill square */
	object-position: center; /* Centers the crop */
}

/* Ensure badge stays on top */
.kategorie-page .auction-card-img-wrap .batch {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 10;
}

/* Flex grow content to fill remaining space */
.kategorie-page .auction-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.auction-card .auction-card-content {
	padding: 15px 15px 15px;
}

.auction-card-heading .title a {
    color: #333;
}


.top-content ul {
	border-bottom: none;
}
