/* ============================================================
   LIBRERIA FANTASTICA — book-list.css
   Compact book entry component (.lf-book-entry)
   Used in editorial posts via lf/libro-card block (variant: compact)
   ============================================================ */

.lf-book-list {
	margin: 32px 0;
}

/* ── Entry row ── */
.lf-book-entry {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 20px;
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.lf-book-entry:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* ── Left column: cover + number ── */
.lf-book-entry-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-top: 2px;
}

.lf-book-entry-cover {
	width: 76px;
	height: 114px;
	border-radius: 3px;
	box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.22);
	object-fit: cover;
	display: block;
}

.lf-book-entry-placeholder {
	width: 76px;
	height: 114px;
	border-radius: 3px;
	background: var(--lf-hover-bg, #F4F1EE);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.08);
}

.lf-book-entry-num {
	font-family: var(--lf-font-body, 'DM Sans', sans-serif);
	font-size: 9px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.28);
	text-align: center;
}

/* ── Right column: text ── */
.lf-book-entry-right {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lf-book-entry-title {
	font-family: var(--lf-font-display, 'DM Serif Display', Georgia, serif) !important;
	font-size: 18px !important;
	font-style: italic !important;
	font-weight: 400 !important;
	color: var(--lf-text, #111) !important;
	line-height: 1.2 !important;
	margin: 0 0 2px !important;
	text-decoration: none;
}

.lf-book-entry-title:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lf-book-entry-author {
	font-family: var(--lf-font-body, 'DM Sans', sans-serif);
	font-size: 12px;
	color: rgba(0, 0, 0, 0.4);
	margin: 0 0 10px;
}

.lf-book-entry-desc {
	font-family: var(--lf-font-body, 'DM Sans', sans-serif);
	font-size: 14px;
	line-height: 1.78;
	color: rgba(0, 0, 0, 0.62);
	margin: 0;
}

.lf-book-entry-desc p {
	margin: 0 0 10px;
}

.lf-book-entry-desc p:last-child {
	margin-bottom: 0;
}

.lf-book-entry-link {
	display: inline-block;
	font-family: var(--lf-font-body, 'DM Sans', sans-serif);
	font-size: 12px;
	color: rgba(0, 0, 0, 0.35);
	text-decoration: none;
	border-bottom: 0.5px solid rgba(0, 0, 0, 0.15);
	padding-bottom: 1px;
	margin-top: 10px;
	transition: color 0.15s, border-bottom-color 0.15s;
}

.lf-book-entry-link:hover {
	color: var(--lf-text, #111) !important;
	border-bottom-color: var(--lf-text, #111);
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.lf-book-entry {
		grid-template-columns: 1fr;
	}

	.lf-book-entry-left {
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		padding-top: 0;
	}

	.lf-book-entry-cover,
	.lf-book-entry-placeholder {
		width: 60px;
		height: 90px;
	}

	.lf-book-entry-num {
		display: none;
	}
}
