.wp-block-svp-stavby-prehlad {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin: 1.5rem 0;
}

.svp-stavby-prehlad__group-title {
	font-size: 1.375rem;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var( --svp-brand, #0052a5 );
}

.svp-stavby-prehlad__grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 1.25rem;
}

.svp-stavby-prehlad__card {
	display: flex;
	flex-direction: column;
	border: 1px solid var( --svp-border, #cdd9ea );
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
}

.svp-stavby-prehlad__card:hover .svp-stavby-prehlad__card-title {
	text-decoration: underline;
}

.svp-stavby-prehlad__card-img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.svp-stavby-prehlad__card-title {
	display: block;
	padding: 0.75rem 1rem;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
}
