/* AI Product Reviews — [product_roundup] "At a Glance" box + list heading.
   Individual cards below reuse .apr-card (style.css); this file only
   covers the roundup wrapper, the glance box, and its mini-cards. */

.apr-roundup {
	max-width: 640px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.apr-roundup__editor-note {
	max-width: 640px;
	margin: 16px auto;
	padding: 10px 14px;
	background: #fff8e6;
	border: 1px solid #f5deA0;
	border-radius: 8px;
	font-size: 13px;
	color: #8a6d1a;
	text-align: center;
}

/* ---- Glance box ---- */

.apr-roundup__glance {
	background: #16234a;
	background: linear-gradient(180deg, #1a2c58 0%, #16234a 100%);
	border-radius: 20px;
	padding: 32px 20px 28px;
	margin: 24px 0 32px;
}

.apr-roundup__glance-title {
	color: #ffffff;
	text-align: center;
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 24px;
	line-height: 1.3;
}

.apr-roundup__glance-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ---- Mini card ---- */

.apr-roundup__mini {
	display: flex;
	align-items: stretch;
	gap: 16px;
	background: #ffffff;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.apr-roundup__mini-image {
	flex: 0 0 120px;
	width: 120px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f6fa;
	border-radius: 8px;
}

.apr-roundup__mini-image img {
	max-width: 92%;
	max-height: 92%;
	object-fit: contain;
}

.apr-roundup__mini-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Row 1: title (full width, stretched) */

.apr-roundup__mini-top {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.apr-roundup__mini-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apr-roundup__mini-title a {
	color: #17172b;
	text-decoration: none;
}

.apr-roundup__mini-title a:hover {
	text-decoration: underline;
}

.apr-roundup__mini-price {
	flex: 0 0 auto;
	font-size: 18px;
	font-weight: 800;
	color: #1a8f3c;
}

/* Row 2: badge + score, then Read Review + Amazon link below */

.apr-roundup__mini-bottom {
	margin-top: 4px;
}

.apr-roundup__mini-tags {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

/* Row 3: Read Review + Amazon link, side by side with real gap */

.apr-roundup__mini-links {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	margin-top: 10px;
}

.apr-roundup__mini-badge {
	display: inline-block;
	background: #f2b21c;
	color: #16234a;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 3px 9px;
	border-radius: 999px;
}

.apr-roundup__mini-score {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 800;
	color: #16234a;
}

.apr-roundup__mini-score-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	background: #1e73be;
	color: #ffffff;
	font-size: 10px;
}

.apr-roundup__mini-readreview {
	font-size: 12.5px;
	font-weight: 700;
	color: #1e73be;
	text-decoration: none;
}

.apr-roundup__mini-readreview:hover {
	text-decoration: underline;
}

.apr-roundup__mini-amazon {
	font-size: 12px;
	font-weight: 700;
	color: #ff8a00;
	text-decoration: none;
}

.apr-roundup__mini-amazon:hover {
	text-decoration: underline;
}

/* ---- List heading above the full numbered cards ---- */

.apr-roundup__list-heading {
	text-align: center;
	font-size: 24px;
	font-weight: 800;
	color: #17172b;
	margin: 8px 0 8px;
}

@media (max-width: 480px) {
	.apr-roundup__glance {
		padding: 26px 14px 22px;
		border-radius: 16px;
	}

	.apr-roundup__glance-title {
		font-size: 21px;
	}

	.apr-roundup__mini {
		padding: 10px;
		gap: 10px;
	}

	.apr-roundup__mini-image {
		flex: 0 0 90px;
		width: 90px;
		height: 90px;
	}

	.apr-roundup__mini-title {
		font-size: 13px;
	}

	.apr-roundup__mini-price {
		font-size: 15px;
	}

	.apr-roundup__mini-links {
		gap: 12px;
	}
}
