/* ==========================================================================
   PHARMACY NEWS ITEM - HOMEFEED LAYOUT
========================================================================== */
/* Section heading */
.homeNews h2 {
    font-family: 'Merriweather', serif;
    text-align: center;
}
/* News items */
@media (min-width: 768px) {
  .news__item {
    padding: 0 2rem;
  }
  .news__item:hover, 
  .news__item:focus {
    background: rgb(245, 245, 245);
    cursor: pointer;
  }
}
/* Grid */
@media (min-width: 768px) {/* Deploy grid at 768px instead of 1024px */
    .cwf-grid.cwf-grid--5-columns.news__item {
        --cwf-grid--grid-template-columns: repeat(5, 1fr);
    }
    .news__item .cwf-grid__column--span-2 {
        grid-column-end: span 2;
    }
    .news__item .cwf-grid__column--span-3 {
        grid-column-end: span 3;
    }
}
@media (min-width: 1024px) {
    .cwf-grid.cwf-grid--5-columns.news__item {
        --cwf-grid--grid-template-columns: repeat(auto-fit, minmax(var(--cwf-grid__column--min-width), 1fr));
    }
}
/* Image */
.homeNews img {
  box-shadow: 3px 3px 0 var(--vcu-gold);
}
/* Date */
.newsfeed__date {
  font-size: 0.875rem;
  color: var(--vcu-rust);
  font-weight: 700;
  margin: 0.5rem auto;
  padding-top: 0;
}
/* Headline */
.newsfeed__headline {
  font-size: 1rem;
  line-height: 1.3;
  padding-top: 0;
}
@media (min-width: 1024px) {
  .homeNews a {
    text-decoration: none;
  }
  .homeNews a:hover, 
  .homeNews a:focus {
    text-decoration: underline;
  }
}
/* Button to view more news */
.homeNews.cwf-grid__column--span-3 > p {
  text-align: right;
}
@media (min-width: 768px) {
  .homeNews.cwf-grid__column--span-3 > p {
    padding: 0 2rem;
    text-align: initial;
  }
}