.node--type-cdfi-news .layout__region {
  /* Intrinsic image widths must not expand the flex columns. */
  min-width: 0;
}

.node--type-cdfi-news .field--name-body img {
  /* Bound CMS images without replacing smaller authored widths or heights. */
  max-width: 100% !important;
  max-height: 70vh;
  object-fit: contain;
  object-position: left center;
}

.view-news:not(.view-display-id-page_2) .view-content {
  display: flex;
  flex-direction: column;
}

.cdfi-featured__read-more,
.cdfi-featured__read-more:visited,
.cdfi-featured__read-more:hover,
.cdfi-featured__read-more:focus {
  color: #ffd204;
}

@media (max-width: 767px) {
  .view-news:not(.view-display-id-page_2) #edit-field-cdfi-publish-date-value-wrapper {
    float: none;
    width: 100%;
  }

  .view-news:not(.view-display-id-page_2) #edit-field-cdfi-publish-date-value-wrapper fieldset {
    float: left;
    width: 51.66666667%;
  }

  .view-news:not(.view-display-id-page_2) .js-form-item-sort-by {
    width: 100%;
  }

  .view-news:not(.view-display-id-page_2) .js-form-item-sort-by .form-control {
    width: 100%;
    margin: 0;
  }

  .view-news:not(.view-display-id-page_2) .js-form-item-sort-order {
    clear: both;
  }
}

/* Drupal's exposed taxonomy autocomplete. */
.view-news .form-item-field-cdfi-news-tags-target-id { position: relative; }
.view-news input.form-autocomplete {
  background-image: url('/themes/contrib/stable/images/core/throbber-inactive.png');
  background-repeat: no-repeat;
  background-position: 100% center;
}
.view-news .news-tag-suggestions {
  position: absolute;
  z-index: 100;
  min-width: 100%;
  width: max-content;
  max-width: 90vw;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #c5c5c5;
  color: #333;
  font-family: Arial, sans-serif;
}
.view-news .news-tag-suggestions[hidden] { display: none; }
.view-news .news-tag-suggestions li { padding: 3px 1em 3px .4em; cursor: pointer; }
.view-news .news-tag-suggestions li:hover,
.view-news .news-tag-suggestions [aria-selected='true'] { background: #007fff; color: #fff; }

@media (max-width: 767px) {
  .view-news.view-display-id-page_2 .view-filters form fieldset.form-item {
    float: left;
    max-width: 100%;
  }
}
