/* La Cucina di Chiara — griglia ricette con foto in home e archivi (21-09-2026) */

.blog .content,
.archive .content,
.search .content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 42px 30px;
}

.blog .content > *:not(.entry),
.archive .content > *:not(.entry),
.search .content > *:not(.entry) {
	grid-column: 1 / -1;
}

.blog .content .entry,
.archive .content .entry,
.search .content .entry {
	margin: 0;
	padding: 0 0 22px;
	border-bottom: 1px solid #E9E9E9;
	display: flex;
	flex-direction: column;
}

.blog .content .entry-wrap,
.archive .content .entry-wrap,
.search .content .entry-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* foto della ricetta */
.ricetta-foto {
	display: block;
	overflow: hidden;
	margin-bottom: 16px;
	background: #f5f5f5;
}

.ricetta-foto img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	margin: 0;
	transition: transform .6s ease;
}

.ricetta-foto:hover img,
.ricetta-foto:focus img {
	transform: scale(1.05);
}

.ricetta-foto-vuota {
	display: block;
	height: 230px;
	margin-bottom: 16px;
	background: #f5f5f5 url(../images/header.jpg) center/cover no-repeat;
	opacity: .35;
}

/* titolo e meta dentro la card */
.blog .content .entry-header,
.archive .content .entry-header,
.search .content .entry-header {
	max-width: none;
	margin: 0;
}

.blog .content .entry-title,
.archive .content .entry-title,
.search .content .entry-title {
	font-size: 24px;
	line-height: 1.25;
}

.blog .content .entry-header .entry-meta,
.archive .content .entry-header .entry-meta,
.search .content .entry-header .entry-meta {
	margin-bottom: 10px;
	font-size: 13px;
}

.blog .content .entry-summary p,
.archive .content .entry-summary p,
.search .content .entry-summary p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 12px;
}

.blog .content .entry-footer,
.archive .content .entry-footer {
	margin-top: auto;
}

.blog .content .entry-footer .entry-meta,
.archive .content .entry-footer .entry-meta {
	font-size: 13px;
}

@media only screen and (max-width: 1023px) {
	.blog .content,
	.archive .content,
	.search .content {
		gap: 34px 24px;
	}
	.ricetta-foto img,
	.ricetta-foto-vuota {
		height: 190px;
	}
}

@media only screen and (max-width: 640px) {
	.blog .content,
	.archive .content,
	.search .content {
		display: block;
	}
	.blog .content .entry,
	.archive .content .entry,
	.search .content .entry {
		margin-bottom: 34px;
	}
	.ricetta-foto img,
	.ricetta-foto-vuota {
		height: 210px;
	}
	.blog .content .entry-title,
	.archive .content .entry-title,
	.search .content .entry-title {
		font-size: 22px;
	}
}
