/* Blogcard Styles */
.blogcard-wrapper {
	margin: 1.5em 0;
}

.blogcard-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blogcard {
	display: flex;
	border: 1px solid #e1e4e8;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blogcard:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
	border-color: #0366d6;
}

.blogcard-image {
	flex-shrink: 0;
	width: 320px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f6f8fa;
}

.blogcard-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.blogcard-content {
	flex: 1;
	padding: 1em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.blogcard-site {
	font-size: 0.75em;
	color: #586069;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.blogcard-title {
	font-size: 1.1em;
	font-weight: 600;
	color: #24292e;
	margin-bottom: 0.5em;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blogcard-description {
	font-size: 0.9em;
	color: #586069;
	line-height: 1.5;
	margin-bottom: 0.5em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.blogcard-url {
	font-size: 0.8em;
	color: #0366d6;
	margin-top: auto;
	word-break: break-all;
}

.blogcard:hover .blogcard-url {
	text-decoration: underline;
}

/* Error message */
.blogcard-error {
	padding: 1em;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	color: #856404;
	margin: 1em 0;
}

/* Responsive design */
@media (max-width: 768px) {
	.blogcard {
		flex-direction: column;
	}
	
	.blogcard-image {
		width: 100%;
		aspect-ratio: 16 / 9;
	}
	
	.blogcard-content {
		padding: 1em;
	}
}

