.Header {
  flex-direction: row;

  @media (min-width: 736px) {
    margin-bottom: 44px;
  }

  @media (max-width: 735px) {
    margin-left: var(--spacing-m);
    margin-right: var(--spacing-m);
    margin-top: 30px;
    border-bottom: none;
    margin-bottom: 24px;
    padding-bottom: 0;

    .ProfileBio, .ProfileInfo {
      display: none;
    }
  }
}

.ProfilePhoto {
  flex-shrink: 0;

  @media (min-width: 736px) {
    flex-grow: 1;
    flex-basis: 0;
    margin-right: 30px;
  }

  @media (max-width: 735px) {
    margin-right: 28px;
  }

  &Container {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;

    @media (max-width: 735px) {
      width: 77px;
      height: 77px;
    }
  }

  &Block {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;

    &:after {
      content: "";
      border: 1px solid rgba(0, 0, 0, .0975);
      border-radius: 50%;
      pointer-events: none;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
    }
  }

  &Change {
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 100%;

    img {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 100%;
    }
  }
}

.Profile {
  flex-basis: 30px;
  flex-grow: 2;
  flex-shrink: 1;
  min-width: 0;

  &Settings {
    margin-bottom: 20px;
    align-items: center;
    flex-direction: row;
    flex-shrink: 1;
    min-width: 0;

    @media (max-width: 735px) {
      margin-bottom: 12px;
      align-items: flex-start;
      height: 80px;
    }

    h1 {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: 300;
      font-size: 28px;
      line-height: 32px;
      margin: -5px 0 -6px;
    }
  }

  &Edit {
    margin-left: 20px;
    flex-shrink: 0;
    display: block;

    @media (max-width: 735px) {
      position: absolute;
      bottom: 0;
      width: 100%;
      margin-left: 0;
    }
  }

  &SettingIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
    background: 0 0;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin-left: 5px;

    @media (max-width: 735px) {
      display: none;
    }
  }
}

.Navigation {
  flex-direction: row;
  font-size: var(--small-font);
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 1px;
  border-top: 1px solid var(--color-border);

  @media (max-width: 735px) {
    justify-content: space-between;
  }

  &Item {
    color: var(--color-neutral-02);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 52px;
    margin-right: 60px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -1px;
    cursor: pointer;

    svg {
      fill: var(--color-neutral-02);
    }

    &.active {
      color: var(--color-main);
      border-top: 1px solid var(--color-main);
      cursor: pointer;

      svg {
        fill: var(--color-main);
      }
    }

    &.ChangeView {
      display: none;
    }

    @media (max-width: 735px) {
      font-size: 0;
      margin: 0 var(--spacing-xl);
      width: 32px;

      svg {
        width: 24px;
        height: 24px;
      }

      &.active {
        border-top: none;

        svg {
          fill: var(--color-accent);
        }
      }

      &.ChangeView {
        display: flex;
        justify-content: center;
        align-items: center;

        .ChangeViewIcon {
          display: block;
          width: 24px;
          height: 24px;
          background-position: -234px -366px;
          margin-left: 0;

          &.FeedView {
            background-position: -208px -366px;
          }
        }
      }
    }
  }

  &Icon {
    display: flex;
    align-items: center;

    span {
      margin-left: 6px;

      @media (max-width: 735px) {
        display: none;
      }
    }
  }
}

.Posts {
  flex-grow: 1;
}

.Grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 28px;
  padding-bottom: 100px;

  @media (max-width: 735px) {
    grid-gap: 0;
  }
}

.Skeleton {
  &Button {
    margin-left: 20px;
  }
}

.MoreLoading {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
  align-items: center;
}
