/*--------------------------------------------------------------
# ARCHIVE

For blog page and archives pages like category, author etc.. 
ONLY for post type = post 
ADD your own stylesheet for custom post type archive 
OR, if it uses sames styles, add it to enqueue style function in functions.php 

--------------------------------------------------------------*/

.site-content {
	background-color: #F7F7F7;
	padding-bottom: 54px;
}

.sharing-icon {
	cursor: pointer;
	position: absolute;
	top: 17px;
	right: 14px;
}

.sharing-popup {
	z-index: 999;
	padding: 30px 20px;
	position: fixed;
	width: 400px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	box-shadow: 0 0 800px 800px rgba(0,0,0,0.75);
}
.sharing-popup-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.sharing-popup-close {
	position: absolute;
	padding: 10px 20px;
	top: 0;
	right: 0;
	font-size: 3rem;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.sharing-popup-title {
	min-width: 100%;
	margin-bottom: 25px;
	font-size: 1.8rem;
	text-align: center;
}

.sharing-popup svg {
	margin: 0 15px 15px 0;
	width: 36px;
	height: 36px;
}

.wp-pagenavi {
	margin: 35px 0 0;
	display: flex;
	justify-content: center;
}

.wp-pagenavi .pages {
	padding: 7px 30px;
	background-color: #fff;
	font-weight: 500;
	order:  5;
}

.wp-pagenavi .current,
.wp-pagenavi .page {
	display: none;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	position: relative;
	width: 34px;
	height: 34px;
	text-align: center;
	line-height: 34px;
	vertical-align: middle;
	background-color: #000000;
	text-align: center;
}

.wp-pagenavi .previouspostslink {
	order: 1;
}

.wp-pagenavi .nextpostslink {
	order: 10;
}

.wp-pagenavi .previouspostslink:before,
.wp-pagenavi .nextpostslink:before {
	position: absolute;
	top: 10px;
	content: "";
	display: block;
	height: 14px;
	width: 14px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.wp-pagenavi .previouspostslink:before {
	transform: rotate(-135deg);
	transform-origin: center;
	left: 12px;
}

.wp-pagenavi .nextpostslink:before {
	transform: rotate(45deg);
	transform-origin: center;
	right: 12px;
}

@media screen and (max-width: 768px) {
	.post-card {
		margin-bottom: 32px
	}
}

@media screen and (min-width: 768px) {
	.post-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: auto;
		grid-gap: 32px;
	}
}

@media screen and (min-width: 1024px) {
	.post-list {
		grid-template-columns: repeat(3, 1fr);
	}
}