/* Stratford News CSS */

.entry-meta,
.edit-link,
.page-template-template-news .entry-content  {
  display:none;
}

#page_title {
  display:none;
}

#news-articles {
  width:80%;
  margin:0 auto;
}

.post {
  position:relative;
}

.entry-content img.wp-post-image {
  padding-bottom: 1em;
}

#stratford-searchbox input.search-field {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-right: 3.2em !important;
    background: none;
    border: 0;
    margin: 0 0 0 0;
    font-size: 16px;
    padding: 0.5em 0.8em;
  }

#stratford_items li {
    width: 48%;
  }
  
  .meta-prep-author, .author, .meta-sep, .meta-sep-entry-date, .meta-prep, .entry-utility {
    display: none;
}

.icon_title {
  display:block;
  max-width:150px;
  margin: 0 auto 1em;
}

.single .icon_title {
  margin: 0 0 1em;
  max-width:125px;
}

.single #content {
  float:none;
  width:100%;
}

.single .entry-content {
  padding-bottom:0;
}
.post {
  margin-bottom:4em;
}

.single .post {
  margin-bottom:1em;
}

.news-blurb {
  display:block;
  background-color: var(--blue);
  color:#fff;
  padding: 1em 1em 2em;
  border:1px solid #fff;
}

.entry-date {
  padding: 1em 0;
  display:block;
}

h2 {
  font-size:1.5em;
}

.news-blurb a {
  color:#fff;
  display:block;
}

.news-blurb:hover {
  background-color:#fff;
  border:1px solid var(--blue);
}

.news-blurb:hover,
.news-blurb:hover h2.entry-title a,
.news-blurb:hover a.read-news,
.news-blurb:active,
.news-blurb:active h2.entry-title a,
.news-blurb:active a.read-news 
.news-blurb:active {
  color: var(--blue);
  text-decoration: none;
}

.read-news {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: .75rem;
  position: absolute;
  bottom: 0;
  right: 1em;
  width: 85%;
  text-align: right;
}

.back-to-news a {
    color: var(--blue);
    display: block;
    text-align: center;
    padding-bottom:1em;
}

@media only screen and ( min-width: 600px ) {	
  #news-articles {
    display: grid;
    grid-template-columns: 48% 48%;
    grid-column-gap:4%;
    grid-row-gap:4%;
    grid-auto-rows:1fr;
    width:100%;
  }
  .post {
      margin-bottom: 4em;
      display: grid;
      grid-template-columns: auto;
      grid-template-rows: auto 2fr;
    }
    .entry-content img.wp-post-image {
      width: 40%;
      float: right;
      padding: 0 0 1em 1em;
  }
}

@media only screen and ( min-width: 768px ) {	
  #news-articles {
    grid-template-columns: 30% 30% 30%;
    grid-column-gap:4%;
    grid-row-gap:4%;
}

  #news-articles {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-column-gap:4%;
    grid-row-gap:4%;
    grid-auto-rows:1fr;
    width:100%;
  }
  
  .entry-content img.wp-post-image {
    width:40%;
  }
}

@media only screen and ( min-width: 1024px ) {	

  #stratford_sidebar {
      margin: 0 -2.5em 0;
  }
}