/*
  @file Theming for the sidebar region.

  Some items are added here as extras that _should_ have sidebar
  theming, but their blocks are not placed in the sidebar region,
  such as the facets for the newsroom.
*/

/*.sidebar .lgd-region,*/
/*.sidebar .lgd-region__inner {*/
/*  height: 100%;*/
/*}*/

.sidebar .lgd-region__inner > :first-child,
.blog-channel__sidebar > :first-child,
.newsroom__sidebar > :first-child {
  padding-top: 0;
}

.sidebar .lgd-region__inner > :first-child,
.blog-channel__sidebar > :first-child,
.newsroom__sidebar > :first-child {
  padding: unset;
  padding-inline: var(--spacing-padding-horizontal);
}

.sidebar.sidebar--first {
  /*position: sticky;*/
  /*top: 0;*/
  background-color: var(--color-white);
  margin-block-end: var(--sidebar-exposed-form-item-spacing);
}

@media screen and (min-width: 48rem) {
  /*.sidebar.sidebar--first {*/
  /*  position: relative;*/
  /*  top: unset;*/
  /*}*/
  .sidebar .lgd-region {
    position: sticky;
    top: 7em;
  }
}
