/* Recipe Category Showcase - front-end styles */

.rcs-section {
	padding: 40px 0;
}

.rcs-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.rcs-title {
	text-align: center;
	margin-bottom: 32px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.rcs-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px 24px;
}

.rcs-item {
	flex: 0 1 var(--rcs-tile-size, 130px);
	max-width: var(--rcs-tile-size, 130px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.rcs-item:hover {
	text-decoration: none;
}

.rcs-circle {
	display: block;
	width: var(--rcs-tile-size, 130px);
	height: var(--rcs-tile-size, 130px);
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	margin-bottom: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rcs-item:hover .rcs-circle {
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.rcs-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rcs-circle__placeholder {
	font-size: 2rem;
}

.rcs-label {
	font-weight: 600;
	font-size: 0.95rem;
}

.rcs-empty-notice {
	text-align: center;
	color: #a00;
	padding: 20px;
	font-style: italic;
}

@media (max-width: 600px) {
	.rcs-grid {
		gap: 24px 16px;
	}
	.rcs-item {
		flex-basis: 100px;
		max-width: 100px;
	}
	.rcs-circle {
		width: 100px;
		height: 100px;
	}
}
