@mixin feature() {
  .geoscene-feature__title {
    display: block;
    word-break: break-word;
    word-wrap: break-word;
    font-size: $font-size;
  }

  .geoscene-feature calcite-icon {
    box-sizing: content-box;
  }

  .geoscene-feature__attachments {
    display: flex;
  }

  .geoscene-feature__loading-container {
    display: flex;
    justify-content: center;
    padding: $cap-spacing 0;
    width: 100%;
  }

  .geoscene-feature-relationship {
    position: relative;
  }

  .geoscene-feature-relationship__list {
    min-height: $list-item-height;
  }

  .geoscene-feature-relationship__list-item--hidden {
    display: none;
  }

  .geoscene-feature-utility-network-associations {
    position: relative;
  }

  .geoscene-feature__filter-container {
    position: sticky;
    top: $cap-spacing;
    z-index: 1;
    margin-bottom: $cap-spacing;
  }

  .geoscene-feature__feature-observer {
    position: relative;
    bottom: 20px;
    z-index: 2;
    text-align: center;
  }

  .geoscene-feature__sticky-loading-container {
    display: flex;
    position: sticky;
    bottom: 10px;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0;
    padding: 0;
    height: $list-item-height;
    pointer-events: none;
  }

  .geoscene-icon-loading-indicator {
    display: inline-block;
  }

  .geoscene-feature {
    --calcite-color-background: $background-color;

    width: 100%;
  }

  .geoscene-feature__content-element {
    margin-bottom: $cap-spacing--double;
    padding: 0 $side-spacing--half;

    .geoscene-widget__heading {
      line-height: 1.3;
    }
  }

  .geoscene-feature__content-element:only-child,
  .geoscene-feature__content-node--text {
    margin-bottom: $cap-spacing--quarter;
  }

  .geoscene-feature__content-node {
    display: flex;
    flex-direction: column;
  }

  .geoscene-feature__text {
    line-height: 1.3;
  }

  // ATTACHMENTS
  .geoscene-feature-attachments {
    flex-flow: column wrap;
    align-items: flex-start;
  }

  .geoscene-feature__last-edited-info {
    padding-top: $cap-spacing--half;
    font-size: $font-size--small;
  }

  //  RTL
  [dir="rtl"] {
    .geoscene-feature__attachments-title {
      margin: 0 0 0 auto;
    }

    .geoscene-feature__attachments--list .geoscene-feature__attachment-item-mask {
      margin-right: 0;
      margin-left: $side-spacing--half;
    }
  }
}

@if $include_Feature == true {
  @include feature();
}