/*
 * Conference / event hall cards. Clickable cards (data-hall) open
 * the hall modal (assets/js/design-hall-modal.js).
 */

.teledom-design .confcards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

/* /restauracia/ ships 4 hall cards (Átrium · Rakócziho · Malý zlatý ·
 * Mestská Pivnica). 3-col grid would leave the 4th card alone in row 2 —
 * use 4-col on wide screens, then 2x2 on tablet. */
.teledom-design.teledom-page-restauracia .confcards {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1280px) {
	.teledom-design.teledom-page-restauracia .confcards {
		grid-template-columns: repeat(2, 1fr);
	}
}

.teledom-design .confcard {
	background: var(--paper);
	border-radius: var(--r-lg);
	overflow: hidden;
	border: 1px solid var(--line-light);
	transition: all 0.3s var(--ease);
	display: flex;
	flex-direction: column;
}

.teledom-design .confcard:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.teledom-design .confcard .img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.teledom-design .confcard .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.teledom-design .confcard:hover .img img {
	transform: scale(1.05);
}

.teledom-design .confcard .body {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.teledom-design .confcard h3 {
	margin: 0 0 8px;
}

.teledom-design .confcard .row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: auto;
	padding-top: 20px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	line-height: 1.45;
	text-transform: uppercase;
	color: var(--muted-light);
}

.teledom-design .confcard .pax {
	color: var(--gold-deep);
	font-weight: 600;
	white-space: nowrap;
}

.teledom-design .confcard[data-hall] {
	cursor: pointer;
}

.teledom-design .confcard[data-hall]:focus-visible {
	outline: 2px solid var(--gold-deep);
	outline-offset: 4px;
}
