.featured-content{
  -webkit-box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  min-height:460px;
  position:relative;
}

.featured-content > .has-post-thumbnail,
.featured-content .has-post-thumbnail .featured-label{
  text-shadow:0 1px 1px rgba(0,0,0,0.4);
}

.featured-content > .has-post-thumbnail,
.featured-content .has-post-thumbnail .featured-label a{
  color:var(--th-color-white);
}

.featured-content .more-link{
  z-index:2;
}

.featured-content .primary-content .hentry,
.featured-content .secondary-content,
.featured-content .featured-label{
  position:relative;
  z-index:3;
}

.featured-content .primary-content:hover + .secondary-content,
.featured-content .secondary-content .hentry:hover{
  opacity:0.75;
}

.featured-content .entry-title{
  max-width:95%;
}

.featured-content .primary-content .entry-title{
  font-size:1.602rem;
}

.featured-content a{
  color:inherit;
}

.featured-content a:hover{
  color:inherit;
  opacity:0.75;
}

.featured-content .featured-label a{
  font-weight:bold;
  line-height:1.25;
}

.featured-content .featured-label svg{
  height:16px;
  margin-right:0.125rem;
  width:16px;
}

.featured-content .hentry-overlay::after{
  -webkit-box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),color-stop(80%, rgba(0,0,0,0.7)));
  background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 80%);
  box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  content:"";
  height:100%;
  position:absolute;
  width:100%;
}

.featured-content .secondary-content .hentry{
  -webkit-transition:all .15s ease-in-out;
  transition:all .15s ease-in-out;
}

.featured-content .secondary-content > * + *{
  border-top:1px solid rgba(0,0,0,0.15);
  padding-top:0.75rem;
}

.featured-content .secondary-content.has-post-thumbnail > * + *{
  border-top-color:rgba(255,255,255,0.2);
}

.featured-content .primary-content:hover ~ .hentry-overlay,
.featured-content .more-link:hover ~ .hentry-overlay{
  background-color:rgba(0,0,0,0.8);
}

.page-header-grid{
  -webkit-box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  min-height:460px;
  position:relative;
}

.page-header-grid > .has-post-thumbnail,
.page-header-grid .has-post-thumbnail .featured-label{
  text-shadow:0 1px 1px rgba(0,0,0,0.4);
}

.page-header-grid .hentry-overlay::after{
  -webkit-box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),color-stop(80%, rgba(0,0,0,0.7)));
  background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 80%);
  box-shadow:inset 0 2px 0 2px var(--th-color-primary-base);
  content:"";
  height:100%;
  position:absolute;
  width:100%;
}

.page-header-grid .th-featured-image{
  opacity:0.2;
  z-index:-1;
}

.page-header-grid .hentry-overlay{
  background-color:var(--th-color-primary-dark);
  margin-top:0;
  z-index:-2;
}

.page-header-grid.has-featured-image::before{
  background-color:var(--th-color-primary-base);
  content:"";
  height:100%;
  left:0;
  position:absolute;
  top:0;
  width:100%;
  z-index:-1;
}

.page-header-grid.has-featured-image{
  background-color:transparent;
  color:var(--th-color-secondary-lightest);
  text-shadow:0 1px 1px rgba(0,0,0,0.4);
}

.page-header-grid.has-featured-image .entry-summary a,
.page-header-grid + .content-container a{
  -webkit-text-decoration-color:var(--th-color-accent-base);
  color:var(--th-color-white);
  text-decoration-color:var(--th-color-accent-base);
}

.page-header-grid.has-featured-image .entry-summary a:hover,
.page-header-grid + .content-container a:hover{
  color:var(--th-color-secondary-light);
}

.page-header-grid .edit-link a{
  background-color:var(--th-color-primary-base);
  border:1px solid;
  color:var(--th-color-white);
  display:inline-block;
  padding:0.25rem 0.5rem;
}

.hentry-grid{
  padding:2px;
}

.hentry-grid .more-link{
  z-index:2;
}

.hentry-grid .hentry{
  -ms-flex-positive:1;
  -webkit-box-flex:1;
  flex-grow:1;
  height:320px;
  overflow:hidden;
  position:relative;
}

.hentry-grid .hentry.has-post-thumbnail{
  color:var(--th-color-white);
}

.hentry-grid .hentry a{
  color:inherit;
}

