.paragraph--section {
  .paragraph--featured.social_follow_tax {
    padding: 20px 1rem;

    &.first {
      padding-top: 20px;
    }

    &.multiple {
      padding-left: 2em;
      padding-right: 2em;
    }

    @media(min-width: 900px) {
      padding-bottom: 40px;
    }
  }
}

.block-follow-tag-block.block-social-follow-tag.card,
.block-follow-tag-block.block-social-follow-tag {
  box-shadow: none;
  background: transparent;
  margin-bottom: 0;
  padding: 20px 1rem 0;

  @media(min-width: 1200px) {
    padding-left: 0;
    padding-right: 0;
  }
}

.paragraph--featured.social_follow_tax {
  .teaser {
    height: auto;
    min-height: auto;

    .teaser__body {
      flex: 0 0 100%;
      max-width: 100%;
      padding: 0 20px;
      overflow: visible;
    }
  }

  .teaser__content,
  .teaser__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .teaser__content {
    padding: 0;
    justify-content: space-between;
  }

  .teaser__left {
    margin-top: 10px;
    margin-bottom: 10px;

    > * {
      margin-right: 16px;

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .actions {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 10px;

    > * {
      margin-bottom: 10px;

      + .btn {
        min-width: 175px;
      }
    }
  }

  .teaser__tag,
  .teaser__related-content {
    font-size: .875rem;
  }

  .teaser__title,
  .teaser__tag,
  h5 {
    margin-top: 0;
    margin-bottom: 0;
    max-height: fit-content;
  }
}

.page-node-type-dashboard,
.path-organization {
  .paragraph--featured.social_follow_tax {
    .container {
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }
  }

  .block--dashboard--follow-tags {
    .card__title {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      border-bottom: 1px solid #e6e6e6;
      padding-bottom: .5rem;
    }

    .card {
      box-shadow: none;

      .teaser__body {
        padding-left: 0;
        padding-right: 0;
      }
    }
  }
}
