@import 'overwrites.scss';
@import 'contrast.scss';
@import 'default/_rsc_grid_breakpoints';

$lightContrast: contrast($body-bg, white);
$darkContrast: contrast($body-bg, black);

.rscgrid {
  &__grid {
    &--empty {
      border-bottom: 1px solid $border-color;
      border-top: 1px solid $border-color;
    }
  }

  &-item {
    &__meta {
      @if ($lightContrast > $darkContrast) {
        color: white!important;
      }
    }
  }
}

.page-item.active {
  .page-link {
    color: white!important;
  }
}
