.news-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
  padding: var(--space-double) var(--space);
}

@media only screen and (min-width: 769px) {
  .news-section {
    padding: var(--space-quintuple);
  }
}

.news-section .news-section-heading {
  font-size: 1.5rem;
  color: var(--color-lehigh-brown);
  font-weight: bold;
}

.news-section .news-listings {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-section .news-listings .news-item {
  flex: 1;
}

.news-section .news-listings .news-item:nth-of-type(2) {
  margin: var(--space-double) 0 0 0;
}

@media only screen and (min-width: 769px) {
  .news-section .news-listings {
    flex-direction: row;
    flex-wrap: nowrap;
    margin: var(--space-triple) 0 0 0;
  }

  .news-section .news-listings .news-item:nth-of-type(2) {
    margin: 0 var(--space-triple);
  }

  .news-section .news-listings .news-item:last-of-type {
    margin: 0 0 0 var(--space-triple);
  }
}

/* View more link styling */
.news-section .news-listings + a {
  color: var(--color-black);
  font-weight: bold;
  margin: var(--space-quadruple) 0 0 0;
  padding: 0 0 var(--space-one-half) 0;
  background-image: linear-gradient(var(--color-teal), var(--color-teal));
  background-size: 0 1px, auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all .2s ease-out;
}

.news-section .news-listings + a:hover,
.news-section .news-listings + a:focus {
  text-decoration: none;
  background-size: 100% 1px, auto;
}

/* .news-section-cta rules below: shared here per this migration's
   established "component-family" convention (Phase 4) -- news-section-cta
   is a sibling SDC that depends on this CSS file via libraryOverrides
   rather than duplicating it. */
.news-section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-double) var(--space);
}

@media only screen and (min-width: 769px) {
  .news-section-cta {
    padding: var(--space-quintuple);
  }
}

.news-section-cta .news-listings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: var(--space) 0 0 0;
}

@media only screen and (min-width: 769px) {
  .news-section-cta .news-listings {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

.news-section-cta .news-listings .news-item {
  max-width: inherit;
  flex: 1;
  justify-content: space-between;
}

.news-section-cta .news-listings .news-item:nth-of-type(2) {
  margin: var(--space-triple) 0;
}

@media only screen and (min-width: 769px) {
  .news-section-cta .news-listings .news-item:nth-of-type(2) {
    margin: 0 var(--space-double);
  }
}

.news-section-cta .news-listings h3 {
  font-size: 1.5rem;
  color: var(--color-lehigh-brown);
}

.news-section-cta.white {
  background-color: var(--color-white);
}

.news-section-cta.grey_dark {
  background-color: var(--color-grey-dark);
  color: var(--color-white);
}

.news-section-cta.grey_dark .news-listings h3 {
  color: var(--color-white);
}
