.ref-filter-wrap {
	margin-bottom: 24px;
}

.ref-service-filter {
	width: 100%;
	max-width: 320px;
	padding: 12px;
}

.ref-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.ref-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.ref-grid {
		grid-template-columns: 1fr;
	}
}

.ref-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	padding: 20px;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
}

.ref-card.hidden {
	display: none;
}

.ref-date {
	font-size: 14px;
	margin-bottom: 6px;
}

.ref-service {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 18px;
}

.ref-image-wrap {
	margin-bottom: 18px;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.ref-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ref-title {
	font-size: 22px;
	margin: 0 0 12px;
}

.ref-description {
	flex-grow: 1;
	margin-bottom: 20px;
	line-height: 1.5;
}

.ref-customer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.ref-customer-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;
}

.ref-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	text-decoration: none;
	border: 1px solid #000;
	width: fit-content;
}