@import './../../sdesk.mixins';

:host {
  display: flex;
  flex: 1;
  flex-flow: column nowrap;
}

.project,
.knowledge-base {
  h1 {
    margin: 10px 0;

    font-size: 1.71429em;
    font-weight: 500;
    font-style: inherit;
    line-height: 1.16667;
    color: var(--theme-hack-color, --sdesk-text-color, #182c4b);
    letter-spacing: -0.01em;
    word-break: break-word;
    white-space: pre-wrap;
  }

  h2 {
    font-size: 1.14286em;
    font-weight: 600;
    font-style: inherit;
    line-height: 1.25;
    color: var(--theme-hack-color, --sdesk-text-color, #182c4b);
    letter-spacing: -0.006em;
  }

  .header {
    display: flex;
    flex-flow: row nowrap;
  }
}

.breadcrumbs {
  @include sdesk-breadcrumbs;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.knowledge-base {
  margin-top: 20px;

  a.item,
  a.item:link,
  a.item:visited {
    overflow: hidden;
    display: flex;

    margin: 0;
    padding: 24px;

    font-size: 1em;
    font-weight: 600;
    font-style: inherit;
    line-height: 1.14286;
    color: var(--sdesk-link-text-color);
    text-overflow: ellipsis;
    letter-spacing: -0.003em;
    white-space: nowrap;

    transition: background-color 0.2s ease;

    &:hover {
      background-color: rgb(244 245 247);
    }
  }
}
