/**
 * Epic Food Review — Elementor Widget Styles
 *
 * Lightweight, responsive base styles. Designed to be a clean starting point
 * that Elementor's typography/color/spacing controls can layer on top of.
 */

/* ── Grid system ───────────────────────────────────────────── */
.efr-review-grid,
.efr-restaurant-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
.efr-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.efr-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.efr-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 768px) {
	.efr-cols-2,
	.efr-cols-3,
	.efr-cols-4 {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.efr-cols-3,
	.efr-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ── Review card ───────────────────────────────────────────── */
.efr-review-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
	display: flex;
	flex-direction: column;
}

.efr-review-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.efr-review-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: #f5f5f5;
	overflow: hidden;
}

.efr-review-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.efr-review-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.efr-review-title {
	margin: 0;
	font-size: 1.05em;
	line-height: 1.35;
	font-weight: 600;
}

.efr-review-title a {
	color: inherit;
	text-decoration: none;
}

.efr-review-title a:hover {
	color: #2271b1;
}

.efr-review-meta {
	font-size: 0.85em;
	color: #666;
	line-height: 1.4;
}

.efr-review-creator {
	font-weight: 500;
}

.efr-review-excerpt {
	font-size: 0.95em;
	line-height: 1.55;
	color: #333;
	margin-top: 4px;
}

.efr-review-source-link {
	display: inline-block;
	font-size: 0.85em;
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
	margin-top: auto;
	padding-top: 4px;
}

.efr-review-source-link:hover {
	text-decoration: underline;
}

/* ── Restaurant card ───────────────────────────────────────── */
.efr-restaurant-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.efr-restaurant-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.efr-restaurant-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.efr-restaurant-thumb {
	aspect-ratio: 16 / 9;
	background: #f5f5f5;
	overflow: hidden;
}

.efr-restaurant-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.efr-restaurant-body {
	padding: 18px;
}

.efr-restaurant-world {
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #888;
	margin-bottom: 4px;
	font-weight: 600;
}

.efr-restaurant-title {
	margin: 0 0 6px;
	font-size: 1.18em;
	line-height: 1.3;
	font-weight: 600;
}

.efr-restaurant-price {
	display: inline-block;
	background: #f0f7ff;
	color: #2271b1;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 10px;
}

.efr-restaurant-desc {
	font-size: 0.92em;
	line-height: 1.55;
	color: #555;
}

/* ── Utility states ────────────────────────────────────────── */
.efr-empty {
	padding: 36px 24px;
	background: #f9f9f9;
	border: 1px dashed #ddd;
	border-radius: 8px;
	text-align: center;
	color: #888;
	font-style: italic;
}

.efr-edit-notice {
	padding: 12px 16px;
	background: #fffbe6;
	border-left: 4px solid #fbbf24;
	margin-bottom: 16px;
	font-size: 0.9em;
	color: #555;
	border-radius: 4px;
}
