/* CSS Document */

/* Global
---------------------------------------------------------------------------- */

body.blog .site-inner,
body.single-post .site-inner {
	background: url("../jpg/bg-beige-texture.jpg") repeat center top;
	background-size: 1200px auto;
	padding-top: 0;
	position: relative;
}

.archive-head {
	margin-bottom: 90px;
}

.archive-head p:last-child {
	margin: 0;
}

.content > .wrap {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 0 30px;
	justify-content: flex-start;
}

.content > .wrap::before,
.content > .wrap::after {
	flex-basis: 100%;
}

.entry {
	flex: 0 0 calc(33% - ((30px *2) / 3));
}

.entry a.entry-image-link {
	aspect-ratio: 3/2.3;
	border-radius: 25px;
	display: block;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
	width: 100%;
}

.entry a.entry-image-link img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	transition: transform .3s ease-in-out;
	width: 100%;
}

.entry a.entry-image-link:focus img,
.entry a.entry-image-link:hover img {
	transform: scale(1.05);
}

.entry-title,
.entry-title a {
	color: #001E60;
	margin-bottom: 15px;
}

.entry-title a:focus,
.entry-title a:hover {
	color: #A69F8B;
}

.entry-header .entry-meta {
	margin-bottom: 15px;
}

.entry-meta .entry-categories a {
	color: #001E60;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.entry p {
	color: #001E60;
	font-weight: 400;
}

.entry p:last-child {
	margin: 0;
}

.entry a.more-link {
	border-bottom: 4px solid #ffc600;
	color: #001E60;
	display: table;
	font-weight: 400;
	margin-top: 15px;
	text-decoration: none;
	transition: border .2s ease-in-out;
}

.entry a.more-link:focus,
.entry a.more-link:hover {
	border-bottom: 4px solid #001E60;
}

.pagination {
	flex: 0 0 auto;
	margin: 0 auto 80px;
	text-align: center;
	width: 100%;
}

.archive-pagination li {
	padding: 0 2px;
}

.archive-pagination li a {
	background-color: transparent;
	font-size: 18px;
	font-weight: 400;
	padding: 2px 4px;
	position: relative;
}

.archive-pagination li a::after {
	background-color: #001E60;
	bottom: 0;
	content: '';
	display: block;
	height: 1px;
	left: 0;
	opacity: 0;
	position: absolute;
	transition: opacity .2s ease-in-out;
	width: 100%;
}

.archive-pagination li.active a,
.archive-pagination li:focus a,
.archive-pagination li:hover a {
	background-color: transparent;
	color: #333;
}

.archive-pagination li.active a::after,
.archive-pagination li:focus a::after,
.archive-pagination li:hover a::after {
	opacity: 1;
}

.archive-pagination li.active a {
	font-weight: 700;
}


/* Single Posts
---------------------------------------------------------------------------- */

body.single-post .site-inner {
	padding-top: 90px;
}

body.single-post .single-feature {
	border-radius: 20px;
	height: 75vw;
	margin: 0 auto 50px;
	max-height: 450px;
	max-width: 970px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

body.single-post .single-feature img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	width: 100%;
}

body.single-post article.entry {
	color: #222;
	display: grid;
	gap: 0 5%;
	grid-template-areas: 'cover cover' 'title title' 'meta related' 'content related';
	grid-template-columns: 60% 35%;
	grid-template-rows: auto;
	margin-bottom: 80px;
}

body.single-post .entry .single-feature {
	grid-area: cover;
}

body.single-post .entry .entry-header {
	grid-area: title;
	margin: 0 auto 60px;
	max-width: 970px;
	text-align: center;
}

body.single-post .entry .entry-title,
body.single-post .entry .entry-title a {
	font-size: 48px;
}

body.single-post .entry .post-meta {
	color: #747370;
	display: grid;
	font-size: 14px;
	font-weight: 500;
	gap: 0 15px;
	grid-template-areas: 'avatar name share' 'avatar date share';
	grid-template-columns: 40px auto 1fr;
	grid-template-rows: auto;
	grid-area: meta;
	margin-bottom: 35px;
	padding: 0 0 25px;
	position: relative;
}

body.single-post .entry .post-meta::after {
	background-color: #ffc600;
	content: '';
	display: block;
	height: 8px;
	left: 0;
	position: absolute;
	top: 100%;
	width: 200px;	
}

body.single-post .entry .post-meta .avatar {
	grid-area: avatar;
}

body.single-post .entry .post-meta .name {
	grid-area: name;
}

body.single-post .entry .post-meta .date {
	grid-area: date;
}

body.single-post .entry .post-meta .share-this {
	grid-area: share;
	text-align: right;
}

body.single-post .entry .entry-content {
	grid-area: content;
}

body.single-post .entry .related {
	grid-area: related;
	margin: 0;
}

body.single-post .entry .related h3,
body.single-post .entry .related h3 em {
	font-family: 'Roboto', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	margin-bottom: 40px;
}

.jp-relatedposts-post {
	display: grid;
	grid-gap: 5px 5%;
	grid-template-areas: 'image . ' 'image title' 'image date' 'image .';
	grid-template-columns: 30% 65%;
	grid-template-rows: auto;
	margin-bottom: 35px;
}

.jp-relatedposts-post-a {
	aspect-ratio: 1/1;
	border-radius: 10px;
	grid-area: image;
	overflow: hidden;
	position: relative;
}

.jp-relatedposts-post-a img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	transition: transform .2s ease-in-out;
	width: 100%;
}

.jp-relatedposts-post-a:focus img,
.jp-relatedposts-post-a:hover img {
	transform: scale(1.05);
}

.jp-relatedposts-post-title {
	grid-area: title;
}

h4.jp-relatedposts-post-title,
h4.jp-relatedposts-post-title a {
	color: #001871;
	font-family: 'Roboto', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	text-decoration: none;
}

h4.jp-relatedposts-post-title a:focus,
h4.jp-relatedposts-post-title a:hover {
	text-decoration: underline;
}

.jp-relatedposts-post-excerpt {
	display: none;
}

.jp-relatedposts-post-date {
	color: #747370;
	font-size: 14px;
	font-weight: 500;
	grid-area: date;
}


/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 959px) {
	
	.entry {
		flex-basis: calc(50% - ((30px *2) / 3));
	}
	
}

@media only screen and (max-width: 767px) {
	
	body.single-post article.entry {
		grid-template-areas: 'cover' 'title' 'meta' 'content' 'related';
		grid-template-columns: auto;
	}
	
	body.single-post .entry .related {
		margin-top: 60px;
	}
	
}

@media only screen and (max-width: 600px) {
	
	.entry {
		flex-basis: 100%;
	}
	
	.entry a.entry-image-link {
		max-height: 80vh;
	}
	
}