.dynamic-data {
  width: 100%;
  height: 100%;
  margin-bottom: 60px;
}

/* Flex layout for cards */
.filter-results-cards {
  display: flex;
  flex-flow: column wrap;
  gap: 40px;
  justify-content: flex-start;
}

.filter-results-show-more {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: none;
  font: var(--font-16-24);
  font-weight: var(--font-weight-book);
  color: var(--medium-teal);
  cursor: pointer;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: underline;
}

.filter-results-show-more:hover {
  color: #005e65;
  text-decoration: underline;
}

.dynamic-data-header {
  border-bottom: 1px solid var(--silver);
  padding-bottom: 10px;
  margin-bottom: 40px;
}

.dynamic-data-header.news-spotlights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dynamic-data-title {
  font: var(--font-36-40);
  font-weight: var(--font-weight-bold);
  color: var(--black);
}

.view-all-btn.secondary {
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dynamic-fallback-text {
	font: var(--font-16-24-gotham-book);
	font-weight: var(--font-weight-book);
	color: var(--off-black);
	text-align: center;
	padding: 2em;
}

/* Remove link styles from clickable card wrapper */
.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.dynamic-data .horizontal-card .title * {
  font-weight: var(--font-weight-medium) !important;
}

.dynamic-data .horizontal-card .content {
  width: 100%;
}

/* Mobile view */
@media (width <= 426px) {
  .dynamic-data-header.news-spotlights-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .view-all-btn.secondary {
    width: 100%;
  }
}

@media (width > 1199px) {
  .horizontal-card .media.media-trending img {
    width: 180px;
    height: 120px;
  }
}

@media (width >= 768px) and (width <= 1199px) {
  .horizontal-card .media.media-trending{
    flex :auto;
    max-width: inherit;
  }

  .horizontal-card .media.media-trending img {
    width: 199px;
    height: 133px;
  }
}

@media (width < 768px) {
  .horizontal-card .media.media-trending img {
    width: auto;
    height: 210px;
  }

  .horizontal-card .media.media-trending{
    max-width: inherit;
  }
}