/* digital-book-v08 list shortcode */

.dbv08-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {
	.dbv08-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
	.dbv08-list { grid-template-columns: 1fr; gap: 16px; }
}

.dbv08-card {
	display: flex;
	flex-direction: column;
	background: var(--cn-surface);
	border: 1px solid var(--cn-line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.18s ease;
}
.dbv08-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.dbv08-card__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	flex: 1;
}
.dbv08-card__link:hover { color: inherit; text-decoration: none; }

.dbv08-card__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 7;
	background: var(--cn-surface-warm-3);
	overflow: hidden;
}
.dbv08-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--cn-surface-warm-3);
}

.dbv08-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.dbv08-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--cn-ink);
}

.dbv08-card__author {
	margin: 0;
	font-size: 13px;
	color: var(--cn-ink-3);
}

.dbv08-card__cta {
	margin-top: auto;
	padding: 12px 18px 18px;
	display: flex;
	justify-content: flex-end;
}

.dbv08-card__cta .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.dbv08-list-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--cn-ink-3);
}
