.hbr-rss-wrapper {
	--hbr-rss-columns: 4;
}

.hbr-rss-grid {
	display: grid;
	grid-template-columns: repeat(var(--hbr-rss-columns), minmax(0, 1fr));
	gap: 20px;
}

.hbr-rss-card {
	display: flex;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hbr-rss-card:hover {
	transform: translateY(-3px);
	border-color: #cbd5e1;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.hbr-rss-image-link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	color: inherit;
	background: #f1f5f9;
	text-decoration: none;
}

.hbr-rss-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.hbr-rss-card:hover .hbr-rss-image {
	transform: scale(1.025);
}

.hbr-rss-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hbr-rss-body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}

.hbr-rss-heading {
	margin: 0;
	color: #0f172a;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
}

.hbr-rss-title-link {
	color: inherit;
	text-decoration: none;
}

.hbr-rss-title-link:hover,
.hbr-rss-title-link:focus-visible {
	color: #0f766e;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hbr-rss-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
	color: #64748b;
	font-size: 0.82rem;
	line-height: 1.35;
}

.hbr-rss-source {
	font-weight: 700;
}

.hbr-rss-date {
	font-weight: 400;
}

.hbr-rss-date::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-right: 10px;
	vertical-align: 0.12em;
	background: #cbd5e1;
	border-radius: 50%;
}

.hbr-rss-source + .hbr-rss-date::before {
	display: inline-block;
}

.hbr-rss-meta .hbr-rss-date:first-child::before {
	display: none;
}

.hbr-rss-excerpt {
	margin: 0;
	color: #334155;
	font-size: 0.92rem;
	line-height: 1.55;
}

.hbr-rss-read-more {
	display: inline-flex;
	width: fit-content;
	margin-top: auto;
	align-items: center;
	color: #0f766e;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.hbr-rss-read-more:hover,
.hbr-rss-read-more:focus-visible {
	color: #115e59;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hbr-rss-attribution {
	margin-top: 12px;
	color: #64748b;
	font-size: 0.8rem;
	line-height: 1.4;
}

.hbr-rss-attribution-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hbr-rss-attribution-link:hover,
.hbr-rss-attribution-link:focus-visible {
	color: #334155;
}

.hbr-rss-error,
.hbr-rss-notice {
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.45;
}

.hbr-rss-error {
	padding: 10px 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.hbr-rss-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hbr-rss-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hbr-rss-body {
		padding: 12px;
	}
}
