/* -------------------------------------------------------------- */
/* Blog/Articles - Landing ------------------------------- */
/* -------------------------------------------------------------- */
.article-columns {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-between;
}
.article-sidebar {
	position: relative;
	display: block;
	width: 276px;
}
.article-sidebar-stick {
	position: -webkit-sticky;
	position: sticky;
	top: 80px;
}
.article-main {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 16px;
	width: calc(100% - 300px);
}
.article-columns div:nth-child(1).article-main,
.article-columns article:nth-child(1) {
	justify-content: flex-start;
	width: 100%; 
	transform: translate3d(0,0,0);
}
.article-excerpt {
	position: relative;
	display: block;
	width: calc(50% - 16px);
	padding: 16px;
	border: 2px solid;
	background: #fff;
	box-shadow: 8px 8px 0 rgba(0,7,0,0.15);
}
.article-columns div:nth-child(1).article-main .article-excerpt {
	width: calc(33.3333% - 11px);
}
a.article-excerpt-image {
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
	height: 14vw;
	margin-bottom: 16px;
}
a.article-excerpt-image div {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	transform: scale(1);
	-webkit-transition: transform 0.5s ease;
	-moz-transition: transform 0.5s ease;
	-o-transition: transform 0.5s ease;
	transition: transform 0.5s ease;
}
a.article-excerpt-image:hover div {transform: scale(1.1);}
.article-excerpt-info {position: relative; display: block;}
.article-excerpt-title {position: relative; display: block; margin-bottom: 12px;}
.article-excerpt h2 {
	margin-bottom: 0;
	font-family: 'urw-din';
	font-style: normal;
	font-weight: 700;
	font-size: 1.35em;
	line-height: 1.125em;
	text-transform: initial;
}
.article-excerpt .article-details {margin-bottom: 0;}
.article-excerpt-text {
	position: relative; 
	display: block; 
	margin-bottom: 80px; 
	font-size: 0.85em; 
	line-height: 1.65em;
}
.article-excerpt-text p:last-child {display: none;}

.article-excerpt-footer {
	position: absolute; 
	right: 0;
	bottom: 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
	padding: 20px;
}
.article-excerpt-footer p {margin-bottom: 0; color: #818181; font-size: 0.85em; line-height: 1em;}
.article-excerpt-footer a {}

/* Featured listing excerpts ------------------------------- */
.page-template-page-articles .article-excerpt:nth-child(-n+2) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}
.page-template-page-articles .article-excerpt:nth-child(-n+2) a.article-excerpt-image {width: 48%; height: 100%; margin-bottom: 0;}
.page-template-page-articles .article-excerpt:nth-child(-n+2) .article-excerpt-info {width: 48%;}
.page-template-page-articles .article-excerpt:nth-child(-n+2) .article-excerpt-footer {width: 50%;}

