.view-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.views-row {
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 40px;
}

.views-row h2 {
  text-align: center;
}

.views-row .spotlight {
  display: flex;
  gap: 20px;
  margin: 20px;
  background-color: white;
  margin: 0;
  padding-bottom: 40px;
  height: 340px;
  border-bottom: 1px solid var(--border-gray);
}

.views-row:last-of-type .spotlight {
  border-bottom: 0;
}

.views-row .sl-thumb {
  flex-basis: 40%;
}

.views-row .sl-thumb a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.views-row .sl-thumb a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.views-row .sl-thumb a .featuredYes::after {
  content:url(/themes/custom/macewan_library/images/page_images/featured.svg);
  position: absolute;
  width: 270px;
  display: inline-block;
  background: none;
}

.views-row .sl-text {
  flex-grow: 1;
  flex-basis: 60%;
}

.sl-da {
  color: var(--font-red);
}

.read-more-button {
  color: white !important;
  background-color: #8b2331;
  padding: 5px 10px;
  margin-right: 20px;
  text-decoration: none;
}

.view-all-spotlights {
  color: .000000 !important;
}

@media screen and (max-width: 958px) {
  .views-row .spotlight {
    flex-wrap: wrap;
    height: auto;
  }

  .views-row .sl-thumb img {
    width: 100%;
    height: auto;
    max-width: 480px;
  }
}

@media screen and (max-width: 565px) {
  .views-row .sl-thumb {
    flex-basis: 100%;
  }

  .views-row .sl-text {
    flex-basis: 100%;
  }
}
