/* Random Amazon Book - card styles */
.ramb-wrap {
	margin: 1.6em 0;
}

.ramb-heading {
	font-size: 1.15em;
	font-weight: 700;
	margin: 0 0 .7em;
	color: #1a1a1a;
}

.ramb-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 20px 22px;
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	transition: box-shadow .2s ease, border-color .2s ease;
}

.ramb-card:hover {
	border-color: #cfcfcf;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .09);
}

.ramb-thumb {
	flex: 0 0 auto;
	width: 150px;
}

.ramb-thumb img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.ramb-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ramb-title {
	font-size: 1.12em;
	font-weight: 700;
	line-height: 1.5;
	color: #1a1a1a;
	margin-bottom: .55em;
}

.ramb-card:hover .ramb-title {
	color: #0b66c3;
}

.ramb-desc {
	font-size: .92em;
	line-height: 1.75;
	color: #555;
	margin-bottom: .7em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ramb-source {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .9em;
	color: #444;
}

.ramb-favicon {
	display: block;
	border-radius: 3px;
	flex: 0 0 auto;
}

.ramb-loading {
	color: #999;
	font-size: .9em;
	padding: 12px 0;
}

@media (max-width: 600px) {
	.ramb-card {
		flex-direction: column;
		align-items: center;
		text-align: left;
	}
	.ramb-thumb {
		width: 130px;
	}
}