/* Articles Sidebar ------------------------------- */
.articles-sidebar-block {
  position: relative;
  display: block;
  padding: 20px;
  margin-bottom: 12px;
  border: 2px solid;
}
.articles-sidebar-block h3 {margin-top: 0;}
.articles-sidebar-block a {
  position: relative;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid;
  color: #818181;
}
.articles-sidebar-block a:hover {color: #C10230;}
.articles-sidebar-block a:last-child {border-bottom: 0;}

.guide-blocks-container {
  position: relative; 
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.guide-blocks-container a.articles-sidebar-block {
  display: block; 
  width: 100%;
  border-color: #c10230;
  background: #c10230;
  color: #fff;
}
.guide-blocks-container a.articles-sidebar-block:hover {background: #840020; color: #fff;}
.articles-sidebar-block h4 {margin: 0;}

/* Articles - pagination ------------------------------- */
.navigation.pagination {position: relative; display: block; width: 100%; text-align: center;}
.navigation.pagination a,
.navigation.pagination span {
  position: relative;
  display: inline-block;
  padding: 6px 8px;
  border: 1px solid;
  font-size: 0.85em;
  line-height: 1em;
}


/* -------------------------------------------------------------- */
/* Articles - Taxnomy Archive ------------------------------- */
/* -------------------------------------------------------------- */
.blog-hero {
  background: url('../images/up-planter-contact-banner.jpg') no-repeat center center;
  background-size: cover;
}


/* -------------------------------------------------------------- */
/* Articles - single ------------------------------- */
/* -------------------------------------------------------------- */
.single-blogs .article-main {display: block; transform: translateY(0); margin-bottom: 64px;}
.single-blogs .attachment-post-thumbnail {
  position: relative; 
  display: block; 
  width: 100%; 
  height: auto; 
}
.single-blogs section h1 {font-size: 2.25em;}
.article-details {
  position: relative;
  display: block;
  margin-bottom: 40px;
}
.article-cat-list {display: inline-block;}
.article-cat-list a {color: #818181;}
.article-cat-list a:after {content: ', ';}
.article-cat-list a:last-child:after {content: '';}
.article-cat-list a:hover {color: #c10230;}
.article-date {float: right; color: #818181;}

.single-blogs .article-main h2 {
  margin-top: 60px; 
  font-size: 1.75em;
  text-align: left; 
  text-transform: initial;
}
.single-blogs .article-main h3 {text-transform: initial;}


.article-sidebar-block h3 {margin-top: 0;}
a.articles-similar {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: stretch;
  margin: 0 0 20px;
  min-height: 128px;
  border: 2px solid;
  box-shadow: 8px 8px 0 rgba(0,7,0,0.15);
  color: #000;
}
a.articles-similar:hover {border-color: #c10230;}

.article-similar-image {
  position: relative;
  display: block;
  width: 35%;
}
.article-similar-info {
  align-self: center;
  position: relative;
  display: block;
  padding: 12px 12px 18px;
  width: calc(100% - 35%);
}
a.articles-similar p:first-child {margin: 0 0 8px; line-height: 1.15em;}
a.articles-similar p:last-child {font-size: 0.7em; line-height: 1em;}
a.articles-similar p em {color: #818181;}



@media screen and (max-width: 1200px) {
  .article-main {transform: translateY(-90px);}
}


@media screen and (max-width: 1080px) {
  .article-columns {display: block;}
  .article-main {width: 100%; transform: translateY(0);}
  .article-sidebar {width: 100%;}
  .article-sidebar-stick {position: relative; top: initial;}
  a.articles-similar {min-height: 20vw;}

  /* Articles Sidebar ------------------------------- */
  .articles-sidebar-block h3 {margin: 0; font-size: 1.25em; text-transform: initial;}
  .articles-sidebar-block {padding: 12px;}
  .articles-sidebar-block a {display: inline-block; padding: 0; border-bottom: none;}
  .articles-sidebar-block a:after {content: ' | ';}
  .articles-sidebar-block a:last-child:after {content: '';}
  .guide-blocks-container .articles-sidebar-block {width: 48%;}
  
  .article-columns div:nth-child(1).article-main .article-excerpt {width: calc(50% - 16px);}

}


@media screen and (max-width: 767px) {
  /* Articles ------------------------------- */
  .article-main {display: block;}
  .article-excerpt {width: 100%; margin-bottom: 28px;}
  .article-columns div:nth-child(1).article-main .article-excerpt {width: 100%;}

  a.article-excerpt-image {height: 32vw;}

  .page-template-page-articles .article-excerpt:nth-child(-n+2) {display: block;}
  .page-template-page-articles .article-excerpt:nth-child(-n+2) a.article-excerpt-image {width: 100%; height: 32vw; margin-bottom: 16px;}
  .page-template-page-articles .article-excerpt:nth-child(-n+2) .article-excerpt-info {display: block; width: 100%;}
  .page-template-page-articles .article-excerpt:nth-child(-n+2) .article-excerpt-footer {width: 100%;}
}


@media screen and (max-width: 500px) {
  .guide-blocks-container {display: block;}
  .guide-blocks-container .articles-sidebar-block {width: 100%;}
}