.hentry-grid .hentry a:hover{
  opacity:0.75;
}

.hentry-grid .hentry .entry-header .entry-cats a,
	.hentry-grid .hentry .entry-header .entry-title a,
	.hentry-grid .hentry .entry-header .entry-meta{
  position:relative;
  z-index:3;
}

.hentry-grid .hentry .entry-header .entry-meta{
  display:inline-block;
}

.hentry-grid .hentry .entry-header{
  bottom:1rem;
  left:1rem;
  position:absolute;
  right:1rem;
}

.hentry-grid .hentry .entry-cats a{
  border-bottom:2px solid var(--th-color-accent-base);
  font-weight:bold;
}

.featured-content .hentry-overlay{
  bottom:0;
  left:0;
  position:absolute;
  right:0;
  top:0;
}

.featured-content .hentry-overlay,
.hentry-grid .hentry.has-post-thumbnail .hentry-overlay,
.hentry-grid .hentry.post-password-required .hentry-overlay{
  -webkit-transition:background-color .15s ease-in-out;
  background-color:rgba(0,0,0,0.3);
  transition:background-color .15s ease-in-out;
  z-index:1;
}

.hentry-grid .hentry.has-post-thumbnail:hover .hentry-overlay,
.hentry-grid .hentry.post-password-required:hover .hentry-overlay{
  background-color:rgba(0,0,0,0.8);
}

.hentry-grid .amp-img.amp-wp-enforced-sizes[layout="intrinsic"] > img{
  -o-object-fit:cover;
  object-fit:cover;
}

.comments-link svg{
  display:inline-block;
  height:14px;
  margin-right:0.125rem;
  width:14px;
}

.page-header,
.entry-breadcrumbs{
  border-top:1px solid rgba(255,255,255,0.1);
}

.page-header a,
.entry-breadcrumbs a{
  color:var(--th-color-secondary-lighter);
}

.page-header a:hover,
.entry-breadcrumbs a:hover{
  color:var(--th-color-white);
}

.entry-breadcrumbs a{
  -webkit-text-decoration-color:var(--th-color-secondary-base);
  text-decoration-color:var(--th-color-secondary-base);
}

.page-header .taxonomy-description a{
  -webkit-text-decoration-color:var(--th-color-accent-base);
  text-decoration-color:var(--th-color-accent-base);
}

.error404 .title-404{
  font-size:10em;
  font-weight:bold;
  line-height:1;
  position:relative;
}

.error404 .title-404::after{
  border-bottom:2px solid var(--th-color-accent-base);
  bottom:-8px;
  content:'';
  left:50%;
  margin-left:-40px;
  position:absolute;
  width:80px;
}

.hentry-grid .hentry.has-post-thumbnail .entry-header,
.hentry-grid .hentry.has-post-thumbnail .cat-links{
  color:inherit;
}

@media (min-width: 768px){
  .featured-content .hentry-overlay::after{
    background:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0)),color-stop(80%, rgba(0,0,0,0.7)));
    background:linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 80%);
  }
  .page-header-grid .hentry-overlay::after{
    background:-webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0)),color-stop(80%, rgba(0,0,0,0.7)));
    background:linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 80%);
  }
}

@media (min-width: 992px){
  .featured-content .primary-content .entry-title{
    font-size:2em;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(1),
	.grid-layout-default .hentry-grid .hentry:nth-of-type(2){
    height:400px;
  }
  .grid-layout-default .hentry-grid .hentry{
    width:25%;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(8n-7){
    width:66.66666%;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(8n-6){
    width:33.33333%;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(8n-3),
	.grid-layout-default .hentry-grid .hentry:nth-of-type(8n-1){
    width:50%;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(1) .entry-title{
    font-size:1.802rem;
  }
  .grid-layout-default .hentry-grid .hentry:nth-of-type(2) .entry-title{
    font-size:1.266rem;
  }
  .grid-layout-1-col .hentry-grid .hentry{
    width:100%;
  }
  .grid-layout-1-col .hentry-grid .entry-title{
    font-size:1.802rem;
  }
  .grid-layout-2-col .hentry-grid .hentry{
    width:50%;
  }
  .grid-layout-2-col .hentry-grid .entry-title{
    font-size:1.266rem;
  }
  .grid-layout-3-col .hentry-grid .hentry{
    width:33.33333%;
  }
}
