/* Blog Panel Styles */
.blog-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 420px;
	height: 100%;
	background: #fff;
	box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
	transform: translateX(100%); /* hidden off-screen by default */
	transition: transform 0.3s ease;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	}
	
.blog-panel.open {
	transform: translateX(0); /*slide into view */
	}
	
.blog-panel-content {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	}
	
/* Toggle button that sits on the edge of the map */
.blog-toggle-btn {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 999;
	background: #2c3e50;
	color: #fff;
	border: none;
	padding: 12px 8px;
	border-radius: 4px 0 0 4px;
	cursor: pointer;
	writing-mode: vertical-rl;
	font-size: 13px;
	letter-spacing: 1px;
	transition: right 0.3s ease;
	}
	
/* Shift the button when the panel is open */
.blog-panel.open ~ .blog-toggle-btn {
	right: 420px;
	}
	
/* Landing page card styles */
.post-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
	}
	
.post-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	}
	
.post-card:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	transform: translateY(-1px);
	}
	
.card-thumb {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 10px;
	}
	
.card-title {
	margin: 0 0 6px 0;
	font-size: 18px;
	}
	
.card-summary {
	margin: 0 0 8px 0;
	color: #555;
	font-size: 14px;
	line-height: 1.4;
	}
	
.back-to-index {
	background: none;
	border: none;
	color: #2c3e50;
	cursor: pointer;
	font-size: 14px;
	padding: 0 0 12px 0;
	}
	
.back-to-index:hover {
	text-decoration: underline;
	}
