article.small {
	--small-tile-size: 600px;
}

section#featured-posts {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: 100px;
	margin: 125px 0 200px;
}

article {
	grid-column: 1 / 2;
}

article.small.about-me {
	background-color: #000000;
	font-family: 'Circular-Bold';
	color: #fedede;

	font-size: calc(var(--small-tile-size) * 0.05833);
	padding: calc(var(--small-tile-size) * 0.0833);
}

section#featured-posts article.write {
	padding: 1.238em 0 0 1.905em;
	margin-bottom: 0;
	overflow: hidden;
}

section#featured-posts article.write > a {
	display: block;
	width: 1360px;
	padding-bottom: 0;
}

section#featured-posts article.write h1 {
	font-size: 1.143em;
	padding: 1em 0 8px;
	margin-bottom: 1em;
}

section#featured-posts article.write h3 {
	font-size: 0.667em;
}

section#featured-posts article.write section.body {
	font-size: 0.762em;
}

section#featured-posts article.write section.body p {
	margin-bottom: 1em;
}

article > a {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

article.small {
	z-index: 3;
	width: var(--small-tile-size);
	height: var(--small-tile-size);
}

article.large {
	z-index: 1;
	width: 900px;
	height: 900px;
}

article.left.large {
	z-index: 2;
}

article.left {
	justify-self: start;
}

article.right {
	justify-self: end;
}

article > a {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 1fr;
}

article > a > h2, article > a > img {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

article > a > img {
	width: 100%;
	height: 100%;
}

article > a > h2 {
	padding: 0.571em 2.381em;
	max-width: calc(100% - 60px);
	justify-self: center;
	align-self: start;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.75);
	font-family: 'Circular-Bold';
	font-size: 0.75em;
	text-align: center;
}

@media (min-width: 1440px) and (max-width: 1749px) {
	
	article.small {
		--small-tile-size: calc((100vw - 400px) / 2.25);
	}
	
	section#featured-posts {
		grid-auto-rows: calc(((100vw - 400px) / 2.25) / 6);
	}
	
	article.large {
		width: calc(((100vw - 400px) / 2.25) * 1.5);
		height: calc(((100vw - 400px) / 2.25) * 1.5);
	}
}

@media (min-width: 1340px) and (max-width: 1439px) {
	
	article.small {
		--small-tile-size: calc(1040px / 2.25);
	}

	section#featured-posts {
		grid-auto-rows: calc((1040px / 2.25) / 6);
	}
		
	article.large {
		width: calc((1040px / 2.25) * 1.5);
		height: calc((1040px / 2.25) * 1.5);
	}
}

@media (min-width: 1024px) and (max-width: 1339px) {
	
	article.small {
		--small-tile-size: calc((100vw - 300px) / 2.25);
	}
	section#featured-posts {
		grid-auto-rows: calc(((100vw - 300px) / 2.25) / 6);
		margin: 75px 0 175px;
	}
		
	article.large {
		width: calc(((100vw - 300px) / 2.25) * 1.5);
		height: calc(((100vw - 300px) / 2.25) * 1.5);
	}
}

@media (min-width: 924px) and (max-width: 1023px) {
	
	article.small {
		--small-tile-size: calc(724px / 2.25);
	}

	section#featured-posts {
		grid-auto-rows: calc((724px / 2.25) / 6);
		margin: 75px 0 150px;
	}
		
	article.large {
		width: calc((724px / 2.25) * 1.5);
		height: calc((724px / 2.25) * 1.5);
	}
}

@media (min-width: 768px) and (max-width: 923px) {
	
	article.small {
		--small-tile-size: calc((100vw - 200px) / 2.25);
	}

	section#featured-posts {
		grid-auto-rows: calc(((100vw - 200px) / 2.25) / 6);
		margin: 75px 0 150px;
	}
		
	article.large {
		width: calc(((100vw - 200px) / 2.25) * 1.5);
		height: calc(((100vw - 200px) / 2.25) * 1.5);
	}
}

@media (min-width: 768px) and (max-width: 1339px) {
	
	article > a > h2 {
		padding: 0.57em 1.0em;
	}
	
	section#featured-posts article.write {
		padding: 1.55em 0 0 1.0em;
	}
}

@media (max-width: 767px) {
	
	article.small {
		--small-tile-size: var(--main-column-width);
	}

	section#featured-posts {
		grid-auto-rows: var(--main-column-width);
		grid-row-gap: 15px;
		margin: 38px 0 100px;
	}
	
	article.large {
		width: var(--main-column-width);
		height: var(--main-column-width);
	}
	
	article.small[style], 
	article.large[style] {
		grid-row: span 1 !important;
	}
	
	article > a > h2 {
		padding: 8px 30px;
	}
}
