/**
 * Blog CSS
 * Bevat alle blog-specifieke styling
 */

/* Blog Header */
.blog-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0 40px;
	margin-bottom: 50px;
}

.blog-detail-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0 40px;
	margin-bottom: 50px;
}

/* Blog Container */
.blog-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

.blog-detail-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* Blog Cards (Lijst weergave) */
.blog-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: #f0f0f0;
}

.blog-card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.blog-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 10px 0;
	color: #333;
}

.blog-card-title a {
	color: inherit;
	text-decoration: none;
}

.blog-card-title a:hover {
	color: #667eea;
}

.blog-card-excerpt {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 15px;
	flex: 1;
}

.blog-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	color: #999;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

/* Blog Detail (Artikel pagina) */
.blog-detail-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	padding: 40px;
}

.blog-detail-image {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 30px;
}

.blog-detail-meta {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f0f0;
}

.blog-detail-date {
	color: #999;
	font-size: 0.9rem;
}

.blog-detail-content {
	line-height: 1.8;
	font-size: 1.05rem;
	color: #333;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
	margin-top: 30px;
	margin-bottom: 15px;
	color: #333;
}

.blog-detail-content p {
	margin-bottom: 20px;
}

.blog-detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	margin: 20px 0;
}

/* Categories & Tags */
.blog-category-badge {
	display: inline-block;
	background: #667eea;
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	margin-right: 8px;
	margin-bottom: 8px;
	text-decoration: none;
}

.blog-category-badge:hover {
	background: #764ba2;
	color: white;
}

.blog-tag {
	display: inline-block;
	background: #f0f0f0;
	color: #666;
	padding: 3px 10px;
	border-radius: 15px;
	font-size: 0.75rem;
	margin-right: 5px;
	margin-bottom: 5px;
	text-decoration: none;
}

.blog-tag:hover {
	background: #667eea;
	color: white;
}

.blog-tags-section {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid #f0f0f0;
}

/* Sidebar */
.blog-sidebar {
	background: white;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	margin-bottom: 30px;
}

.blog-sidebar h4 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

.blog-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-sidebar ul li {
	margin-bottom: 10px;
}

.blog-sidebar ul li a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s;
}

.blog-sidebar ul li a:hover {
	color: #667eea;
}

/* Pagination */
.blog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 50px;
}

.blog-pagination a,
.blog-pagination span {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 5px;
	text-decoration: none;
	color: #667eea;
	background: white;
	border: 1px solid #667eea;
	transition: all 0.2s;
}

.blog-pagination a:hover {
	background: #667eea;
	color: white;
}

.blog-pagination span {
	background: #667eea;
	color: white;
}

/* Related Posts */
.related-posts {
	margin-top: 60px;
}

.related-posts h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 30px;
	text-align: center;
}

.related-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s;
	height: 100%;
}

.related-card:hover {
	transform: translateY(-5px);
}

.related-card-image {
	width: 100%;
	height: 180px;
	object-fit: cover;
	background: #f0f0f0;
}

.related-card-body {
	padding: 20px;
}

.related-card-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.related-card-title a {
	color: #333;
	text-decoration: none;
}

.related-card-title a:hover {
	color: #667eea;
}

/* Back Link */
.blog-back-link {
	display: inline-block;
	color: white;
	text-decoration: none;
	font-weight: 500;
	margin-bottom: 10px;
}

.blog-back-link:hover {
	text-decoration: underline;
	color: white;
}

/* Tag Icon */
.tag-icon {
	font-size: 3rem;
	margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
	.blog-header,
	.blog-detail-header {
		padding: 60px 0 30px;
		margin-bottom: 30px;
	}

	.blog-container,
	.blog-detail-container {
		padding: 0 15px 40px;
	}

	.blog-detail-card {
		padding: 20px;
	}

	.blog-card-image {
		height: 180px;
	}

	.related-card-image {
		height: 150px;
	}
}
