


/***  ARCHIVES  ***/

.blog .main-content-inner, 
.archive .main-content-inner,
.search .main-content-inner {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wp--custom--spacer--md);
}

.blog .posts-sidebar, 
.archive .posts-sidebar,
.search .posts-sidebar {
	width: 25%;
}

@media screen and (max-width: 900px) {

	.blog .main-content-inner, 
	.archive .main-content-inner,
	.search .main-content-inner {
		flex-direction: column;
	}

	.blog .posts-sidebar, 
	.archive .posts-sidebar,
	.search .posts-sidebar {
		width: 100%;
	}

}


/***  CATEGORY NAV  ***/

.category-nav {
	position: relative;
	width: 100%;
	max-width: 300px;
	margin-left: 0;
}

.category-button {
	position: relative;
	width: 100%;
	padding: 8px 12px;
	background-color: white;
	border: 1px solid #ccc;
	text-align: left;
	transition: all 300ms ease-in-out;
	cursor: pointer;
}

.category-nav.active .category-button {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--light--2);
}

.category-button .fa {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
}

.category-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 1;
	width: 100%;
	height: 0;
	opacity: 0;
	max-height: 300px;
	overflow-x: hidden;
	overflow-y: auto;
	overflow: auto;
	background-color: white;
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	list-style: none;
	visibility: hidden;
	transition: opacity 300ms ease-in-out;
}

.category-nav.active .category-menu {
	height: auto;
	visibility: visible;
	opacity: 1;
}

.category-menu .category {
	padding: 0;
	margin: 0;
	list-style: none;
}

.category-menu .category-link {
	display: block;
	padding: 5px 10px;
	color: var(--wp--custom--dark--2);
	border: none !important;
	transition: all 300ms ease-in-out;
}

.category-menu .category.current-menu-item .category-link, 
.category-menu .category .category-link:hover {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.category-menu .category-link:focus-visible {
	outline-offset: -2px;
}



/***  SINGLE  ***/

.single-post .banner, 
.single-post .banner:not(.banner-overlay) .banner-image-wrap {
	min-height: 600px;
}

.single-post .main-content-inner .entry:first-child:last-child {
	max-width: 900px;
}

.single-post .main-content-inner {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wp--custom--spacer--md);
}

.post-sidebar {
	width: 25%;
}

@media screen and (max-width: 900px) {

	.single-post .main-content-inner {
		flex-direction: column;
	}

	.single-post .post-sidebar {
		width: 100%;
	}

}




/***  POST NAV  ***/

.post-nav {
	padding-top: var(--wp--custom--spacer--lg);
}

.post-nav .cols {
	align-items: center;
}

.post-nav .post-pagination {
	text-align: right;
}

.post-nav .post-pagination a {
	border-bottom: 1px dotted var(--wp--custom--secondary--main);
}

.post-nav .post-pagination a:hover {
	border-bottom: 1px solid var(--wp--custom--dark--2);
}

