.AssociatedContent-controls {
  .DashboardWidget-filters;

  justify-content: space-between;
  margin: var(--gap-l) calc(0px - var(--gap-xl)) calc(0px - var(--gap-l))
    calc(0px - var(--gap-xl));
  padding-left: var(--gap-l);
  width: unset;

  .SearchInput {
    width: 25%;
  }

  .AssociatedContent-filters {
    display: flex;
    flex: none;
    flex-direction: row;
    flex-grow: 2;
    margin-left: 10px;
  }

  .AssociatedContent-sorts {
    display: flex;
    flex: none;
    flex-direction: row;
    padding-right: 10px;
  }

  .AssociatedContent-refresh {
    .IconButton;

    --IconButton-name: 'refresh';

    flex: none;
  }
}

.AssociatedContent-results {
  padding-left: var(--gap-xl);
  padding-right: var(--gap-xl);

  .SearchResult-actions-wrapper {
    display: none;
  }

  .SearchResult-sorts {
    display: none;
  }

  .SearchResult-limit {
    display: none;
  }

  .SearchResult-fields {
    display: none;
  }
}

.AssociatedContent {
  .LinkCarousel {
    background: none;
    padding: var(--gap-s) var(--gap-l) var(--gap-m) var(--gap-l);
  }

  .SearchWidget-filter {
    margin-top: 0;

    .SearchWidget-filterItem {
      .ComboInput {
        margin-right: var(--gap-xl);
        width: auto;
      }

      .ContentSelector-search {
        border-width: 0 0 1px;
        height: 100%;
      }
    }
  }
}

.Widget.is-associatedContentWidget {
  .Widget-title {
    margin-bottom: var(--gap-s);
  }

  .SearchWidget-result {
    border-left: none;
    margin-left: calc(0px - var(--gap-xl));
    margin-right: calc(0px - var(--gap-xl));
  }
}
