body {
	background: transparent !important;
	margin: 0;
	padding: 0;
}

.archive-container {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.archive-main-wrapper {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.archive-main {
	flex: 0 0 75%;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background: #fff;
	padding: 0.5rem;
	box-sizing: border-box;
}

.archive-sidebar {
	flex: 0 0 25%;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background: #fff;
	padding: 1rem 0.5rem 0.5rem 0.5rem;
	box-sizing: border-box;
}

.posts-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-card {
	flex: 0 0 calc(33.333% - 6px);
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #ccc; 
	border-radius: 0;
	overflow: hidden;
	padding: 0;
	height: auto;
	box-sizing: border-box;
}

.post-card a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

.post-thumb {
	width: 100%;
	height: 70%;
	overflow: hidden;
}

.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-title {
	color: #000630;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	margin: 0.5rem 0 1rem;
	padding: 0 0.25rem;
	margin-bottom: 9px;
}
.post-meta {
	font-size: 11px;
	font-weight: 400;
	margin-bottom: 5px;
	color: #adadad;
	line-height: 1.3em;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
}

.sidebar-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.5rem 0;
	border: 1px solid #d60000;
	background: #fff;
	color: #4e4e4e;
	font-size: 13px;
	font-weight: 400;
	border-radius: 6px; 
	transition: all 0.3s ease;
}

.sidebar-btn:hover {
	background: #d60000;
	color: #fff;
}

@media (max-width: 768px) {

	body, html {
		margin: 0 !important;
		padding: 0 !important;
		width: 100vw !important;
		overflow-x: hidden !important;
	}

	.archive-container {
		width: 100vw !important;
		max-width: 100vw !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.archive-main-wrapper {
		flex-direction: column;
		width: 100vw !important;
		max-width: 100vw !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 0.5rem;
	}

	.archive-main {
		width: 100vw !important;
		max-width: 100vw !important;
		flex: none;
		padding: 0.5rem;
		margin: 4rem 0 0 0 !important;
	}

	.archive-sidebar {
		display: none !important;
	}

	.posts-grid {
		
		max-width: 100vw !important;
		display: flex;
		flex-direction: column;
		gap: 0.7rem;
		padding: 0 !important;
		margin: 0 !important;
	}

	.post-card {
		width: 100% !important;
		flex: none !important;
		height: auto;
	}

	.post-thumb {
		height: 65%;
	}

	.post-title {
		font-size: 0.9rem;
	}

	.post-meta {
		font-size: 0.65rem;
	}
}
