/*
Theme Name: AgentVine Blog
Author: Marc Scibelli
Author URI: http://agentvine.com
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.text-block .wp-block-columns {
	margin: 4rem 0;
}
.text-block .wp-block-columns:first-child {
	margin-top: 0;
}
.text-block .wp-block-image {
	margin: 4rem 0;
}
.text-block .wp-block-image:first-child {
	margin-top: 0;
}
.text-block .wp-block-columns .wp-block-image {
	margin: 0;
}
.text-block .wp-block-image > img {
	display: block;
	width: 100%;
}


/* Overrides */
html {
	scroll-behavior: smooth;
}
body {
	padding-top: 10rem;
}
.header {
	top: 0;
}
.in-page-header {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3.2rem;
	margin-bottom: 6rem;
}
.in-page-header-content {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	justify-content: center;
	max-width: 67.5rem;
	text-align: center;
}
.in-page-header .tagline {
	color: #024430;
	font-family: 'Domine';
	font-size: 3.6rem;
	font-weight: 400;
	line-height: 4.4rem;
}
.article-header {
	margin-bottom: 4rem;
}
.article-header-title {
	font-weight: 400;
	margin: 0;
}
.article-header-home {
	align-items: center;
	color: #3D565F;
	display: flex;
	margin-bottom: 2rem;
}
.article-header-home:hover {
	color: #024430;
}
.article-header-home > svg {
	display: block;
	fill: #3D565F;
	max-height: 2.4rem;
	margin-right: .4rem;
	max-width: 2.4rem;
}
.article-header-home:hover > svg {
	fill: #024430;
}
.article-body {
	display: flex;
	flex-direction: column;
	position: relative;
}
.article-sidebar {
	margin-bottom: 4rem;
}
.article-sidebar-header {
	align-items: center;
	display: flex;
	gap: 1.2rem;
	margin-bottom: 3rem;
}
.article-sidebar-avatar {
	flex-shrink: 0;
	height: 10rem;
	overflow: hidden;
	width: 10rem;
}
.article-sidebar .author-image {
	border-radius: 50%;
	border: 3px solid #AEE6B9;
}
.article-sidebar .author {
	color: #024430;
	font-size: 1.6rem;
	font-weight: 700;
}
.article-sidebar .sharing {
	align-items: center;
	display: flex;
	gap: 2.4rem;
	margin-top: 4rem;
}
.article-sidebar .sharing > p {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0;
}

@media (min-width: 901px) {
	body {
		padding-top: 13rem;
	}
	.in-page-header .tagline {
		font-size: 4.8rem;
		line-height: 5.6rem;
	}

	.article-header {
		max-width: calc(100% - 35.5rem);
	}
	.article-body {
		flex-direction: row-reverse;
		justify-content: space-between;
	}
	.article-content {
		width: calc(100% - 35.5rem);
	}
	.article-sidebar {
		flex-shrink: 0;
		position: sticky;
		top: 0;
		width: 27.5rem;
	}
	.article-sidebar-header {
		margin-bottom: 3rem;
	}
	.article-sidebar-avatar {
		height: 6rem;
		width: 6rem;
	}
}

/* Post */
.post-thumbnail--featured {
	margin-bottom: 4rem;
}
.post-thumbnail--featured .wp-post-image {
	border-radius: .8rem;
	display: block;
	overflow: hidden;
	width: 100%;
}
.post-eyebrow {
	align-items: center;
	background: rgba(142, 200, 37, 0.40);
	border-radius: .4rem;
	color: #024430;
	display: inline-flex;
	font-weight: 700;
	font-size: 1.2rem;
	min-height: 3rem;
	padding: .4rem 1rem;
}
.post-badges {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}
.post-badge {
	align-items: center;
	background: #fff;
	border: 1px solid #024430;
	border-radius: .4rem;
	color: #024430;
	display: inline-flex;
	font-weight: 700;
	font-size: 1.4rem;
	min-height: 3.6rem;
	padding: .6rem 1.6rem;
	text-decoration: none;
	transition: all .25s;
}
a.post-badge:hover {
	background: #024430;
	color: #fff;
}
.post-meta {
	display: flex;
	flex-wrap: wrap;
	font-size: 1.4rem;
}
.post-meta > span {
	align-items: center;
	display: flex;
}
.post-meta > span:after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6' viewBox='0 0 5 6' fill='none'%3E%3Ccircle cx='2.5' cy='3' r='2.5' fill='%23CDE2E7'/%3E%3C/svg%3E") no-repeat center center;
	background-size: 6px 6px;
	content: "";
	display: block;
	height: .6rem;
	margin: 0 1.2rem;
	width: .6rem;
}
.post-meta > span:last-child:after {
	display: none;
}

