/* .projects .entry-title {
	display: none;
} */

/* Hide Site Title, Logo and improve header */
.site-branding .site-title {
	display: none;
}

.site-branding .site-logo {
	width: 60%;
}

.home .page-header {
	display: none;
}

.has-site-logo .main-navigation {
	height: 40px;
}

.below-header-hr {
	margin-bottom: 0;
}

.below-header-hr:before {
	background: rgba(0,0,0, 0.35) !important;
}

.below-header-menu {
	margin-bottom: 20px;
	font-weight: normal;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 0.8125em;
	line-height: 2.09231em;
}

.below-header-menu a {
	color: #999999;
  padding: 2px 6px !important;
}

.below-header-menu li:first-child a {
	color: #f68060;
}

body.home #site-navigation {
	display: none;
}

/* Move sidebar to bottom */
#main {
	margin: 0;
	float: none;
}

#secondary {
	width: 100%;
	float: none;
}

/* Latest posts block styling */
.wp-block-latest-posts__post-title {
	text-align: center;
	width: 100%;
	display: block;
	color: grey;
	font-size: 18px;
}

.wp-block-latest-posts__list li {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Hide related posts */

#jp-relatedposts {
	display: none !important;
}

/* Hide no results text */

section.no-results {
	display: none;
}

/* Set image to full width on home page */
body.home .page-content>.wp-block-image img {
	width: 100%;
}

/* Set block post template widths and styling */
.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li, .mk-recent-posts-posts .recent-post , 
body.archive #main article {
	width: calc(25% - .9375em);
	box-shadow: 5px 5px 5px 2px rgba(0, 0, 0, 0.1);
	border: 1px solid #ccc;
	padding: 10px;
}

.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li .has-text-align-center {
	display: none;
}

/* Prev and next page styling */

.wp-block-query-pagination {
	margin-top: 20px;
}

.wp-block-query-pagination a {
	border: 1px solid;
	padding: 6px 24px;
}

.wp-block-query-pagination .wp-block-query-pagination-next {
	margin-left: auto;
}

/* Recent posts on single post pages */

.mk-recent-posts h4 {
	margin-bottom: 5px;
}

.mk-recent-posts-posts {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}

.mk-recent-posts-posts .recent-post {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Tag clouds on single post pages */
.mk-tag-cloud-tags {
	display: flex;
 	flex-wrap: wrap;
  gap: 10px;
}

.mk-tag-cloud h4 {
	margin-bottom: 5px;
}

.mk-tag-cloud a {
	border: 1px solid grey;
	color: grey;
	font-size: 14px !important;
	padding: 0 6px;
}

/* Improve Archive pages */

body.archive #main {
	display: flex;
  flex-wrap: wrap;
	gap: 20px;
}

body.archive #main .page-header {
	width: 100%;
}

body.archive #main article {
	width: 33%;
	position: relative;
}

body.archive #main article .entry-title a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-indent: -9999px;
	font-size: 0;
}

body.archive #main article .entry-meta {
	display: none;
}