/* 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 8px;
	line-height: 1.3;
}

.apr-roundup__glance-intro {
	color: #cdd6ea;
	text-align: center;
	font-size: 14.5px;
	line-height: 1.6;
	max-width: 480px;
	margin: 0 auto 24px;
}

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

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

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

.apr-roundup__mini-image {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

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

.apr-roundup__mini-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

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

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

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

.apr-roundup__mini-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	text-align: right;
}

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

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

.apr-roundup__mini-readreview {
	font-size: 13px;
	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: 600;
	color: #77778c;
	text-decoration: none;
}

.apr-roundup__mini-amazon:hover {
	color: #ff8a00;
	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 {
		flex-wrap: wrap;
		padding: 14px;
	}

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

	.apr-roundup__mini-side {
		flex: 1 1 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		margin-top: 8px;
		padding-top: 8px;
		border-top: 1px solid #f0f0f5;
	}
}