/* Featured Post */
.featured-post {
	background: #fff;
	border: 1px solid #CDE2E7;
	border-radius: .8rem;
	display: flex;
	flex-direction: column;
}
.featured-post-thumbnail .wp-post-image {
	display: block;
	width: 100%;
}
.featured-post-body {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 3rem;
}
.featured-post-title {
	font-family: 'Domine';
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}


/* Featured Post */
.post-card {

}
.post-card-thumbnail {
	
	margin-bottom: 3rem;
	position: relative;
}
.post-card .post-badge {
	position: absolute;
	top: 2rem;
	right: 2rem;
	z-index: 2;
}
.post-card .wp-post-image {
	aspect-ratio: 3/2;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}
.post-card-body {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}
.post-card .post-title {
	font-family: 'Domine';
	font-size: 2rem;
	font-weight: 700;
	line-height: 2.8rem;
	margin: 0;
}
.post-card .post-title a {
	color: #024430;
}
.post-card .post-title a:hover {
	text-decoration: underline;
}

/* Section */
.section {
	margin-bottom: 4rem;
}
.section-header {
	margin-bottom: 3rem;
}
.section-title {
	align-items: flex-end;
	color: #024430;
	display: inline-flex;
	font-family: 'Manrope', 'Helvetica', sans-serif;
	font-size: 3.2rem;
	font-weight: 700;
	margin: 0;
	line-height: normal;
}
.section-title.has-dash:after {
	background: #8EC825;
	content: "";
	height: .4rem;
	margin-left: 2rem;
	width: 10rem;
}
.section-footer {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-top: 4rem;
}
.btn-outline {
	align-items: center;
	border: 1px solid #024430;
	border-radius: 6rem;
	color: #024430;
	display: inline-flex;
	font-family: 'Manrope', 'Helvetica', sans-serif;
	font-size: 1.4rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.8rem;
	justify-content: center;
	min-height: 5rem;
	padding: .5rem 2rem;
	text-decoration: none;
	transition: all .25s;
}
.btn-outline:hover {
	background: #024430;
	color: #fff;
}

/* Search form */
.search-form {
	margin-top: 3rem;
	max-width: 60rem;
}
.search-form .field-container {
	position: relative;
}
.search-form .field__control {
	font-size: 2rem;
	padding-right: 6rem;
}
.search-form .search-btn {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14'%3E%3C/path%3E%3C/svg%3E") no-repeat center center transparent;
	background-size: 3.2rem 3.2rem;
	cursor: pointer;
	height: 100%;
	position: absolute;
	text-indent: -9999px;
	top: 0;
	right: 0;
	z-index: 2;
	width: 6rem;
}

/* TOC */
.toc {
	margin: 4rem 0;
}
.toc-title {
	color: #024430;
	font-family: 'Manrope', 'Helvetica', sans-serif;
	font-size: 1.8rem;
	font-style: normal;
	font-weight: 700;
	line-height: 2.4rem;
}
.toc-list {
	list-style-type: decimal;
	margin: 0 0 0 1.6rem;
}
.toc-list a:hover {
	color: #06D6A0;
}

@media (min-width: 901px) {
	.featured-post-thumbnail {
		width: 50%;
	}
	.featured-post-thumbnail .wp-post-image {
		height: 100%;
		object-fit: cover;
	}
	.featured-post-body {
		padding: 4rem;
		width: 50%;
	}
	.featured-post-title {
		font-size: 3.2rem;
	}

	.featured-post {
		flex-direction: row;
	}

	.toc {
		margin: 6rem 0;
	}
}

@media (min-width: 1201px) {
	.col-lg-6 .post-card .wp-post-image {
		aspect-ratio: 4/2;
	}
	.featured-post-body {
		padding: 6rem;
	}
}

.wp-block-embed iframe {
	max-width: 100%;
	width: 100%;
	height: auto!important;
	aspect-ratio: 16/9;
}