/* ===== Ward Choose by Topic ===== */
.ward-choose-topic { padding: 70px 0; }
.ward-choose-topic-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; flex-wrap: wrap; gap: 16px; }
.ward-choose-topic-actions { display: flex; align-items: center; gap: 14px; }

.ward-topic-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--ward-navy, #091037);
	border: 1px solid #D1D5E1;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ward-topic-view-all:hover {
	background: #f8f9fc;
	color: var(--ward-navy, #091037);
	border-color: #D1D5E1;
}

.ward-topic-books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ward-topic-book-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--ward-radius);
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(16,26,74,.06);
	transition: transform .25s ease, box-shadow .25s ease;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.ward-topic-book-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 28px rgba(16,26,74,.1);
	color: inherit;
	text-decoration: none;
}
.ward-topic-book-media { aspect-ratio: 16/10; overflow: hidden; background: #eef0f6; }
.ward-topic-book-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ward-topic-book-media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(145deg, #e8eaf2, #d5d8e6);
}
.ward-topic-book-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ward-topic-book-cat { display: inline-block; color: var(--ward-gold); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.ward-topic-book-content h3 { font-size: 16px; color: var(--ward-navy); line-height: 1.6; margin-bottom: 8px; }
.ward-topic-book-content p { font-size: 13px; color: var(--ward-text-light); line-height: 1.7; margin-bottom: 16px; }
.ward-topic-book-card .ward-btn-navy-sm {
	margin-top: auto;
	align-self: flex-start;
	pointer-events: none;
}

@media (max-width: 900px) {
	.ward-topic-books-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.ward-topic-books-grid { grid-template-columns: 1fr; }
}
