.query-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: -5px;

  & > div {
    padding: 5px 0;
  }

  .title-with-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1 1;
    margin: -5px 0;

    & > div {
      padding: 5px 0;
    }

    .page-title {
      h3 {
        margin: 0 10px 0 0 !important;

        @media (max-width: 767px) {
          font-size: 18px;
        }
      }
    }
  }

  .query-tags {
    display: inline-block;
    vertical-align: middle;
  }

  .tags-control a {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }

  &:hover {
    .tags-control a {
      opacity: 1;
    }
  }

  .header-actions {
    display: flex;
    flex-wrap: nowrap;

    @media (max-width: 515px) {
      flex-basis: 100%;
    }
  }
}
