/* Grid Layout */
.recipe-grid-wrapper-7a42f71a {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Individual Items */
.recipe-item-7a42f71a {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	height: 300px; /* Default height, can be changed via controls */
	background-color: #f5f5f5;
}

.recipe-link-wrapper-7a42f71a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none !important;
}

/* Images */
.recipe-image-wrap-7a42f71a {
	width: 100%;
	height: 100%;
}

.recipe-image-wrap-7a42f71a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recipe-item-7a42f71a:hover .recipe-image-wrap-7a42f71a img {
	transform: scale(1.1);
}

/* Overlay */
.recipe-overlay-7a42f71a {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.75); /* Default, can be changed via controls */
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	text-align: center;
	transition: opacity 0.4s ease;
	pointer-events: none; /* Let clicks pass through to the link wrapper if present */
}

.recipe-item-7a42f71a:hover .recipe-overlay-7a42f71a {
	opacity: 1;
}

/* Content */
.recipe-content-7a42f71a {
	transform: translateY(20px);
	transition: transform 0.4s ease;
	width: 100%;
}

.recipe-item-7a42f71a:hover .recipe-content-7a42f71a {
	transform: translateY(0);
}

.recipe-title-7a42f71a {
	margin: 0 0 10px 0;
	color: #ffffff;
}

.recipe-desc-7a42f71a {
	margin: 0;
	color: #dddddd;
	font-size: 15px;
	line-height: 1.5;
}